The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache Build Problem

Discussion in 'EasyApache' started by brianteeter, Feb 15, 2002.

  1. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Any ideas? I've installed every RPM for ncurses I can find, but nothing seems to fix this.

    Thanks in advance,

    Brian

    root@assortedinternet2 [~/buildapache]# ./buildapache
    make: Entering directory `/root/buildapache/lxdialog'
    rm -f core *.o *~ lxdialog
    make: Leaving directory `/root/buildapache/lxdialog'
    make: Entering directory `/root/buildapache/lxdialog'
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o lxdialog.o lxdialog.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o checklist.o checklist.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o menubox.o menubox.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o textbox.o textbox.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o yesno.o yesno.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o inputbox.o inputbox.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o util.o util.c
    gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/incl
    ude/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o msgbox.o msgbox.c
    gcc -s -L . lxdialog.o checklist.o menubox.o textbox.o yesno.o inputbox.o
    util.o msgbox.o -lncurses -o lxdialog
    /usr/bin/ld: cannot find -lncurses
    collect2: ld returned 1 exit status
    make: *** [lxdialog] Error 1
    make: Leaving directory `/root/buildapache/lxdialog'
     
  2. jumpdomain

    jumpdomain Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Don't really know if it makes a difference... However, you can try installing it with:
    sh buildapache
     
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Try grabbing the ncurses source from freshmeat and/or sourceforge, compile it by hand.....

    don't forget to run ldconfig afterwards, in case any thing was altered along those lines.

    g00d luck
     
  4. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Next problem...

    Apache builds now, but not all the modules are there, particularly mod_so isn't in libexec. This is all I have:

    httpd.exp libphp4.so* mod_log_bytes.so* mod_rewrite.so*

    On the previous server that I setup there were:

    httpd.exp libphp4.so* mod_auth_mysql.so* mod_expires.so* mod_log_bytes.so*
    ../ libdav.so* mod_attach.so* mod_bwlimited.so* mod_jk.so* mod_rewrite.so*

    so something is missing...

    Any ideas?

    Thanks for the help with ncurses!

    Brian
     
Loading...

Share This Page