b8f7 [Solved] Problem installing Apache - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old August 21st, 2011, 23:58
scewing scewing is offline
Junior Member
 
Join Date: Aug 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem installing Apache

I've just installed a fresh copy of FreeBSD 8.2 onto a P4 (32 bit) machine. I updated the ports and then tried to install apache and I keep getting this error:

Code:
===>   apache-2.2.19 depends on file: /usr/local/bin/perl5.12.4 - found
===>   apache-2.2.19 depends on file: /usr/local/bin/autoconf-2.68 - found
===>   apache-2.2.19 depends on package: libtool>=2.4 - found
===>   apache-2.2.19 depends on shared library: expat.6 - found
===>   apache-2.2.19 depends on shared library: apr-1 - not found
===>    Verifying install for apr-1 in /usr/ports/devel/apr1
===>  Patching for apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12
===>   apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12 depends on file: /usr/local/bin/perl5.12.4 - found
===>  Applying FreeBSD patches for apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12
File to patch:
No file found--skip this patch? [n] y
1 out of 1 hunks ignored--saving rejects to apr-1.4.2/buildconf.rej
Can't create apr-1.4.2/buildconf.rej, output is in /tmp//patchrhBxxJe: No such file or directory
=> Patch patch-apr_buildconf failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/devel/apr1.
*** Error code 1

Stop in /usr/ports/devel/apr1.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
It asks for a file to patch. I've tried some different files but nothing works. And if I skip it as you can see, it fails. I've tried installing apr1 but get exactly the same error.
I've searched the forums here and find lots of similar problems but nothing exactly like my particular problem. Any help would be greatly appreciated.

Thanks!

Last edited by DutchDaemon; August 22nd, 2011 at 02:06. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old August 24th, 2011, 12:55
scewing scewing is offline
Junior Member
 
Join Date: Aug 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Guess I'll try a different OS.
Reply With Quote
  #3  
Old August 24th, 2011, 16:03
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,861
Thanks: 30
Thanked 1,896 Times in 1,338 Posts
Default

devel/apr builds fine here. I have Apache installed, but not apr. Either install Apache with default options (run make rmconfig in the port directory and accept the defaults that are offered), or use the package (which is the same thing). Maybe you selected conflicting port options.

And this has nothing to do with 'the OS'.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #4  
Old August 25th, 2011, 17:25
scewing scewing is offline
Junior Member
 
Join Date: Aug 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I think you can close this thread. I reformatted the HD and started again with a fresh install of FreeBSD 8.2 server, updated the ports and installed apache first thing. Same results. I got another, similar P4 machine and tried it with that one and it worked fine. The main difference between the 2 machines was motherboard manufacturer. So I'm gonna say it was maybe a hardware issue? (with nothing else to go on). Anyway, I've got it up and running and I look forward to working with and learning FreeBSD.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Problem with PHP5 and Apache manyblue Installation and Maintenance of FreeBSD Ports or Packages 49 March 3rd, 2011 18:02
[Solved] Big problem with apache Nezhus Web & Network Services 5 April 22nd, 2010 08:00
[Solved] another problem Apache+PHP zeiz Web & Network Services 6 November 4th, 2009 23:30
[Solved] another apache 2.2 problem (userdirs) edhunter Web & Network Services 2 April 1st, 2009 09:38
Apache problem: PLZ HELP!!!! illscience Firewalls 13 January 8th, 2009 21:20


All times are GMT +1. The time now is 21:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0