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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #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: 8
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: 8
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: 31
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: 8
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: 8
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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway