Re: freebsd build problemud
| From: | heilo | Date: | Sat, 31 May 2003 16:02:29 +0000 |
| Subject: | Re: freebsd build problemud | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10986@lists.php.net to get a copy of this message | ||
hm.. seems as if things are getting complicated :)
i experienced similar problems with building jsdk under freebsd. but i had
no problems with installing mod_php. i think this error occours because of
wrong versions. i just can tell you the package-dependencies (which includes
the versions):
mod_php4-4.3.1
apache-1.3.27_4
expat-1.95
autoconf213-2.13.000227_5
m4-1.4_1
mysql-client-3.23.56
libtool-1.3.4_4
So you have to install the packages in the following order:
expat-1.95
libtool-1.3.4_4
m4-1.4_1
mysql-client-3.23.56
autoconf213-2.13.000227_5
apache-1.3.27_4
mod_php4-4.3.1
do you have the right versions installed? you can test your packet-versions
with pkg_info
i did it this way... if this does not work i cannot help anymore :( sorry -
i'm a newbie on freeBSD myself.
.ma
david clark <david@davidsaccess.com> wrote@31.05.2003 16:02 Uhr:
> hey,
>
> that helped, but still having a problem:
>
>
> ===> Extracting for mod_php4-4.3.1,1
>>> Checksum OK for php-4.3.1.tar.bz2.
> ===> mod_php4-4.3.1,1 depends on file: /usr/local/sbin/apxs - found
> ===> mod_php4-4.3.1,1 depends on shared library: gd.2 - found
> ===> mod_php4-4.3.1,1 depends on shared library: freetype.9 - not found
> ===> Verifying install for freetype.9 in /usr/ports/print/freetype2
> ==> Skipping freetype2-2.0.5 which is already installed.
> ===> Returning to build of mod_php4-4.3.1,1
> Error: shared library "freetype.9" does not exist
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
>
> Stop in /usr/home/usr111074219/mod_php4.
>
>
> "Heilo" <grillen@abendstille.at> wrote in message
> news:BAFD6DE9.2F3F%grillen@abendstille.at...
>> hi!
>>
>> i run freebsd too, but i did not build php myself - i downloaded the
> package
>>
>> http://www.freebsd.org/cgi/ports.cgi?query=%5Emod_php4-4.3.1&stype=name
> and
>> installed it with pkg_add (you have to have ports installed - you can do
>> this by typing /stand/sysinstall (if i remember correctly). I do not see
> any
>> special things you need from your configure?
>>
>> .ma
>>
>> david clark <david@davidsaccess.com> wrote@30.05.2003 16:52 Uhr:
>>
>>> Hi,
>>>
>>> i am on a shared vserver running freebsd, & i'm trying to upgrade from
> php
>>> 4.0.6 to 4.3.2.
>>>
>>> I am using the configure from my phpinfo, which is:
>>>
>>> './configure' '--with-apxs=/usr/local/www/bin/apxs'
>>>
>>> '--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
>>> '--with-system-regex' '--disable-debug'
>>> '--enable-track-vars'
> '--without-gd'
>>> '--without-mysql' '--with-zlib' '--with-imap=/usr/local'
>>> '--with-mysql=/usr/local' '--prefix=/usr/local/www'
>>> 'i386--freebsd4.4'
>>>
>>>
>>>
>>> I am in as su
>>>
>>> make runs no problems
>>>
>>> When i do make install, i get:
>>>
>>> Installing PHP CLI binary: /usr/local/www/bin/
>>>
>>> \Installing PHP CLI man page: /usr/local/www/man/man1/
>>>
>>> Installing PHP SAPI module
>>>
>>> [activating module `php4' in /usr/local/www/conf/httpd.conf]
>>>
>>> cp libs/libphp4.so /usr/local/www/libexec/libphp4.so
>>>
>>> cp: /usr/local/www/libexec/libphp4.so: Permission denied
>>>
>>> apxs:Break: Command failed with rc=1
>>>
>>> *** Error code 1
>>>
>>> Stop in /usr/home/usr111074219/php-4.3.2.
>>>
>>>
>>
>
>
Matthias Steinböck
Email: grillen@abendstille.at
Web: http://www.abendstille.at
Frühabendliches Webdesign.
------------------------------------------
Im Übrigen sind wir der Meinung, dass
Sie zu viel Butterbrote essen. Sie sollten
Sich was schämen! Misshandlung von
Butterbroten mit Zähnen gehört verboten!