[Koha] Error while Installing GD Perl Module in Koha

rohitsingh rohit.singh at rsg.co.in
Fri Sep 3 21:21:09 NZST 2010


Hello Everybody,

I am facing problem in installing GD Perl Module in koha, the details are
below

1. when i run the Makefile.PL command, i get the below message

>sudo perl Makefile.pl
Notice: Type perl Makefile.PL -h for command-line option summary.

Configuring for libgd version 2.0.35.
Checking for stray libgd header files...none found.

Included Features:          GD_XPM GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF
GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from:       /usr/local
Note (probably harmless): No library found for -ljpeg
Note (probably harmless): No library found for -lgd
Writing Makefile for GD

2. When i try to build the GD Module, the error message is as below,

sudo make
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
Skip blib/lib/GD/Polyline.pm (unchanged)
Skip blib/lib/qd.pl (unchanged)
Skip blib/lib/GD/Image.pm (unchanged)
Skip blib/lib/GD.pm (unchanged)
Skip blib/lib/GD/Simple.pm (unchanged)
Skip blib/lib/GD/Polygon.pm (unchanged)
Skip blib/lib/GD/Group.pm (unchanged)
gcc-4.2 -c  -I/usr/local/include -Wformat=0 -Os   -DVERSION=\"2.45\"
-DXS_VERSION=\"2.45\" 
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -DHAVE_FT
-DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33
-DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
GD.xs:7:16: error: gd.h: No such file or directory
GD.xs:8:21: error: gdfontg.h: No such file or directory
GD.xs:9:21: error: gdfontl.h: No such file or directory
GD.xs:10:22: error: gdfontmb.h: No such file or directory
GD.xs:11:21: error: gdfonts.h: No such file or directory
GD.xs:12:21: error: gdfontt.h: No such file or directory
GD.xs:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GD__Image'
GD.xs:341: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GD__Font'
GD.xs:383: error: expected specifier-qualifier-list before 'gdIOCtx'
GD.xs:391: error: expected ')' before 'ctx'
GD.xs:398: error: expected ')' before 'ctx'
GD.xs:414: error: expected ')' before 'ctx'
GD.xs:422: error: expected ')' before 'ctx'
GD.xs:427: error: expected ')' before 'ctx'
GD.xs:431: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
GD.xs:452: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'gd_cloneDim'
GD.xs:476: error: expected ')' before 'src'
GD.xs:505: error: expected ')' before 'image'
GD.c: In function 'XS_GD__Image__new':
GD.c:680: error: 'GD__Image' undeclared (first use in this function)
GD.c:680: error: (Each undeclared identifier is reported only once
GD.c:680: error: for each function it appears in.)
GD.c:680: error: expected ';' before 'RETVAL'
GD.xs:588: error: 'gdImagePtr' undeclared (first use in this function)
GD.xs:588: error: expected ';' before 'theImage'
GD.xs:592: error: 'theImage' undeclared (first use in this function)
GD.xs:592: error: expected ';' before 'gdImageCreateTrueColor'
GD.xs:594: error: expected ';' before 'gdImageCreate'
GD.xs:596: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image__newFromPng':
GD.c:743: error: 'GD__Image' undeclared (first use in this function)
GD.c:743: error: expected ';' before 'RETVAL'
GD.xs:615: error: 'RETVAL' undeclared (first use in this function)
GD.xs:615: error: expected ';' before 'gdImageCreateFromPng'
GD.xs: In function 'XS_GD__Image_newFromPngData':
GD.xs:627: error: 'gdIOCtx' undeclared (first use in this function)
GD.xs:627: error: 'ctx' undeclared (first use in this function)
GD.c:786: error: 'GD__Image' undeclared (first use in this function)
GD.c:786: error: expected ';' before 'RETVAL'
GD.xs:639: error: 'RETVAL' undeclared (first use in this function)
GD.xs:639: error: expected ';' before 'gdImageCreateFromPngCtx'
GD.c: In function 'XS_GD__Image_newFromGdData':
GD.c:826: error: 'GD__Image' undeclared (first use in this function)
GD.c:826: error: expected ';' before 'RETVAL'
GD.xs:658: error: 'RETVAL' undeclared (first use in this function)
GD.xs:658: error: expected ';' before 'gdImageCreateFromGdPtr'
GD.c: In function 'XS_GD__Image_newFromGd2Data':
GD.c:861: error: 'GD__Image' undeclared (first use in this function)
GD.c:861: error: expected ';' before 'RETVAL'
GD.xs:672: error: 'RETVAL' undeclared (first use in this function)
GD.xs:672: error: expected ';' before 'gdImageCreateFromGd2Ptr'
GD.xs: In function 'XS_GD__Image_newFromWBMPData':
GD.xs:710: error: 'gdIOCtx' undeclared (first use in this function)
GD.xs:710: error: 'ctx' undeclared (first use in this function)
GD.c:953: error: 'GD__Image' undeclared (first use in this function)
GD.c:953: error: expected ';' before 'RETVAL'
GD.xs:722: error: 'RETVAL' undeclared (first use in this function)
GD.xs:722: error: expected ';' before 'gdImageCreateFromWBMPCtx'
GD.c: In function 'XS_GD__Image__newFromXbm':
GD.c:988: error: 'GD__Image' undeclared (first use in this function)
GD.c:988: error: expected ';' before 'RETVAL'
GD.xs:735: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image__newFromGd':
GD.c:1018: error: 'GD__Image' undeclared (first use in this function)
GD.c:1018: error: expected ';' before 'RETVAL'
GD.xs:745: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image__newFromGd2':
GD.c:1048: error: 'GD__Image' undeclared (first use in this function)
GD.c:1048: error: expected ';' before 'RETVAL'
GD.xs:755: error: 'RETVAL' undeclared (first use in this function)
GD.xs: In function 'XS_GD__Image__newFromWBMP':
GD.xs:787: error: 'gdImagePtr' undeclared (first use in this function)
GD.xs:787: error: expected ';' before 'img'
GD.c:1126: error: 'GD__Image' undeclared (first use in this function)
GD.c:1126: error: expected ';' before 'RETVAL'
GD.xs:790: error: 'img' undeclared (first use in this function)
GD.xs:797: error: 'RETVAL' undeclared (first use in this function)
GD.xs: In function 'XS_GD__Image_newFromXpm':
GD.xs:807: error: 'gdImagePtr' undeclared (first use in this function)
GD.xs:807: error: expected ';' before 'img'
GD.c:1167: error: 'GD__Image' undeclared (first use in this function)
GD.c:1167: error: expected ';' before 'RETVAL'
GD.xs:811: error: 'img' undeclared (first use in this function)
GD.xs:811: error: expected ';' before 'gdImageCreateFromXpm'
GD.xs:818: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image__newFromGd2Part':
GD.c:1214: error: 'GD__Image' undeclared (first use in this function)
GD.c:1214: error: expected ';' before 'RETVAL'
GD.xs:837: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image__newFromGif':
GD.c:1255: error: 'GD__Image' undeclared (first use in this function)
GD.c:1255: error: expected ';' before 'RETVAL'
GD.xs:855: error: 'RETVAL' undeclared (first use in this function)
GD.xs: In function 'XS_GD__Image_newFromGifData':
GD.xs:865: error: 'gdIOCtx' undeclared (first use in this function)
GD.xs:865: error: 'ctx' undeclared (first use in this function)
GD.c:1296: error: 'GD__Image' undeclared (first use in this function)
GD.c:1296: error: expected ';' before 'RETVAL'
GD.xs:877: error: 'RETVAL' undeclared (first use in this function)
GD.xs:877: error: expected ';' before 'gdImageCreateFromGifCtx'
GD.c: In function 'XS_GD__Image_DESTROY':
GD.c:1328: error: 'GD__Image' undeclared (first use in this function)
GD.c:1328: error: expected ';' before 'image'
GD.c:1332: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_STORABLE_freeze':
GD.c:1359: error: 'GD__Image' undeclared (first use in this function)
GD.c:1359: error: expected ';' before 'image'
GD.c:1365: error: 'image' undeclared (first use in this function)
GD.xs:903: error: 'GD2_FMT_COMPRESSED' undeclared (first use in this
function)
GD.xs:903: warning: assignment makes pointer from integer without a cast
GD.xs: In function 'XS_GD__Image_STORABLE_thaw':
GD.xs:917: error: 'GD__Image' undeclared (first use in this function)
GD.xs:917: error: expected ';' before 'image'
GD.xs:922: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_png':
GD.c:1435: error: 'GD__Image' undeclared (first use in this function)
GD.c:1435: error: expected ';' before 'image'
GD.c:1442: error: 'image' undeclared (first use in this function)
GD.xs:939: warning: cast to pointer from integer of different size
GD.xs:941: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_gifanimbegin':
GD.c:1540: error: 'GD__Image' undeclared (first use in this function)
GD.c:1540: error: expected ';' before 'image'
GD.c:1549: error: 'image' undeclared (first use in this function)
GD.xs:990: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_gifanimadd':
GD.c:1598: error: 'GD__Image' undeclared (first use in this function)
GD.c:1598: error: expected ';' before 'image'
GD.c:1604: error: expected ';' before 'previm'
GD.c:1609: error: 'image' undeclared (first use in this function)
GD.c:1647: error: 'previm' undeclared (first use in this function)
GD.xs:1015: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_gifanimend':
GD.c:1689: error: 'GD__Image' undeclared (first use in this function)
GD.c:1689: error: expected ';' before 'image'
GD.c:1694: error: 'image' undeclared (first use in this function)
GD.xs:1034: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_wbmp':
GD.c:1731: error: 'GD__Image' undeclared (first use in this function)
GD.c:1731: error: expected ';' before 'image'
GD.c:1740: error: 'image' undeclared (first use in this function)
GD.xs:1055: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_gif':
GD.c:1782: error: 'GD__Image' undeclared (first use in this function)
GD.c:1782: error: expected ';' before 'image'
GD.c:1790: error: 'image' undeclared (first use in this function)
GD.xs:1079: warning: cast to pointer from integer of different size
GD.c: In function 'XS_GD__Image_gd':
GD.c:1830: error: 'GD__Image' undeclared (first use in this function)
GD.c:1830: error: expected ';' before 'image'
GD.c:1835: error: 'image' undeclared (first use in this function)
GD.xs:1102: warning: assignment makes pointer from integer without a cast
GD.c: In function 'XS_GD__Image_gd2':
GD.c:1868: error: 'GD__Image' undeclared (first use in this function)
GD.c:1868: error: expected ';' before 'image'
GD.c:1873: error: 'image' undeclared (first use in this function)
GD.xs:1117: error: 'GD2_FMT_COMPRESSED' undeclared (first use in this
function)
GD.xs:1117: warning: assignment makes pointer from integer without a cast
GD.c: In function 'XS_GD__Image_transparent':
GD.c:1906: error: 'GD__Image' undeclared (first use in this function)
GD.c:1906: error: expected ';' before 'image'
GD.c:1912: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_getBounds':
GD.c:1947: error: 'GD__Image' undeclared (first use in this function)
GD.c:1947: error: expected ';' before 'image'
GD.c:1951: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_isTrueColor':
GD.c:1984: error: 'GD__Image' undeclared (first use in this function)
GD.c:1984: error: expected ';' before 'image'
GD.c:1990: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_trueColorToPalette':
GD.c:2018: error: 'GD__Image' undeclared (first use in this function)
GD.c:2018: error: expected ';' before 'image'
GD.c:2024: error: 'image' undeclared (first use in this function)
GD.c:2038: error: 'gdMaxColors' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_rgb':
GD.c:2065: error: 'GD__Image' undeclared (first use in this function)
GD.c:2065: error: expected ';' before 'image'
GD.c:2070: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_boundsSafe':
GD.c:2105: error: 'GD__Image' undeclared (first use in this function)
GD.c:2105: error: expected ';' before 'image'
GD.c:2113: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_getPixel':
GD.c:2143: error: 'GD__Image' undeclared (first use in this function)
GD.c:2143: error: expected ';' before 'image'
GD.c:2151: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setPixel':
GD.c:2179: error: 'GD__Image' undeclared (first use in this function)
GD.c:2179: error: expected ';' before 'image'
GD.c:2186: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyRotate90':
GD.c:2213: error: 'GD__Image' undeclared (first use in this function)
GD.c:2213: error: expected ';' before 'src'
GD.c:2214: error: expected ';' before 'RETVAL'
GD.c:2218: error: 'src' undeclared (first use in this function)
GD.xs:1240: error: expected ';' before 'dst'
GD.xs:1242: error: 'dst' undeclared (first use in this function)
GD.xs:1242: error: expected ';' before 'gd_cloneDim'
GD.xs:1246: error: lvalue required as left operand of assignment
GD.xs:1246: error: lvalue required as left operand of assignment
GD.xs:1249: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyRotate180':
GD.c:2257: error: 'GD__Image' undeclared (first use in this function)
GD.c:2257: error: expected ';' before 'src'
GD.c:2258: error: expected ';' before 'RETVAL'
GD.c:2262: error: 'src' undeclared (first use in this function)
GD.xs:1261: error: expected ';' before 'dst'
GD.xs:1263: error: 'dst' undeclared (first use in this function)
GD.xs:1263: error: expected ';' before 'gd_cloneDim'
GD.xs:1267: error: lvalue required as left operand of assignment
GD.xs:1267: error: lvalue required as left operand of assignment
GD.xs:1270: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyRotate270':
GD.c:2301: error: 'GD__Image' undeclared (first use in this function)
GD.c:2301: error: expected ';' before 'src'
GD.c:2302: error: expected ';' before 'RETVAL'
GD.c:2306: error: 'src' undeclared (first use in this function)
GD.xs:1282: error: expected ';' before 'dst'
GD.xs:1284: error: 'dst' undeclared (first use in this function)
GD.xs:1284: error: expected ';' before 'gd_cloneDim'
GD.xs:1288: error: lvalue required as left operand of assignment
GD.xs:1288: error: lvalue required as left operand of assignment
GD.xs:1291: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyFlipHorizontal':
GD.c:2345: error: 'GD__Image' undeclared (first use in this function)
GD.c:2345: error: expected ';' before 'src'
GD.c:2346: error: expected ';' before 'RETVAL'
GD.c:2350: error: 'src' undeclared (first use in this function)
GD.xs:1303: error: expected ';' before 'dst'
GD.xs:1305: error: 'dst' undeclared (first use in this function)
GD.xs:1305: error: expected ';' before 'gd_cloneDim'
GD.xs:1309: error: lvalue required as left operand of assignment
GD.xs:1309: error: lvalue required as left operand of assignment
GD.xs:1312: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyFlipVertical':
GD.c:2389: error: 'GD__Image' undeclared (first use in this function)
GD.c:2389: error: expected ';' before 'src'
GD.c:2390: error: expected ';' before 'RETVAL'
GD.c:2394: error: 'src' undeclared (first use in this function)
GD.xs:1324: error: expected ';' before 'dst'
GD.xs:1326: error: 'dst' undeclared (first use in this function)
GD.xs:1326: error: expected ';' before 'gd_cloneDim'
GD.xs:1330: error: lvalue required as left operand of assignment
GD.xs:1330: error: lvalue required as left operand of assignment
GD.xs:1333: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyTranspose':
GD.c:2433: error: 'GD__Image' undeclared (first use in this function)
GD.c:2433: error: expected ';' before 'src'
GD.c:2434: error: expected ';' before 'RETVAL'
GD.c:2438: error: 'src' undeclared (first use in this function)
GD.xs:1345: error: expected ';' before 'dst'
GD.xs:1347: error: 'dst' undeclared (first use in this function)
GD.xs:1347: error: expected ';' before 'gd_cloneDim'
GD.xs:1351: error: lvalue required as left operand of assignment
GD.xs:1351: error: lvalue required as left operand of assignment
GD.xs:1354: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyReverseTranspose':
GD.c:2477: error: 'GD__Image' undeclared (first use in this function)
GD.c:2477: error: expected ';' before 'src'
GD.c:2478: error: expected ';' before 'RETVAL'
GD.c:2482: error: 'src' undeclared (first use in this function)
GD.xs:1366: error: expected ';' before 'dst'
GD.xs:1368: error: 'dst' undeclared (first use in this function)
GD.xs:1368: error: expected ';' before 'gd_cloneDim'
GD.xs:1372: error: lvalue required as left operand of assignment
GD.xs:1372: error: lvalue required as left operand of assignment
GD.xs:1375: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_rotate180':
GD.c:2521: error: 'GD__Image' undeclared (first use in this function)
GD.c:2521: error: expected ';' before 'src'
GD.c:2525: error: 'src' undeclared (first use in this function)
GD.xs:1392: error: lvalue required as left operand of assignment
GD.xs:1392: error: lvalue required as left operand of assignment
GD.xs:1393: error: lvalue required as left operand of assignment
GD.xs:1393: error: lvalue required as left operand of assignment
GD.c: In function 'XS_GD__Image_copyRotated':
GD.c:2561: error: 'GD__Image' undeclared (first use in this function)
GD.c:2561: error: expected ';' before 'dst'
GD.c:2562: error: expected ';' before 'src'
GD.c:2573: error: 'dst' undeclared (first use in this function)
GD.c:2582: error: 'src' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_flipHorizontal':
GD.c:2613: error: 'GD__Image' undeclared (first use in this function)
GD.c:2613: error: expected ';' before 'src'
GD.c:2617: error: 'src' undeclared (first use in this function)
GD.xs:1431: error: lvalue required as left operand of assignment
GD.xs:1431: error: lvalue required as left operand of assignment
GD.xs:1432: error: lvalue required as left operand of assignment
GD.xs:1432: error: lvalue required as left operand of assignment
GD.c: In function 'XS_GD__Image_flipVertical':
GD.c:2653: error: 'GD__Image' undeclared (first use in this function)
GD.c:2653: error: expected ';' before 'src'
GD.c:2657: error: 'src' undeclared (first use in this function)
GD.xs:1449: error: lvalue required as left operand of assignment
GD.xs:1449: error: lvalue required as left operand of assignment
GD.xs:1450: error: lvalue required as left operand of assignment
GD.xs:1450: error: lvalue required as left operand of assignment
GD.c: In function 'XS_GD__Image_line':
GD.c:2693: error: 'GD__Image' undeclared (first use in this function)
GD.c:2693: error: expected ';' before 'image'
GD.c:2702: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_dashedLine':
GD.c:2729: error: 'GD__Image' undeclared (first use in this function)
GD.c:2729: error: expected ';' before 'image'
GD.c:2738: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_openPolygon':
GD.c:2765: error: 'GD__Image' undeclared (first use in this function)
GD.c:2765: error: expected ';' before 'image'
GD.c:2771: error: 'image' undeclared (first use in this function)
GD.xs:1494: error: 'gdPointPtr' undeclared (first use in this function)
GD.xs:1494: error: expected ';' before 'polyptr'
GD.xs:1510: error: 'polyptr' undeclared (first use in this function)
GD.xs:1510: error: expected ';' before 'Perl_safesysmalloc'
GD.c: In function 'XS_GD__Image_unclosedPolygon':
GD.c:2843: error: 'GD__Image' undeclared (first use in this function)
GD.c:2843: error: expected ';' before 'image'
GD.c:2849: error: 'image' undeclared (first use in this function)
GD.xs:1550: error: 'gdPointPtr' undeclared (first use in this function)
GD.xs:1550: error: expected ';' before 'polyptr'
GD.xs:1566: error: 'polyptr' undeclared (first use in this function)
GD.xs:1566: error: expected ';' before 'Perl_safesysmalloc'
GD.c: In function 'XS_GD__Image_filledPolygon':
GD.c:2924: error: 'GD__Image' undeclared (first use in this function)
GD.c:2924: error: expected ';' before 'image'
GD.c:2930: error: 'image' undeclared (first use in this function)
GD.xs:1609: error: 'gdPointPtr' undeclared (first use in this function)
GD.xs:1609: error: expected ';' before 'polyptr'
GD.xs:1625: error: 'polyptr' undeclared (first use in this function)
GD.xs:1625: error: expected ';' before 'Perl_safesysmalloc'
GD.c: In function 'XS_GD__Image_rectangle':
GD.c:3002: error: 'GD__Image' undeclared (first use in this function)
GD.c:3002: error: expected ';' before 'image'
GD.c:3011: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_filledRectangle':
GD.c:3038: error: 'GD__Image' undeclared (first use in this function)
GD.c:3038: error: expected ';' before 'image'
GD.c:3047: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_filledEllipse':
GD.c:3074: error: 'GD__Image' undeclared (first use in this function)
GD.c:3074: error: expected ';' before 'image'
GD.c:3083: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_arc':
GD.c:3110: error: 'GD__Image' undeclared (first use in this function)
GD.c:3110: error: expected ';' before 'image'
GD.c:3121: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_filledArc':
GD.c:3148: error: 'GD__Image' undeclared (first use in this function)
GD.c:3148: error: expected ';' before 'image'
GD.c:3160: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_fillToBorder':
GD.c:3193: error: 'GD__Image' undeclared (first use in this function)
GD.c:3193: error: expected ';' before 'image'
GD.c:3201: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_fill':
GD.c:3228: error: 'GD__Image' undeclared (first use in this function)
GD.c:3228: error: expected ';' before 'image'
GD.c:3235: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setBrush':
GD.c:3262: error: 'GD__Image' undeclared (first use in this function)
GD.c:3262: error: expected ';' before 'image'
GD.c:3263: error: expected ';' before 'brush'
GD.c:3267: error: 'image' undeclared (first use in this function)
GD.c:3276: error: 'brush' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setTile':
GD.c:3303: error: 'GD__Image' undeclared (first use in this function)
GD.c:3303: error: expected ';' before 'image'
GD.c:3304: error: expected ';' before 'tile'
GD.c:3308: error: 'image' undeclared (first use in this function)
GD.c:3317: error: 'tile' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setThickness':
GD.c:3344: error: 'GD__Image' undeclared (first use in this function)
GD.c:3344: error: expected ';' before 'image'
GD.c:3349: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setStyle':
GD.c:3376: error: 'GD__Image' undeclared (first use in this function)
GD.c:3376: error: expected ';' before 'image'
GD.c:3380: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorAllocate':
GD.c:3419: error: 'GD__Image' undeclared (first use in this function)
GD.c:3419: error: expected ';' before 'image'
GD.c:3428: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorAllocateAlpha':
GD.c:3456: error: 'GD__Image' undeclared (first use in this function)
GD.c:3456: error: expected ';' before 'image'
GD.c:3466: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorClosest':
GD.c:3494: error: 'GD__Image' undeclared (first use in this function)
GD.c:3494: error: expected ';' before 'image'
GD.c:3503: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorClosestAlpha':
GD.c:3531: error: 'GD__Image' undeclared (first use in this function)
GD.c:3531: error: expected ';' before 'image'
GD.c:3541: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorClosestHWB':
GD.c:3569: error: 'GD__Image' undeclared (first use in this function)
GD.c:3569: error: expected ';' before 'image'
GD.c:3578: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorExact':
GD.c:3606: error: 'GD__Image' undeclared (first use in this function)
GD.c:3606: error: expected ';' before 'image'
GD.c:3615: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorExactAlpha':
GD.c:3643: error: 'GD__Image' undeclared (first use in this function)
GD.c:3643: error: expected ';' before 'image'
GD.c:3653: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorResolve':
GD.c:3681: error: 'GD__Image' undeclared (first use in this function)
GD.c:3681: error: expected ';' before 'image'
GD.c:3690: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorResolveAlpha':
GD.c:3718: error: 'GD__Image' undeclared (first use in this function)
GD.c:3718: error: expected ';' before 'image'
GD.c:3728: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorsTotal':
GD.c:3756: error: 'GD__Image' undeclared (first use in this function)
GD.c:3756: error: expected ';' before 'image'
GD.c:3762: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_interlaced':
GD.c:3792: error: 'GD__Image' undeclared (first use in this function)
GD.c:3792: error: expected ';' before 'image'
GD.c:3798: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_compare':
GD.c:3832: error: 'GD__Image' undeclared (first use in this function)
GD.c:3832: error: expected ';' before 'image1'
GD.c:3833: error: expected ';' before 'image2'
GD.c:3839: error: 'image1' undeclared (first use in this function)
GD.c:3848: error: 'image2' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_colorDeallocate':
GD.c:3876: error: 'GD__Image' undeclared (first use in this function)
GD.c:3876: error: expected ';' before 'image'
GD.c:3881: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copy':
GD.c:3908: error: 'GD__Image' undeclared (first use in this function)
GD.c:3908: error: expected ';' before 'destination'
GD.c:3909: error: expected ';' before 'source'
GD.c:3919: error: 'destination' undeclared (first use in this function)
GD.c:3928: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyResized':
GD.c:3955: error: 'GD__Image' undeclared (first use in this function)
GD.c:3955: error: expected ';' before 'destination'
GD.c:3956: error: expected ';' before 'source'
GD.c:3968: error: 'destination' undeclared (first use in this function)
GD.c:3977: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyResampled':
GD.c:4004: error: 'GD__Image' undeclared (first use in this function)
GD.c:4004: error: expected ';' before 'destination'
GD.c:4005: error: expected ';' before 'source'
GD.c:4017: error: 'destination' undeclared (first use in this function)
GD.c:4026: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyMerge':
GD.c:4053: error: 'GD__Image' undeclared (first use in this function)
GD.c:4053: error: expected ';' before 'destination'
GD.c:4054: error: expected ';' before 'source'
GD.c:4065: error: 'destination' undeclared (first use in this function)
GD.c:4074: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_copyMergeGray':
GD.c:4101: error: 'GD__Image' undeclared (first use in this function)
GD.c:4101: error: expected ';' before 'destination'
GD.c:4102: error: expected ';' before 'source'
GD.c:4113: error: 'destination' undeclared (first use in this function)
GD.c:4122: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_paletteCopy':
GD.c:4149: error: 'GD__Image' undeclared (first use in this function)
GD.c:4149: error: expected ';' before 'destination'
GD.c:4150: error: expected ';' before 'source'
GD.c:4154: error: 'destination' undeclared (first use in this function)
GD.c:4163: error: 'source' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_char':
GD.c:4190: error: 'GD__Image' undeclared (first use in this function)
GD.c:4190: error: expected ';' before 'image'
GD.c:4191: error: 'GD__Font' undeclared (first use in this function)
GD.c:4191: error: expected ';' before 'font'
GD.c:4199: error: 'image' undeclared (first use in this function)
GD.c:4208: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_charUp':
GD.c:4235: error: 'GD__Image' undeclared (first use in this function)
GD.c:4235: error: expected ';' before 'image'
GD.c:4236: error: 'GD__Font' undeclared (first use in this function)
GD.c:4236: error: expected ';' before 'font'
GD.c:4244: error: 'image' undeclared (first use in this function)
GD.c:4253: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_string':
GD.c:4280: error: 'GD__Image' undeclared (first use in this function)
GD.c:4280: error: expected ';' before 'image'
GD.c:4281: error: 'GD__Font' undeclared (first use in this function)
GD.c:4281: error: expected ';' before 'font'
GD.c:4289: error: 'image' undeclared (first use in this function)
GD.c:4298: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_stringUp':
GD.c:4325: error: 'GD__Image' undeclared (first use in this function)
GD.c:4325: error: expected ';' before 'image'
GD.c:4326: error: 'GD__Font' undeclared (first use in this function)
GD.c:4326: error: expected ';' before 'font'
GD.c:4334: error: 'image' undeclared (first use in this function)
GD.c:4343: error: 'font' undeclared (first use in this function)
GD.xs: In function 'XS_GD__Image_stringFT':
GD.xs:2153: error: 'gdImagePtr' undeclared (first use in this function)
GD.xs:2153: error: expected ';' before 'img'
GD.xs:2163: error: 'gdFTStringExtra' undeclared (first use in this function)
GD.xs:2163: error: expected ';' before 'strex'
GD.xs:2173: error: 'img' undeclared (first use in this function)
GD.xs:2173: error: expected ';' before 'tmp'
GD.xs:2182: error: 'strex' undeclared (first use in this function)
GD.xs:2186: error: 'gdFTEX_LINESPACE' undeclared (first use in this
function)
GD.xs:2190: error: 'gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:2192: error: 'gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:2194: error: 'gdFTEX_Shift_JIS' undeclared (first use in this
function)
GD.xs:2196: error: 'gdFTEX_Big5' undeclared (first use in this function)
GD.xs:2202: error: 'gdFTEX_RESOLUTION' undeclared (first use in this
function)
GD.xs:2211: error: 'gdFTEX_DISABLE_KERNING' undeclared (first use in this
function)
GD.xs:2217: warning: assignment makes pointer from integer without a cast
GD.xs:2221: warning: assignment makes pointer from integer without a cast
GD.c: In function 'XS_GD__Image_stringFTCircle':
GD.c:4483: error: 'GD__Image' undeclared (first use in this function)
GD.c:4483: error: expected ';' before 'image'
GD.c:4503: error: 'image' undeclared (first use in this function)
GD.xs:2262: warning: assignment makes pointer from integer without a cast
GD.c: In function 'XS_GD__Image_useFontConfig':
GD.c:4555: error: 'GD__Image' undeclared (first use in this function)
GD.c:4555: error: expected ';' before 'image'
GD.c:4565: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_alphaBlending':
GD.c:4599: error: 'GD__Image' undeclared (first use in this function)
GD.c:4599: error: expected ';' before 'image'
GD.c:4604: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_saveAlpha':
GD.c:4631: error: 'GD__Image' undeclared (first use in this function)
GD.c:4631: error: expected ';' before 'image'
GD.c:4636: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_clip':
GD.c:4665: error: 'GD__Image' undeclared (first use in this function)
GD.c:4665: error: expected ';' before 'image'
GD.c:4673: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setAntiAliased':
GD.c:4712: error: 'GD__Image' undeclared (first use in this function)
GD.c:4712: error: expected ';' before 'image'
GD.c:4717: error: 'image' undeclared (first use in this function)
GD.c: In function 'XS_GD__Image_setAntiAliasedDontBlend':
GD.c:4744: error: 'GD__Image' undeclared (first use in this function)
GD.c:4744: error: expected ';' before 'image'
GD.c:4750: error: 'image' undeclared (first use in this function)
GD.xs: In function 'XS_GD__Font_load':
GD.xs:2383: error: 'gdFontPtr' undeclared (first use in this function)
GD.xs:2383: error: expected ';' before 'font'
GD.c:4794: error: 'GD__Font' undeclared (first use in this function)
GD.c:4794: error: expected ';' before 'RETVAL'
GD.xs:2395: error: 'font' undeclared (first use in this function)
GD.xs:2395: error: expected ';' before 'Perl_safesysmalloc'
GD.xs:2426: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_DESTROY':
GD.c:4862: error: 'GD__Font' undeclared (first use in this function)
GD.c:4862: error: expected ';' before 'self'
GD.c:4866: error: 'self' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_Small':
GD.c:4901: error: 'GD__Font' undeclared (first use in this function)
GD.c:4901: error: expected ';' before 'RETVAL'
GD.xs:2453: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_Large':
GD.c:4932: error: 'GD__Font' undeclared (first use in this function)
GD.c:4932: error: expected ';' before 'RETVAL'
GD.xs:2464: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_Giant':
GD.c:4963: error: 'GD__Font' undeclared (first use in this function)
GD.c:4963: error: expected ';' before 'RETVAL'
GD.xs:2475: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_MediumBold':
GD.c:4994: error: 'GD__Font' undeclared (first use in this function)
GD.c:4994: error: expected ';' before 'RETVAL'
GD.xs:2486: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_Tiny':
GD.c:5025: error: 'GD__Font' undeclared (first use in this function)
GD.c:5025: error: expected ';' before 'RETVAL'
GD.xs:2497: error: 'RETVAL' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_nchars':
GD.c:5055: error: 'GD__Font' undeclared (first use in this function)
GD.c:5055: error: expected ';' before 'font'
GD.c:5061: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_offset':
GD.c:5089: error: 'GD__Font' undeclared (first use in this function)
GD.c:5089: error: expected ';' before 'font'
GD.c:5095: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_width':
GD.c:5123: error: 'GD__Font' undeclared (first use in this function)
GD.c:5123: error: expected ';' before 'font'
GD.c:5129: error: 'font' undeclared (first use in this function)
GD.c: In function 'XS_GD__Font_height':
GD.c:5157: error: 'GD__Font' undeclared (first use in this function)
GD.c:5157: error: expected ';' before 'font'
GD.c:5163: error: 'font' undeclared (first use in this function)
make: *** [GD.o] Error 1

Please suggest for the above error, i am installing koha version 3.06, i am
unable to install because of these module dependency

Regards
Rohit Singh
-- 
View this message in context: http://old.nabble.com/Error-while-Installing-GD-Perl-Module-in-Koha-tp29612591p29612591.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list