Re: [LHA-misc] Compiling php with gd and static?
Status: Beta
Brought to you by:
ncherry
From: Neil C. <nc...@ho...> - 2001-06-19 13:00:12
|
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. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |