SunQuest
           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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old May 29th, 2004, 02:37 AM
zosorock zosorock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Curitiba, PR - Brasil
Posts: 4 zosorock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to zosorock Send a message via AIM to zosorock Send a message via MSN to zosorock Send a message via Yahoo to zosorock
Question trying to recompile Apache in FreeBSD 4.9

This is probably a very stupid question but I'm so new to FreeBSD that I'll have to ask anyway

I've been trying to have Apache 1.3.29-modssl, php4, mod_mp3 and MySQL running on my system. Managed to use the ports, upgrade, compile, install, everything. Everything works fine but, after I compiled mod_php4 Apache doesn't start and gives me this message:

[warn] Loaded DSO libexec/apache/libperl.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[warn] Loaded DSO libexec/apache/libphp3.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

I figured I'd have to recompile it but I'm not sure how it's done. Tried placing that parameter in the Makefile in this line:

CFLAGS+= -DSNMP -DUSE_DB -DEAPI -DSNMP_CONFIG_H -DHARD_VIRTUAL_HOST_MAX=1000 \
-DSNMPLOCALONLY

and doing a make deinstall, make, make install. Same result.

Since I obviously can't figure out how to recompile without the use of ports can someone help me out here?

Thanks a million in advance,

Reply With Quote
  #2  
Old May 29th, 2004, 03:53 AM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
try compiling /usr/ports/lang/php4 instead, it will provide the CLI along with mod_php
__________________
John5788
EMail: john5788@x5788.net
URL: http://www.x5788.net
AIM: John57881, John57883
ICQ: 74077537
MSN: John@5788.zzn.com
YIM: John5788

Reply With Quote
  #3  
Old May 29th, 2004, 02:33 PM
zosorock zosorock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Curitiba, PR - Brasil
Posts: 4 zosorock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to zosorock Send a message via AIM to zosorock Send a message via MSN to zosorock Send a message via Yahoo to zosorock
Hi John,

I've just tried that. Same result

How can I force apache to recompile with that parameter?

Thank you for the help!

Fabiano.

Reply With Quote
  #4  
Old June 2nd, 2004, 10:19 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 h 5 m 45 sec
Reputation Power: 797
Try doing this:
make clean CLEANDEPENDS=YES
make -DEAPI
make install
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #5  
Old June 2nd, 2004, 10:37 PM
zosorock zosorock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Curitiba, PR - Brasil
Posts: 4 zosorock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to zosorock Send a message via AIM to zosorock Send a message via MSN to zosorock Send a message via Yahoo to zosorock
Should I recompile PHP as well?

Reply With Quote
  #6  
Old June 2nd, 2004, 11:00 PM
zosorock zosorock is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Curitiba, PR - Brasil
Posts: 4 zosorock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to zosorock Send a message via AIM to zosorock Send a message via MSN to zosorock Send a message via Yahoo to zosorock
Just did it. Same result. A friend of mine is trying to compile Apache 1.3.31 and PHP on his FreeBSD and try to just copy it over as it seems to work fine on his system. Thanks for your suggestion though.

Fabiano.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > trying to recompile Apache in FreeBSD 4.9


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


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





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