Connecting Tech Pros Worldwide Help | Site Map

Problem with Installing Apache on FreeBSD

Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
#1: May 7 '09
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..
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,083
#2: May 20 '09

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
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,562
#3: May 20 '09

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'?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,083
#4: May 20 '09

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.
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,562
#5: May 20 '09

re: Problem with Installing Apache on FreeBSD


Yeah. I'm a 'man' man.
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
#6: May 22 '09

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 Unix / Linux / BSD bytes