|
From: Ben C. <Be...@cl...> - 2004-09-08 15:45:16
|
Michael Clark wrote: >>Michael, >> >>It looks like you do not have the GB package installed. For instance >>gd.h should be in /usr/include. > > ^^^ /usr/include is evil. I should have thought of that. I agree. There is a compile option: --with-gd-dir=/usr/local/include Can you try this and see if it works? Regards, Ben. > > --- > bash-2.05b# pkg_info | grep gd > gd-2.0.15_1,1 A graphics library for fast creation of images > gdb-5.3_1,1 GNU GDB 5.3 developmental snapshot > gdbm-1.8.3_1 The GNU database manager > gdk-pixbuf-0.22.0 A graphic library for GTK+ > libgda-0.2.96_2 Provides uniform access to different kinds of data > sources > ---- > bash-2.05b# ls /usr/include/ | grep gd > ---- > bash-2.05b# ls /usr/local/include/ | grep gd > gd.h > gd_io.h > gdbm.h > gdcache.h > gdfontg.h > gdfontl.h > gdfontmb.h > gdfonts.h > gdfontt.h > ---- > > Where is the path in the C so I can change it? > > > > > >>You might have to manually install these from source. >> >>Let us know how you get along, >> >>Ben >> >> >>Michael Clark wrote: >> >> >>> >>>I am having a very hard time with this for some reason. >> >>Perhaps I have >> >>>to compile a lib from source because I have tried upgrading >> >>everything I >> >>>thought could be related using ports/packages. >>>I am not familiar with the gd.h which seems to be the >> >>problem I believe. >> >>> >>>RTFM's appreciated, finding my stupid mistakes priceless =) >>> >>> >>>bash-2.05b# make >>>make all-recursive >>>Making all in libperfparse >>>Making all in perfparse >>>Making all in db_tools >>>Making all in cgi >>>if gcc -DHAVE_CONFIG_H -I. -I. -I.. >> >>-I/usr/local/include/mysql -O -pipe >> >>>-mcpu=pentiumpro -I/usr/local/include/glib-2.0 >>>-I/usr/local/lib/glib-2.0/include -I../libpe >>>rfparse -g -O2 -Wall -MT perfchart.o -MD -MP -MF >>>".deps/perfchart.Tpo" -c -o perfchart.o perfchart.c; then mv -f >>>".deps/perfchart.Tpo" ".deps/perfchart.Po"; els >>>e rm -f ".deps/perfchart.Tpo"; exit 1; fi >>>perfchart.c:33:16: gd.h: No such file or directory >>>perfchart.c:34:21: gdfonts.h: No such file or directory >>>perfchart.c:35:22: gdfontmb.h: No such file or directory >>>perfchart.c:51: error: syntax error before "graph" >>>perfchart.c:51: warning: type defaults to `int' in >> >>declaration of `graph' >> >>>perfchart.c:51: warning: data definition has no type or >> >>storage class >> >>>perfchart.c: In function `main': >>>perfchart.c:249: warning: implicit declaration of function >>>`gdImageRectangle' >>>perfchart.c:253: warning: implicit declaration of function >>>`gdImageFilledRectangle' >>>perfchart.c:267: warning: implicit declaration of function >> >>`gdImagePng' >> >>>perfchart.c: In function `initChartGraphics': >>>perfchart.c:407: warning: implicit declaration of function >> >>`gdImageCreate' >> >>>perfchart.c:411: warning: implicit declaration of function >>>`gdImageColorAllocate' >>>perfchart.c: In function `drawHeadings': >>>perfchart.c:514: warning: implicit declaration of function >> >>`gdImageString' >> >>>perfchart.c:514: error: `gdFontSmall' undeclared (first use in this >>>function) >>>perfchart.c:514: error: (Each undeclared identifier is >> >>reported only once >> >>>perfchart.c:514: error: for each function it appears in.) >>>perfchart.c:515: warning: implicit declaration of function >> >>`gdImageLine' >> >>>perfchart.c:575: error: `gdFontMediumBold' undeclared >> >>(first use in this >> >>>function) >>>perfchart.c: In function `drawYScalePercent': >>>perfchart.c:943: error: `gdFontSmall' undeclared (first use in this >>>function) >>>perfchart.c: In function `drawYScale': >>>perfchart.c:1006: error: `gdFontSmall' undeclared (first >> >>use in this >> >>>function) >>>perfchart.c: In function `drawXScale': >>>perfchart.c:1027: warning: long int format, int arg (arg 3) >>>perfchart.c:1028: error: `gdFontSmall' undeclared (first >> >>use in this >> >>>function) >>>perfchart.c:1122: warning: long int format, int arg (arg 3) >>>perfchart.c:1176: warning: long int format, int arg (arg 3) >>>perfchart.c:1176: warning: long int format, int arg (arg 4) >>>perfchart.c: In function `fail': >>>perfchart.c:1535: error: `gdFontSmall' undeclared (first >> >>use in this >> >>>function) >>>perfchart.c: In function `sql_fail': >>>perfchart.c:1664: error: `gdFontSmall' undeclared (first >> >>use in this >> >>>function) >>>*** Error code 1 >>> >>>Stop in /opt/perfparse-0.100.3/cgi. >>>*** Error code 1 >>> >>>Stop in /opt/perfparse-0.100.3. >>>*** Error code 1 >>> >>>Stop in /opt/perfparse-0.100.3. >>>bash-2.05b# >>> >>> >>> >>> >>>*CONFIDENTIALITY NOTE: This electronic transmission, including all >>>attachments, is directed in confidence solely to the >> >>person(s) to whom >> >>>it is addressed, or an authorized recipient, and may not >> >>otherwise be >> >>>distributed, copied or disclosed. The contents of the >> >>transmission may >> >>>also be subject to intellectual property rights and all >> >>such rights are >> >>>expressly claimed and are not waived. If you have received this >>>transmission in error, please notify the sender immediately >> >>by return >> >>>electronic transmission and then immediately delete this >> >>transmission, >> >>>including all attachments, without copying, distributing or >> >>disclosing >> >>>same. * >>> >>> >>> >> > > > CONFIDENTIALITY NOTE: This electronic transmission, including all > attachments, is directed in confidence solely to the person(s) to whom it is > addressed, or an authorized recipient, and may not otherwise be distributed, > copied or disclosed. The contents of the transmission may also be subject to > intellectual property rights and all such rights are expressly claimed and > are not waived. If you have received this transmission in error, please > notify the sender immediately by return electronic transmission and then > immediately delete this transmission, including all attachments, without > copying, distributing or disclosing same. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |