Compilation Problem

From: Cédric Bouttes <bouttes(at)ensam(dot)inra(dot)fr>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Compilation Problem
Date: 2003-10-31 10:52:39
Message-ID: 3.0.1.32.20031031115239.00f26650@ensam.inra.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I'm trying to install DBD-Pg-1.22 on CygWin. I have postgresql and DBI up
and running but i can't get DBD-Pg-1.22 working.
I receive the following error executing make:

$ make
rm -f blib/arch/auto/DBD/Pg/Pg.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib Pg.o dbdimp.o -o
blib/arch/auto/DBD/Pg/
Pg.dll /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
-L/usr/lib -l
pq
gcc -shared -o Pg.dll -Wl,--out-implib=libPg.dll.a
-Wl,--export-all-symbols -Wl
,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Pg.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
libperl.dll.a -L/usr/lib -lpq
dbdimp.o(.text+0x2fde):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
dbdimp.o(.text+0x2fee):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
dbdimp.o(.text+0x2ffe):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
Creating library file: libPg.dll.a
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Pg.dll -Wl,--out-implib=libPg.dll.a
-Wl,--export-all-symbols -Wl
,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Pg.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
libperl.dll.a -L/usr/lib -lpq

make: *** [blib/arch/auto/DBD/Pg/Pg.dll] Error 1

What can the problem be???

Regards,

Cédric.

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-10-31 13:40:56 Re: installation and configuration of postgresql
Previous Message Claudio Natoli 2003-10-30 23:56:38 Re: COPY error