Results 1 to 2 of 2

Thread: Compiling Apache and gcc3

  1. #1
    Associate
    Join Date
    Apr 2002
    Posts
    11

    Compiling Apache and gcc3

    Running Redhat 7.2
    I've got a copy of Apache 2.0.35. It was originally a binary distribution, but I need to re-compile it so I can get DSO support so I can throw mod_throttle in, and i'm getting errors, can anyone help?

    Here's a copy of the error: It compiles fine for awhile up to that, but barfs on that.

    make[2]: Entering directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
    /bin/sh /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/home/Nicolaus/inststf/httpd-2.0.35/os/unix -I/home/Nicolaus/inststf/httpd-2.0.35/server/mpm/prefork -I/home/Nicolaus/inststf/httpd-2.0.35/modules/http -I/home/Nicolaus/inststf/httpd-2.0.35/modules/proxy -I/home/Nicolaus/inststf/httpd-2.0.35/include -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/include -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/include -I/home/Nicolaus/inststf/httpd-2.0.35/modules/dav/main -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/include -export-dynamic -o htpasswd htpasswd.lo /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/libaprutil.la /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/libapr.la -lm -lcrypt -lnsl -ldl -lgdbm -ldb /usr/lib/libexpat.la
    /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
    htpasswd.o: In function `main':
    /home/Nicolaus/inststf/httpd-2.0.35/support/htpasswd.c:613: the use of `tmpnam' is dangerous, better use `mkstemp'
    collect2: ld returned 1 exit status
    make[2]: *** [htpasswd] Error 1
    make[2]: Leaving directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
    make: *** [all-recursive] Error 1

    Here's a copy of the offending line:
    tempfilename = tmpnam(tname_buf);

  2. #2
    Associate
    Join Date
    Apr 2002
    Posts
    11

    Re:Compiling Apache and gcc3

    Nevermind... after majorly screwing a couple things up, I decided to just wipe the thing and install RH7.3

Similar Threads

  1. re-compiling apache
    By pinehead in forum Linux - General Topics
    Replies: 1
    Last Post: 07-26-2004, 11:15 PM
  2. Installing gcc3.1 in mandrake 8.2
    By Braveo in forum Mandriva
    Replies: 0
    Last Post: 07-31-2002, 12:15 AM
  3. compiling
    By friskydrifter in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-23-2002, 02:55 AM
  4. Compiling PHP-4.2.1
    By Ashcrow in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 06-30-2002, 09:59 PM
  5. Kernel 2.4.18 and gcc3.0.4
    By trickster in forum Linux - General Topics
    Replies: 7
    Last Post: 03-09-2002, 09:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •