Hello,

> Do you have mysql.h?  You can check by running
> 
> dpkg -S mysql.h
>
> If you don't then it's likely a missing build-dependency.

Yes, the headers were missing first, but installing mysql15-dev by hand 
doesn't change anything:

 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\" 
-DVERSION=\"1.0.4\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 
-DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. 
-I../.. -I/sw/include/libxml2 -I/sw/include -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include -I/usr/local/include -no-cpp-precomp -I/sw/include 
-g -O2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wno-sign-compare -MT gda-mysql-provider.lo -MD -MP -MF 
.deps/gda-mysql-provider.Tpo -c gda-mysql-provider.c  -fno-common -DPIC -o 
.libs/gda-mysql-provider.o
In file included from ../../libgda/gda-field.h:27,
                 from ../../libgda/gda-row.h:27,
                 from ../../libgda/gda-data-model.h:30,
                 from ../../libgda/gda-data-model-array.h:26,
                 from gda-mysql-provider.c:25:
../../libgda/gda-value.h:183: warning: type qualifiers ignored on function 
return type
In file included from gda-mysql-provider.c:30:
gda-mysql.h:34:19: error: mysql.h: No such file or directory
gda-mysql.h:35:23: error: mysql_com.h: No such file or directory
In file included from gda-mysql-provider.c:30:
gda-mysql.h:45: error: parse error before '*' token
gda-mysql.h:46: warning: 'enum enum_field_types' declared inside parameter 
list
gda-mysql.h:46: warning: its scope is only this definition or declaration, 
which is probably not what you want
In file included from gda-mysql-provider.c:31:
gda-mysql-recordset.h:46: error: parse error before 'MYSQL_RES'
gda-mysql-recordset.h:46: warning: no semicolon at end of struct or union
gda-mysql-recordset.h:48: error: parse error before '}' token
gda-mysql-recordset.h:55: error: parse error before 'MYSQL_RES'
gda-mysql-provider.c: In function 'gda_mysql_provider_open_connection':
gda-mysql-provider.c:189: error: 'MYSQL' undeclared (first use in this 
function)
(...)

...and so on.

And this although the headers _are_ there: 

$ dpkg -S mysql.h
mysql15-dev: /sw/include/mysql/mysql.h

Huh?

Excuse my ignorance, but could it be that the headers are not found because 
only /sw/include is included in the gcc optons, but not /sw/include/mysql?

TIA,

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove ".nospam" to reply.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to