PDA

View Full Version : Apache on Mepis



Rob99
17-07-2006, 02:19 AM
Apache on Mepis, how is this installed.

I have downloaded, un-zipped
./Configure <--worked OK
make <--worked OK
make install <--didnt work :(

Jen
17-07-2006, 09:05 AM
What was the error returned on make install?

Rob99
17-07-2006, 10:45 AM
rob@1[src]$ make

===> regex
make[1]: Nothing to be done for `all'.
<=== regex
===> os/unix
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX os.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
ranlib libos.a
<=== os/unix
===> ap
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_execve.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_cpystrn.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_signal.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_slack.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_snprintf.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX ap_strings.c
rm -f libap.a
ar cr libap.a ap_execve.o ap_cpystrn.o ap_signal.o ap_slack.o ap_snprintf.o ap_strings.o
ranlib libap.a
<=== ap
===> main
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX alloc.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX buff.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_config.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_core.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_log.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_main.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_protocol.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_request.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX http_vhost.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX util.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX util_date.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX util_script.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX util_uri.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX util_md5.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX md5c.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX rfc1413.c
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX fnmatch.c
rm -f libmain.a
ar cr libmain.a alloc.o buff.o http_config.o http_core.o http_log.o http_main.o http_protocol.o http_request.o http_vhost.o util.o util_date.o util_script.o util_uri.o util_md5.o md5c.o rfc1413.o fnmatch.o
ranlib libmain.a
<=== main
===> modules
===> modules/standard
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_env.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_log_config.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_mime.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_negotiation.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_include.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_autoindex.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_dir.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_cgi.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_asis.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_imap.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_actions.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_userdir.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_alias.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_access.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_auth.c
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o
ranlib libstandard.a
<=== modules/standard
<=== modules
gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX buildmark.c
gcc -DLINUX=2 -DUSE_HSREGEX \
-o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt

rob@1[src]$ make install
++ Sorry, no installation procedure available at this level.
++ Go to the parent directory for an 'install' target.
rob@1[src]$ cd '/home/rob/apache_1.3.0/'
rob@1[apache_1.3.0]$ make install
make: *** No rule to make target `install'. Stop.
rob@1[apache_1.3.0]$

Jen
17-07-2006, 11:06 AM
Hmm ... think it might be best if you follow the guide here (http://httpd.apache.org/docs/2.2/install.html) on how to compile and install apache. You have to specify several options when running ./configure.

It would be more preferable to use the Mepis package manager and download a precompiled binary for apache rather than installing from source. Makes it easier to update as well.


[edit]Just noticed you have downloaded an older version of apache 1.3. The link above is for the latest version which is 2.2. You can find the install guide for 1.3 here (http://httpd.apache.org/docs/1.3/install.html).

Any reason for installing 1.3 instead of the latest version?