Apache 2.2.4 und mod_fastcgi

Apache, Lighttpd, nginx, Cherokee
tux1988
Posts: 4
Joined: 2007-08-23 20:39

Apache 2.2.4 und mod_fastcgi

Post by tux1988 » 2007-08-23 20:43

Hallo zusammen,

ich komm absolut nicht mehr weiter und werde bald verrückt habe einen selbstkompilierten apache mit folgenden Kompilierung Optionen:

Code: Select all

./configure --enable-auth-digest --enable-logio --enable-log-config --enable-ssl --disable-asis --enable-suexec 
--disable-negotiation --disable-userdir --enable-rewrite


mod_fastcgi bricht bei der erstellung eines DSO Modul über APXS immer mit

Code: Select all

apxs:Error: Command failed with rc=65536


System Strato Debian Etch

ich weiß wirklich nicht was ich noch machen soll. Bitte helft mir.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11138
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Apache 2.2.4 und mod_fastcgi

Post by Joe User » 2007-08-23 20:50

Deine ./configure-Optionen für den Apache sind veraltet und unvollständig, siehe Dokumentation.

tux1988
Posts: 4
Joined: 2007-08-23 20:39

Re: Apache 2.2.4 und mod_fastcgi

Post by tux1988 » 2007-08-23 20:58

wie sollte denn meine meine configure aussehen deiner meinung nach?

User avatar
Joe User
Project Manager
Project Manager
Posts: 11138
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Apache 2.2.4 und mod_fastcgi

Post by Joe User » 2007-08-23 21:07


tux1988
Posts: 4
Joined: 2007-08-23 20:39

Re: Apache 2.2.4 und mod_fastcgi

Post by tux1988 » 2007-08-23 21:38

Apache ist nicht das Problem, das Problem liegt irgendwie bei mod_fastcgi hab es 3 verschiedenen systemen getestet und keines davon ging es.
woran könnte es liegen? wie habt ihr mod_fastcgi eingebunden?

über apxs oder make???

User avatar
Joe User
Project Manager
Project Manager
Posts: 11138
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Apache 2.2.4 und mod_fastcgi

Post by Joe User » 2007-08-23 22:12

Ohne Unterstützung für DSOs kannst Du keine (externen) Module aktivieren/bauen...

tux1988
Posts: 4
Joined: 2007-08-23 20:39

Re: Apache 2.2.4 und mod_fastcgi

Post by tux1988 » 2007-08-23 22:14

ich habe apache extra mit --enable-so aktiviert obwohl das unnötig ist weil das standardmäßig in apache drin ist

hier noch ein par nützliche daten

/usr/local/apache2/bin/apxs -o mod_fastcgi.so -c *.c
so sollte er es eigentlich erstellen

Code: Select all

