Skocz do zawartości

[Problem] Instalacja apache na FreeBSD 9.0 32bit


Rekomendowane odpowiedzi

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

 

Witam wszystkich forumowiczów!

Od kilku godzin mecze się i nie mogę zainstalować apache w wersji 2.2 lub 2.4 w systemie FreeBSD 9.0 32bit
Dlatego zwracam się do was o pomoc. Próbowałem instalować apache z różnych poradników na mpc jak i z innych zagranicznych stron i nic...
Ciągle mam podobne błędy. Pobierałem porty , aktualizowałem je ale to nic nie daje. Prosiłbym o pomoc

Oto końcowy fragment instalacji i błedy

# cd /usr/ports/www/apache22
# make deinstall clean
# make install clean

Następnie instaluje się około 3 - 4 minuty i


Końcowy fragment instalacji i błąd

 

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c sh-quote.c -o sh-quote.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o striconv.lo striconv.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconv.c -fPIC -DPIC -o .libs/striconv.o

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconv.c -o striconv.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o striconveh.lo striconveh.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconveh.c -fPIC -DPIC -o .libs/striconveh.o

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconveh.c -o striconveh.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o striconveha.lo striconveha.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconveha.c -fPIC -DPIC -o .libs/striconveha.o

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c striconveha.c -o striconveha.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o strnlen1.lo strnlen1.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c strnlen1.c -fPIC -DPIC -o .libs/strnlen1.o

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c strnlen1.c -o strnlen1.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o styled-ostream.lo styled-ostream.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c styled-ostream.c -fPIC -DPIC -o .libs/styled-ostream.o

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c styled-ostream.c -o styled-ostream.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o term-ostream.lo term-ostream.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c term-ostream.c -fPIC -DPIC -o .libs/term-ostream.o

term-ostream.oo.c: In function 'out_attr_change':

term-ostream.oo.c:1280: warning: comparison is always true due to limited range of data type

term-ostream.oo.c:1371: warning: comparison is always true due to limited range of data type

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c term-ostream.c -o term-ostream.o >/dev/null 2>&1

/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o term-styled-ostream.lo term-styled-ostream.c

libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c term-styled-ostream.c -fPIC -DPIC -o .libs/term-styled-ostream.o

In file included from ./libxml/parser.h:797,

from ./libxml/globals.h:19,

from ./libxml/threads.h:36,

from ./libxml/xmlmemory.h:217,

from ./libxml/tree.h:1205,

from ./libcroco/cr-sel-eng.h:34,

from term-styled-ostream.oo.c:26:

./libxml/encoding.h:29:19: error: iconv.h: No such file or directory

In file included from ./libxml/parser.h:797,

from ./libxml/globals.h:19,

from ./libxml/threads.h:36,

from ./libxml/xmlmemory.h:217,

from ./libxml/tree.h:1205,

from ./libcroco/cr-sel-eng.h:34,

from term-styled-ostream.oo.c:26:

./libxml/encoding.h:137: error: expected specifier-qualifier-list before 'iconv_t'

*** Error code 1



Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-tools/gnulib-lib.

*** Error code 1



Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-tools/gnulib-lib.

*** Error code 1



Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-tools.

*** Error code 1



Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-tools.

*** Error code 1



Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1.

*** Error code 1



Stop in /usr/ports/devel/gettext.

*** Error code 1



Stop in /usr/ports/devel/p5-Locale-gettext.

*** Error code 1



Stop in /usr/ports/misc/help2man.

*** Error code 1



Stop in /usr/ports/devel/autoconf.

*** Error code 1



Stop in /usr/ports/www/apache22.

*** Error code 1



Stop in /usr/ports/www/apache22.

#

 

 

Odnośnik do komentarza

Witaj. Kiedyś robiłem to i teraz bd znów miał do czynienia. Ja ci polecam nie instalować na Dedyku, VPSie apache. Polecam ci płatną str kupić co obsługuje MySQL bo jak ci zaatakują np to nie padnie ci str tylko serwer

