Re: [LHA-misc] Compiling php with gd and static?
Status: Beta
Brought to you by:
ncherry
From: Mike B. <mi...@ba...> - 2001-06-19 13:16:58
|
I can't imagine it matters, but I don't think the -with-jpeg is necessary if you have the -with-jpeg-dir. If possible, rerun the command and send the output from configure (its kinda big so postin git to the list may not be a good thing - you can send it to me I'd be happy to check it out) I've not messed with gd support in php specifically, but sometimes configure will tell you something is missing but go ahead and make the Make files anyway. Also, with 4.0.4 the TTF option is: --enable-gd-imgstrttf Enable TrueType string function in gd Did it change in 4.0.5? Mike Neil Cherry wrote: > Jay Hogg wrote: > >>Neil, >> >>What Mike was looking for (I think) is the command line that lists >>all the --with --without, libs, directories, etc. >> >>Some other things to look at since it is giving you 'undefined >>function' problems: >>- phpinfo() will list what is/is not available. >>- php_functions.h (.c?) has the entry points for all the /ext/... >>php libraries. On some systems with a broken shell/sed there are >>problems in this file and not everything is handled correctly. >>- there are prerequisites for some modules and they won't work >>unless all parts are there. I believe 'gd' has a lot of them >>since I also pulled in pdflib and spent the next 8 hours tracking >>down all the other pieces. >> > > ./configure \ > --with-apxs=/usr/sbin/apxs \ > --with-openssl=shared \ > --enable-libgcc \ > --enable-bcmath \ > --enable-calendar \ > --enable-ctype \ > --enable-ftp \ > --with-gd=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-jpeg \ > --with-jpeg-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-xpm-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --with-png-dir=/usr7/projects/php.tmp/gd-1.8.4 \ > --enable-gd-native-ttf \ > --with-mysql \ > --enable-sysvsem \ > --enable-sysvshm \ > --with-zlib=shared \ > --enable-shared \ > --enable-inline-optimization \ > --with-gnu-ld > > I'll get phpinfo later, I need to clean it up so it doesn't come out a > real mess. > > |