Vincent Schultz said: > Hello, > > I try to compile NuFW on a FC3 with a kernel+iptables patched with > ip_queue_vwmare. > > First I have a error in ./configure --with-mysql-log option. > > # ./configure --prefix=/opt/nufw --with-mysql-log --with-ldap --with- > user-mark > ... > checking for mysql_real_connect in -lmysqlclient... no > configure: error: mysqlclient library needed if selected > > But I have : > > # rpm -qa | grep -i mysql > mysql-3.23.58-16.FC3.1 > perl-DBD-MySQL-2.9003-5 > mysql-devel-3.23.58-16.FC3.1 > > And I got libmysqlclient.so.10.0.0, libmysqlclient_r.so.10.0.0 ans so > in /usr/lib/mysql, and the directory /usr/lib/mysql is > in /etc/ld.config.conf. > > Any idea ?
Have you tried running ./autogen.sh ? It might help. If it doesn't, please ask again. We develop [and test] NuFW on debian, but we have been reported about it working on Redhat so don't give up :). We're in any case interested to get it compiling as fine as possible on every platform. > > So I decided to use Postgresql : > > # ./configure --prefix=/opt/nufw --with-ldap --with-user-mark --with- > pgsql-log > > I have the following error in the "make" > > .... > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -pthread - > I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Iinclude/ -O2 - > Wall -fno-strict-aliasing -Werror-implicit-function-declaration - > DCONFIG_DIR=\"/opt/nufw/etc\" -DMODULE_DIR=\"/opt/nufw/lib\" - > DLOCAL_STATE_DIR=\"/opt/nufw/var\" -g -O2 -MT auth_common.o -MD -MP - > MF ".deps/auth_common.Tpo" -c -o auth_common.o auth_common.c; \ > then mv -f ".deps/auth_common.Tpo" ".deps/auth_common.Po"; else rm -f > ".deps/auth_common.Tpo"; exit 1; fi > auth_common.c: In function `change_state': > auth_common.c:40: attention : return transforme un pointeur en entier > sans transtypage > auth_common.c: In function `search_and_fill': > auth_common.c:131: erreur: type d'argument erron� pour le point > d'exclamation unaire I suppose you have glib-dev installed? You actually provbably do, since you passed ./configure. What version of glib is it? I am asking this because your mysql version seems old to me. Vincent _______________________________________________ Nufw-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/nufw-users
