Problem with Installing Apache on FreeBSD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajd335
    New Member
    • Apr 2008
    • 123

    Problem with Installing Apache on FreeBSD

    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,

    Code:
    portmaster www/apache22
    it gave me an error
    Code:
     Patching for libiconv-1.11_1
    ===>  Applying extra patch off
    cannot open off: No such file or directory
    *** Error code 2
    
    Stop in /usr/ports/converters/libiconv.
    
    ===>>> make failed for converters/libiconv
    ===>>> Aborting update
    
    ===>>> Update for /usr/ports/converters/libiconv failed
    ===>>> Aborting update
    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
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    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

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      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'?

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by drhowarddrfine
        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.

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          Yeah. I'm a 'man' man.

          Comment

          • ajd335
            New Member
            • Apr 2008
            • 123

            #6
            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
            Code:
            portmaster databases/adodb5
            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,

            Comment

            Working...