Hi,

I'm trying to build RPM on my LFS system (v6.1, mostly). I need RPM to be
able to install the OpenOffice.org RPMs, as it seems impossible to build
them for x86_64 right now.

I've been following Jim Gifford's hint, but run into an error.

I've built beecrypt and neon, just for kicks, even though I'm using rpm
CVS. I got the CVS sources, applied the patches (by hand, I got errors
using the ones online). I ran the autogen script, and the tried to
configure. Then I get this (and yes, I get the same error with a plain
'./configure'):

./configure --build=x86_64-pc-linux-gnu --prefix=/usr --libdir=/usr/lib64
--enable-posixmutexes --without-selinux --without-python --without-javaglue
--enable-tcl --with-tcl=/usr/lib64

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
<snipped>
configure: configuring in db3
configure: running /bin/sh './configure' --prefix=/usr 
'--build=x86_64-pc-linux-gnu' '--prefix=/usr' '--libdir=/usr/lib64'
'--enable-posixmutexes' '--without-selinux' '--without-python'
'--without-javaglue' '--enable-tcl' '--with-tcl=/usr/lib64'
'build_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
<snipped>
checking for shmget... yes
checking "rpcgen -C" build of db_server.h... no
checking "rpcgen" build of db_server.h... no
configure: error: Unable to build RPC support: rpcgen failed.
mv: cannot stat `Makefile': No such file or directory
cat: Makefile.orig: No such file or directory
mv: cannot stat `db.h': No such file or directory
cat: db.h.orig: No such file or directory
make: *** No rule to make target `listobjs'.  Stop.
configure: error: /bin/sh './configure' failed for db3

And then it's dead.
For the record,

[EMAIL PROTECTED] /usr/build/rpm-4.4.2]# find / -name db.h
/usr/build/rpm-4.4.2/db/build_vxworks/db.h
/usr/build/rpm-4.4.2/db/build_win32/db.h
/usr/build/rpm-4.4.2/db/build_win64/db.h
/usr/build/rpm-4.4.2/db3/db.h
/usr/include/db.h
/opt/kde-3.4.2/kdevbdb/include/db.h

And,

[EMAIL PROTECTED] /usr/build/rpm-4.4.2]# find / -name rpcgen
/usr/tools/bin/rpcgen
/usr/bin/rpcgen

And if you really must know,

[EMAIL PROTECTED] /usr/build/rpm-4.4.2]# find / -name db_server.h
/usr/build/rpm-4.4.2/db3/db_server.h

So, this is beyond me. Seems like this package is not really
well-maintained, at least not for the casual builder. What should I do?

Michael

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to