|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
help with php port ..
Ok, I am attempting to install mod_php4, and this is what I get after the 'make'
Code:
===> Patching for mod_php4-4.0.6_4 ===> Applying distribution patches for mod_php4-4.0.6_4 *** Error code 9 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. any thoughts? |
|
#2
|
|||
|
|||
|
1) What OS and uname -r?
2) What make options? 3) What last-modified date on /usr/ports/www/mod_php4/Makefile? 4) Do you have Apache installed prior to installing mod_php4? |
|
#3
|
||||||
|
||||||
|
Quote:
-- FreeBSD, root Quote:
-- I just typed 'make' in the mod_php4 directory Quote:
-- August 26th, 2001 Quote:
-- yes is there a site with step by step instructions? |
|
#4
|
||||
|
||||
|
Do you have the newest version of this port?
If not, get it from http://www.freebsd.org/ports and try again ![]()
__________________
Lucas Marshall |
|
#5
|
||||
|
||||
|
Yes, Installed FreeBSD + port collection last week. It is also the latest version of PHP from php.net.
Brett |
|
#6
|
|||
|
|||
|
>> FreeBSD, root
uname -r gives you the version and branch, not root. I still need to know that. >> I just typed 'make' in the mod_php4 directory You should see a dialog prompt asking for configure options, like with mysql, pgsql or so. >> August 26th, 2001 That's the latest. Have you ever cvsup'ed your ports tree on your system? >> is there a site with step by step instructions? Unlike Linux, in *BSDs, you just need to run make install clean in most case. mod_php4, however, is very configurable. You can enable/disable whatever options as you wish once you run make. To answer your question, if you accept the defaults, it's as simple as make install clean and select whatever options. |
|
#7
|
||||
|
||||
|
uname -r: 4.4-RELEASE
Quote:
-- No I tried the make install clean, selected the default options, and I still got the errors. Here is the make install clean output: Code:
===> Building for mod_php4-4.0.6_4 Making all in Zend Making all in main Making all in ext Making all in zlib Making all in mysql Making all in pcre Making all in pcrelib Making all in posix Making all in session Making all in standard Making all in xml Making all in expat Making all in xmltok Making all in xmlparse Making all in sapi Making all in apache /bin/sh /usr/ports/www/mod_php4/work/php-4.0.6/libtool --silent --mode=compile cc -I. -I/usr/ports/www/mod_php4/work/php-4.0.6/sapi/apache -I/usr/ports/www/mod_php4/work/php-4.0.6/main -I/usr/ports/www/mod_php4/work/php-4.0.6 -I/usr/local/include/apache -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.0.6/ext/xml/expat/xmltok -I/usr/ports/www/mod_php4/work/php-4.0.6/ext/xml/expat/xmlparse -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM -DNO_DBM_REWRITEMAP -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -O -pipe -c sapi_apache.c *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.0.6/sapi/apache. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.0.6/sapi/apache. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.0.6/sapi. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.0.6. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. Brett Last edited by estrabd : October 10th, 2001 at 12:45 AM. |
|
#8
|
|||
|
|||
|
Try make extract, then touch /usr/ports/www/mod_php4/work/.patch_done
, then make install clean. If this doesn't help, contact the port maintainer. The ports system is very reliable and usually it fails only when it's a relatively new port or your system has some problem (the fix for this is to cvsup to -STABLE). |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > help with php port .. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|