cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
1. Das ist nur eine Warnung.
2. Tritt die erst ab Suse 8.1 auf (weil neuer gcc 3.2, vorher 2.9x)
3. Hat die irgendwas mit den Include-Pfaden zu tun. Anscheinend ist das obige Verzeichnis zweimal definiert. Einmal als include-dir und einmal als non-system dir.
4. Brauchst du dir keine sorgen drum zumachen, kannste einfach ignorieren.
5. Ist im gcc 3.2.1 gefixed, aber nicht im gcc 3.2.0 (welchen du wahrscheinlich verwendest, weil der in SuSE 8.1 drin ist, wenn ich mich nicht irre).
Jetzt mal was andres:
Beim Ausführen von "make" kommt nach einiger Zeit
In file included from /home/root/install/php-4.3.1/ext/odbc/php_odbc.c:37:
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:94:18: isql.h: No such file or directory
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:95:21: isqlext.h: No such file or directory
In file included from /home/root/install/php-4.3.1/ext/odbc/php_odbc.c:37:
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:208: parse error before "HENV"
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:208: warning: no semicolon at end of struct or union
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:209: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:211: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:214: parse error before '}' token
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:214: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:220: parse error before "SDWORD"
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:220: warning: no semicolon at end of struct or union
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:221: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:224: parse error before "HSTMT"
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:224: warning: no semicolon at end of struct or union
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:226: parse error before '*' token
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:226: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:227: parse error before "numcols"
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:227: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:228: parse error before "numparams"
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:228: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:235: parse error before '*' token
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:235: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:236: parse error before '}' token
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:236: warning: data definition has no type or storage class
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:252: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:255: confused by earlier errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
p2p wrote:Jetzt mal was andres:
Beim Ausführen von "make" kommt nach einiger Zeit
In file included from /home/root/install/php-4.3.1/ext/odbc/php_odbc.c:37:
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:94:18: isql.h: No such file or directory
/home/root/install/php-4.3.1/ext/odbc/php_odbc_includes.h:95:21: isqlext.h: No such file or directory
Kann mir das jemand erklären?
für odbc fehlt dir wohl noch ein devel-paket...
Das sieht man immer an den "No such file or directory" und den .h dateien...
Aber wie CaptainCrunch frag ich mich, wozu du odbc unterstützung brauchst.
Ok, jetzt noch eine Frage:
Ich will das PHP neu kompilieren dass von 1und1 auf dem Root-Server von vorne rein draufliegt.
Dazu benutze ich folgenden code:
p2p wrote:Ok, jetzt noch eine Frage:
Ich will das PHP neu kompilieren dass von 1und1 auf dem Root-Server von vorne rein draufliegt.
Dazu benutze ich folgenden code:[...]
Aber letztendlich hat PHP immer noch die Version 4.2.2 anstatt der neuen 4.3.1. Weiß jemand wo das Problem liegt?
Du kompilierst die CGI/CLI-Version von PHP, es ist aber als Apache Modul vorinstalliert. Du musst also auch das Apache Modul kompilieren und dann das vorhandene durch die neue Version ersetzen.
Ich hab jetzt mal versucht das bestehende PHP 4.3.1 auf PHP 4.2.3 "downzugraden", dabei kommt bei "make" aber folgender Fehler:
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c structure has no member named `free'
gd.c structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/root/php2/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/php2/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/php2/php-4.2.3/ext'
make: *** [all-recursive] Error 1