public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: ANNOUNCE Support for XML
@ 2000-12-27  6:36 Gregory Leblanc
  2000-11-27 11:29 ` Gregory Leblanc
  2001-12-19 22:49 ` Eric Bischoff
  0 siblings, 2 replies; 18+ messages in thread
From: Gregory Leblanc @ 2000-12-27  6:36 UTC (permalink / raw)
  To: 'Eric Bischoff'; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3988 bytes --]

 > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> >  In it's current form, I am NOT able to build an
> > RPM for the docbook-utils package unless I'm logged in as root.
> 
> ???? What happens? Should not be needed.
 
 
 
ok, I sort of lied.  I changed your spec file like this. 
 
--- docbook-utils.spec  Thu Nov  9 14:23:21 2000
 
+++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
 
@@ -31,13 +31,21 @@
 
 
 
 
 
 %Build
-./configure --prefix=/usr --mandir=/usr/share/man/en
-make
+%Configure
+#./configure --prefix=/usr --mandir=/usr/share/man/en
+if [ "$SMP" != "" ]; then
+  make -j$SMP "MAKE=make -j$SMP"
+else
+  make
+fi
+#make
 
 %Install
+rm -rf $RPM_BUILD_ROOT
 export DESTDIR=$RPM_BUILD_ROOT
-make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
+%makeinstall
+#make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
 
 
 %Clean
 
 
Basically this says to use the macros built in to RPM instead of hacking
stuff together.  This makes it much easier to for the RPM to be ported
across distributions.  I did this because your spec file would put man pages
and docs in the wrong locations on RH 6.x.  Using these changes, building
the RPM fails.  Here's what I found as the errors, and I can also send the
complete output of rpm -bb docbook-utils.spec, if that will help.  
 
Making install in bin 
make[1]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[2]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
/bin/sh ../mkinstalldirs
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
mkdir /home/gleblanc/projects/rpm/var/tmp/home 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp

mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr 
mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
 /usr/bin/install -c  jw
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/jw 
 /usr/bin/install -c  sgmldiff
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/sgmldiff 
 /usr/bin/install -c  docbook2dvi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2dvi 
 /usr/bin/install -c  docbook2html
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2html 
 /usr/bin/install -c  docbook2man
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2man 
 /usr/bin/install -c  docbook2pdf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2pdf 
 /usr/bin/install -c  docbook2ps
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2ps 
 /usr/bin/install -c  docbook2rtf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2rtf 
 /usr/bin/install -c  docbook2tex
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2tex 
 /usr/bin/install -c  docbook2texi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2texi 
 /usr/bin/install -c  docbook2txt
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2txt 
make[2]: Nothing to be done for `install-data-am'. 
make[2]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[1]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
Making install in doc  
 
 
I see why the build is failing, but I can't figure out why it's doing that,
nor how to fix it.  Any help?
 
     Greg
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2001-12-15 10:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.10.9911020827260.19428-100000@gatekeeper.zwax.mtg.c>
1999-11-02  0:45 ` Index creation Christophe Guillon
2000-12-27  6:36   ` ANNOUNCE Support for XML Eric Bischoff
2000-11-09 15:39     ` Eric Bischoff
2000-12-27  6:36     ` Gregory Leblanc
2000-11-10 11:34       ` Gregory Leblanc
2000-12-27  6:36     ` Eric Bischoff
2000-11-12  2:44       ` Eric Bischoff
2000-12-27  6:36     ` Eric Bischoff
2000-11-12  3:49       ` Eric Bischoff
2000-12-27  6:36       ` Gregory Leblanc
2000-11-12 23:09         ` Gregory Leblanc
2000-12-27  6:36         ` Eric Bischoff
2000-11-13  8:54           ` Eric Bischoff
2000-12-27  6:36 Gregory Leblanc
2000-11-27 11:29 ` Gregory Leblanc
2001-12-19 22:49 ` Eric Bischoff
2001-10-26 14:59   ` Eric Bischoff
2001-12-15  2:50   ` Eric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).