/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o fcgi_buf.lo fcgi_buf.c && touch fcgi_buf.slo
fcgi_buf.c: In function 'fcgi_buf_new':
fcgi_buf.c:53: warning: cast to pointer from integer of different size
fcgi_buf.c: In function 'array_grow':
fcgi_buf.c:490: warning: assignment makes pointer from integer without a cast
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o fcgi_config.lo fcgi_config.c && touch fcgi_config.slo
fcgi_config.c: In function 'get_host_n_port':
fcgi_config.c:53: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'get_u_short':
fcgi_config.c:78: warning: return makes pointer from integer without a cast
fcgi_config.c:82: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'get_int':
fcgi_config.c:104: warning: return makes pointer from integer without a cast
fcgi_config.c:108: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'get_u_int':
fcgi_config.c:129: warning: return makes pointer from integer without a cast
fcgi_config.c:131: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'get_float':
fcgi_config.c:150: warning: return makes pointer from integer without a cast
fcgi_config.c:152: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_set_env_var':
fcgi_config.c:163: warning: assignment makes pointer from integer without a cast
fcgi_config.c: In function 'get_pass_header':
fcgi_config.c:194: warning: assignment makes pointer from integer without a cast
fcgi_config.c:197: warning: cast to pointer from integer of different size
fcgi_config.c: In function 'invalid_value':
fcgi_config.c:210: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_make_dir':
fcgi_config.c:340: warning: return makes pointer from integer without a cast
fcgi_config.c:348: warning: return makes pointer from integer without a cast
fcgi_config.c:367: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_make_dynamic_dir':
fcgi_config.c:383: warning: assignment makes pointer from integer without a cast
fcgi_config.c:386: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_set_socket_dir':
fcgi_config.c:466: warning: return makes pointer from integer without a cast
fcgi_config.c:471: warning: return makes pointer from integer without a cast
fcgi_config.c:476: warning: return makes pointer from integer without a cast
fcgi_config.c:479: warning: assignment makes pointer from integer without a cast
fcgi_config.c:485: warning: return makes pointer from integer without a cast
fcgi_config.c:506: warning: return makes pointer from integer without a cast
fcgi_config.c:510: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_set_wrapper':
fcgi_config.c:541: warning: return makes pointer from integer without a cast
fcgi_config.c:546: warning: return makes pointer from integer without a cast
fcgi_config.c:550: warning: return makes pointer from integer without a cast
fcgi_config.c:566: warning: return makes pointer from integer without a cast
fcgi_config.c:579: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_new_static_server':
fcgi_config.c:600: warning: initialization makes pointer from integer without a cast
fcgi_config.c:617: warning: return makes pointer from integer without a cast
fcgi_config.c:621: warning: return makes pointer from integer without a cast
fcgi_config.c:639: warning: return makes pointer from integer without a cast
fcgi_config.c:644: warning: return makes pointer from integer without a cast
fcgi_config.c:650: warning: return makes pointer from integer without a cast
fcgi_config.c:757: warning: return makes pointer from integer without a cast
fcgi_config.c:766: warning: assignment makes pointer from integer without a cast
fcgi_config.c:771: warning: assignment makes pointer from integer without a cast
fcgi_config.c:786: warning: return makes pointer from integer without a cast
fcgi_config.c:793: warning: return makes pointer from integer without a cast
fcgi_config.c:797: warning: cast to pointer from integer of different size
fcgi_config.c:808: warning: return makes pointer from integer without a cast
fcgi_config.c:833: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_new_external_server':
fcgi_config.c:861: warning: return makes pointer from integer without a cast
fcgi_config.c:866: warning: return makes pointer from integer without a cast
fcgi_config.c:885: warning: return makes pointer from integer without a cast
fcgi_config.c:890: warning: return makes pointer from integer without a cast
fcgi_config.c:947: warning: return makes pointer from integer without a cast
fcgi_config.c:957: warning: assignment makes pointer from integer without a cast
fcgi_config.c:962: warning: assignment makes pointer from integer without a cast
fcgi_config.c:977: warning: return makes pointer from integer without a cast
fcgi_config.c:985: warning: return makes pointer from integer without a cast
fcgi_config.c:989: warning: return makes pointer from integer without a cast
fcgi_config.c:997: warning: return makes pointer from integer without a cast
fcgi_config.c:1014: warning: return makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_set_config':
fcgi_config.c:1045: warning: cast to pointer from integer of different size
fcgi_config.c:1143: warning: return makes pointer from integer without a cast
fcgi_config.c:1151: warning: return makes pointer from integer without a cast
fcgi_config.c:1156: warning: cast to pointer from integer of different size
fcgi_config.c: In function 'fcgi_config_create_dir_config':
fcgi_config.c:1164: warning: initialization makes pointer from integer without a cast
fcgi_config.c: In function 'fcgi_config_new_auth_server':
fcgi_config.c:1183: warning: return makes pointer from integer without a cast
fcgi_config.c:1196: warning: return makes pointer from integer without a cast
fcgi_config.c:1200: warning: return makes pointer from integer without a cast
fcgi_config.c:1202: warning: cast from pointer to integer of different size
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o fcgi_pm.lo fcgi_pm.c && touch fcgi_pm.slo
fcgi_pm.c: In function 'spawn_fs_process':
fcgi_pm.c:368: warning: assignment makes pointer from integer without a cast
fcgi_pm.c: In function 'dynamic_read_msgs':
fcgi_pm.c:1081: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1101: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1127: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1131: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1144: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1145: warning: assignment makes pointer from integer without a cast
fcgi_pm.c:1148: warning: assignment makes pointer from integer without a cast
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o fcgi_protocol.lo fcgi_protocol.c && touch fcgi_protocol.slo
fcgi_protocol.c: In function 'apache_original_uri':
fcgi_protocol.c:113: warning: cast to pointer from integer of different size
fcgi_protocol.c:127: warning: return makes pointer from integer without a cast
fcgi_protocol.c: In function 'add_pass_header_vars':
fcgi_protocol.c:181: warning: initialization makes pointer from integer without a cast
fcgi_protocol.c: In function 'fcgi_protocol_dequeue':
fcgi_protocol.c:376: warning: assignment makes pointer from integer without a cast
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o fcgi_util.lo fcgi_util.c && touch fcgi_util.slo
fcgi_util.c: In function 'fcgi_util_socket_hash_filename':
fcgi_util.c:58: warning: initialization makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_socket_make_domain_addr':
fcgi_util.c:141: warning: return makes pointer from integer without a cast
fcgi_util.c:145: warning: assignment makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_socket_make_inet_addr':
fcgi_util.c:197: warning: assignment makes pointer from integer without a cast
fcgi_util.c:208: warning: return makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_check_access':
fcgi_util.c:230: warning: return makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_fs_is_path_ok':
fcgi_util.c:370: warning: cast to pointer from integer of different size
fcgi_util.c:372: warning: return makes pointer from integer without a cast
fcgi_util.c:378: warning: return makes pointer from integer without a cast
fcgi_util.c:381: warning: return makes pointer from integer without a cast
fcgi_util.c:384: warning: return makes pointer from integer without a cast
fcgi_util.c:397: warning: return makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_fs_new':
fcgi_util.c:412: warning: cast to pointer from integer of different size
fcgi_util.c: In function 'fcgi_util_fs_set_uid_n_gid':
fcgi_util.c:469: warning: return makes pointer from integer without a cast
fcgi_util.c:471: warning: assignment makes pointer from integer without a cast
fcgi_util.c:480: warning: return makes pointer from integer without a cast
fcgi_util.c:482: warning: assignment makes pointer from integer without a cast
fcgi_util.c: In function 'fcgi_util_fs_create_procs':
fcgi_util.c:496: warning: cast to pointer from integer of different size
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include   -c -o mod_fastcgi.lo mod_fastcgi.c && touch mod_fastcgi.slo
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 argument 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:2426: warning: cast to pointer from integer of different size
mod_fastcgi.c:2454: warning: cast to pointer from integer of different size
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 argument 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
apxs:Error: Command failed with rc=65536
.


und den fehler bringt er[/quote]

User avatar
Joe User
Project Manager
Project Manager
Posts: 11138
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Apache 2.2.4 und mod_fastcgi

Post by Joe User » 2007-08-23 22:28

Nimm mod_fcgid, mod_fastcgi wird AFAIK nicht mehr weiterentwickelt.