thanks, thank you very much, some graph are seen but not all, the icons of the maps are not seen; I was reading that I need to also install png, my doubt is the following one I must also install it, because already this installed JPEG.
Ad Widget
Collapse
Need Help Again
Collapse
X
-
Debora,
You need to build the libraries for jpeg and png and make sure to include both in your build for GD. It sounds like you already have jpeg and GD running so here are the steps to add png.
Download libpng from here: http://libpng.sourceforge.net/
There is no configure script with libpng so the build steps are a little different.
1) extract the source code for libpng
2) pick a makefile from one of the ones in ./libpng-1.2.8/scripts
e.g. makefile.linux
3) copy the makefile into the main directory e.g
cp ./libpng-1.2.8/scripts/makefile.linux ./libpng-1.2.8/makefile
4) edit the makefile and watch for things like:
prefix= [ where you want to install libpng into ]
ZLIBINC= [ where the ZLIB includes are ... ]
ZLIBLIB= [ where the ZLIB libraries are... ]
if you are using the ZLIB that came with your version of PHP then the ZLIB directores could be something like /opt/php/ext/zlib...
5) make ; make install
to build and install libpng
6) recompile GD to include the libpng libraries as follows
--with-png=/opt/libs/libpng (or wherever you installed libpng into)
7) recompile PHP again with the new GD library that you built (which should now support both PNG and JPG)
good luck
Mark -
Debora,
They should work well enough for gentoo but you'll have to modify them for the location of your dependent libraries... /opt is just something that I used (not even my real location) but you could use /usr/local or /local or wherever you place your software.
I just don't use any of the bundled software that comes with the Linux but compile and build my own everytime. If you rely on someone elses idea of a software package you might not get the functionality that you need... (e.g. a PHP that is missing GD!)
Mark
Originally posted by deboraBut those parametros are not such for gentoo, I´m trying but nothing, as they are the correct commandsComment
Comment