From: Gregory Leblanc <GLeblanc@cu-portland.edu>
To: 'Eric Bischoff' <ebisch@cybercable.tm.fr>
Cc: docbook-tools-discuss@sourceware.cygnus.com
Subject: RE: ANNOUNCE Support for XML
Date: Mon, 27 Nov 2000 11:29:00 -0000 [thread overview]
Message-ID: <025836EFF856D411A6660090272811E61D083E@EMAIL> (raw)
Message-ID: <20001127112900.gQ82rmDTZwz1BquDaTQy_egLuNEa-2vDt_uGZnG9U3w@z> (raw)
[-- 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
next reply other threads:[~2000-11-27 11:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-27 6:36 Gregory Leblanc [this message]
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
-- strict thread matches above, loose matches on Subject: below --
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 ` 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-10 11:34 ` Gregory Leblanc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=025836EFF856D411A6660090272811E61D083E@EMAIL \
--to=gleblanc@cu-portland.edu \
--cc=docbook-tools-discuss@sourceware.cygnus.com \
--cc=ebisch@cybercable.tm.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).