Ok. So I am lost. But to fix the problem with the %{tmpdir}
you will have to put a line in the /usr/lib/rpmrc file that sets it.
Below is the top of that file from the rpm site.
#############################################################
# Default values, often overridden in /etc/rpmrc
dbpath: /var/lib/rpm
topdir: /usr/src/redhat
tmppath: /var/tmp
cpiobin: cpio
defaultdocdir: /usr/doc
#############################################################
# Please send new entries to [EMAIL PROTECTED]
#############################################################
# Values for RPM_OPT_FLAGS for various platforms
optflags: i386 -O2 -m486 -fno-strength-reduce
optflags: alpha -O2
optflags: sparc -O2
optflags: m68k -O2 -fomit-frame-pointer
#############################################################
# Canonical arch names and numbers
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> -Gilligan- Uschold
> Sent: Wednesday, May 30, 2001 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Compiling Guppy. was RE: 1.{56} dependency list
>
>
> The only reference in Guppi.spec:
> BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>
> I found another reference in /var/tmp/rmp-tmp.10572:
> RPM_BUILD_ROOT="/%{tmpdir}/Guppi-0.35.5-root-root"
>
> Then, I did a find from root:
> cd /
> find . -xdev -name "*root-root*" -print
> /%{tmpdir}/Guppi-0.35.5-root-root/
> /%{tmpdir}/Guppi-0.35.5-root-root%{_aclocaldir}/
> /%{tmpdir}/Guppi-0.35.5-root-root%{_applnkdir}/
>
> The "%", "{", and "}" are actually part of the directory
> name! I guess
> nonexistant variables are replaced by their name!
>
> rm -Rf /home/Usr/src/RPM/BUILD/Guppi-0.35.5/
> rm -Rf /%{tmpdir}/*
> rpm -bb Guppi.spec >& guppi.build.txt
>
> This ran the same as before.
>
> Oddly, I can compile GnuCash 1.5.6 without guppi, and I do
> get a manual
> that seems OK. This is in spite of the fact that I get similar jade
> errors as when compiling Guppi:
> ...
> working on ../gnucash.sgml
> jade:../gnucash.sgml:1:55:W: cannot generate system identifier for
> public text "-//OASIS//DTD DocBook V3.1//EN"
> jade:../gnucash.sgml:55:0:E: reference to entity "BOOK" for which no
> system identifier could be generated
> jade:../gnucash.sgml:1:0: entity was defined here
> jade:../gnucash.sgml:55:0:E: DTD did not contain element
> declaration for
> document type name
> jade:../gnucash.sgml:56:9:E: there is no attribute "ID"
> jade:../gnucash.sgml:56:16:E: element "BOOK" undefined
> jade:../gnucash.sgml:57:6:E: element "TITLE" undefined
> jade:../xacc-about.sgml:1:12:E: there is no attribute "ID"
> jade:../xacc-about.sgml:1:24:E: element "ARTICLE" undefined
> jade:../xacc-about.sgml:3:10:E: element "ARTHEADER" undefined
> jade:../xacc-about.sgml:4:6:E: element "TITLE" undefined
> jade:../xacc-about.sgml:7:6:E: element "SECT1" undefined
> jade:../xacc-about.sgml:8:6:E: element "TITLE" undefined
> jade:../xacc-about.sgml:10:5:E: element "PARA" undefined
> jade:../xacc-about.sgml:13:13:E: element "ITEMIZEDLIST" undefined
> jade:../xacc-about.sgml:14:9:E: element "LISTITEM" undefined
> jade:../xacc-about.sgml:14:16:E: element "PARA" undefined
> jade:../xacc-about.sgml:14:26:E: element "EMPHASIS" undefined
> ...
>
> Gilligan
>
>
> Phillip Shelton wrote:
>
> > This will be deeper than you wanted to go I am sure.
> >
> > In the spec file there is a variable called tmpdir
> >
> > Find where this is set and see what it is set to.
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf
> Of Richard
> > > -Gilligan- Uschold
> > > Sent: Tuesday, May 29, 2001 12:43 PM
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: Compiling Guppy. was RE: 1.{56} dependency list
> > >
> > >
> > > Phillip Shelton wrote:
> > >
> > > > >
> > > > > rm -Rf /usr/src/RPM/BUILD/Guppi-0.35.5/
> > > > > there was no /var/tmp/[Gg]uppi*
> > > >
> > > > > > > /%{tmpdir}/Guppi-0.35.5-root-root/usr/X11R6/lib
> > > >
> > > > What does your %{tmpdir} point to? Mine was /var/tmp
> > > >
> > >
> > > near as I can tell, nowhere!
> > >
> > > [root@pluto /root]# echo %{tmpdir}
> > > %{tmpdir}
> > > [root@pluto /root]# echo %tmpdir
> > > %tmpdir
> > > [root@pluto /root]# echo $tmpdir
> > >
> > > [root@pluto /root]# echo ${tmpdir}
> > >
> > >
> > >
> > > --
> > >
> > > Gilligan | __o .oooO
> > > /| _ \<,_ ( )
> > > /p|\ (_)/ (_) \
> ( Oooo.
> > > / | \ ------------
> \_) ( )
> > > ======== ) /
> > > ======== [EMAIL PROTECTED] (_/
> > > ~~~~~~~~~~~~~~~~ [EMAIL PROTECTED]
> > >
> > >
> > >
> > > _______________________________________________
> > > gnucash-devel mailing list
> > > [EMAIL PROTECTED]
> > > http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
> > >
> > _______________________________________________
> > gnucash-devel mailing list
> > [EMAIL PROTECTED]
> > http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
>
> --
>
> Gilligan | __o .oooO
> /| _ \<,_ ( )
> /p|\ (_)/ (_) \ ( Oooo.
> / | \ ------------ \_) ( )
> ======== ) /
> ======== [EMAIL PROTECTED] (_/
> ~~~~~~~~~~~~~~~~ [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> gnucash-devel mailing list
> [EMAIL PROTECTED]
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
>
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel