Since I was installing on a fresh install of Redhat 7.0 and all the latest
of mysql and apache, etc. I went ahead and did a re-install of my whole
system to start from scratch. This time I did not install gd, libjpeg,
libpng ,etc from source. Instead I noticed that they all installed with
redhat so I used the following configure and it worked! Not sure yet if
True type fonts work but at least it compiled and I can run php , with
mysql and create jpegs and pngs.
'./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.19' '--with-gd'
'--with-ttf=/usr/lib'
'--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib'
'--enable-track-vars'
Mitch
Jani Taskinen wrote:
> On Tue, 13 Mar 2001, Mitchell Sheean wrote:
>
> >Not sure what this means. My debug.log is attached. I didn't compile gd
> >with TTF. is that the problem?
> >Any help much appreciated.
>
> And you didn't have --with-ttf in your configure line? At least
> in that debug.log it isn't, but did you try it before?
> Try deleting config.cache and try configure again.
>
> And what is the version of PHP you're trying to compile?
>
> --Jani
>
> >
> >-- snip --
> > CONFIGURE: './configure' '--with-apache=../apache_1.3.19'
> >'--with-mysql=/usr/local/mysql' '--with-jpeg-dir=/usr/local'
> >'--with-gd=/usr/local/gd-1.8.4' '--enable-track-vars'
> >CC: gcc
> >CFLAGS: -g -O2
> >CPPFLAGS:
> >CXX:
> >CXXFLAGS:
> >INCLUDES: -I/usr/local/apache_1.3.19/src/include
> >-I/usr/local/apache_1.3.19/src/os/unix -I$(top_builddir)/Zend
> >-I/usr/include/freetype -I/usr/local/gd-1.8.4
> >-I/usr/local/mysql/include/mysql
> >LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
> >-Wl,-rpath,/usr/local/gd-1.8.4 -L/usr/local/gd-1.8.4
> >-Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
> >LIBS: -lmysqlclient -lttf -lpng -lz -lgd -ljpeg -lresolv -lm -ldl
> >-lcrypt -lnsl -lresolv -L/usr/local/lib -ljpeg
> >DLIBS:
> >SAPI: apache
> >PHP_RPATHS: /usr/local/lib /usr/local/gd-1.8.4
> >/usr/local/mysql/lib/mysql
> >uname -a: Linux sniglet.idmicro.com 2.2.16-22 #1 Tue Aug 22 16:49:06
> >EDT 2000 i686 unknown
> >
> >gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib
> >-Wl,-rpath,/usr/local/gd-1.8.4 -L/usr/local/gd-1.8.4
> >-Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
> >conftest.c -lmysqlclient -lttf -lpng -lz -lgd -ljpeg -lresolv -lm -ldl
> >-lcrypt -lnsl -lresolv -L/usr/local/lib -ljpeg 1>&5
> >/usr/bin/ld: cannot find -lttf
> >collect2: ld returned 1 exit status
> >- snip -
> >
> >
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]