Estou compilando o postgres 8.4.4 (preciso dessa versão) no Debian 7 e Ubuntu 13.04, porém me deparo com esse erro e não consegui resolver, peço a ajuda dos demais que já tenham passado por isso.
Instalei as dependências # aptitude install build-essential zlib1g-dev libreadline6-dev flex bison libxml++2.6-dev libxml2-dev libperl-dev libclass-dbi-perl libyaml-libyaml-perl libyaml-dev libdbd-sybase-perl freetds-dev Rodei o configura com suporte a XML e PERL # ./configure --with-libxml --with-perl rodando o make # time make -j install Retorno make[3]: Entrando no diretório `/root/postgresql-8.4.4/src/pl/plperl' "/usr/bin/perl" plperl_opmask.pl plperl_opmask.h gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I. -I. -I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/lib/perl/5.14/CORE -c -o spi_internal.o spi_internal.c "/usr/bin/perl" /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap SPI.xs >SPI.c /bin/sh ../../../config/mkinstalldirs '/usr/local/pgsql/lib' gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I. -I. -I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/lib/perl/5.14/CORE -c -o plperl.o plperl.c gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I. -I. -I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/lib/perl/5.14/CORE -c -o SPI.o SPI.c plperl.c: In function âplperl_safe_initâ: plperl.c:595:12: error: lvalue required as left operand of assignment plperl.c: In function âplperl_hash_from_tupleâ: plperl.c:1781:10: warning: the comparison will always evaluate as âtrueâ for the address of âisnullâ will never be NULL [-Waddress] plperl.c:1781:10: warning: the comparison will always evaluate as âtrueâ for the address of âisnullâ will never be NULL [-Waddress] plperl.c:1781:10: warning: the comparison will always evaluate as âtrueâ for the address of âisnullâ will never be NULL [-Waddress] make[3]: ** [plperl.o] Erro 1 make[3]: ** Esperando que outros processos terminem. make[3]: Saindo do diretório `/root/postgresql-8.4.4/src/pl/plperl' make[2]: ** [install] Erro 2 make[2]: Saindo do diretório `/root/postgresql-8.4.4/src/pl' make[1]: ** [install] Erro 2 make[1]: Saindo do diretório `/root/postgresql-8.4.4/src' make: ** [install] Erro 2 real 0m28.689s user 3m26.117s sys 0m11.473s
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
