Re: installing error
| From: | Chris Hewitt | Date: | Sun, 01 Aug 2004 11:34:25 +0000 |
| Subject: | Re: installing error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14021@lists.php.net to get a copy of this message | ||
On Sun, 2004-08-01 at 00:02, Heribert Hock wrote:
> CONFIGURE: './configure' '--prefix=/home/usr/local/php5/'
> '--with-apxs=/usr/local/apache_1.3.31/bin/a
> pxs' '--with-xsl' '--with-gdbm' '--with-gd'
> '--with-freetype=/usr/include/freetype/' '--with-zlib-dir=/
> usr/include' '--with-ttf' '--with-jpeg-dir=/usr/lib'
> '--with-sapdb'
> '--with-unixODBC'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES: -I$(top_builddir)/Zend -I/usr/include/libxml2
> -I/usr/include/freetype -I/usr/local/incl
> LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
> i tried to configure php5 with following results. Pls could somebody give me
> assistance to solve the problem as attached logfile.
> thanks and kind regards
> heribert
>
>
> LIBS: -lsqlod -lttf -lpng -lz -ljpeg -lgdbm -lz -lresolv -lm -ldl -lnsl
> -lxml2 -lz -lm -lxml2 -l
> z -lm -lxml2 -lz -lm
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/local/lib
> uname -a: Linux poldi1 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004
> i686 i686 i386 GNU/Linux
>
> gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c
> -lsqlod -lttf -lpng -lz
> -ljpeg -lgdbm -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm
> -lxml2 -lz -lm 1>&5
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
>
Heribert,
I may be missing something but I don't see an error message. I've
installed PHP 5 onto Fedora Core 2 successfully. I used the same
configuration options as the php version that came with Fedora Core 2. I
got them by putting a phpinfo.php file containing "<?php phpinfo(); ?>"
in /var/www/html and pointing my browser at http://localhost/phpinfo.php
I don't know the layout for SUSE but your /home/usr/local/php5 seems
suspicious to me.
Hope this helps.
Chris