> Alejandro Santillan wrote: > > I need to have a graphic charted on the fly to publish on the web a bar > > chart or a line chart in GIF or PNG format. > > I've tried several modules that accomplish that, but all are based on the > > GD.pm. > > Unfortunately I wasn't able to install the GD module, so those modules with > > a GD prerrequisite are not useful for me. > > > > Does anybody knows of a module that can accomplish that task without > > recurring to the libgd libraries or the GD module? > > Wouldn't it make more sense to find out why GD failed to install ? > > Where did you get it from ? Did you try Theory or Bribes PPM ? > > There's Image::Magick, but it may be more complicated to get going. > _______________________________________________ > ActivePerl mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Bill, you're right. GD is a great module. I've installed it 5 times in different flavors of linux. The problem is that the GD installation never was straightforward to me and it seems I am getting older and I have lost the patience I use to have. Now I have Fedora Core 5 running on a 64bits processor. At some point of the installation one must answer the question: "Where is libgd installed? [/usr/lib]" Well, after doing locate libgd, I found that it is installed at /usr/lib64, so I typed it, and then I had options to inform how was the libgd installed originally (which I don't know). After all that I get a huge list of errors. I've tried several different options while answering those questions, and the same thing happened over and over. Errors follow: .c:3447: error: âGD__Imageâ undeclared (first use in this function) GD.c:3447: error: expected â;â before âdestinationâ GD.c:3448: error: expected â;â before âsourceâ GD.c:3449: warning: ISO C90 forbids mixed declarations and code GD.c:3460: error: âdestinationâ undeclared (first use in this function) GD.c:3467: error: âsourceâ undeclared (first use in this function) GD.xs:2020: warning: implicit declaration of function âgdImageCopyResizedâ GD.c: In function âXS_GD__Image_copyResampledâ: GD.c:3488: error: âGD__Imageâ undeclared (first use in this function) GD.c:3488: error: expected â;â before âdestinationâ GD.c:3489: error: expected â;â before âsourceâ GD.c:3490: warning: ISO C90 forbids mixed declarations and code GD.c:3501: error: âdestinationâ undeclared (first use in this function) GD.c:3508: error: âsourceâ undeclared (first use in this function) GD.xs:2038: warning: implicit declaration of function âgdImageCopyResampledâ GD.c: In function âXS_GD__Image_copyMergeâ: GD.c:3529: error: âGD__Imageâ undeclared (first use in this function) GD.c:3529: error: expected â;â before âdestinationâ GD.c:3530: error: expected â;â before âsourceâ GD.c:3531: warning: ISO C90 forbids mixed declarations and code GD.c:3541: error: âdestinationâ undeclared (first use in this function) GD.c:3548: error: âsourceâ undeclared (first use in this function) GD.xs:2055: warning: implicit declaration of function âgdImageCopyMergeâ GD.c: In function âXS_GD__Image_copyMergeGrayâ: GD.c:3569: error: âGD__Imageâ undeclared (first use in this function) GD.c:3569: error: expected â;â before âdestinationâ GD.c:3570: error: expected â;â before âsourceâ GD.c:3571: warning: ISO C90 forbids mixed declarations and code GD.c:3581: error: âdestinationâ undeclared (first use in this function) GD.c:3588: error: âsourceâ undeclared (first use in this function) GD.xs:2072: warning: implicit declaration of function âgdImageCopyMergeGrayâ GD.c: In function âXS_GD__Image_paletteCopyâ: GD.c:3609: error: âGD__Imageâ undeclared (first use in this function) GD.c:3609: error: expected â;â before âdestinationâ GD.c:3610: error: expected â;â before âsourceâ GD.c:3614: error: âdestinationâ undeclared (first use in this function) GD.c:3621: error: âsourceâ undeclared (first use in this function) GD.xs:2082: warning: implicit declaration of function âgdImagePaletteCopyâ GD.c: In function âXS_GD__Image_charâ: GD.c:3642: error: âGD__Imageâ undeclared (first use in this function) GD.c:3642: error: expected â;â before âimageâ GD.c:3643: error: âGD__Fontâ undeclared (first use in this function) GD.c:3643: error: expected â;â before âfontâ GD.c:3644: warning: ISO C90 forbids mixed declarations and code GD.c:3651: error: âimageâ undeclared (first use in this function) GD.c:3658: error: âfontâ undeclared (first use in this function) GD.xs:2096: warning: implicit declaration of function âgdImageCharâ GD.c: In function âXS_GD__Image_charUpâ: GD.c:3679: error: âGD__Imageâ undeclared (first use in this function) GD.c:3679: error: expected â;â before âimageâ GD.c:3680: error: âGD__Fontâ undeclared (first use in this function) GD.c:3680: error: expected â;â before âfontâ GD.c:3681: warning: ISO C90 forbids mixed declarations and code GD.c:3688: error: âimageâ undeclared (first use in this function) GD.c:3695: error: âfontâ undeclared (first use in this function) GD.xs:2110: warning: implicit declaration of function âgdImageCharUpâ GD.c: In function âXS_GD__Image_stringâ: GD.c:3716: error: âGD__Imageâ undeclared (first use in this function) GD.c:3716: error: expected â;â before âimageâ GD.c:3717: error: âGD__Fontâ undeclared (first use in this function) GD.c:3717: error: expected â;â before âfontâ GD.c:3718: warning: ISO C90 forbids mixed declarations and code GD.c:3725: error: âimageâ undeclared (first use in this function) GD.c:3732: error: âfontâ undeclared (first use in this function) GD.xs:2124: warning: implicit declaration of function âgdImageStringâ GD.c: In function âXS_GD__Image_stringUpâ: GD.c:3753: error: âGD__Imageâ undeclared (first use in this function) GD.c:3753: error: expected â;â before âimageâ GD.c:3754: error: âGD__Fontâ undeclared (first use in this function) GD.c:3754: error: expected â;â before âfontâ GD.c:3755: warning: ISO C90 forbids mixed declarations and code GD.c:3762: error: âimageâ undeclared (first use in this function) GD.c:3769: error: âfontâ undeclared (first use in this function) GD.xs:2138: warning: implicit declaration of function âgdImageStringUpâ 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:2154: warning: ISO C90 forbids mixed declarations and code 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:2172: warning: unused variable âtmpâ GD.xs:2182: error: âstrexâ undeclared (first use in this function) GD.xs:2185: warning: suggest parentheses around assignment used as truth value GD.xs:2186: error: âgdFTEX_LINESPACEâ undeclared (first use in this function) GD.xs:2189: warning: suggest parentheses around assignment used as truth value 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:2217: warning: implicit declaration of function âgdImageStringFTExâ GD.xs:2217: warning: assignment makes pointer from integer without a cast GD.xs:2221: warning: implicit declaration of function âgdImageStringFTâ GD.xs:2221: warning: assignment makes pointer from integer without a cast GD.xs:2162: warning: unused variable âvdpiâ GD.xs:2161: warning: unused variable âhdpiâ GD.xs:2156: warning: unused variable âaâ GD.c: In function âXS_GD__Image_stringFTCircleâ: GD.c:3898: error: âGD__Imageâ undeclared (first use in this function) GD.c:3898: error: expected â;â before âimageâ GD.c:3899: warning: ISO C90 forbids mixed declarations and code GD.c:3918: error: âimageâ undeclared (first use in this function) GD.xs:2252: warning: unused variable âerrâ GD.c:3908: warning: unused variable âfgcolorâ GD.c:3907: warning: unused variable âbottomâ GD.c:3906: warning: unused variable âtopâ GD.c:3905: warning: unused variable âpointsâ GD.c:3904: warning: unused variable âfontnameâ GD.c:3903: warning: unused variable âfillPortionâ GD.c:3902: warning: unused variable âtextRadiusâ GD.c:3901: warning: unused variable âradiusâ GD.c:3900: warning: unused variable âcyâ GD.c:3899: warning: unused variable âcxâ GD.c: In function âXS_GD__Image_useFontConfigâ: GD.c:3964: error: âGD__Imageâ undeclared (first use in this function) GD.c:3964: error: expected â;â before âimageâ GD.c:3965: warning: ISO C90 forbids mixed declarations and code GD.c:3974: error: âimageâ undeclared (first use in this function) GD.c:3965: warning: unused variable âflagâ GD.c: In function âXS_GD__Image_alphaBlendingâ: GD.c:4002: error: âGD__Imageâ undeclared (first use in this function) GD.c:4002: error: expected â;â before âimageâ GD.c:4003: warning: ISO C90 forbids mixed declarations and code GD.c:4007: error: âimageâ undeclared (first use in this function) GD.xs:2312: warning: implicit declaration of function âgdImageAlphaBlendingâ GD.c: In function âXS_GD__Image_saveAlphaâ: GD.c:4028: error: âGD__Imageâ undeclared (first use in this function) GD.c:4028: error: expected â;â before âimageâ GD.c:4029: warning: ISO C90 forbids mixed declarations and code GD.c:4033: error: âimageâ undeclared (first use in this function) GD.xs:2322: warning: implicit declaration of function âgdImageSaveAlphaâ GD.c: In function âXS_GD__Image_clipâ: GD.c:4055: error: âGD__Imageâ undeclared (first use in this function) GD.c:4055: error: expected â;â before âimageâ GD.xs:2330: warning: ISO C90 forbids mixed declarations and code GD.c:4063: error: âimageâ undeclared (first use in this function) GD.xs:2337: warning: implicit declaration of function âgdImageSetClipâ GD.xs:2342: warning: implicit declaration of function âgdImageGetClipâ GD.c: In function âXS_GD__Image_setAntiAliasedâ: GD.c:4096: error: âGD__Imageâ undeclared (first use in this function) GD.c:4096: error: expected â;â before âimageâ GD.c:4097: warning: ISO C90 forbids mixed declarations and code GD.c:4101: error: âimageâ undeclared (first use in this function) GD.xs:2355: warning: implicit declaration of function âgdImageSetAntiAliasedâ GD.c: In function âXS_GD__Image_setAntiAliasedDontBlendâ: GD.c:4122: error: âGD__Imageâ undeclared (first use in this function) GD.c:4122: error: expected â;â before âimageâ GD.c:4123: warning: ISO C90 forbids mixed declarations and code GD.c:4128: error: âimageâ undeclared (first use in this function) GD.xs:2367: warning: implicit declaration of function âgdImageSetAntiAliasedDontBlendâ 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.xs:2384: warning: ISO C90 forbids mixed declarations and code GD.c:4166: error: âGD__Fontâ undeclared (first use in this function) GD.c:4166: 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:4230: error: âGD__Fontâ undeclared (first use in this function) GD.c:4230: error: expected â;â before âselfâ GD.c:4234: error: âselfâ undeclared (first use in this function) GD.xs:2437: warning: implicit declaration of function âgdFontGetSmallâ GD.xs:2438: warning: implicit declaration of function âgdFontGetLargeâ GD.xs:2439: warning: implicit declaration of function âgdFontGetGiantâ GD.xs:2440: warning: implicit declaration of function âgdFontGetMediumBoldâ GD.xs:2441: warning: implicit declaration of function âgdFontGetTinyâ GD.c: In function âXS_GD__Font_Smallâ: GD.c:4263: error: âGD__Fontâ undeclared (first use in this function) GD.c:4263: 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:4290: error: âGD__Fontâ undeclared (first use in this function) GD.c:4290: 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:4317: error: âGD__Fontâ undeclared (first use in this function) GD.c:4317: 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:4344: error: âGD__Fontâ undeclared (first use in this function) GD.c:4344: 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:4371: error: âGD__Fontâ undeclared (first use in this function) GD.c:4371: 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:4397: error: âGD__Fontâ undeclared (first use in this function) GD.c:4397: error: expected â;â before âfontâ GD.c:4398: warning: ISO C90 forbids mixed declarations and code GD.c:4403: error: âfontâ undeclared (first use in this function) GD.c: In function âXS_GD__Font_offsetâ: GD.c:4425: error: âGD__Fontâ undeclared (first use in this function) GD.c:4425: error: expected â;â before âfontâ GD.c:4426: warning: ISO C90 forbids mixed declarations and code GD.c:4431: error: âfontâ undeclared (first use in this function) GD.c: In function âXS_GD__Font_widthâ: GD.c:4453: error: âGD__Fontâ undeclared (first use in this function) GD.c:4453: error: expected â;â before âfontâ GD.c:4454: warning: ISO C90 forbids mixed declarations and code GD.c:4459: error: âfontâ undeclared (first use in this function) GD.c: In function âXS_GD__Font_heightâ: GD.c:4481: error: âGD__Fontâ undeclared (first use in this function) GD.c:4481: error: expected â;â before âfontâ GD.c:4482: warning: ISO C90 forbids mixed declarations and code GD.c:4487: error: âfontâ undeclared (first use in this function) make: *** [GD.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Failed during this command: LDS/GD-2.35.tar.gz : m _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
