Skocz do zawartości
Zaloguj się, aby obserwować  
Gość thetox

Instalacja apache ze źródeł

Polecane posty

Gość thetox

Podczas instalacji apache ze źródeł wywala mi taki błąd

 

make[1]: Leaving directory `/root/httpd-2.2.15'

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Podaj trochę więcej, bo to, że opuszczasz katalog /root/httpd-2.2.15 nic nam nie mówi.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość thetox

Jak wklepuje: make install

 

 

 /usr/bin/install -c -m 644 aprutil.exp /etc/apache2/lib
/usr/bin/install -c -m 755 apu-config.out /etc/apache2/bin/apu-1-config
make[2]: Leaving directory `/root/httpd-2.2.15/srclib/apr-util'
Making install in pcre
make[2]: Entering directory `/root/httpd-2.2.15/srclib/pcre'
make[3]: Entering directory `/root/httpd-2.2.15/srclib/pcre'
make[3]: Leaving directory `/root/httpd-2.2.15/srclib/pcre'
make[2]: Leaving directory `/root/httpd-2.2.15/srclib/pcre'
make[2]: Entering directory `/root/httpd-2.2.15/srclib'
make[2]: Leaving directory `/root/httpd-2.2.15/srclib'
make[1]: Leaving directory `/root/httpd-2.2.15/srclib'
Making install in os
make[1]: Entering directory `/root/httpd-2.2.15/os'
Making install in unix
make[2]: Entering directory `/root/httpd-2.2.15/os/unix'
make[3]: Entering directory `/root/httpd-2.2.15/os/unix'
make[3]: Leaving directory `/root/httpd-2.2.15/os/unix'
make[2]: Leaving directory `/root/httpd-2.2.15/os/unix'
make[2]: Entering directory `/root/httpd-2.2.15/os'
make[2]: Leaving directory `/root/httpd-2.2.15/os'
make[1]: Leaving directory `/root/httpd-2.2.15/os'
Making install in server
make[1]: Entering directory `/root/httpd-2.2.15/server'
Making install in mpm
make[2]: Entering directory `/root/httpd-2.2.15/server/mpm'
Making install in prefork
make[3]: Entering directory `/root/httpd-2.2.15/server/mpm/prefork'
make[4]: Entering directory `/root/httpd-2.2.15/server/mpm/prefork'
make[4]: Leaving directory `/root/httpd-2.2.15/server/mpm/prefork'
make[3]: Leaving directory `/root/httpd-2.2.15/server/mpm/prefork'
make[3]: Entering directory `/root/httpd-2.2.15/server/mpm'
make[3]: Leaving directory `/root/httpd-2.2.15/server/mpm'
make[2]: Leaving directory `/root/httpd-2.2.15/server/mpm'
make[2]: Entering directory `/root/httpd-2.2.15/server'
make[2]: Leaving directory `/root/httpd-2.2.15/server'
make[1]: Leaving directory `/root/httpd-2.2.15/server'
Making install in modules
make[1]: Entering directory `/root/httpd-2.2.15/modules'
Making install in aaa
make[2]: Entering directory `/root/httpd-2.2.15/modules/aaa'
make[3]: Entering directory `/root/httpd-2.2.15/modules/aaa'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/aaa'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/aaa'
Making install in filters
make[2]: Entering directory `/root/httpd-2.2.15/modules/filters'
make[3]: Entering directory `/root/httpd-2.2.15/modules/filters'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/filters'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/filters'
Making install in loggers
make[2]: Entering directory `/root/httpd-2.2.15/modules/loggers'
make[3]: Entering directory `/root/httpd-2.2.15/modules/loggers'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/loggers'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/loggers'
Making install in metadata
make[2]: Entering directory `/root/httpd-2.2.15/modules/metadata'
make[3]: Entering directory `/root/httpd-2.2.15/modules/metadata'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/metadata'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/metadata'
Making install in http
make[2]: Entering directory `/root/httpd-2.2.15/modules/http'
make[3]: Entering directory `/root/httpd-2.2.15/modules/http'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/http'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/http'
Making install in generators
make[2]: Entering directory `/root/httpd-2.2.15/modules/generators'
make[3]: Entering directory `/root/httpd-2.2.15/modules/generators'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/generators'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/generators'
Making install in mappers
make[2]: Entering directory `/root/httpd-2.2.15/modules/mappers'
make[3]: Entering directory `/root/httpd-2.2.15/modules/mappers'
make[3]: Leaving directory `/root/httpd-2.2.15/modules/mappers'
make[2]: Leaving directory `/root/httpd-2.2.15/modules/mappers'
make[2]: Entering directory `/root/httpd-2.2.15/modules'
make[2]: Leaving directory `/root/httpd-2.2.15/modules'
make[1]: Leaving directory `/root/httpd-2.2.15/modules'
Making install in support
make[1]: Entering directory `/root/httpd-2.2.15/support'
make[2]: Entering directory `/root/httpd-2.2.15/support'
make[2]: Leaving directory `/root/httpd-2.2.15/support'
make[1]: Leaving directory `/root/httpd-2.2.15/support'
make[1]: Entering directory `/root/httpd-2.2.15'
Installing configuration files
[PRESERVING EXISTING HTDOCS SUBDIR: /etc/apache2/htdocs]
[PRESERVING EXISTING ERROR SUBDIR: /etc/apache2/error]
[PRESERVING EXISTING ICONS SUBDIR: /etc/apache2/icons]
[PRESERVING EXISTING CGI SUBDIR: /etc/apache2/cgi-bin]
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/root/httpd-2.2.15'
root@erobb:~/httpd-2.2.15#

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Ja tu nie widzę błędu

 

