gd 1.41 install errors in red hat 9

S

Stephen Strong

how do i get this module installed here is the error i get when trying to
make:

gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT -D_GNU_SOU
RCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/includ
e -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pip
e -march=i386 -mcpu=i686 -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_TT
F -DHAVE_XPM GD.c
GD.xs:7:16: gd.h: No such file or directory
GD.xs:236: parse error before "GD__Image"
GD.xs:236: warning: data definition has no type or storage class
GD.xs:237: parse error before "GD__Font"
GD.xs:237: warning: data definition has no type or storage class
GD.xs:239: parse error before "gdFontGiant"
GD.xs:239: warning: data definition has no type or storage class
GD.xs:240: parse error before "gdFontLarge"
GD.xs:240: warning: data definition has no type or storage class
GD.xs:241: parse error before "gdFontSmall"
GD.xs:241: warning: data definition has no type or storage class
GD.xs:242: parse error before "gdFontMediumBold"
GD.xs:242: warning: data definition has no type or storage class
GD.xs:243: parse error before "gdFontTiny"
GD.xs:243: warning: data definition has no type or storage class
GD.xs:281: parse error before "gdIOCtx"
GD.xs:281: warning: no semicolon at end of struct or union
GD.xs:285: parse error before '}' token
GD.xs:285: warning: data definition has no type or storage class
GD.xs:289: parse error before "ctx"
GD.xs: In function `bufGetC':
GD.xs:290: `ctx' undeclared (first use in this function)
GD.xs:290: (Each undeclared identifier is reported only once
GD.xs:290: for each function it appears in.)
GD.xs:292: dereferencing pointer to incomplete type
GD.xs:292: dereferencing pointer to incomplete type
GD.xs:293: dereferencing pointer to incomplete type
GD.xs:293: dereferencing pointer to incomplete type
GD.xs: At top level:
GD.xs:296: parse error before "ctx"
GD.xs: In function `bufGetBuf':
GD.xs:297: `ctx' undeclared (first use in this function)
GD.xs:300: dereferencing pointer to incomplete type
GD.xs:300: dereferencing pointer to incomplete type
GD.xs:301: `len' undeclared (first use in this function)
GD.xs:307: `buf' undeclared (first use in this function)
GD.xs:307: dereferencing pointer to incomplete type
GD.xs:307: dereferencing pointer to incomplete type
GD.xs:308: dereferencing pointer to incomplete type
GD.xs: At top level:
GD.xs:312: parse error before "ctx"
GD.xs: In function `bufSeek':
GD.xs:313: `ctx' undeclared (first use in this function)
GD.xs:314: dereferencing pointer to incomplete type
GD.xs:315: dereferencing pointer to incomplete type
GD.xs:315: dereferencing pointer to incomplete type
GD.xs:316: dereferencing pointer to incomplete type
GD.xs:316: dereferencing pointer to incomplete type
GD.xs: At top level:
GD.xs:320: parse error before "ctx"
GD.xs: In function `bufTell':
GD.xs:321: `ctx' undeclared (first use in this function)
GD.xs:322: dereferencing pointer to incomplete type
GD.xs: At top level:
GD.xs:325: parse error before "ctx"
GD.xs: In function `bufFree':
GD.xs:326: `ctx' undeclared (first use in this function)
GD.xs: At top level:
GD.xs:329: parse error before '*' token
GD.xs: In function `newDynamicCtx':
GD.xs:332: parse error before ')' token
GD.xs:332: parse error before ')' token
GD.xs:332: `__s' undeclared (first use in this function)
GD.xs: At top level:
GD.xs:332: parse error before ')' token
GD.xs:332: `__s' undeclared here (not in a function)
GD.xs:332: parse error before "switch"
GD.xs:332: conflicting types for `__u'
GD.xs:332: previous declaration of `__u'
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before '->' token
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: redefinition of `__u'
GD.xs:332: `__u' previously defined here
GD.xs:332: warning: initialization makes integer from pointer without a cast
GD.xs:332: initializer element is not constant
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before "case"
GD.xs:332: `__s' used prior to declaration
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before '}' token
GD.xs:332: parse error before '\x0'
GD.xs:332: warning: data definition has no type or storage class
GD.xs:332: parse error before '}' token
GD.c: In function `XS_GD__Image__new':
GD.c:386: parse error before "RETVAL"
GD.xs:365: `gdImagePtr' undeclared (first use in this function)
GD.xs:365: parse error before "theImage"
GD.xs:366: `theImage' undeclared (first use in this function)
GD.xs:367: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image__newFromPng':
GD.c:427: parse error before "RETVAL"
GD.xs:378: `RETVAL' undeclared (first use in this function)
GD.xs:378: parse error before "gdImageCreateFromPng"
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:388: `gdIOCtx' undeclared (first use in this function)
GD.xs:388: `ctx' undeclared (first use in this function)
GD.c:457: parse error before "RETVAL"
GD.xs:394: `RETVAL' undeclared (first use in this function)
GD.xs:394: parse error before "gdImageCreateFromPngCtx"
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:405: `gdIOCtx' undeclared (first use in this function)
GD.xs:405: `ctx' undeclared (first use in this function)
GD.c:490: parse error before "RETVAL"
GD.xs:411: `RETVAL' undeclared (first use in this function)
GD.xs:411: parse error before "gdImageCreateFromGdCtx"
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:422: `gdIOCtx' undeclared (first use in this function)
GD.xs:422: `ctx' undeclared (first use in this function)
GD.c:523: parse error before "RETVAL"
GD.xs:428: `RETVAL' undeclared (first use in this function)
GD.xs:428: parse error before "gdImageCreateFromGd2Ctx"
GD.xs: In function `XS_GD__Image_newFromGifData':
GD.xs:439: `gdIOCtx' undeclared (first use in this function)
GD.xs:439: `ctx' undeclared (first use in this function)
GD.c:557: parse error before "RETVAL"
GD.c:577: `RETVAL' undeclared (first use in this function)
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:463: `gdIOCtx' undeclared (first use in this function)
GD.xs:463: `ctx' undeclared (first use in this function)
GD.c:597: parse error before "RETVAL"
GD.xs:471: `RETVAL' undeclared (first use in this function)
GD.xs:471: parse error before "gdImageCreateFromJpegCtx"
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:487: `gdIOCtx' undeclared (first use in this function)
GD.xs:487: `ctx' undeclared (first use in this function)
GD.c:636: parse error before "RETVAL"
GD.xs:493: `RETVAL' undeclared (first use in this function)
GD.xs:493: parse error before "gdImageCreateFromWBMPCtx"
GD.c: In function `XS_GD__Image__newFromGif':
GD.c:667: parse error before "RETVAL"
GD.c:684: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image__newFromXbm':
GD.c:698: parse error before "RETVAL"
GD.xs:522: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image__newFromGd':
GD.c:723: parse error before "RETVAL"
GD.xs:532: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image__newFromGd2':
GD.c:748: parse error before "RETVAL"
GD.xs:542: `RETVAL' undeclared (first use in this function)
GD.xs: In function `XS_GD__Image__newFromJpeg':
GD.xs:552: `gdImagePtr' undeclared (first use in this function)
GD.xs:552: parse error before "img"
GD.c:777: parse error before "RETVAL"
GD.xs:556: `img' undeclared (first use in this function)
GD.xs:563: `RETVAL' undeclared (first use in this function)
GD.xs: In function `XS_GD__Image__newFromWBMP':
GD.xs:578: `gdImagePtr' undeclared (first use in this function)
GD.xs:578: parse error before "img"
GD.c:819: parse error before "RETVAL"
GD.xs:581: `img' undeclared (first use in this function)
GD.xs:588: `RETVAL' undeclared (first use in this function)
GD.xs: In function `XS_GD__Image_newFromXpm':
GD.xs:598: `gdImagePtr' undeclared (first use in this function)
GD.xs:598: parse error before "img"
GD.c:855: parse error before "RETVAL"
GD.xs:602: `img' undeclared (first use in this function)
GD.xs:609: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image__newFromGd2Part':
GD.c:897: parse error before "RETVAL"
GD.xs:628: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Image_DESTROY':
GD.c:920: parse error before "image"
GD.c:924: `image' undeclared (first use in this function)
GD.c:924: called object is not a function
GD.c: In function `XS_GD__Image_png':
GD.c:944: parse error before "image"
GD.c:949: `image' undeclared (first use in this function)
GD.c:949: called object is not a function
GD.c: In function `XS_GD__Image_gif':
GD.c:975: parse error before "image"
GD.c:983: `image' undeclared (first use in this function)
GD.c:983: called object is not a function
GD.c: In function `XS_GD__Image_jpeg':
GD.c:1015: parse error before "image"
GD.c:1024: `image' undeclared (first use in this function)
GD.c:1024: called object is not a function
GD.c: In function `XS_GD__Image_wbmp':
GD.c:1068: parse error before "image"
GD.c:1077: `image' undeclared (first use in this function)
GD.c:1077: called object is not a function
GD.c: In function `XS_GD__Image_gd':
GD.c:1109: parse error before "image"
GD.c:1114: `image' undeclared (first use in this function)
GD.c:1114: called object is not a function
GD.xs:741: warning: assignment makes pointer from integer without a cast
GD.c: In function `XS_GD__Image_gd2':
GD.c:1140: parse error before "image"
GD.c:1145: `image' undeclared (first use in this function)
GD.c:1145: called object is not a function
GD.xs:756: `GD2_FMT_COMPRESSED' undeclared (first use in this function)
GD.xs:756: warning: assignment makes pointer from integer without a cast
GD.c: In function `XS_GD__Image_transparent':
GD.c:1171: parse error before "image"
GD.c:1177: `image' undeclared (first use in this function)
GD.c:1177: called object is not a function
GD.c: In function `XS_GD__Image_getBounds':
GD.c:1204: parse error before "image"
GD.c:1208: `image' undeclared (first use in this function)
GD.c:1208: called object is not a function
GD.c: In function `XS_GD__Image_rgb':
GD.c:1235: parse error before "image"
GD.c:1240: `image' undeclared (first use in this function)
GD.c:1240: called object is not a function
GD.c: In function `XS_GD__Image_boundsSafe':
GD.c:1268: parse error before "image"
GD.c:1276: `image' undeclared (first use in this function)
GD.c:1276: called object is not a function
GD.c: In function `XS_GD__Image_getPixel':
GD.c:1297: parse error before "image"
GD.c:1305: `image' undeclared (first use in this function)
GD.c:1305: called object is not a function
GD.c: In function `XS_GD__Image_setPixel':
GD.c:1326: parse error before "image"
GD.c:1333: `image' undeclared (first use in this function)
GD.c:1333: called object is not a function
GD.c: In function `XS_GD__Image_line':
GD.c:1353: parse error before "image"
GD.c:1362: `image' undeclared (first use in this function)
GD.c:1362: called object is not a function
GD.c: In function `XS_GD__Image_dashedLine':
GD.c:1382: parse error before "image"
GD.c:1391: `image' undeclared (first use in this function)
GD.c:1391: called object is not a function
GD.c: In function `XS_GD__Image_openPolygon':
GD.c:1411: parse error before "image"
GD.c:1417: `image' undeclared (first use in this function)
GD.c:1417: called object is not a function
GD.xs:887: `gdPointPtr' undeclared (first use in this function)
GD.xs:887: parse error before "polyptr"
GD.xs:903: `polyptr' undeclared (first use in this function)
GD.xs:903: parse error before "Perl_safesysmalloc"
GD.c: In function `XS_GD__Image_filledPolygon':
GD.c:1482: parse error before "image"
GD.c:1488: `image' undeclared (first use in this function)
GD.c:1488: called object is not a function
GD.xs:943: `gdPointPtr' undeclared (first use in this function)
GD.xs:943: parse error before "polyptr"
GD.xs:959: `polyptr' undeclared (first use in this function)
GD.xs:959: parse error before "Perl_safesysmalloc"
GD.c: In function `XS_GD__Image_rectangle':
GD.c:1553: parse error before "image"
GD.c:1562: `image' undeclared (first use in this function)
GD.c:1562: called object is not a function
GD.c: In function `XS_GD__Image_filledRectangle':
GD.c:1582: parse error before "image"
GD.c:1591: `image' undeclared (first use in this function)
GD.c:1591: called object is not a function
GD.c: In function `XS_GD__Image_arc':
GD.c:1611: parse error before "image"
GD.c:1622: `image' undeclared (first use in this function)
GD.c:1622: called object is not a function
GD.c: In function `XS_GD__Image_fillToBorder':
GD.c:1642: parse error before "image"
GD.c:1650: `image' undeclared (first use in this function)
GD.c:1650: called object is not a function
GD.c: In function `XS_GD__Image_fill':
GD.c:1670: parse error before "image"
GD.c:1677: `image' undeclared (first use in this function)
GD.c:1677: called object is not a function
GD.c: In function `XS_GD__Image_setBrush':
GD.c:1697: parse error before "image"
GD.c:1702: `image' undeclared (first use in this function)
GD.c:1702: called object is not a function
GD.c:1709: `brush' undeclared (first use in this function)
GD.c:1709: called object is not a function
GD.c: In function `XS_GD__Image_setTile':
GD.c:1729: parse error before "image"
GD.c:1734: `image' undeclared (first use in this function)
GD.c:1734: called object is not a function
GD.c:1741: `tile' undeclared (first use in this function)
GD.c:1741: called object is not a function
GD.c: In function `XS_GD__Image_setStyle':
GD.c:1761: parse error before "image"
GD.c:1765: `image' undeclared (first use in this function)
GD.c:1765: called object is not a function
GD.c: In function `XS_GD__Image_colorAllocate':
GD.c:1797: parse error before "image"
GD.c:1806: `image' undeclared (first use in this function)
GD.c:1806: called object is not a function
GD.c: In function `XS_GD__Image_colorClosest':
GD.c:1827: parse error before "image"
GD.c:1836: `image' undeclared (first use in this function)
GD.c:1836: called object is not a function
GD.c: In function `XS_GD__Image_colorClosestHWB':
GD.c:1857: parse error before "image"
GD.c:1866: `image' undeclared (first use in this function)
GD.c:1866: called object is not a function
GD.c: In function `XS_GD__Image_colorExact':
GD.c:1887: parse error before "image"
GD.c:1896: `image' undeclared (first use in this function)
GD.c:1896: called object is not a function
GD.c: In function `XS_GD__Image_colorResolve':
GD.c:1917: parse error before "image"
GD.c:1926: `image' undeclared (first use in this function)
GD.c:1926: called object is not a function
GD.c: In function `XS_GD__Image_colorsTotal':
GD.c:1947: parse error before "image"
GD.c:1953: `image' undeclared (first use in this function)
GD.c:1953: called object is not a function
GD.c: In function `XS_GD__Image_interlaced':
GD.c:1974: parse error before "image"
GD.c:1980: `image' undeclared (first use in this function)
GD.c:1980: called object is not a function
GD.c: In function `XS_GD__Image_compare':
GD.c:2007: parse error before "image1"
GD.c:2014: `image1' undeclared (first use in this function)
GD.c:2014: called object is not a function
GD.c:2021: `image2' undeclared (first use in this function)
GD.c:2021: called object is not a function
GD.c: In function `XS_GD__Image_colorDeallocate':
GD.c:2042: parse error before "image"
GD.c:2047: `image' undeclared (first use in this function)
GD.c:2047: called object is not a function
GD.c: In function `XS_GD__Image_copy':
GD.c:2067: parse error before "destination"
GD.c:2078: `destination' undeclared (first use in this function)
GD.c:2078: called object is not a function
GD.c:2085: `source' undeclared (first use in this function)
GD.c:2085: called object is not a function
GD.c: In function `XS_GD__Image_copyResized':
GD.c:2105: parse error before "destination"
GD.c:2118: `destination' undeclared (first use in this function)
GD.c:2118: called object is not a function
GD.c:2125: `source' undeclared (first use in this function)
GD.c:2125: called object is not a function
GD.c: In function `XS_GD__Image_copyMerge':
GD.c:2145: parse error before "destination"
GD.c:2157: `destination' undeclared (first use in this function)
GD.c:2157: called object is not a function
GD.c:2164: `source' undeclared (first use in this function)
GD.c:2164: called object is not a function
GD.c: In function `XS_GD__Image_copyMergeGray':
GD.c:2184: parse error before "destination"
GD.c:2196: `destination' undeclared (first use in this function)
GD.c:2196: called object is not a function
GD.c:2203: `source' undeclared (first use in this function)
GD.c:2203: called object is not a function
GD.c: In function `XS_GD__Image_paletteCopy':
GD.c:2223: parse error before "destination"
GD.c:2228: `destination' undeclared (first use in this function)
GD.c:2228: called object is not a function
GD.c:2235: `source' undeclared (first use in this function)
GD.c:2235: called object is not a function
GD.c: In function `XS_GD__Image_char':
GD.c:2255: parse error before "image"
GD.c:2264: `image' undeclared (first use in this function)
GD.c:2264: called object is not a function
GD.c:2271: `font' undeclared (first use in this function)
GD.c:2271: called object is not a function
GD.c: In function `XS_GD__Image_charUp':
GD.c:2291: parse error before "image"
GD.c:2300: `image' undeclared (first use in this function)
GD.c:2300: called object is not a function
GD.c:2307: `font' undeclared (first use in this function)
GD.c:2307: called object is not a function
GD.c: In function `XS_GD__Image_string':
GD.c:2327: parse error before "image"
GD.c:2336: `image' undeclared (first use in this function)
GD.c:2336: called object is not a function
GD.c:2343: `font' undeclared (first use in this function)
GD.c:2343: called object is not a function
GD.c: In function `XS_GD__Image_stringUp':
GD.c:2363: parse error before "image"
GD.c:2372: `image' undeclared (first use in this function)
GD.c:2372: called object is not a function
GD.c:2379: `font' undeclared (first use in this function)
GD.c:2379: called object is not a function
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1365: `gdImagePtr' undeclared (first use in this function)
GD.xs:1365: parse error before "img"
GD.xs:1374: `img' undeclared (first use in this function)
GD.xs:1374: parse error before "tmp"
GD.xs:1379: warning: assignment makes pointer from integer without a cast
GD.c: In function `XS_GD__Font_Small':
GD.c:2452: parse error before "RETVAL"
GD.xs:1402: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Large':
GD.c:2478: parse error before "RETVAL"
GD.xs:1413: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Giant':
GD.c:2504: parse error before "RETVAL"
GD.xs:1424: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_MediumBold':
GD.c:2530: parse error before "RETVAL"
GD.xs:1435: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Tiny':
GD.c:2556: parse error before "RETVAL"
GD.xs:1446: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_nchars':
GD.c:2581: parse error before "font"
GD.c:2587: `font' undeclared (first use in this function)
GD.c:2587: called object is not a function
GD.c: In function `XS_GD__Font_offset':
GD.c:2608: parse error before "font"
GD.c:2614: `font' undeclared (first use in this function)
GD.c:2614: called object is not a function
GD.c: In function `XS_GD__Font_width':
GD.c:2635: parse error before "font"
GD.c:2641: `font' undeclared (first use in this function)
GD.c:2641: called object is not a function
GD.c: In function `XS_GD__Font_height':
GD.c:2662: parse error before "font"
GD.c:2668: `font' undeclared (first use in this function)
GD.c:2668: called object is not a function
{standard input}: Assembler messages:
{standard input}:460: Error: symbol `__u' is already defined
{standard input}:466: Error: symbol `__u' is already defined
{standard input}:472: Error: symbol `__u' is already defined
{standard input}:478: Error: symbol `__u' is already defined
{standard input}:484: Error: symbol `__u' is already defined
{standard input}:490: Error: symbol `__u' is already defined
{standard input}:496: Error: symbol `__u' is already defined
{standard input}:502: Error: symbol `__u' is already defined
{standard input}:508: Error: symbol `__u' is already defined
{standard input}:514: Error: symbol `__u' is already defined
{standard input}:520: Error: symbol `__u' is already defined
make: *** [GD.o] Error 1

help!!!!
 
J

James Willmore

how do i get this module installed here is the error i get when trying to
make:

gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT -D_GNU_SOU
RCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/includ
e -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pip
e -march=i386 -mcpu=i686 -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_TT
F -DHAVE_XPM GD.c
GD.xs:7:16: gd.h: No such file or directory

You don't have the GD header files installed on your system or installed
somewhere that the Makefile can't find them. It
*tells* you so in the output :)

Solution - install the GD header files :)

HTH

--
Jim

Copyright notice: all code written by the author in this post is
released under the GPL. http://www.gnu.org/licenses/gpl.txt
for more information.

a fortune quote ...
An Englishman never enjoys himself, except for a noble purpose.
-- A. P. Herbert
 
J

Joe Smith

Stephen said:
how do i get this module installed

GD.pm requires that libgd.a, libgd.so, and gd.h be installed first.
Did you read the last 20 lines of the GD docs?
-Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top