Hi all,
I'm a bloody beginner to perl. On my Win XP platform the activestate-perl is 
installed. Installation of some perl modules like DBD-mysql or EasyDBAccess 
worked fine. Now I need some graphics. The library libgd and GD.pm seems to 
be required for that. I got the dll-version from http://www.boutell.com/gd/. 
I try to install GD.pm with CPAN. Make ends up with following:

cpan> install GD
Running install for module GD
Running make for L/LD/LDS/GD-2.34.tar.gz
  Is already unwrapped into directory C:\Contenido\perl\cpan\build\GD-2.34

  CPAN.pm: Going to build L/LD/LDS/GD-2.34.tar.gz

Set up gcc environment - 3.2.3 (mingw special 20030504-1)
NOTICE: This module requires libgd 2.0.28 or higher.

        If you are using Math::Trig 1.01 or lower, it has a bug that
        causes a "prerequisite not found" warning to be issued.  You may
        safely ignore this warning.

        Type perl Makefile.PL -h for command-line option summary

Der Befehl "gdlib-config" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

Where is libgd installed? [/usr/lib] c:/download/gdwin32

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y]
Build support for animated GIFs? [y]

If you experience compile problems, please check the @INC, @LIBPATH and 
@LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgd
Note (probably harmless): No library found for -lpng
Note (probably harmless): No library found for -lz
Note (probably harmless): No library found for -lfreetype
Note (probably harmless): No library found for -ljpeg
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lmsvcrt
Writing Makefile for GD
cp GD/Polyline.pm blib\lib/GD/Polyline.pm
cp qd.pl blib\lib/qd.pl
cp GD/Image.pm blib\lib/GD/Image.pm
cp GD.pm blib\lib/GD.pm
AutoSplitting blib\lib/GD.pm (blib\lib\auto\GD)
cp GD/Simple.pm blib\lib/GD/Simple.pm
cp GD/Polygon.pm blib\lib/GD/Polygon.pm
C:\Contenido\perl\bin\perl.exe 
:\Contenido\perl\lib\ExtUtils\xsubpp  -typemap 
C:\Contenido\perl\lib\ExtUtils\typemap -t
ypemap typemap  GD.xs > GD.xsc && 
C:\Contenido\perl\bin\perl.exe -MExtUtils::Command -e mv GD.xsc GD.c
gcc -c  -Ic:/download/gdwin32/include -I/usr/include -I/usr/include/gd  
-DNDEBUG 
 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_D
ES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS 
 -DUSE_PERLIO -DPERL_MSVCRT_READ
FIX -DHASATTRIBUTE -fno-strict-aliasing -O2       -DVERSION=\"2.34\"    
-DXS_VERSION=\"2.34\" 
"-IC:\Contenido\perl\lib\
CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
Running Mkbootstrap for GD ()
C:\Contenido\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 GD.bs
C:\Contenido\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"GD\", 'DLBASE' => 'GD', 'DL_FUNCS' => {  }, 
'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS'
 => []);"
Set up gcc environment - 3.2.3 (mingw special 20030504-1)
dlltool --def GD.def --output-exp dll.exp
gcc -o blib\arch\auto\GD\GD.dll -Wl,--base-file -Wl,dll.base -mdll 
GD.o -Wl,--image-base,0x2b280000  C:\Contenido\perl\l
ib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 
 -lshell32 -lole32 -loleaut32 -lnetapi32
-luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp
GD.o(.text+0x6ee):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x703):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x80c):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xe23):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xeb1):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x1180):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1462):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1716):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1916):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1b62):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1e62):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x210b):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x22eb):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x24cb):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x2700):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x29db):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x2f85):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x3267):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x34bc):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x36ca):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x38cf):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x38f1):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x3999):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x3b92):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x3bbc):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x3e96):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x3eb7):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4238):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x4259):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x46d4):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x46f6):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4909):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4933):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4bc6):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4bf1):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4e06):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4e27):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4fd8):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x4ff9):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x52ea):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x5980):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x5fc2):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x6365):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x668a):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x89cc):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x8dac):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x930b):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x9c8b):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xa2ec):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xa6cc):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xaaac):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xaf1a):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xb428):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xb8a5):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xbbca):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xbea0):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xc120):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xc351):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xc619):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xc90c):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xcd27):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xd10c):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xd50c):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xd91c):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xdcec):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xe107):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xe4ec):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xe907):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xef70):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xf217):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xf4a1):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0xf909):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0xfefb):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1053b):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x10b24):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x110e4):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x11490):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x1182d):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x11c6d):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x120aa):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x124ea):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x12abe):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x12d13):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x13a31):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x13c51):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x13ea7):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x13f98):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14181):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x143a9):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x14c9a):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14ca4):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14cae):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14cb8):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x14cc2):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14e3f):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x14fdf):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x1517f):GD.c: undefined reference to [EMAIL PROTECTED]'
GD.o(.text+0x1532f):GD.c: undefined reference to 
[EMAIL PROTECTED]'
GD.o(.text+0x154bf):GD.c: undefined reference to [EMAIL PROTECTED]'
dmake:  Error code 129, while making 'blib\arch\auto\GD\GD.dll'
  dmake  -- NOT OK


I tried several paths for the dll or *.a without any success.
Can you please tell me what I did wrong and what I misunderstood?

Thanks in advance,
cae



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to