Re: installing with gd and XFree86
| From: | Jani Taskinen | Date: | Tue, 03 Apr 2001 20:04:29 +0000 |
| Subject: | Re: installing with gd and XFree86 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2677@lists.php.net to get a copy of this message | ||
On Tue, 3 Apr 2001, Mike wrote:
>What am i doing wrong????
Change the --with-xpm-dir=/usr to --with-xpm-dir=/usr/X11R6 and
it should work.
Remember to delete config.cache before configure!
--Jani
>
>=-----------------------------------------------------------------------------------------------------------
>
>CONFIGURE: './configure' '--with-gd=/usr' '--with-ttf=/usr'
>'--with-mysql' '-
>-with-apxs' '--enable-track-vars' '--with-jpeg-dir=/usr'
>'--with-xpm-dir=/usr'
>'--with-gd-lib' '--enable-gd-native-ttf' '--prefix=/etc/httpd/'
>'--x-includes=/
>usr/X11R6/include' '--x-libraries=/usr/X11R6/lib'
>CC: gcc
>CFLAGS: -g -O2
>CPPFLAGS: -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
>CXX:
>CXXFLAGS:
>INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/src/php-4.0.4
>pl1/ext/mysql/libmysql
>LDFLAGS:
>LIBS: -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -
>L/usr/lib -ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11
>DLIBS:
>SAPI: apache
>PHP_RPATHS:
>uname -a: Linux ns.blueroot.net 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i68
>6 unknown
>
>gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT conftest
>.c -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib
> -ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11 1>&5
>/usr/bin/ld: cannot find -lX11
>collect2: ld returned 1 exit status
>