[fpc-devel] Apache 2.2 modules for FreeBSD
Leonardo M. Ramé
martinrame at yahoo.com
Fri Jul 24 02:59:06 CEST 2009
Hi, I'm trying to run the examples of http22 units in a FreeBSD 7.2 for i386, with Apache 2.2.11.
The examples compiles with FPC 2.2.4, but when I try to run "apachectl start", it crashes with this message:
httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: API module structure 'hello_module' in file /usr/local/libexec/apache22/mod_hello.so is garbled - expected signature 41503232 but saw 00000000 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
I downloaded the units to test this from http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/httpd22
To compile them I used:
fpc -WR -XX -Xs -B -Fuhttpd22/src -Fuhttpd22/src/apr -Fuhttpd22/src/apriconv mod_hello.pp
Any help will be appreciated!.
Leonardo.
More information about the fpc-devel
mailing list