Connecting Tech Pros Worldwide Help | Site Map

Problem with Installing Apache on FreeBSD

  #1  
Old May 7th, 2009, 08:15 PM
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
Hi all,
I am trying to install Apache 2.2 on FreeBSD 7.1.
I have installed the OS and the basic ports needed. when I tried to install apache 2.2 using,

Expand|Select|Wrap|Line Numbers
  1. portmaster www/apache22
  2.  
it gave me an error
Expand|Select|Wrap|Line Numbers
  1.  Patching for libiconv-1.11_1
  2. ===>  Applying extra patch off
  3. cannot open off: No such file or directory
  4. *** Error code 2
  5.  
  6. Stop in /usr/ports/converters/libiconv.
  7.  
  8. ===>>> make failed for converters/libiconv
  9. ===>>> Aborting update
  10.  
  11. ===>>> Update for /usr/ports/converters/libiconv failed
  12. ===>>> Aborting update
  13.  
During the process of portmaster , it prompted me to select Apache config questions and Libiconv questions( I have selected Enable "EXTRA-ENCODING" and disabled the other.)

Note: Bash is already installed and I guess BASH needed the libconv and thus it has already installed the libiconv...My guess! ... I also tried to do the "make install clean" for libiconv ( it failed) ...

Any Idea ..?

Thanks..
  #2  
Old May 20th, 2009, 09:00 PM
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North :)
Posts: 4,940
Provided Answers: 8

re: Problem with Installing Apache on FreeBSD


It sounds like you are missing a file that is required in order to install Apache 2.2 on your system.

I would recommend downloading the Apache 2.2 install package again and following the instructions on how to compile and install Apache.


Cheers :)

-Frinny
  #3  
Old May 20th, 2009, 09:45 PM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,521

re: Problem with Installing Apache on FreeBSD


Frinny, installing from FreeBSD ports is better since all patches and FreeBSD specific switches are applied and its faster/easier.

Are you sure you have libiconv installed? 'portversion -v libiconv'
If so, what happens when you do 'portupgrade libiconv'?
  #4  
Old May 20th, 2009, 09:46 PM
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North :)
Posts: 4,940
Provided Answers: 8

re: Problem with Installing Apache on FreeBSD


Quote:
Originally Posted by drhowarddrfine View Post
Frinny, installing from FreeBSD ports is better since all patches and FreeBSD specific switches are applied and its faster/easier.
I figured as much but this wasn't included in the instructions ;)
I'm a "read the manual" type girl.
  #5  
Old May 20th, 2009, 11:18 PM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,521

re: Problem with Installing Apache on FreeBSD


Yeah. I'm a 'man' man.
  #6  
Old May 22nd, 2009, 11:37 PM
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123

re: Problem with Installing Apache on FreeBSD


Hi All,

Thanks for the your replies...

I figured out the problem.... I was trying to install Bash with (static option) which cause the problem. As I mentioned earlier, the static bash was depend on libiconv and thus has installed that. So somehow the apache required libiconv and the one installed by bash was conflicting. So, Now I have installed bash without static option and now it works perfect....


But , I have one more question... I have installed adodb port by
Expand|Select|Wrap|Line Numbers
  1. portmaster databases/adodb5
  2.  
I have also updated the php.ini file with the inlcude_path giving /usr/local/share/adodb. I tried a sample to ran sample php-adodb script on it. But it failed to connect to the server...

So, do we need to modify anything while we are installing adodb port????


Thanks,
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_python performs several magnitudes slower than PHP? chris.monsanto@gmail.com answers 4 May 21st, 2007 09:35 AM