Brian V Bonini schrieb: > Been using PHP for some time but never have actually compiled my own, > the version my provider compiled always sufficed, anyway, I > I'm having some issues.
NOTE: once compiled, this PHP package runs without the include files, cause they are "included" to the package. So you provider had freetype version 2 and xpm installed, you might not have this. > config fails here: > > checking for GD support... yes > checking for the location of libjpeg... yes > checking for the location of libpng... yes > checking for the location of libXpm... yes > checking for FreeType 1.x support... yes > checking for FreeType 2... yes > checking for T1lib support... yes > checking whether to enable truetype string function in GD... yes > checking for jpeg_read_header in -ljpeg... yes > checking for png_write_image in -lpng... yes > If configure fails try --with-xpm-dir=<DIR> > configure: error: freetype2 not found! ... PHP is looking for freetype 2 (if realy needed ???) ^ note the version ! > %locate freetype > /usr/local/include/freetype > /usr/local/include/freetype/freetype.h > /usr/local/include/freetype/fterrid.h > /usr/local/include/freetype/ftnameid.h > /usr/local/include/freetype/ftxcmap.h > /usr/local/include/freetype/ftxerr18.h > /usr/local/include/freetype/ftxgasp.h > /usr/local/include/freetype/ftxgdef.h > /usr/local/include/freetype/ftxgpos.h > /usr/local/include/freetype/ftxgsub.h > /usr/local/include/freetype/ftxkern.h > /usr/local/include/freetype/ftxopen.h > /usr/local/include/freetype/ftxpost.h > /usr/local/include/freetype/ftxsbit.h > /usr/local/include/freetype/ftxwidth.h > /usr/local/include/freetype.h > /var/db/pkg/freetype-1.3.1 > /var/db/pkg/freetype-1.3.1/+COMMENT > /var/db/pkg/freetype-1.3.1/+CONTENTS > /var/db/pkg/freetype-1.3.1/+DESC > /var/db/pkg/freetype-1.3.1/+REQUIRED_BY this is freetype version 1.3.1 ! if you relay need it you might get it from http://www.rpmfind.net/linux/rpm2html/search.php?query=freetype2 > %locate xpm > /usr/X11R6/bin/cxpm > /usr/X11R6/bin/sxpm > /usr/X11R6/include/X11/xpm.h > /usr/X11R6/man/man1/cxpm.1.gz > /usr/X11R6/man/man1/sxpm.1.gz > /usr/share/man/man3/expm1.3.gz > /usr/share/man/man3/expm1f.3.gz > /var/db/pkg/xpm-3.4k > /var/db/pkg/xpm-3.4k/+COMMENT > /var/db/pkg/xpm-3.4k/+CONTENTS > /var/db/pkg/xpm-3.4k/+DESC that's not the xpm he is looking for ... try %> locate Xpm ^ note the big X and it should find something like: /usr/X11R6/lib/libXpm.so /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.10 /usr/i386-glibc20-linux/lib/libXpm.so /usr/i386-glibc20-linux/lib/libXpm.so.4 /usr/i386-glibc20-linux/lib/libXpm.so.4.10 if you haven't it but think you realy need it get it from: http://www.rpmfind.net/linux/rpm2html/search.php?query=xpm > Currently installed module (4.0.6) was configures with: > > './configure' '--with-apxs=/usr/local/www/bin/apxs' > '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' > '--with-system-regex' '--disable-debug' '--enable-track-vars' > '--with-gd=/usr/local' '--with-freetype-dir=/usr/local' > '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib' > '--with-imap=/usr/local' '--with-mysql=/usr/local' > '--with-imap=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4' > > which is exactly what I'm trying to duplicate with the new install > (4.3.0) > > > Not sure what to do here... Note: to compile he needs the xxxx.h (example "png.h" for PNG suppport) from /usr/local/include (or whatever you told him) and the xxxx.so modul like "libpng.so" out of /usr/lib (or whatever you told him) ! regards -- @ Goetz Lohmann, Germany | Web-Developer & Sys-Admin \/ ------------------------------------------------------ () He's the fellow that people wonder what he does and || why the company needs him, until he goes on vacation. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php