On Mar 4, 2005, at 11:59 AM, James Olin Oden wrote:
On Fri, 4 Mar 2005 10:31:09 -0800, Nathanael Noblet <nathanael@xxxxxxx> wrote:Hello, I am attempting to compile rpm from source for a small project. I've used Linux from scratch to create an independant system. I've installed libtool, automake, autoconf, beecrypt, zlib, gzip, bzip2 and elfutils.
On trying to compile it (from a chroot environment) it fails on the file rpmio/rpmsq.c with a vague error:
rpmsq.c:686 error: parse error before '}' token rpmsq.c:703 error: parse error at end of input
This is just a guess, but rpmsq.c uses pthreads. Do you have pthreads in your build environment? Normally, it would just be there, but your doing your linux environment so maybe its not.
Um, pthreads comes as a seperate package from glibc I imagine. Then no it isn't there and that would be the difference.
BTW, what version are you building? Are you building from SRPM, or from CVS?
rpm-4.3.3.src.rpm from RHEL4 sources. installed pulled the
The odd thing is compiling without the chroot environment (RHEL 4), it compiles fine until it dies in the debugedit area. I'm wondering why this is? What could I be missing?
I think its pthreads, but again I could be wrong. Specific version would be helpful, and means of compiling.
./configure --prefix=/ --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man ... --without-selinux --without-python --without-javaglue --enable-posixmutexes
and I've tried the autogen.sh script as well...
make... fails.
I will take a look at getting pthreads compiled... (shouldn't that be in the requirements section of the INSTALL file?)
-- Nathanael D. Noblet Gnat Solutions 204 - 131 Gorge Road E Victoria, BC V9A 1L1
T 250.385.4613 C 250.893.4613 http://www.gnat.ca/
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list