You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alexander Newald <al...@newald.de> on 2004/10/11 17:22:22 UTC

[users@httpd] Compile errors

Hello,

I tried to install the latest version (2.0.52) but get a compile error. The 
same configuration worked with the previous version?

my config:

./configure                                                             \
        --prefix=/usr/local/apache2                                     \
        --sysconfdir=/etc/httpd                                         \
        --disable-actions                                               \
        --disable-asis                                                  \
        --disable-imap                                                  \
        --disable-userdir                                               \
        --enable-auth-anon                                              \
        --enable-cern-meta                                              \
        --enable-logio                                                  \
        --enable-rewrite                                                \
        --enable-speling                                                \
        --enable-unique-id                                              \
        --enable-suexec                                                 \
        --with-suexec-caller=wwwrun                                     \
        --with-suexec-userdir=/                                         \
        --with-suexec-docroot=/home                                     \
        --with-mpm=prefork

The error:

make[1]: Leaving directory `/home/admin/INSTALL/httpd-2.0.52/support'
make[1]: Entering directory `/home/admin/INSTALL/httpd-2.0.52'
/home/admin/INSTALL/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile 
gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
 -D_SVID_SO
URCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr/include 
 -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/include
-I. -I/home/admin/INSTALL/httpd-2.0.52/os/unix -I/home/admin/INSTALL/httpd-2.0.52/server/mpm/prefork 
 -I/home/admin/INSTALL/httpd-2.0.52/modules/http -I/home/admin/INST
ALL/httpd-2.0.52/modules/filters -I/home/admin/INSTALL/httpd-2.0.52/modules/proxy 
 -I/home/admin/INSTALL/httpd-2.0.52/include -I/home/admin/INSTALL/httpd-2.0.52/modules
/generators -I/home/admin/INSTALL/httpd-2.0.52/modules/dav/main -prefer-non-pic 
 -static -c modules.c && touch modules.lo
/home/admin/INSTALL/httpd-2.0.52/srclib/apr/libtool --silent --mode=link 
cc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
 -D_SVID_SOURC
E -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr/include 
 -I/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/include -I.
 -I/home/admin/INSTALL/httpd-2.0.52/os/unix -I/home/admin/INSTALL/httpd-2.0.52/server/mpm/prefork 
 -I/home/admin/INSTALL/httpd-2.0.52/modules/http -I/home/admin/INSTALL
/httpd-2.0.52/modules/filters -I/home/admin/INSTALL/httpd-2.0.52/modules/proxy 
 -I/home/admin/INSTALL/httpd-2.0.52/include -I/home/admin/INSTALL/httpd-2.0.52/modules/ge
nerators -I/home/admin/INSTALL/httpd-2.0.52/modules/dav/main -export-dynamic 
    -o httpd  modules.lo  modules/aaa/mod_access.la modules/aaa/mod_auth.la 
modules/aaa/mod
_auth_anon.la modules/filters/mod_include.la 
modules/loggers/mod_log_config.la modules/loggers/mod_logio.la 
modules/metadata/mod_env.la modules/metadata/mod_cern_meta.
la modules/metadata/mod_unique_id.la modules/metadata/mod_setenvif.la 
modules/http/mod_http.la modules/http/mod_mime.la 
modules/generators/mod_status.la modules/genera
tors/mod_autoindex.la modules/generators/mod_suexec.la 
modules/generators/mod_cgi.la modules/mappers/mod_negotiation.la 
modules/mappers/mod_dir.la modules/mappers/mod_
speling.la modules/mappers/mod_alias.la modules/mappers/mod_rewrite.la 
modules/mappers/mod_so.la server/mpm/prefork/libprefork.la server/libmain.la 
os/unix/libos.la  /
home/admin/INSTALL/httpd-2.0.52/srclib/pcre/libpcre.la 
/home/admin/INSTALL/httpd-2.0.52/srclib/apr-util/libaprutil-0.la -lgdbm -ldb-4.1 
 -lexpat /home/admin/INSTALL/htt
pd-2.0.52/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
server/.libs/libmain.al(main.lo): In function `main':
/home/admin/INSTALL/httpd-2.0.52/server/main.c:576: undefined reference to 
`ap_prelinked_modules'
/home/admin/INSTALL/httpd-2.0.52/server/main.c:576: undefined reference to 
`ap_prelinked_modules'
/home/admin/INSTALL/httpd-2.0.52/server/main.c:617: undefined reference to 
`ap_mpm_run'
server/.libs/libmain.al(main.lo): In function `suck_in_APR':
/home/admin/INSTALL/httpd-2.0.52/server/main.c:662: undefined reference to 
`ap_ugly_hack'
server/.libs/libmain.al(protocol.lo): In function `read_request_line':
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:630: undefined reference 
to `ap_method_number_of'
server/.libs/libmain.al(protocol.lo): In function `ap_read_request':
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:857: undefined reference 
to `ap_make_method_list'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:925: undefined reference 
to `ap_send_error_response'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:984: undefined reference 
to `ap_send_error_response'
/home/admin/INSTALL/httpd-2.0.52/server/protocol.c:991: undefined reference 
to `ap_http_input_filter_han
.
.
.
os/unix/.libs/libos.al(unixd.lo): In function `unixd_accept':
/home/admin/INSTALL/httpd-2.0.52/os/unix/unixd.c:585: undefined reference to 
`ap_server_conf'
/home/admin/INSTALL/httpd-2.0.52/os/unix/unixd.c:568: undefined reference to 
`ap_server_conf'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/admin/INSTALL/httpd-2.0.52'
make: *** [all-recursive] Error 1


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Suexec

Posted by Joshua Slive <js...@gmail.com>.
On Fri, 15 Oct 2004 15:18:42 +0400, benkevich_a <an...@aprec.ru> wrote:
> Please help me!
> Can you give me the sample suexec and virtual host
> configuration?
> How did you done ./cofigure --suexec-*?
> And how did you wrote your vhost configuration proceeding from it?

You don't mention what version of apache.  There are some good suexec
tutorials for apache 1.3 available in the usual way:
http://www.google.com/search?q=suexec++tutorial

For 2.0, you can start with the 1.3 tutorials, but be sure to
carefully read the 2.0 docs to find the changes.  (The most important
change is the SuexecUserGroup directive which replaces User and Group
inside <VirtualHost>.)

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Suexec

Posted by benkevich_a <an...@aprec.ru>.
Please help me!
Can you give me the sample suexec and virtual host
configuration?
How did you done ./cofigure --suexec-*?
And how did you wrote your vhost configuration proceeding from it?


Thanks Before,
Anton


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org