Re: rpm help please!

2006-01-24 Thread Justin
Dan Nicholson wrote: On 1/24/06, Justin <[EMAIL PROTECTED]> wrote: After searching the internet and some helpful advice on here I was told -D_GNU_SOURCE should fix the problem but only if it was included in the flags when perl was built. Why does it have to be included i

Re: rpm help please!

2006-01-24 Thread Dan Nicholson
On 1/24/06, Justin <[EMAIL PROTECTED]> wrote: > After searching the internet and some helpful advice on here I > was told -D_GNU_SOURCE should fix the problem but only if it was > included in the flags when perl was built. Why does it have to be included in the flags when perl was built? It would

Re: rpm help please!

2006-01-24 Thread Justin
Ken Moffat wrote: This looks as if you've installed a 64-bit perl compiler. There is a reason for the note in 10.33.1 of the multilib book, perl predates almost everything else, and behaves very badly with multilib (typically, things like 'perl -V' show the wrong libs, and when we used to

Re: rpm help please!

2006-01-24 Thread Ken Moffat
On Tue, 24 Jan 2006, Justin wrote: Hi Dan, thanks for replying so fast,. I found the initial problem, glib was incorrectly installed for 64bit. I re-ran the glib install and the problem disappeared. I now have a perl problem to look into. I am getting make[2]: Entering directory `/mnt/main/

Re: rpm help please!

2006-01-24 Thread Ken Moffat
On Tue, 24 Jan 2006, Dan Nicholson wrote: What's the issue with the -fPIC, though? Do you really want a static rpm2cpio? If it's only for rpm2cpio, the attached should be less overhead than compiling rpm. Can't remember where google found it. Ken -- das eine Mal als Tragödie, das andere

Re: rpm help please!

2006-01-24 Thread Dan Nicholson
On 1/24/06, Justin <[EMAIL PROTECTED]> wrote: > Dan Nicholson wrote: > > This is a shot in the dark, but maybe it'll help: add -D_GNU_SOURCE to > > that compile line and see what happens. Here's the link: > > > > http://lists.debian.org/debian-perl/2002/09/msg2.html > > > > Yes this worked, I

Re: rpm help please!

2006-01-24 Thread Justin
Dan Nicholson wrote: This is a shot in the dark, but maybe it'll help: add -D_GNU_SOURCE to that compile line and see what happens. Here's the link: http://lists.debian.org/debian-perl/2002/09/msg2.html Yes this worked, I had to re-install perl to add it into there but it worked in th

Re: rpm help please!

2006-01-24 Thread Dan Nicholson
On 1/24/06, Justin <[EMAIL PROTECTED]> wrote: > > make[2]: Entering directory `/mnt/main/home/justin/src/rpm-4.4.4/perl' > gcc -m64 -c -I../lib -I../rpmdb -I../rpmio -I../popt -fPIC > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.66\" > -DXS_VERSION=\"0.66\" -fpic > "-I/usr/lib64/

Re: rpm help please!

2006-01-24 Thread Justin
Hi Dan, thanks for replying so fast,. I found the initial problem, glib was incorrectly installed for 64bit. I re-ran the glib install and the problem disappeared. I now have a perl problem to look into. I am getting make[2]: Entering directory `/mnt/main/home/justin/src/rpm-4.4.4/perl' gcc -

Re: rpm help please!

2006-01-24 Thread Dan Nicholson
On 1/24/06, Justin <[EMAIL PROTECTED]> wrote: > gcc -m64 -fPIC -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith > -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpm2cpio > -static rpm2cpio.o ./lib/.libs/librpm.a -L/usr/lib6464 > /mnt/main/home/justin/src/rpm-4.4.4/rp