The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> BSD Help
|
help with php port ..
Discuss help with php port .. in the BSD Help forum on Dev Shed. help with php port .. BSD Help forum discussing all BSD based operating systems including FreeBSD, OpenBSD, NetBSD, and more. BSD refers to the distribution of UNIX originally developed by the University of California at Berkeley.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 9th, 2001, 04:12 PM
|
 |
o0o.o0o
|
|
Join Date: Feb 2001
Location: m00n
|
|
|
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?
|

October 9th, 2001, 04:58 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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?
|

October 9th, 2001, 06:39 PM
|
 |
o0o.o0o
|
|
Join Date: Feb 2001
Location: m00n
|
|
Quote: Originally posted by freebsd
1) What OS and uname -r? |
-- FreeBSD, root
-- I just typed 'make' in the mod_php4 directory
Quote:
3) What last-modified date on /usr/ports/www/mod_php4/Makefile? |
-- August 26th, 2001
Quote: |
4) Do you have Apache installed prior to installing mod_php4? |
-- yes
is there a site with step by step instructions?
|

October 9th, 2001, 06:59 PM
|
 |
Contributing User
|
|
Join Date: Jan 2001
Location: St. George, Utah
|
|
|
__________________
Lucas Marshall
|

October 9th, 2001, 07:07 PM
|
 |
o0o.o0o
|
|
Join Date: Feb 2001
Location: m00n
|
|
|
Yes, Installed FreeBSD + port collection last week. It is also the latest version of PHP from php.net.
Brett
|

October 9th, 2001, 07:36 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
>> 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.
|

October 10th, 2001, 12:33 AM
|
 |
o0o.o0o
|
|
Join Date: Feb 2001
Location: m00n
|
|
uname -r: 4.4-RELEASE
Quote: | That's the latest. Have you ever cvsup'ed your ports tree on your system? |
-- 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.
|

October 10th, 2001, 01:58 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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).
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|