FreeBSD Errore Installare Apache Freebsd 9.1

Stato
Discussione chiusa ad ulteriori risposte.

Rockk

Utente Gold
25 Marzo 2012
416
59
75
234
Ho seguito questa guida
http://www.inforge.net/community/me...cato-senza-il-bisogno-di-host-aggiuntivi.html
ma al make install clean vengono i seguenti errori


/root # cd /usr/ports/lang/php5-extensions
/usr/ports/lang/php5-extensions # make install clean
Shared object "libpcre.so.1" not found, required by "httpd"
"/usr/ports/Mk/bsd.php.mk", line 66: warning: "/usr/local/sbin/httpd -V | /usr/bin/grep threaded" returned non-zero status
Shared object "libpcre.so.1" not found, required by "httpd"
"/usr/ports/Mk/bsd.php.mk", line 66: warning: "/usr/local/sbin/httpd -V | /usr/bin/grep threaded" returned non-zero status
===> php5-extensions-1.7 depends on file: /usr/local/include/php/main/php.h - not found
===> Verifying install for /usr/local/include/php/main/php.h in /usr/ports/lang/php5
Shared object "libpcre.so.1" not found, required by "httpd"
Shared object "libpcre.so.1" not found, required by "httpd"
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"/usr/ports/Mk/bsd.apache.mk", line 284: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
===> php5-5.4.17 is marked as broken: : Error from bsd.apache.mk. apache is installed (or APACHE_PORT is defined) and port requires apache22 at least.
*** [install] Error code 1


Stop in /usr/ports/lang/php5.
*** [build-depends] Error code 1


Stop in /usr/ports/lang/php5-extensions.
*** [install] Error code 1


Stop in /usr/ports/lang/php5-extensions.
root@ks3274150:/usr/ports/lang/php5-extensions # cd /usr/ports/lang/php5-extensions
root@ks3274150:/usr/ports/lang/php5-extensions # make install clean
Shared object "libpcre.so.1" not found, required by "httpd"
"/usr/ports/Mk/bsd.php.mk", line 66: warning: "/usr/local/sbin/httpd -V | /usr/bin/grep threaded" returned non-zero status
Shared object "libpcre.so.1" not found, required by "httpd"
"/usr/ports/Mk/bsd.php.mk", line 66: warning: "/usr/local/sbin/httpd -V | /usr/bin/grep threaded" returned non-zero status
===> php5-extensions-1.7 depends on file: /usr/local/include/php/main/php.h - not found
===> Verifying install for /usr/local/include/php/main/php.h in /usr/ports/lang/php5
Shared object "libpcre.so.1" not found, required by "httpd"
Shared object "libpcre.so.1" not found, required by "httpd"
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"/usr/ports/Mk/bsd.apache.mk", line 284: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
===> php5-5.4.17 is marked as broken: : Error from bsd.apache.mk. apache is installed (or APACHE_PORT is defined) and port requires apache22 at least.
*** [install] Error code 1


Stop in /usr/ports/lang/php5.
*** [build-depends] Error code 1


Stop in /usr/ports/lang/php5-extensions.
*** [install] Error code 1


Stop in /usr/ports/lang/php5-extensions.

Come faccio a risolverlo?
 
Ultima modifica:
Ciao,

non ti trova quella libreria, la libpcre, che funge da dipendenza per alcune applicazioni da installare.

Dai un'occhiata qui se non riesci a fare una ricerca abbastanza esaustiva:

- Missing /usr/local/lib/libpcre.so.1 [SOLVED] - PC-BSD Forums
- Is libpcre.so.1 required? - The FreeBSD Forums
- freebsd-questions - pcre library linking issues

Considera che nelle discussioni che ti ho linkato non si parla direttamente di apache ma di altri applicativi in cui la libreria che non hai e' un requisito fondamentale al fine di portare a termine correttamente l'installazione, pertanto fregatene se leggerai altre robe e cerca di capire solamente come poter ovviare al problema che, ti ricordo essere, quella libreria mancante! O almeno uno, appena risolvi questo, se esce dell'altro vediamo!

Se hai ancora problemi dai un'occhiata anche:

qui: - How to Install Apache, MySQL, PHP, and phpMyAdmin on FreeBSD | iceflatline
e qui: - FAMP ? Installing Apache2.4, MySQL, PHP on FreeBSD-9.1 | Free and Open Source Software Knowledge Base

Ciao, ciao o/
 
Stato
Discussione chiusa ad ulteriori risposte.