MySQL Forums
Forum List  »  Router & Proxy

mysql-proxy 0.6.0 & FreeBSD compile
Posted by: Sebastian Aresca
Date: July 21, 2007 05:54PM

I tried to compile the svn version under FreeBSD 6.0 but I couldn't compile it. There is a problem with gcc and libraries.

LUA_CFLAGS="-I /usr/local/include/lua51/lua.h" LUA_LIBS="-L /usr/local/lib/lua51/liblua.a" LDFLAGS="-L /usr/local/lib/libevent.so" CPPFLAGS="-I /usr/local/include/evdns.h" ./configure

Here the log when trying to compile:

root@freebsd:~/mysql-proxy/trunk# LUA_CFLAGS="-I /usr/local/include/lua51/lua.h" LUA_LIBS="-L /usr/local/lib/lua51/liblua.a" LDFLAGS="-L /usr/local/lib/libevent.so" CPPFLAGS="-I /usr/local/include/evdns.h" ./configure
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

and the piece of the config.log

configure:2949: $? = 1
configure:2972: checking for C compiler default output file name
configure:2999: gcc -I /usr/local/include/evdns.h -L /usr/local/lib/libevent.so conftest.c >&5
cc1: /usr/local/include/evdns.h: not a directory
configure:3002: $? = 1
configure:3040: result:

I'm not going to spend more time trying to do it.
If somebody can upload the compile script I will be thankful.



Edited 1 time(s). Last edit at 07/21/2007 07:26PM by Sebastian Aresca.

Options: ReplyQuote


Subject
Views
Written By
Posted
mysql-proxy 0.6.0 & FreeBSD compile
6047
July 21, 2007 05:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.