Re: [HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Zoltan Boszormenyi
Doug Knight írta: All, I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit system. I have set CFLAGS=-m32, and I run the configure and make/make install as follows: setarch i386 ./configure setarch i386 make setarch i386 make install However, I get the following error (using ti

Re: [HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Tom Lane
Doug Knight <[EMAIL PROTECTED]> writes: > I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit > system. I have set CFLAGS=-m32, setarch might help ... regards, tom lane ---(end of broadcast)--- TIP 5: don't for

Re: [HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Doug Knight
Thanks Andrew, I missed the little -o in front of the SUBSYS.o. I did find that if I did "export LDEMULATION=elf_i386" I was able to link successfully. Now I just need to tell configure that I want to use the 32 bit perl libs, not the 64 bit ones it keeps finding by using: $PERL -MConfig -e 'print

Re: [HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Andrew Dunstan
Doug Knight wrote: All, I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit system. I have set CFLAGS=-m32, and I run the configure and make/make install as follows: setarch i386 ./configure setarch i386 make setarch i386 make install However, I get the following error (using

Re: [HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Zdenek Kotala
I'm not sure, but maybe linker also needs a switch to make 32bit output. Zdenek Doug Knight napsal(a): All, I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit system. I have set CFLAGS=-m32, and I run the configure and make/make install as follows: setarch i38

[HACKERS] Error building 32 bit on 64 bit linux system

2008-02-18 Thread Doug Knight
All, I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit system. I have set CFLAGS=-m32, and I run the configure and make/make install as follows: setarch i386 ./configure setarch i386 make setarch i386 make install However, I get the following error (using timezone for example): $