13 Nov 2006 20:13
Problem compiling
John Coppens <john <at> jcoppens.com>
2006-11-13 19:13:12 GMT
2006-11-13 19:13:12 GMT
Hello people. I've tried to compile libwww with mysql support and had a few problems. (without mysql support installation went fine) Configure was done with --with-mysql=/opt/mysql (lib and include are below /opt/mysql) the configure process gave a first indication of problems: checking for /opt/mysql/... -L/opt -lmysql Which isn't correct, I think. I believe it should be -L/opt/mysql/lib -lmysql Compilation stopped: /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I../../modules/md5 -I../../modules/expat/xmlparse -DW3C_ICONS=\"/usr/local/share/w3c-libwww\" -g -O2 -Wall -c HTSQL.c .../../libtool: line 732: test: =: unary operator expected rm -f .libs/HTSQL.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I../../modules/md5 -I../../modules/expat/xmlparse -DW3C_ICONS=\"/usr/local/share/w3c-libwww\" -g -O2 -Wall -c HTSQL.c -fPIC -DPIC -o .libs/HTSQL.lo In file included from HTSQL.c:19: HTSQL.h:34:25: mysql/mysql.h: No such file or directory In file included from HTSQL.c:19: HTSQL.h:97: error: syntax error before '*' token HTSQL.h:97: warning: type defaults to `int' in declaration of `HTSQL_getMysql'(Continue reading)
RSS Feed