Hi,

I have some problems compiling apache 2.2.8 with included apr and mysql. I
hope someone can help me sort this out.

I have successfully compiled with postgres but when i add the mysql option,
than configure breaks down with:

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


these are the configure options i am using:

--enable-rewrite --enable-ssl --with-ssl=/usr/local/ssl
--with-pgsql=/usr/local/pgsql --with-mysql=/usr/local/mysql --with-sqlite2
--enable-dbd=shared --enable-authn-dbd --with-included-apr


And this is what is listed about mysql:

configure: checking for mysql in /usr/local/mysql
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... yes
  adding "-I/usr/local/mysql/include/mysql" to APRUTIL_INCLUDES
  adding "-L/usr/local/mysql/lib/mysql" to APRUTIL_LDFLAGS
  adding "-lmysqlclient_r" to APRUTIL_LDFLAGS
  adding "-lmysqlclient_r" to APRUTIL_EXPORT_LIBS
  adding "-lmysqlclient_r" to APRUTIL_LIBS
  adding "-L/usr/local/mysql/lib/mysql" to LDFLAGS
  adding "-lmysqlclient_r" to LDFLAGS

Thanks, in advance,
Marc



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -. 
Roos IT BV
the Netherlands 

t:  +31 (0)20 - 345 88 04
f:  +31 (0)20 - 345 88 06
e:  [EMAIL PROTECTED]
 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to