Co ma piernik do wiatraka?

 

Właśnie hostingi padają jak szmaty, dobrze robisz, że wgrywasz na maszynie, jednak zamiast apache zainstaluj nginx , bardziej optymalny jest :)

Odnośnik do komentarza

Niestety przy instalacji ngix mam również podobne błędy

niewiem co robie źle wcześnej bez problemu mogłem na tej wersji systemu zainstalować apache

a teraz nie moge apache i nawet nginx...

# cd /usr/ports/www/nginx
# make deinstall clean
# make install clean

instaluje się około 1 minute i potem

 

 

/bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o libcroco/libcroco_rpl_la-cr-prop-list.lo `test -f 'libcroco/cr-prop-list.c' || echo './'`libcroco/cr-prop-list.c
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-prop-list.c -fPIC -DPIC -o libcroco/.libs/libcroco_rpl_la-cr-prop-list.o
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-prop-list.c -o libcroco/libcroco_rpl_la-cr-prop-list.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o libcroco/libcroco_rpl_la-cr-pseudo.lo `test -f 'libcroco/cr-pseudo.c' || echo './'`libcroco/cr-pseudo.c
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-pseudo.c -fPIC -DPIC -o libcroco/.libs/libcroco_rpl_la-cr-pseudo.o
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-pseudo.c -o libcroco/libcroco_rpl_la-cr-pseudo.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o libcroco/libcroco_rpl_la-cr-rgb.lo `test -f 'libcroco/cr-rgb.c' || echo './'`libcroco/cr-rgb.c
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-rgb.c -fPIC -DPIC -o libcroco/.libs/libcroco_rpl_la-cr-rgb.o
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-rgb.c -o libcroco/libcroco_rpl_la-cr-rgb.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o libcroco/libcroco_rpl_la-cr-sel-eng.lo `test -f 'libcroco/cr-sel-eng.c' || echo './'`libcroco/cr-sel-eng.c
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c libcroco/cr-sel-eng.c -fPIC -DPIC -o libcroco/.libs/libcroco_rpl_la-cr-sel-eng.o
In file included from ./libxml/parser.h:797,
from ./libxml/globals.h:19,
from ./libxml/threads.h:36,
from ./libxml/xmlmemory.h:217,
from ./libxml/tree.h:1205,
from libcroco/cr-sel-eng.h:34,
from libcroco/cr-sel-eng.c:26:
./libxml/encoding.h:29:19: error: iconv.h: No such file or directory
In file included from ./libxml/parser.h:797,
from ./libxml/globals.h:19,
from ./libxml/threads.h:36,
from ./libxml/xmlmemory.h:217,
from ./libxml/tree.h:1205,
from libcroco/cr-sel-eng.h:34,
from libcroco/cr-sel-eng.c:26:
./libxml/encoding.h:137: error: expected specifier-qualifier-list before 'iconv_t'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/lang/python27.
*** Error code 1

Stop in /usr/ports/lang/python27.
*** Error code 1

Stop in /usr/ports/x11/xcb-proto.
*** Error code 1

Stop in /usr/ports/x11/libxcb.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/libXmu.
*** Error code 1

Stop in /usr/ports/graphics/tiff.
*** Error code 1

Stop in /usr/ports/graphics/tiff.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/www/nginx.
*** Error code 1

Stop in /usr/ports/www/nginx.
host#

 

 

 

@edit

potem nawet zrobiłem tak:

# rm -R /usr/ports/
# portsnap fetch
# portsnap extract 
# portsnap update
# cd /usr/ports/www/nginx
# make install clean

i nic nie dało ten sam błąd wywala

Odnośnik do komentarza

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

  • Ostatnio przeglądający forum [Problem] Instalacja apache na FreeBSD 9.0 32bit   0 użytkowników
    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...