BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 9th, 2001, 04:12 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 9
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
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?

Reply With Quote
  #2  
Old October 9th, 2001, 04:58 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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?

Reply With Quote
  #3  
Old October 9th, 2001, 06:39 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 9
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Quote:
Originally posted by freebsd
1) What OS and uname -r?


-- FreeBSD, root

Quote:
2) What make options?


-- 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?

Reply With Quote
  #4  
Old October 9th, 2001, 06:59 PM
ZeUs's Avatar
ZeUs ZeUs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: St. George, Utah
Posts: 63 ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 32
Do you have the newest version of this port?

If not, get it from http://www.freebsd.org/ports and try again
__________________
Lucas Marshall

Reply With Quote
  #5  
Old October 9th, 2001, 07:07 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 9
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Yes, Installed FreeBSD + port collection last week. It is also the latest version of PHP from php.net.

Brett

Reply With Quote
  #6  
Old October 9th, 2001, 07:36 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #7  
Old October 10th, 2001, 12:33 AM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 9
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
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.

Reply With Quote
  #8  
Old October 10th, 2001, 01:58 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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).

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > help with php port ..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT