pl-perl for 64 bits in Solaris 9

Поиск
Список
Период
Сортировка
От MOLINA BRAVO FELIPE DE JESUS
Тема pl-perl for 64 bits in Solaris 9
Дата
Msg-id 6BC99E262581EF4AA883FF3F47D0A1880D65C0@CORREOAGS02.inegi.gob.mx
обсуждение исходный текст
Ответы Re: pl-perl for 64 bits in Solaris 9  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
Hi

I don't have experience with solaris. I know it is a 64 bits:

bash-2.05# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications



I tried to compile postgres (Version of postgres: 8.4.4 ) with plperl for 64 bits. The options for the configure are:

/configure --with-CC=/usr/local/bin/gcc  --with-perl  --with-libxml --with-libxslt




but when I do "make" get the next message:

 /port -L/usr/local/lib   -o plpgsql.so
 make[4]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/pl/plpgsql/src'
 make[3]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/pl/plpgsql'
 make[3]: Entering directory `/export/fmolina/pgsql/postgresql-8.4.4/src/pl/plperl'
 /usr/local/bin/gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing-fwrapv -fPIC  -shared  plperl.o spi_internal.o SPI.o  -L/usr/lib/sparcv9 -L/usr/local/lib
-L../../../src/port-L/usr/local/lib -m64 -lsocket -lnsl -ldl -lm -lc
-Wl,-R'/usr/local/lib/perl5/5.8.9/sun4-solaris-64/CORE'-o plperl.so 
 ld: fatal: file plperl.o: wrong ELF class: ELFCLASS32
 ld: fatal: File processing errors. No output written to plperl.so
 collect2: ld returned 1 exit status
 make[3]: *** [plperl.so] Error 1
 make[3]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/pl/plperl'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src/pl'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src'
 make: *** [all] Error 2


then i do:

bash-2.05# file src/pl/plperl/plperl.o
src/pl/plperl/plperl.o: ELF 32-bit MSB relocatable SPARC Version 1



My questions are:

is possible compile postgres with pl-perl for 64?

where i can read more about this problem?


thank's ....






В списке pgsql-general по дате отправления:

Предыдущее
От: Felipe de Jesús Molina Bravo
Дата:
Сообщение: pl-perl for 64 bits in Solaris 9
Следующее
От: John R Pierce
Дата:
Сообщение: Re: pl-perl for 64 bits in Solaris 9