Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-22 Thread Theo Schlossnagle
Andrew Dunstan wrote: imacat wrote: But, on my i386 machine, I can build PL/Perl with static library (libperl.a). But I can't do that on x86_64 anymore. Can somebody tell me why, or where should I referring to? Why do you want to do this? It works perfectly well with a shared lib,

Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-22 Thread Andrew Dunstan
imacat wrote: But, on my i386 machine, I can build PL/Perl with static library (libperl.a). But I can't do that on x86_64 anymore. Can somebody tell me why, or where should I referring to? Why do you want to do this? It works perfectly well with a shared lib, and is probably more memo

Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-22 Thread imacat
On Sun, 21 May 2006 16:35:24 -0700 (PDT) gede wawan <[EMAIL PROTECTED]> wrote: > relocation R_X86_64_32 can not be used when making a shared object; > recompile with -fPIC May I ask how? I have tried to edit src/makefiles/Makefile.linux and changed -fpic to -fPIC, but it does not help. Maybe

Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-09 Thread imacat
On Mon, 08 May 2006 03:58:54 +0800 imacat <[EMAIL PROTECTED]> wrote: > On Sun, 07 May 2006 13:09:48 -0400 > Tom Lane <[EMAIL PROTECTED]> wrote: > > imacat <[EMAIL PROTECTED]> writes: > > > I cannot compile PL/Perl and PL/Python under x86_64. > > Works fine for me (without any tinkering with fla

Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-07 Thread imacat
On Sun, 07 May 2006 13:09:48 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: > imacat <[EMAIL PROTECTED]> writes: > > I cannot compile PL/Perl and PL/Python under x86_64. > Works fine for me (without any tinkering with flags) on Fedora Core 4. > Maybe you don't have 64-bit versions of the perl and py

Re: [HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-07 Thread Tom Lane
imacat <[EMAIL PROTECTED]> writes: > I cannot compile PL/Perl and PL/Python under x86_64. Works fine for me (without any tinkering with flags) on Fedora Core 4. Maybe you don't have 64-bit versions of the perl and python libraries? regards, tom lane --

[HACKERS] Compiling PL/Perl and Pl/Python on x86_64

2006-05-07 Thread imacat
Dear all, I cannot compile PL/Perl and PL/Python under x86_64. I'm running Intel Pentium D 3.2GHz Dual-core, Debian GNU/Linux AMD64 port, kernel 2.6.16.14, gcc 3.4.4, glibc 2.3.2, perl 5.8.8, Python 2.4.3. [EMAIL PROTECTED] ~ % uname -a Linux yuki 2.6.16.14-allmods #1 SMP Sat May 6 18:25:11