Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> PHP 4.4.7 i PHP 5.2.3 make
Elber
post
Post #1





Grupa: Zarejestrowani
Postów: 381
Pomógł: 12
Dołączył: 9.07.2007

Ostrzeżenie: (0%)
-----


Witam, zainstalowałem MySQL 5.0.41 następnie OpenSSL 0.9.8e potem Apache2.2.4 wszystko według Tego poradnika, i wszystko działa poprawnie, więc zaczynam instalować PHP 4.4.7 ściągam, wypakowywuje, przechodzę do katalogu z wypakowanym php i daje:
Kod
./configure --prefix=/usr/local/php4 --with-config-file-path=/usr/local/php4 --sysconfdir=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --enable-discard-path --enable-debug --enable-track-vars --enable-versioning --with-openssl=/usr/local/ssl --with-xml --enable-bcmath --with-bz2 --enable-calendar --with-jpeg-dir=/usr/local --with-png-dir=/usr/lib --with-tiff-dir=/usr/local --with-ttf=/usr/lib --with-curl --with-db --with-dbase --with-pear --enable-exif --enable-ftp --with-gettext --with-iconv --enable-mbstring --with-mcrypt --with-mhash --with-zlib --with-gd --with-gd-native-ttf --with-xslt-sablot=/usr/lib --enable-xslt --enable-wddx --with-kerberos --with-ncurses

Nie wykrywa mi żadnego błędu, więc daje make a tutaj po dłuższej chwili wywala mi:
Kod
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error

Co mam robić?? Pomocy
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Elber
post
Post #2





Grupa: Zarejestrowani
Postów: 381
Pomógł: 12
Dołączył: 9.07.2007

Ostrzeżenie: (0%)
-----


Teraz próbuje zainstalować PHP 5.2.3, konfiguruje poleceniem:
Kod
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --sysconfdir=/usr/local/php5 --with-mysql=/usr/local/mysql --with-zlib --with-bzip --with-gd --enable-force-cgi-redirect --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --enable-inline-optimization --enable-mbstr-enc-trans --enable-mbstring --enable-mbregex --enable-track-vars --enable-versioning --enable-wddx --enable-bz2 --with-dom=/usr/include/libxml2 --with-ftp --with-gettext --with-gmp --with-jpeg-dir=/usr/local --with-mcal=/usr/include --with-mcrypt --with-mhash --with-png-dir=/usr/lib --with-iconv --with-ncurses --with-xml --with-xslt-sablot=/usr/lib --enable-xslt --with-kerberos --enable-fastcgi --with-openssl=/usr/local/ssl --with-tiff-dir=/usr/local --with-curl

Wszystko ładnie konfiguruje, przychodzi czas na make, daje make i leci, bardzo długo leci aż wkońcu wywala błąd:
Kod
ext/iconv/iconv.o:/root/php-5.2.3/ext/iconv/iconv.c:1286: more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/root/php-5.2.3/ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

Co mam zrobić??
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 6.10.2025 - 21:09