I am trying to build libgda-1.0.4-1016 on my Macbook and it craps in
the end. Any ideas of why might the problem?

Pepe
----------------

_version 3 -current_version 3.0
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
(cd .libs && rm -f libgda-2.1.dylib && ln -s libgda-2.1.1.0.dylib
libgda-2.1.dylib)
(cd .libs && rm -f libgda-2.dylib && ln -s libgda-2.1.1.0.dylib libgda-2.dylib)
ar cru .libs/libgda-2.a  gda-enum-types.o gda-blob.o gda-client.o
gda-command.o gda-config.o gda-connection.o gda-data-model.o
gda-data-model-array.o gda-data-model-hash.o gda-data-model-list.o
gda-error.o gda-export.o gda-field.o gda-init.o gda-log.o
gda-parameter.o gda-quark-list.o gda-row.o gda-select.o
gda-server-provider.o gda-table.o gda-transaction.o gda-util.o
gda-value.o gda-xml-connection.o gda-xml-database.o gda-xml-document.o
gda-xql-atom.o gda-xql-dual.o gda-xql-list.o gda-xql-utils.o
gda-xql-bin.o gda-xql-field.o gda-xql-query.o gda-xql-value.o
gda-xql-column.o gda-xql-func.o gda-xql-select.o gda-xql-valueref.o
gda-xql-const.o gda-xql-insert.o gda-xql-stack.o gda-xql-delete.o
gda-xql-item.o gda-xql-target.o gda-xql-dml.o gda-xql-join.o
gda-xql-update.o
ranlib .libs/libgda-2.a
creating libgda-2.la
(cd .libs && rm -f libgda-2.la && ln -s ../libgda-2.la libgda-2.la)
Making all in providers
Making all in mysql
if /bin/sh ../../libtool --mode=compile 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 -o gda-mysql-provider.lo `test -f 'gda-mysql-provider.c' || echo
'./'`gda-mysql-provider.c; \
then mv -f ".deps/gda-mysql-provider.Tpo" ".deps/gda-mysql-provider.Plo"; \
else rm -f ".deps/gda-mysql-provider.Tpo"; exit 1; \
fi
mkdir .libs
 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
