Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GD Module COmpilation

Status
Not open for further replies.

gnikol1

IS-IT--Management
Jan 30, 2002
29
EU
Dear all

I am trying for a long time to compile the GD module together with the text and graph and it seems impossible.
I am geting different type of errors. I am sending you some of them

E:\perl\modules\GD-1.30>perl makefile.pl
NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).


Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]

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

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 '-lttf'
Note (probably harmless): No library found for '-ljpeg'
Writing Makefile for GD

E:\perl\modules\GD-1.30>nmake

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl -c -I/usr/local/include -I/usr/local/include/gd -nologo -O1 -MD -DNDE
BUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DP
ERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG -DVERSION=\"1.30\" -
DXS_VERSION=\"1.30\" -IE:\Perl\lib\CORE -DHAVE_JPEG -DHAVE_TTF GD.c
GD.c
GD.xs(365) : warning C4133: 'function' : incompatible types - from 'struct _Perl
IO *' to 'struct _iobuf *'
GD.xs(382) : error C2059: syntax error : '('
GD.c(453) : error C2275: 'PerlInterpreter' : illegal use of this type as an expr
ession
E:\Perl\lib\CORE\perl.h(1499) : see declaration of 'PerlInterpreter'
GD.c(453) : error C2059: syntax error : ')'
GD.c(454) : error C2275: 'PerlInterpreter' : illegal use of this type as an expr
ession
E:\Perl\lib\CORE\perl.h(1499) : see declaration of 'PerlInterpreter'
GD.c(454) : error C2059: syntax error : ')'

Can anyone send me a guide at gnikol1@yahoo.com.


Thanks a lot

George
 
Do you have libpng, libjpeg, freetype and gd installed? You'll need them for the perl gd module to work. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
I have the dll for the libpng copy on the LIB directry and I have the gd 1.8.4 in the include directory. But how do I install them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top