Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Kompilacja PHP5 z CLI, Problem z kompilacją z CLI
chfast
post 24.06.2004, 15:42:06
Post #1





Grupa: Zarejestrowani
Postów: 222
Pomógł: 0
Dołączył: 3.04.2003
Skąd: Wrocław

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


Witam.
Mam problem z kompilacją PHP5RC3 wraz z CLI. Nie wiem nawet co to jest CLI, ale jest konieczne do kompilacji z PEAR. Skrypt configure nie zgłasza żadnych błędów. Przy kompilacji pojawia się coś takiego:
Kod
sapi/cli/php_cli.lo(.text+0x374): In function `sapi_cli_deactivate':
/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:259: undefined reference to `sapi_globals'
sapi/cli/php_cli.lo(.text+0xae7): In function `main':
/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:632: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0xb27):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1043: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0xb5f):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1048: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0xbb7):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:636: undefined reference to `compiler_globals'
sapi/cli/php_cli.lo(.text+0xbc4):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:637: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0xde7):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:709: undefined reference to `sapi_globals'
sapi/cli/php_cli.lo(.text+0xf45):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:729: undefined reference to `compiler_globals'
sapi/cli/php_cli.lo(.text+0x1070):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:876: undefined reference to `compiler_globals'
sapi/cli/php_cli.lo(.text+0x1133):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:908: undefined reference to `sapi_globals'
sapi/cli/php_cli.lo(.text+0x118e):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:922: undefined reference to `compiler_globals'
sapi/cli/php_cli.lo(.text+0x11f4):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:937: undefined reference to `core_globals'
sapi/cli/php_cli.lo(.text+0x129f):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1002: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0x1397):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1013: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0x150e):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:944: undefined reference to `executor_globals'
sapi/cli/php_cli.lo(.text+0x162f):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1024: undefined reference to `compiler_globals'
sapi/cli/php_cli.lo(.text+0x164d):/src/src/php-5.0.0RC3/sapi/cli/php_cli.c:1026: undefined reference to `executor_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Błąd 1


Po kompilacji bez CLI mam jeszcze jeden problem: moduł libphp2.so nie chce sie załadować i Apache w ogóle się nie uruchamia:
Kod
Starting httpd2: Syntax error on line 57 of /etc/httpd/conf/httpd2.conf:
Cannot load /etc/httpd/2.0/modules/libphp5.so into server: /etc/httpd/2.0/modules/libphp5.so: undefined symbol: core_globals


--------------------
pozdrawiam, chfast
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 28.04.2024 - 13:23