Jump to content
La fin ?! Elle est là ! ×
×
×
  • Create New...
  • 0

Installation apache


Tednight44
 Share

Question

Bien le bonsoir a la communauté, comment aller vous en ce weekend de St Valentin ? je ne m'appel pas Valentin donc je passe ^^

 

Alors, pour commencer je tourne sur un dédié Kimsufi, en files 2014 / client 2014.

Je souhaiterais installé un site internet sur mon serveur, donc j'ai suivi plusieurs tutos sur le net dont ceux de FE.

Je suis en conflits sur putty avec le fameux "perl", voici ce que j'obtiens précisément :

 

[email protected]:/usr/metin2 # cd /usr/ports/www/apache22
[email protected]:/usr/ports/www/apache22 # make install

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                     H E A D S - U P
2014-07-13:
 The default version was changed from www/apache22 to www/apache24,
 pre-build apache modules will also reflect this!

 In case ports are build by yourself and apache22 is required
 use the following command to keep apache22 as default

 echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===>  Found saved configuration for apache22-2.2.31
===>   apache22-2.2.31 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by apache22-2.2.31 for building
===>  Extracting for apache22-2.2.31
=> SHA256 Checksum OK for apache22/httpd-2.2.31.tar.bz2.
/usr/bin/find /usr/ports/www/apache22/work/httpd-2.2.31 -type f \( -name 'NWGNU*' -o -name '*.ds?' -o -name '*.dep' -o -name '*.mak' -o -name '*.win' -o -name '*.vbs' -o -name '*.wsf' \) -delete
/bin/mv /usr/ports/www/apache22/work/httpd-2.2.31/configure /usr/ports/www/apache22/work/httpd-2.2.31/configure.upstream
/bin/rmdir /usr/ports/www/apache22/work/httpd-2.2.31/docs/manual/style/xsl/util
/bin/rmdir /usr/ports/www/apache22/work/httpd-2.2.31/docs/manual/style/xsl
/bin/rmdir /usr/ports/www/apache22/work/httpd-2.2.31/docs/manual/style/lang
===>  Patching for apache22-2.2.31
===>  Applying FreeBSD patches for apache22-2.2.31
/usr/bin/sed -i.bak -e 's," PLATFORM ",FreeBSD,' /usr/ports/www/apache22/work/httpd-2.2.31/server/core.c
/usr/bin/sed -i.bak -e 's|logs/error_log|/var/log/httpd-error.log|'  /usr/ports/www/apache22/work/httpd-2.2.31/include/httpd.h
/usr/bin/sed -i.bak -e 's|perlbin=.*|perlbin=/usr/local/bin/perl|'  /usr/ports/www/apache22/work/httpd-2.2.31/configure.in
/bin/rm -f /usr/ports/www/apache22/work/httpd-2.2.31/docs/docroot/*.bak
install  -m 0644 /usr/ports/www/apache22/work/httpd-2.2.31/NOTICE /usr/ports/www/apache22/work/httpd-2.2.31/docs/manual
/bin/rm -f -r /usr/ports/www/apache22/work/httpd-2.2.31/srclib
/usr/bin/sed -i.bak -e 's/srclib//' /usr/ports/www/apache22/work/httpd-2.2.31/Makefile.in
===>   apache22-2.2.31 depends on executable: autoconf-2.69 - not found
===>   autoconf-2.69 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by autoconf-2.69 for building
===>  Extracting for autoconf-2.69
=> SHA256 Checksum OK for autoconf-2.69.tar.xz.
===>  Patching for autoconf-2.69
===>  Applying FreeBSD patches for autoconf-2.69
===>   autoconf-2.69 depends on executable: gm4 - found
===>   autoconf-2.69 depends on executable: help2man - not found
===>  License GPLv3 accepted by the user
===>  Found saved configuration for help2man-1.43.3_1
===>   help2man-1.43.3_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by help2man-1.43.3_1 for building
===>  Extracting for help2man-1.43.3_1
=> SHA256 Checksum OK for help2man-1.43.3.tar.gz.
===>  Patching for help2man-1.43.3_1
===>   help2man-1.43.3_1 depends on package: p5-Locale-gettext>=0 - found
===>   help2man-1.43.3_1 depends on executable: gmake-lite - found
===>   help2man-1.43.3_1 depends on executable: msgfmt - found
===>   help2man-1.43.3_1 depends on package: perl5>=5.22<5.23 - found
===>   help2man-1.43.3_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>  Configuring for help2man-1.43.3_1
configure: loading site script /usr/ports/Templates/config.site
checking for perl... perl
checking for module Locale::gettext... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... -lintl
configure: error: perl module Locale::gettext required
===>  Script "configure" failed unexpectedly.
Please read UPDATING entry 20130612
(http://svnweb.freebsd.org/ports/head/UPDATING?r1=320405&r2=320679) and
PR/184276 (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184276) to fix
your Perl installation if you got the error message "configure: error: perl
module Locale::gettext required".
*** [do-configure] Error code 1

Stop in /usr/ports/misc/help2man.
*** [install] Error code 1

Stop in /usr/ports/misc/help2man.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/autoconf.
*** [build-depends] Error code 1

Stop in /usr/ports/www/apache22.
*** [install] Error code 1

Stop in /usr/ports/www/apache22.
[email protected]:/usr/ports/www/apache22 #

 

J'ai un collègue qui s'y connait beaucoup, mais alors beaucoup plus que moi qui a essayer de s'y coller, mais sans résultats positifs, il obtiens encore et tjrs ce conflit avec "perl".

Toute suggestion, aide, conseil ou autre est bien venue, je ne suis plus a 1 test près ^^

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

essaye avec la commande suivante : pkg install apache22

ou alors suis le tutoriel suivant: https://funky-emu.net/topic/17928-installation-dun-serveur-web/

 

 

Pour info, le principe de la commande "pkg" est d'installer des paquet précompiler, c'est bien plus rapide et fonctionnel de façon général, tandis que quand tu passe par portsnap, sa doit compilé le paquet de A à Z, donc tu perd du temps, et sa ne marche pas toujours correctement

 

Edit: sur ton kimsufi, installe FreeBSD 10 si ce n'est pas déja fait, car j'avais les même soucis que toi, et je les ai regler avec la version 10 de freebsd

Link to comment
Share on other sites

  • 0

J'te remercie eruen, je vais essayer et je reviens vers vous. J'ai déja installé la version 9.3, mais je ne pense pas que ce soit vraiment qui pose prb, tout devrais s'adapter. Et en ce qui concerne les tutos, je n'en trouve pas des masses, a part files pour une version classique du FreeBSD, rien n'est adapté pour les installations d'aujourd'hui malheureusement ^^

Je test ton conseil et je confirme le résultat.

Link to comment
Share on other sites

  • 0

Dsl pour le double poste, alors eruen, apache c'est bien installé merci, je vais essayer de suivre ton tuto et en cas de soucis, je reviens ici.

Merci déja pour cette info ^^

Cordialement

 

 

Edit : merci du conseil, opération fonctionnelle ^^

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.