bin seit relativ kurzer Zeit root auf einem 3.1er Sarge und obgleich Linux für mich kein "Buch mit 7 Siegeln" ist, hat mir weder RTFM, noch Google und (leider) auch nicht dieses Forum weitergeholfen.
Aus diesem Grund wende ich mich nun voller Hoffnung auf Hilfe an euch.. :)
Es geht um dieses How-To: http://archiv.debianhowto.de/de/apache2 ... sarge.html
Und den Schritt bezüglich "6. Installation von mod_fastcgi":
Code: Select all
Da die Compilation von mod_fastcgi libtool in $top_dir/build/ erwartet, müssen wir noch einen Link anlegen:
$ # Hierzu benoetigen wir root
$ su
# ln -s /usr/bin/libtool /usr/share/apache2/build/libtool
# exit
Nun können wir endlich die Compilation von mod_fastcgi starten:
$ make
$ # Diesmal muessen wir zum make install nach Root wechseln
$ su
# make install
# exit
Code: Select all
php@h1102041:/home/fastcgi/mod_fastcgi-SNAP-0404142202$ make
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include/postgresql -I /usr/include/apache2 -I /usr/include/apr-0 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slo
/usr/share/apr-1.0/build/libtool: line 1: i486-linux-gnu-gcc: command not found
make: *** [mod_fastcgi.slo] error 1
Doch leider will das mit dem Patch von http://www.fastcgi.com/archives/fastcgi ... 04060.html nicht so wirklich:
Code: Select all
php@h1102041:/home/fastcgi/mod_fastcgi-SNAP-0404142202$ patch -p1 < patch.ptch
patching file fcgi.h
patch: **** malformed patch at line 41: diff -ruN mod_fastcgi-2.4.2/Makefile.AP2 mod_fastcgi-2.4.2-ap22/Makefile.AP2
Code: Select all
h1102041:/home/fastcgi/mod_fastcgi-SNAP-0404142202# patch -p1 fix.patch
Jegliche Hilfe wäre wirklich super - ich häng jetzt nämlich schon gut 3 Tage an dieser Apache2.2-PHP-5.2.0-FastCGI-Geschichte und bin langsam kurz vorm Nervenzusammenbruch.. ;)
[-EDIT-]
OK, den Link für den Compiler hab ich mit
Code: Select all
ln -s /usr/bin/i486-linux-gnu-gcc-3.3 /usr/bin/i486-linux-gnu-gcc
Code: Select all
h1102041:/home/fastcgi/mod_fastcgi-SNAP-0404142202# make
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include/postgresql -I /usr/include/apache2 -I /usr/include/apr-0 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slo
In file included from mod_fastcgi.c:72:
fcgi.h:76: error: syntax error before ')' token
In file included from fcgi.h:102,
from mod_fastcgi.c:72:
/usr/include/sys/un.h:34: error: syntax error before '}' token
In file included from mod_fastcgi.c:72:
fcgi.h:593:2: #endif without #if
mod_fastcgi.c: In function `init_module':
mod_fastcgi.c:271: error: `ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c:271: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:271: error: for each function it appears in.)
mod_fastcgi.c: In function `process_headers':
mod_fastcgi.c:726: warning: return makes pointer from integer without a cast
mod_fastcgi.c:730: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:740: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:769: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c:839: warning: return makes pointer from integer without a cast
mod_fastcgi.c:843: warning: return makes pointer from integer without a cast
mod_fastcgi.c: In function `set_uid_n_gid':
mod_fastcgi.c:1023: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
mod_fastcgi.c:1025: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1034: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1035: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function `do_work':
mod_fastcgi.c:2322: error: `ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c: In function `create_fcgi_request':
mod_fastcgi.c:2480: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2493: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function `apache_is_scriptaliased':
mod_fastcgi.c:2535: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c: In function `post_process_for_redirects':
mod_fastcgi.c:2560: warning: passing arg 1 of `ap_internal_redirect_handler' makes pointer from integer without a cast
mod_fastcgi.c: In function `check_user_authentication':
mod_fastcgi.c:2683: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2701: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_user_authorization':
mod_fastcgi.c:2750: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2766: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_access':
mod_fastcgi.c:2810: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2827: warning: comparison between pointer and integer
make: *** [mod_fastcgi.slo] error 1