[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] php 4.3.9 make error on Slackware 8.1
|
Martin DiViaio wrote:
On the 21st day of October in the year 2004 you wrote:
Date: Thu, 21 Oct 2004 14:58:56 -0400
From: ChrisB. <chris@chrisbovasso.com>
To: plug@lists.phillylinux.org
X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham
version=2.63
Subject: [PLUG] php 4.3.9 make error on Slackware 8.1
Hey all,
I updated my apache server from 1.3.27 to 1.3.31 and tried to recompile php4
and I keep getting the same error on make.
I pointed the apxs (for php) to my apache bin/apxs, the configure script
runs fine but the make ends with the same error "libphp4.la Error 1" I cant
seem to find a libphp4.so file anywhere on the box which leads me to believe
it is having troubles creating it?
So to review I compiled apache 1.3.31 with the --enable-module=so and then
tried to recompile php4 (4.3.9) with the "./configure
--with-apxs=/path/to/apxs" the configure script runs fine but the make ends
in the Error 1 libphp4.la every time. I have tried every which way to
recompile apache and php4 and I have scoured the internet for any clues. Do
you guys have any ideas or notice anything I may have missed?
Try compiling php in stand-alone mode. If the php compile itself is having
a problem, this should show you where it is.
I build my own rpms on a redhat AS3.1 system. For php 4.3.7, I had to
modify my libs and ldflags in my spec file as such (adding -lstdc++ last):
LIBS="-lz -lnsl -lstdc++"; export LIBS
EXTRA_LDFLAGS="-lstdc++"; export EXTRA_LDFLAGS
Also make sure that you have libtool and libstdc++ installed.
The module will be installed in /usr/lib/httpd/modules/libphp4.so, or
whatever your apache libdir is.
I had a similar problem where the new file was not overwriting the old
libphp4.so.
HTH,
Kris
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|