installing fastcgi under Fedora?
"Octavian Rasnita" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Message-ID | <E79F84951F0C4D19AECD156704C55F8F@teddy> |
Hi, I read that for installing mod_fastcgi for Apache 2.2 that runs on Fedora, I need to use: apxs -o mod_fastcgi.so -c *.c apxs -i -n fastcgi mod_fastcgi.so I have tried these commands, but the first one gives an error and it doesn't create mod_fastcgi.so. Am I doing something wrong? Is there another way to install mod_fastcgi.so under Fedora? Thank you. Octavian # apxs -o mod_fastcgi.so -c *.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o fcgi_buf.lo fcgi_buf.c && touch fcgi_buf.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o fcgi_config.lo fcgi_config.c && touch fcgi_config.slo fcgi_config.c: In function 'fcgi_config_new_static_server': fcgi_config.c:769: warning: format '%ld' expects type 'long int', but argument 3 has type 'gid_t' fcgi_config.c:774: warning: format '%ld' expects type 'long int', but argument 3 has type 'uid_t' fcgi_config.c:808: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgi_config.c:833: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgi_config.c: In function 'fcgi_config_new_external_server': fcgi_config.c:962: warning: format '%ld' expects type 'long int', but argument 3 has type 'gid_t' fcgi_config.c:967: warning: format '%ld' expects type 'long int', but argument 3 has type 'uid_t' fcgi_config.c:999: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgi_config.c:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgi_config.c: In function 'fcgi_config_new_auth_server': fcgi_config.c:1207: warning: cast from pointer to integer of different size /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o fcgi_pm.lo fcgi_pm.c && touch fcgi_pm.slo fcgi_pm.c: In function 'dynamic_read_msgs': fcgi_pm.c:1102: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o fcgi_protocol.lo fcgi_protocol.c && touch fcgi_protocol.slo fcgi_protocol.c: In function 'fcgi_protocol_dequeue': fcgi_protocol.c:449: warning: format '%d' expects type 'int', but argument 9 has type 'long unsigned int' /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o fcgi_util.lo fcgi_util.c && touch fcgi_util.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include /apr-1 -I/usr/include/apr-1 -I/usr/include/mysql -c -o mod_fastcgi.lo mod_fastcgi.c && touch mod_fastcgi.slo mod_fastcgi.c: In function 'open_connection_to_fs': mod_fastcgi.c:1083: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o od_fastcgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_ fastcgi.lo fcgi_util.lo fcgi_protocol.lo fcgi_pm.lo fcgi_config.lo fcgi_buf.lo