Ask a Question related to FreeBSD, Design and Development.
-
Tim Traver #1
Trouble Compiling 4.3.10 on FreeBSD 5.X
Hi all,
for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...
Here are the config commands that I used for apache and php :
EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
--enable-shared=ssl --disable-rule=SSL_COMPAT
apache installs and works just fine.
I use this for php :
../configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf
--with-freetype-dir=/usr/local/lib --enable-shared
It compiles ok, but when I go to install it, it gives an error :
Installing PHP SAPI module: apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1
Stop in /dev/php-4.3.10.
and there is no shared object file in the libs directory.
This works just fine on a FreeBSD 4.10 client, but for some reason it
doesn't create the shared object on this 5.3 system.
More info :
System is a Dual Opteron AMD architecture, running a fresh install of
FreeBSD 5.3...
thanks,
Tim.
Tim Traver Guest
-
Compile FreeBSD RELENG_5 on FreeBSD 4-STABLE
Hi. I have a FreeBSD 4-STABLE machine. I want to do my custom RENELG_5 FreeBSD release. I'm get all RELENG_5 CVS source (with cvs checkout... -
Trouble compiling module IO 1.20
I have seen few posts with the same problem, however I did not see the solution. I am attempting to install the IO module, because I need the... -
Compiling and Installing Perl 5.8.0 on FreeBSD
This is my first post here, so go easy! :-) I get an error when attempting to install Perl 5.8.0 on FreeBSD that leaves me completely clueless. ... -
Trouble compiling 2.4.21 kernel
Paul Johnson wrote: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=198870 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)... -
Newbie: Having trouble compiling Apache 2.0.46 on Solaris 8
I am sure that I don't have my environment setup properly so your help is greatly appreciated. How should I configure my environment? What... -
Kirk Strauser #2
Re: Trouble Compiling 4.3.10 on FreeBSD 5.X
On Saturday 26 February 2005 01:50 pm, Tim Traver wrote:
Is there a reason you're not using the port?> for some reason, I cannot get php to compile a shared object to work
> with apache 1.3.33...
--
Kirk Strauser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQBCINwa5sRg+Y0CpvERAjZrAJsFi2A0ugR7VwDrSp4Q2f jsL1oLfACeLQUI
5bRDH0Qvb2XKa2RImDj7dtc=
=JxI0
-----END PGP SIGNATURE-----
Kirk Strauser Guest
-
Tim Traver #3
Re: Trouble Compiling 4.3.10 on FreeBSD 5.X
Kirk,
well, yes, there is...first, the apache port has very few changes. most
of the patches are things that the FreeBSD community wanted to change to
fit defaults (.i.e different log file names, mostly cosmetic). I think
there are a couple of su_exec tweaks in it, but overall, the port is not
much different than the source.
And php is not the latest version in the ports either. Not to mention
that I use a lost of custom configuration parameters. It also doesn't
look like any of the patches in the port of 4.3.9 would do anything to
change my issue...
Not that I don't think the ports collection is good. There are just some
things that you need to do manually...
Tim.
Kirk Strauser wrote:
>On Saturday 26 February 2005 01:50 pm, Tim Traver wrote:
>
>
>>>>for some reason, I cannot get php to compile a shared object to work
>>with apache 1.3.33...
>>
>>
>Is there a reason you're not using the port?
>
>Tim Traver Guest



Reply With Quote