wydałeś polecenie "./configure --prefix=/ścieżka/gdzie/chcesz/zainstalować/serwer" ? (oczywiście przed "make" i "make install"

 

następnie:

 

cd /ścieżka/do/apacza

cd apache2

cd bin

./apachectl start

 

 

i co?

Edytowano przez Kolopik (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość thetox

Dałem tak

./configure --prefix=/etc/apache2

 

i potem make i wynik ten co wyżej a po polecaniu make install to co poniżej:

 

 

/usr/bin/install -c -m 644 expat.h /etc/include
make[4]: Leaving directory `/root/httpd-2.2.15/srclib/apr-util/xml/expat/lib'
make[3]: Leaving directory `/root/httpd-2.2.15/srclib/apr-util/xml/expat'
/bin/sh /root/httpd-2.2.15/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /etc/lib
libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /etc/apache2/lib
make[2]: *** [install] Error 1
make[2]: Leaving directory `/root/httpd-2.2.15/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.2.15/srclib'
make: *** [install-recursive] Error 1
root@erobb:~/httpd-2.2.15#

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Jak już to apache2

 

Chyba mi się trochę wymieszało ;> Jak ja kompilowałem apacza to włąsnie miałem problem z samym httpd ;)

sorry ;d

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość thetox

Bład make[1]: Leaving directory `/root/httpd-2.2.16'

 

Wyrzuca po wpisaniu make install

 

root@ozet:~/httpd-2.2.16# make install
Making install in srclib
make[1]: Entering directory `/root/httpd-2.2.16/srclib'
Making install in pcre
make[2]: Entering directory `/root/httpd-2.2.16/srclib/pcre'
make[3]: Entering directory `/root/httpd-2.2.16/srclib/pcre'
make[3]: Leaving directory `/root/httpd-2.2.16/srclib/pcre'
make[2]: Leaving directory `/root/httpd-2.2.16/srclib/pcre'
make[2]: Entering directory `/root/httpd-2.2.16/srclib'
make[2]: Leaving directory `/root/httpd-2.2.16/srclib'
make[1]: Leaving directory `/root/httpd-2.2.16/srclib'
Making install in os
make[1]: Entering directory `/root/httpd-2.2.16/os'
Making install in unix
make[2]: Entering directory `/root/httpd-2.2.16/os/unix'
make[3]: Entering directory `/root/httpd-2.2.16/os/unix'
make[3]: Leaving directory `/root/httpd-2.2.16/os/unix'
make[2]: Leaving directory `/root/httpd-2.2.16/os/unix'
make[2]: Entering directory `/root/httpd-2.2.16/os'
make[2]: Leaving directory `/root/httpd-2.2.16/os'
make[1]: Leaving directory `/root/httpd-2.2.16/os'
Making install in server
make[1]: Entering directory `/root/httpd-2.2.16/server'
Making install in mpm
make[2]: Entering directory `/root/httpd-2.2.16/server/mpm'
Making install in prefork
make[3]: Entering directory `/root/httpd-2.2.16/server/mpm/prefork'
make[4]: Entering directory `/root/httpd-2.2.16/server/mpm/prefork'
make[4]: Leaving directory `/root/httpd-2.2.16/server/mpm/prefork'
make[3]: Leaving directory `/root/httpd-2.2.16/server/mpm/prefork'
make[3]: Entering directory `/root/httpd-2.2.16/server/mpm'
make[3]: Leaving directory `/root/httpd-2.2.16/server/mpm'
make[2]: Leaving directory `/root/httpd-2.2.16/server/mpm'
make[2]: Entering directory `/root/httpd-2.2.16/server'
make[2]: Leaving directory `/root/httpd-2.2.16/server'
make[1]: Leaving directory `/root/httpd-2.2.16/server'
Making install in modules
make[1]: Entering directory `/root/httpd-2.2.16/modules'
Making install in aaa
make[2]: Entering directory `/root/httpd-2.2.16/modules/aaa'
make[3]: Entering directory `/root/httpd-2.2.16/modules/aaa'
mkdir /usr/local/apache2
mkdir /usr/local/apache2/modules
make[3]: Leaving directory `/root/httpd-2.2.16/modules/aaa'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/aaa'
Making install in filters
make[2]: Entering directory `/root/httpd-2.2.16/modules/filters'
make[3]: Entering directory `/root/httpd-2.2.16/modules/filters'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/filters'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/filters'
Making install in loggers
make[2]: Entering directory `/root/httpd-2.2.16/modules/loggers'
make[3]: Entering directory `/root/httpd-2.2.16/modules/loggers'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/loggers'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/loggers'
Making install in metadata
make[2]: Entering directory `/root/httpd-2.2.16/modules/metadata'
make[3]: Entering directory `/root/httpd-2.2.16/modules/metadata'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/metadata'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/metadata'
Making install in http
make[2]: Entering directory `/root/httpd-2.2.16/modules/http'
make[3]: Entering directory `/root/httpd-2.2.16/modules/http'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/http'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/http'
Making install in generators
make[2]: Entering directory `/root/httpd-2.2.16/modules/generators'
make[3]: Entering directory `/root/httpd-2.2.16/modules/generators'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/generators'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/generators'
Making install in mappers
make[2]: Entering directory `/root/httpd-2.2.16/modules/mappers'
make[3]: Entering directory `/root/httpd-2.2.16/modules/mappers'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/mappers'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/mappers'
make[2]: Entering directory `/root/httpd-2.2.16/modules'
make[2]: Leaving directory `/root/httpd-2.2.16/modules'
make[1]: Leaving directory `/root/httpd-2.2.16/modules'
Making install in support
make[1]: Entering directory `/root/httpd-2.2.16/support'
make[2]: Entering directory `/root/httpd-2.2.16/support'
mkdir /usr/local/apache2/bin
make[2]: Leaving directory `/root/httpd-2.2.16/support'
make[1]: Leaving directory `/root/httpd-2.2.16/support'
make[1]: Entering directory `/root/httpd-2.2.16'
Installing configuration files
mkdir /usr/local/apache2/conf
mkdir /usr/local/apache2/conf/extra
mkdir /usr/local/apache2/conf/original
mkdir /usr/local/apache2/conf/original/extra
Installing HTML documents
mkdir /usr/local/apache2/htdocs
Installing error documents
mkdir /usr/local/apache2/error
Installing icons
mkdir /usr/local/apache2/icons
mkdir /usr/local/apache2/logs
Installing CGIs
mkdir /usr/local/apache2/cgi-bin
Installing header files
mkdir /usr/local/apache2/include
Installing build system files
mkdir /usr/local/apache2/build
Installing man pages and online manual
mkdir /usr/local/apache2/man
mkdir /usr/local/apache2/man/man1
mkdir /usr/local/apache2/man/man8
mkdir /usr/local/apache2/manual
make[1]: Leaving directory `/root/httpd-2.2.16'
root@ozet:~/httpd-2.2.16# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
make set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ozet:~/httpd-2.2.16# apt-get install make1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package make1
root@ozet:~/httpd-2.2.16# apt-get install make1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package make1
root@ozet:~/httpd-2.2.16# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ozet:~/httpd-2.2.16# make install
Making install in srclib
make[1]: Entering directory `/root/httpd-2.2.16/srclib'
Making install in pcre
make[2]: Entering directory `/root/httpd-2.2.16/srclib/pcre'
make[3]: Entering directory `/root/httpd-2.2.16/srclib/pcre'
make[3]: Leaving directory `/root/httpd-2.2.16/srclib/pcre'
make[2]: Leaving directory `/root/httpd-2.2.16/srclib/pcre'
make[2]: Entering directory `/root/httpd-2.2.16/srclib'
make[2]: Leaving directory `/root/httpd-2.2.16/srclib'
make[1]: Leaving directory `/root/httpd-2.2.16/srclib'
Making install in os
make[1]: Entering directory `/root/httpd-2.2.16/os'
Making install in unix
make[2]: Entering directory `/root/httpd-2.2.16/os/unix'
make[3]: Entering directory `/root/httpd-2.2.16/os/unix'
make[3]: Leaving directory `/root/httpd-2.2.16/os/unix'
make[2]: Leaving directory `/root/httpd-2.2.16/os/unix'
make[2]: Entering directory `/root/httpd-2.2.16/os'
make[2]: Leaving directory `/root/httpd-2.2.16/os'
make[1]: Leaving directory `/root/httpd-2.2.16/os'
Making install in server
make[1]: Entering directory `/root/httpd-2.2.16/server'
Making install in mpm
make[2]: Entering directory `/root/httpd-2.2.16/server/mpm'
Making install in prefork
make[3]: Entering directory `/root/httpd-2.2.16/server/mpm/prefork'
make[4]: Entering directory `/root/httpd-2.2.16/server/mpm/prefork'
make[4]: Leaving directory `/root/httpd-2.2.16/server/mpm/prefork'
make[3]: Leaving directory `/root/httpd-2.2.16/server/mpm/prefork'
make[3]: Entering directory `/root/httpd-2.2.16/server/mpm'
make[3]: Leaving directory `/root/httpd-2.2.16/server/mpm'
make[2]: Leaving directory `/root/httpd-2.2.16/server/mpm'
make[2]: Entering directory `/root/httpd-2.2.16/server'
make[2]: Leaving directory `/root/httpd-2.2.16/server'
make[1]: Leaving directory `/root/httpd-2.2.16/server'
Making install in modules
make[1]: Entering directory `/root/httpd-2.2.16/modules'
Making install in aaa
make[2]: Entering directory `/root/httpd-2.2.16/modules/aaa'
make[3]: Entering directory `/root/httpd-2.2.16/modules/aaa'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/aaa'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/aaa'
Making install in filters
make[2]: Entering directory `/root/httpd-2.2.16/modules/filters'
make[3]: Entering directory `/root/httpd-2.2.16/modules/filters'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/filters'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/filters'
Making install in loggers
make[2]: Entering directory `/root/httpd-2.2.16/modules/loggers'
make[3]: Entering directory `/root/httpd-2.2.16/modules/loggers'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/loggers'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/loggers'
Making install in metadata
make[2]: Entering directory `/root/httpd-2.2.16/modules/metadata'
make[3]: Entering directory `/root/httpd-2.2.16/modules/metadata'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/metadata'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/metadata'
Making install in http
make[2]: Entering directory `/root/httpd-2.2.16/modules/http'
make[3]: Entering directory `/root/httpd-2.2.16/modules/http'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/http'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/http'
Making install in generators
make[2]: Entering directory `/root/httpd-2.2.16/modules/generators'
make[3]: Entering directory `/root/httpd-2.2.16/modules/generators'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/generators'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/generators'
Making install in mappers
make[2]: Entering directory `/root/httpd-2.2.16/modules/mappers'
make[3]: Entering directory `/root/httpd-2.2.16/modules/mappers'
make[3]: Leaving directory `/root/httpd-2.2.16/modules/mappers'
make[2]: Leaving directory `/root/httpd-2.2.16/modules/mappers'
make[2]: Entering directory `/root/httpd-2.2.16/modules'
make[2]: Leaving directory `/root/httpd-2.2.16/modules'
make[1]: Leaving directory `/root/httpd-2.2.16/modules'
Making install in support
make[1]: Entering directory `/root/httpd-2.2.16/support'
make[2]: Entering directory `/root/httpd-2.2.16/support'
make[2]: Leaving directory `/root/httpd-2.2.16/support'
make[1]: Leaving directory `/root/httpd-2.2.16/support'
make[1]: Entering directory `/root/httpd-2.2.16'
Installing configuration files
[PRESERVING EXISTING HTDOCS SUBDIR: /usr/local/apache2/htdocs]
[PRESERVING EXISTING ERROR SUBDIR: /usr/local/apache2/error]
[PRESERVING EXISTING ICONS SUBDIR: /usr/local/apache2/icons]
[PRESERVING EXISTING CGI SUBDIR: /usr/local/apache2/cgi-bin]
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/root/httpd-2.2.16'
root@ozet:~/httpd-2.2.16#

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Ehh chłopie, apache sie zainstalowało, nie ma żadnego błędu... błąd = error... a takowego nie widać (oprócz literówki z make1)

W katalogu /usr/local/apache2 masz zainstalowany funkcjonalny serwer www.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się

Zaloguj się, aby obserwować  

×