3rd try to install centos and get the same error everytime:

Discussion in 'Installation/Configuration' started by happz, Jun 18, 2009.

  1. happz

    happz New Member

    here is where the problem happens: 12.2 Installing mod_ruby
    For CentOS 5.2, there's no mod_ruby package available, so we must compile it ourselves. First we install some prerequisites:

    yum install httpd-devel ruby ruby-devel

    Next we download and install mod_ruby as follows:

    cd /tmp
    wget http://www.modruby.net/archive/mod_ruby-1.2.6.tar.gz
    tar zxvf mod_ruby-1.2.6.tar.gz
    cd mod_ruby-1.2.6/
    ./configure.rb --with-apr-includes=/usr/include/apr-1
    make
    make install
    _______________________________________________________________-


    The make give 1 error and make install gives 1 one.

    There is no way that I am doing the same thing wrong 3 times in a row. any help would be great. thanks!!

    btw, upon installing 5.2 it updates to 5.3 ....just so i tell that part. it is 5.3 :)


    _________________________________________________________________________________________________

    Here is the error::::::

    [root@srv0 mod_ruby-1.2.6]# make
    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c apachelib.c
    apachelib.c: In function âap_chdir_fileâ:
    apachelib.c:149: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c:154: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c: In function ârb_init_apacheâ:
    apachelib.c:374: error: âOPT_INCNOEXECâ undeclared (first use in this function)
    apachelib.c:374: error: (Each undeclared identifier is reported only once
    apachelib.c:374: error: for each function it appears in.)
    make: *** [apachelib.o] Error 1


    Happz
     
    Last edited: Jun 18, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. happz

    happz New Member

    same problem

    [root@srv0 mod_ruby-1.3.0]# make
    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c mod_ruby.c
    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c ruby_config.c
    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c apachelib.c
    apachelib.c: In function âap_chdir_fileâ:
    apachelib.c:149: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c:154: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c: In function ârb_init_apacheâ:
    apachelib.c:374: error: âOPT_INCNOEXECâ undeclared (first use in this function)
    apachelib.c:374: error: (Each undeclared identifier is reported only once
    apachelib.c:374: error: for each function it appears in.)
    make: *** [apachelib.o] Error 1
    __________________________________________________________________
    [root@srv0 mod_ruby-1.3.0]# make install
    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux/i386-linux -I/usr/include/httpd -I/usr/include/apr-1 -c apachelib.c
    apachelib.c: In function âap_chdir_fileâ:
    apachelib.c:149: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c:154: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result
    apachelib.c: In function ârb_init_apacheâ:
    apachelib.c:374: error: âOPT_INCNOEXECâ undeclared (first use in this function)
    apachelib.c:374: error: (Each undeclared identifier is reported only once
    apachelib.c:374: error: for each function it appears in.)
    make: *** [apachelib.o] Error 1


    Any ideas?

    Regards,
    happz

    NOTE::::::::::::::::::: I see i asked this question in the wrong section so MODS if you want to move it to the server config section please do. I normally go to ispconfig section by habbit. :)
     
    Last edited: Jun 18, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have not seen this problem yet. Maybe Falko has an idae what might cause this.

    I recommend that you leave ot the mod_ruby installation and continue with the next setp in the installation. You can install mod_ruby later even after ispconfig is installed.
     
  5. happz

    happz New Member

    Okay Till

    That sounds like a plan. I will tell you that I've installed centos many times and successfully. It seems to have happened since some recent updates were applied buy I cannot confirm that. I will wait to see where this goes.

    I do need to know if I should continue until I have ispconfig installed?

    Regards,
    happz
     
  6. happz

    happz New Member

Share This Page