![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 187 Pomógł: 6 Dołączył: 31.08.2005 Skąd: Bielsko-Biała Ostrzeżenie: (0%) ![]() ![]() |
gdy wpisuje komenda
# make wywala mi takie coś Kod gcc -Iext/libxml/ -I/root/php-5.0.0/ext/libxml/ -DPHP_ATOM_INC -I/root/php-5.0.0/include -I/root/php-5.0.0/main -I/root/php-5.0.0 -I/root/php-5.0.0/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/pgsql/include -I/root/php-5.0.0/TSRM -g -O2 -c /root/php-5.0.0/ext/libxml/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo In file included from /root/php-5.0.0/Zend/zend_API.h:26, from /root/php-5.0.0/main/php.h:38, from /root/php-5.0.0/ext/libxml/libxml.c:28: /root/php-5.0.0/Zend/zend_modules.h:34: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:35: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:36: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:37: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:38: error: array type has incomplete element type make: *** [ext/libxml/libxml.lo] Błąd 1 Macie może jakiś pomysł? Używam Fedora Core 5, pgsql... jeśli komuś pomoże to instalacje przeprowadzam wg książki "PHP5 zaawansowane programowanie" ![]() |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
5.0.0 czy 5.0.3? wez najnowza 5.0.4 lub nawet 5.1.2
Jak wyglada ./configure? -------------------- Nie lubię jednorożców.
|
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 187 Pomógł: 6 Dołączył: 31.08.2005 Skąd: Bielsko-Biała Ostrzeżenie: (0%) ![]() ![]() |
Instalacje rozpoczynam od zainstalowania PostgreSQL-8.1.3 następnie instaluje biblioteki:
ZLib-1.2.3 libJPEG-6b libPNG-1.2.10 Expat-2.0.0 Freetype-2.1.10 LibXML-2.6.23 LibXSLT-1.1.15 do tej pory wszystko ok. Następnie daje # ./configure w katalogu apache_1.3.33 nic więcej z nim nie robię tylko wchodze do katalogu php-5.0.3 wpisuje: # ./configure -with-apache=../apache_1.3.33 -with-libxml-dir=/usr/local/lib -with-gd -with-gettext -without-mysql -with-pgsql -enable-sockets -with-jpeg-dir=/usr/local/lib -with-png-dir=/usr/local/lib -with-zlib-dir=/usr/local/lib -enable-gd-native-ttf -with-freetype-dir=/usr/local/lib -with-xmlrpc -with-dom -enable-xslt -with-expat-dir=/usr/local/lib -with-xsl nie wywala błędu i dopiero jak daje make to wyskakuje to: Kod gcc -Iext/libxml/ -I/root/php-5.0.0/ext/libxml/ -DPHP_ATOM_INC -I/root/php-5.0.0/include -I/root/php-5.0.0/main -I/root/php-5.0.0 -I/root/php-5.0.0/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/pgsql/include -I/root/php-5.0.0/TSRM -g -O2 -c /root/php-5.0.0/ext/libxml/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
In file included from /root/php-5.0.0/Zend/zend_API.h:26, from /root/php-5.0.0/main/php.h:38, from /root/php-5.0.0/ext/libxml/libxml.c:28: /root/php-5.0.0/Zend/zend_modules.h:34: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:35: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:36: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:37: error: array type has incomplete element type /root/php-5.0.0/Zend/zend_modules.h:38: error: array type has incomplete element type make: *** [ext/libxml/libxml.lo] Błąd 1 |
|
|
![]()
Post
#4
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Wystarczylo poguglowac 2 min:
http://forums.fedoraforum.org/archive/index.php/t-59224.html 1. masz gcc w wersji 4? 2. uzyj NAJNOWSZEJ wersji php. -------------------- Nie lubię jednorożców.
|
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 187 Pomógł: 6 Dołączył: 31.08.2005 Skąd: Bielsko-Biała Ostrzeżenie: (0%) ![]() ![]() |
hehe no racja użyłem nowszej wersji ale nie najnowszej... dziwne na 5.1.2 miałem to samo, a na 5.1.0 wszystko działa. Teraz mam kolejny juz chyba ostatni problem bo to ostatnia czynność. Gdy zainstaluje php wchodze do katalogu apache_1.3.33 i wpisuje:
# ./configure -prefix=/usr/local/apache -activate-module=src/modules/php5/libphp5.a po czym wywala mi błąd: Kod Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) configure:Error: invalid option '-prefix=/usr/local/apache' EDIT: nieaktualne juz wiem gdzie robiłem błąd ![]() # ./configure --prefix=/usr/local/apache --activate-module=src/modules/php5/libphp5.a EDIT2: Super zainstalowałem to nareszcie ![]() DZIKI ZA POMOC! pozdrawiam slammer Ten post edytował slammer 25.04.2006, 14:41:58 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 04:40 |