» »

GD library problem on Linux.

GD library problem on Linux.

McZaaR ::

Evo jaz hocem skompajlati php skupaj z gdjem. Seveda sem dal --with-gd in je tudi kao naredilo, a v poraksi ne del. Oz je GD slabo skompajlan. Zato sem se odlocil da sam skompajlam gd-2.0.22. Downloadam source: http://www.boutell.com/gd/http/gd-2.0.2... dam ./configure vse lepo in prav. Napise celo:
[KODA]
** Configuration summary for gd 2.0.22:

Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Xpm library: yes
Support for pthreads: yes
[/KODA]
nato pa ko dam make pride do sem:
[KODA]
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -MT gdft.lo -MD -MP -MF .deps/gdft.Tpo -c gdft.c -fPIC -DPIC -o .libs/gdft.lo
gdft.c: In function `fontFetch':
gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function)
gdft.c:485: (Each undeclared identifier is reported only once
gdft.c:485: for each function it appears in.)
gdft.c:486: `FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this function)
gdft.c:486: `FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this function)
gdft.c: In function `gdImageStringFTEx':
gdft.c:1052: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function)
make[2]: *** [gdft.lo] Error 1
make[2]: Leaving directory `/root/grafike/gd-2.0.22'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/grafike/gd-2.0.22'
make: *** [all] Error 2
[/KODA]
in konec! Torej preiskal sem ves net... ucitno ne cisto vsega in odgovora ni. Dal sem dol freetype-2.1.7 jpg-nevem kaj, zlib... vse se instalira le GD se noce!?

Zato prosim najlepse, da ce gdo ve kaj je problem ali pa pozna koga, ki bi ga znal resiti da pomaga...

HVALA!

Primoz ::

Bodi prijazen pa še povej, kater PHP prevajaš in zakaj ne uporabiš GD knjižnice, ki pride zraven?
There can be no real freedom without the freedom to fail.

McZaaR ::

php je: php-4.3.4 . Glede tiste knjiznice je pa tako. Ali jaz nevem kako, ali je pa nekaj narobe. Uglavnem gd se mi instalira a potem ni podpore za to kar rabim v gdju.
z eno skripto mi je takole izpisalo:
GD Library Information
Type Value
GD Version bundled (2.0.15 compatible)
FreeType Support No
T1Lib Support No
GIF Read Support Yes
GIF Create Support No
JPG Support No
PNG Support Yes
WBMP Support Yes
XBM Support Yes


No ubistvu jaz bi samo rad da podpira JPG, GIF, in pa FreeType. Ce mi zna kdo pomagati. prosim pomoc nadvse dobrodosla!


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

[C++] vprašanja (strani: 1 2 3 4 5 6 7 8 9 )

Oddelek: Programiranje
44727335 (11881) aljazko1995
»

[C++] Linux

Oddelek: Programiranje
171956 (1376) CCfly
»

compiling mplayer z mp3lame support

Oddelek: Programska oprema
91108 (1028) kriko1
»

image/png .......(prikaz!!)?

Oddelek: Izdelava spletišč
181151 (1042) Ziga Dolhar
»

Pomnilnik in c++

Oddelek: Programiranje
242145 (1854) Gundolf

Več podobnih tem