distcc[22422] ERROR: compile (null) on localhost failed
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)
gda-mysql-provider.c:189: error: (Each undeclared identifier is
reported only once
gda-mysql-provider.c:189: error: for each function it appears in.)
gda-mysql-provider.c:189: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c:214: error: 'CLIENT_SSL' undeclared (first use in
this function)
gda-mysql-provider.c:232: error: parse error before ')' token
gda-mysql-provider.c:233: warning: implicit declaration of function 'mysql_init'
gda-mysql-provider.c:233: warning: nested extern declaration of 'mysql_init'
gda-mysql-provider.c:234: warning: implicit declaration of function
'mysql_real_connect'
gda-mysql-provider.c:234: warning: nested extern declaration of
'mysql_real_connect'
gda-mysql-provider.c:248: warning: implicit declaration of function
'mysql_select_db'
gda-mysql-provider.c:248: warning: nested extern declaration of
'mysql_select_db'
gda-mysql-provider.c:251: warning: implicit declaration of function
'mysql_close'
gda-mysql-provider.c:251: warning: nested extern declaration of 'mysql_close'
gda-mysql-provider.c: In function 'gda_mysql_provider_close_connection':
gda-mysql-provider.c:267: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:267: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_get_server_version':
gda-mysql-provider.c:287: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:287: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'process_sql_commands':
gda-mysql-provider.c:305: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:305: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c:324: error: 'MYSQL_RES' undeclared (first use in
this function)
gda-mysql-provider.c:324: error: 'mysql_res' undeclared (first use in
this function)
gda-mysql-provider.c:345: warning: implicit declaration of function
'mysql_real_query'
gda-mysql-provider.c:345: warning: nested extern declaration of
'mysql_real_query'
gda-mysql-provider.c:351: warning: implicit declaration of function
'mysql_store_result'
gda-mysql-provider.c:351: warning: nested extern declaration of
'mysql_store_result'
gda-mysql-provider.c:354: warning: passing argument 1 of
'gda_data_model_set_command_text' from incompatible pointer type
gda-mysql-provider.c:355: warning: passing argument 1 of
'gda_data_model_set_command_type' from incompatible pointer type
gda-mysql-provider.c: In function 'gda_mysql_provider_get_database':
gda-mysql-provider.c:373: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:373: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_change_database':
gda-mysql-provider.c:395: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:395: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_create_database':
gda-mysql-provider.c:426: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:426: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c:440: warning: implicit declaration of function
'mysql_query'
gda-mysql-provider.c:440: warning: nested extern declaration of 'mysql_query'
gda-mysql-provider.c: In function 'gda_mysql_provider_drop_database':
gda-mysql-provider.c:458: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:458: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_begin_transaction':
gda-mysql-provider.c:526: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:526: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_commit_transaction':
gda-mysql-provider.c:584: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:584: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'gda_mysql_provider_rollback_transaction':
gda-mysql-provider.c:617: error: 'MYSQL' undeclared (first use in this function)
gda-mysql-provider.c:617: error: 'mysql' undeclared (first use in this function)
gda-mysql-provider.c: In function 'add_aggregate_row':
gda-mysql-provider.c:691: warning: passing argument 2 of
'g_list_foreach' from incompatible pointer type
gda-mysql-provider.c:669: warning: unused variable 'value'
gda-mysql-provider.c: In function 'get_mysql_tables':
gda-mysql-provider.c:891: warning: assignment from incompatible pointer type
gda-mysql-provider.c: At top level:
gda-mysql-provider.c:998: error: parse error before 'mysql_row'
gda-mysql-provider.c: In function 'field_row_to_value_list':
gda-mysql-provider.c:1003: error: 'mysql_row' undeclared (first use in
this function)
gda-mysql-provider.c: In function 'get_table_fields':
gda-mysql-provider.c:1066: error: 'MYSQL' undeclared (first use in
this function)
gda-mysql-provider.c:1066: error: 'mysql' undeclared (first use in
this function)
gda-mysql-provider.c:1067: error: 'MYSQL_RES' undeclared (first use in
this function)
gda-mysql-provider.c:1067: error: 'mysql_res' undeclared (first use in
this function)
gda-mysql-provider.c:1119: warning: implicit declaration of function
'mysql_num_rows'
gda-mysql-provider.c:1119: warning: nested extern declaration of
'mysql_num_rows'
gda-mysql-provider.c:1140: error: 'MYSQL_ROW' undeclared (first use in
this function)
gda-mysql-provider.c:1140: error: parse error before 'mysql_row'
gda-mysql-provider.c:1142: warning: implicit declaration of function
'mysql_data_seek'
gda-mysql-provider.c:1142: warning: nested extern declaration of
'mysql_data_seek'
gda-mysql-provider.c:1143: error: 'mysql_row' undeclared (first use in
this function)
gda-mysql-provider.c:1143: warning: implicit declaration of function
'mysql_fetch_row'
gda-mysql-provider.c:1143: warning: nested extern declaration of
'mysql_fetch_row'
gda-mysql-provider.c:1145: warning: implicit declaration of function
'mysql_free_result'
gda-mysql-provider.c:1145: warning: nested extern declaration of
'mysql_free_result'
distcc[22426] ERROR: compile gda-mysql-provider.c on localhost failed
make[2]: *** [gda-mysql-provider.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-libgda-1.0.4-1016
(Reading database ... 82504 files and directories currently installed.)
Removing fink-buildlock-libgda-1.0.4-1016 ...
Failed: phase compiling: libgda-1.0.4-1016 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists.  As a last resort, you can try e-mailing
the maintainer directly:

        Dave Morrison <[EMAIL PROTECTED]>

Note that many fink package maintainers do not (yet) have access to OS X on
Intel hardware, so you may have better luck on the mailing lists.

-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to