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

Kompilacja Apache Z Cpanel

Polecane posty

Próbowałem skompilować Apache przez cPanel ale coś nie działa... Nie wiem czemu...

Mój system to Trustix 2.0 a cPanel to WHM 10.8.0 cPanel 10.8.1-R113.

Building Apache Config.....Done
Downloading and compiling apache+modules....

Verifying archive integrity... All good.
Uncompressing buildapache................................................................................................................................
Verifying compiler and libs....Verifying installation....Done
Done
********************************
This is buildapache version 10.8.1
********************************
buildapache configured from Web Host Manager
Apache configured from Web Host Manager!
Untarring expat...Done

configure expat-1.95.6...(--prefix=/usr).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make -j 1 expat-1.95.6....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make expat-1.95.6...(install).... . . Done

Untarring apache....
Suexec Standard Patch
patching file src/support/suexec.c
patching file src/support/suexec.h
Suexec MailMan Patch
patching file src/support/suexec.c
Fileprotect Suexec Standard Patch
patching file src/support/suexec.c
Hunk #1 succeeded at 224 (offset -44 lines).
Hunk #3 succeeded at 556 (offset -44 lines).
HTTPS var Standard Patch
patching file src/support/suexec.c
Hunk #1 succeeded at 131 (offset -43 lines).

configure apache_1.3.34...(--enable-shared=max).... . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

patching file src/include/httpd.h
Hunk #1 succeeded at 272 (offset -44 lines).
Untarring modssl....
patching file pkg.sslmod/libssl.module

configure mod_ssl-2.8.25-1.3.34...(--with-apache=../apache_1.3.34 --with-ssl=/usr --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

configure apache_1.3.34...(--enable-module=ssl --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html).... . . . . . . . . . . . . . . . . . . . . . Done

make -j 1 apache_1.3.34....... Done

make[1]: *** [build-std] Error 2
make: *** [build] Error 2

make apache_1.3.34...(install).... Done

make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [install-all] Error 2
/etc/init.d/httpd start: httpd could not be started
Setting /home permissions to 0711......Done
Setting permissions for........Done
This script will install Postgres 7.3.x or later
If you have an older version installed you wil need to
Dump your databases to a file and then restore them
after the install as 7.3.x is not backwards compatible.
If you do not have any databases, you can just run:
 mv /var/lib/pgsql /var/lib/pgsql.old
 /sbin/service postgresql stop
 /sbin/service postgresql start
to force creating a 7.3.x style setup.  Do not do this if
you have databases that you wish to keep!

Are you sure you wish to proceed? [FAILED]
No database found, please run initdb as postgres user:
su - postgres
/usr/bin/initdb --pwprompt --pgdata=/var/lib/pgsql/data
PostgreSQL: [FAILED]
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!
You should now configure postgresql from WHM!
Untarring php....Done
Applying CURL curl_formfree patch
patching file ext/curl/curl.c
Hunk #1 succeeded at 639 (offset 94 lines).
Hunk #2 succeeded at 904 (offset 19 lines).

configure php-4.4.2...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . Done

configure: error: Aborting

make -j 1 php-4.4.2...(clean).... Done

make -j 1 php-4.4.2....... Done

make php-4.4.2...(install).... Done

/etc/init.d/httpd start: httpd could not be started

configure php-4.4.2...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

make -j 1 php-4.4.2...(clean).... Done

make -j 1 php-4.4.2....... Done

make php-4.4.2...(install).... Done

initfpsuexec: using apache 1.x support
PHP version file has been updated to 
Executing /scripts/postbuildapache (if exists)...Done
/etc/init.d/httpd start: httpd could not be started

Attempting to restart httpd 	

Waiting for httpd to restart....
.
.
.
.
.
.
.
.
.
.
finished.




httpd status




httpd has failed, please contact the sysadmin.







Build Complete

Proszę o pomoc ;)

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ć  

×