vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Been trying to install the GD lib from ports, but received an error. Followed the instructions from a post on basically the same error which was to install xbase39.tgz (decompressed it to /), but still I get the same error. Have freetype installed from ports, only file that I can find out of the three missing (freetype.h, ftglyph.h, ftsizes.h) is /usr/local/include/freetype1/freetype/freetype.h Even tried installing xbase39.tgz via upgrade script from OBSD bootcd. Im trying to get the mailgraph port working. Any ideas? Thanks. gdft.c:113:31: freetype/freetype.h: No such file or directory gdft.c:114:30: freetype/ftglyph.h: No such file or directory gdft.c:115:30: freetype/ftsizes.h: No such file or directory gdft.c:136: error: syntax error before "FT_Library" gdft.c:145: error: syntax error before "FT_Library" gdft.c: In function `fontFetch': gdft.c:437: error: syntax error before "err" gdft.c:444: error: structure has no member named `library' gdft.c:444: error: structure has no member named `library' gdft.c:473: error: `err' undeclared (first use in this function) gdft.c:473: error: (Each undeclared identifier is reported only once gdft.c:473: error: for each function it appears in.) gdft.c:473: error: structure has no member named `library' gdft.c:473: error: structure has no member named `face' gdft.c:482: error: structure has no member named `face' gdft.c: In function `fontRelease': gdft.c:503: error: structure has no member named `face' gdft.c: At top level: gdft.c:597: error: syntax error before "FT_Bitmap" gdft.c: In function `gdft_draw_bitmap': gdft.c:608: error: `fg' undeclared (first use in this function) gdft.c:609: error: `im' undeclared (first use in this function) gdft.c:613: error: `bitmap' undeclared (first use in this function) gdft.c:617: error: `pen_y' undeclared (first use in this function) gdft.c:625: error: `ft_pixel_mode_grays' undeclared (first use in this function) gdft.c:634: error: `ft_pixel_mode_mono' undeclared (first use in this function) gdft.c:661: error: `pen_x' undeclared (first use in this function) gdft.c:762: error: `tc_cache' undeclared (first use in this function) gdft.c: At top level: gdft.c:778: error: syntax error before "library" gdft.c:778: warning: data definition has no type or storage class gdft.c: In function `gdImageStringFTEx': gdft.c:832: error: syntax error before "matrix" gdft.c:82:1: unterminated #else *** Error code 1 Stop in /usr/ports/graphics/gd/w-gd-2.0.33p2/gd-2.0.33. *** Error code 1 Stop in /usr/ports/graphics/gd/w-gd-2.0.33p2/gd-2.0.33 (line 659 of Makefile). *** Error code 1 Stop in /usr/ports/graphics/gd/w-gd-2.0.33p2/gd-2.0.33 (line 327 of Makefile). *** Error code 1 |
| |||
| darkmoo <nospam@nospam.net> wrote in news > Been trying to install the GD lib from ports, but received an error. > > Followed the instructions from a post on basically the same error > which was to install xbase39.tgz (decompressed it to /), but still I > get the same error. Have freetype installed from ports, only file > that I can find out of the three missing (freetype.h, ftglyph.h, > ftsizes.h) is /usr/local/include/freetype1/freetype/freetype.h Even > tried installing xbase39.tgz via upgrade script from OBSD bootcd. > > Im trying to get the mailgraph port working. > > Any ideas? > > Thanks. > > > gdft.c:113:31: freetype/freetype.h: No such file or directory > gdft.c:114:30: freetype/ftglyph.h: No such file or directory > gdft.c:115:30: freetype/ftsizes.h: No such file or directory These header files (from freetype2) are in xshare39.tgz |
| |||
| darkmoo (nospam@nospam.net) wrote: > Followed the instructions from a post on basically the same error which > was to install xbase39.tgz (decompressed it to /), but still I get the > same error. Have freetype installed from ports, only file that I can find > out of the three missing (freetype.h, ftglyph.h, ftsizes.h) is > /usr/local/include/freetype1/freetype/freetype.h Even tried installing > xbase39.tgz via upgrade script from OBSD bootcd. You only need 3 libraries: libexpat.so.5.0 libfontconfig.so.3.0 libfreetype.so.13.1 > Stop in /usr/ports/graphics/gd/w-gd-2.0.33p2/gd-2.0.33. Current is gd-2.0.33p3. Compiled it 5 minutes ago, no problems. HTH, Helmut -- Please do not feed my mailbox, Swen still does his job well |
| |||
| On Mon, 28 Aug 2006 13:34:07 +0200, Helmut Schneider wrote: > darkmoo (nospam@nospam.net) wrote: > > You only need 3 libraries: > libexpat.so.5.0 > libfontconfig.so.3.0 > libfreetype.so.13.1 > >> Stop in /usr/ports/graphics/gd/w-gd-2.0.33p2/gd-2.0.33. > > Current is gd-2.0.33p3. Compiled it 5 minutes ago, no problems. > > HTH, Helmut I now have gd-2.0.33p2 installed, but for the life of me I can't figure out why mailgraph dont know. have a mailgraph-init script that launches mailgraph.pl with switches. It creates the /tmp/mailgraph/,cgi-bin dir fine, but it doesn't draw any graphs? Have the mailgraph.cgi program working in cgi-bin but yep not good without graphs. Cant find any errors anywhere, whatever its doing its silently failing. Any clues, its driving me nuts. :P |
| ||||
| > > I now have gd-2.0.33p2 installed, but for the life of me I can't > figure out why mailgraph dont know. > > have a mailgraph-init script that launches mailgraph.pl with switches. It > creates the /tmp/mailgraph/,cgi-bin dir fine, but it doesn't draw any > graphs? Have the mailgraph.cgi program working in cgi-bin but yep not > good without graphs. Cant find any errors anywhere, whatever its doing > its silently failing. > > Any clues, its driving me nuts. :P Sorry my brain left me for a sec. Simple misconfig. Now it works! (: |
| Thread Tools | |
| Display Modes | |
|
|