Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-04 Thread Viv Kendon

On Fri, 3 Feb 2006, Martin Costabel wrote:

I just built libgda-1.0.4-4 (successfully) on a server. It shows the 
following configuration:

  Providers
 XML = yes
 FireBird = no
 FreeTDS = no
 IBM DB2 = no
 MDB (MS Access) = no
 MySQL = yes
 mSQL = no
 ODBC = no
 Oracle = no
 PostgreSQL = no
 SQLite = no
 Sybase = no
 xBase (dBase, Clipper, FoxPro) = no
 LDAP = yes

This is on OSX server 10.4.4, however the dev tools seem to be at 2.0 or so, 
gcc-4.0.0 build 5026.


FWIW, it fails on my server (now updated to the latest dev 
tools gcc-4.0.1 build 5250) with the same error as I already 
reported.  It shows the same configuration as above.


The full build log is here:

http://quantum.leeds.ac.uk/~viv/filibgda060204.log

In case this is useful...

-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-04 Thread Martin Costabel

Viv Kendon wrote:
[]
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-sign-compare   -L/sw/lib -o 
libgda-mysql.la -rpath /sw/lib/libgda/providers -export-dynamic -module 
-avoid-version gda-mysql-provider.lo gda-mysql-recordset.lo libmain.lo 
utils.lo -L/sw/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 
-lintl -lxslt -lxml2 -lpthread -lz -liconv -lm

   ../../libgda/libgda-2.la -L/usr/lib/mysql -lmysqlclient
gcc -bundle -flat_namespace -undefined suppress -o 
.libs/libgda-mysql.so  .libs/
gda-mysql-provider.o .libs/gda-mysql-recordset.o .libs/libmain.o 
.libs/utils.o -all_load  /usr/lib/mysql/libmysqlclient.a 
/sw/src/fink.build/libgda-1.0.4-4/libgda-1.0.4/libsql/.libs/libgdasql.dylib 
-L/sw/lib /sw/lib/libgobject-2.0.dylib /sw/lib/libgthread-2.0.dylib 
/sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib 
/sw/lib/libintl.dylib /sw/lib/libxslt.dylib /sw/lib/libxml2.dylib 
-lpthread -lz /sw/lib/libiconv.dylib -lm 
../../libgda/.libs/libgda-2.dylib -L/usr/lib/mysql

/usr/bin/ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private 
external definition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_udivdi3_s.o) 
definition of ___udivdi3

[]

collect2: ld returned 1 exit status
make[2]: *** [libgda-mysql.la] Error 1


I think we can safely blame this on libtool. The -all_load flag that it 
adds will break any gcc linker command when MACOSX_DEPLOYMENT_TARGET is 
set to 10.4, because then both -lgcc_s.10.4 and -lgcc are present on the 
linker line and when -all_load hits libgcc.a, the above multiple 
definition error will result. In addition, -all_load is not even needed 
here. This has been discussed for other packages in the past, but I 
don't remember the conclusion.


A workaround for libgda is to put the line

SetMACOSX_DEPLOYMENT_TARGET: 10.3

into the libgda.info file. I don't know if this will break other things, 
but in any case it will avoid that error.


--
Martin




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-04 Thread Viv Kendon

On Sat, 4 Feb 2006, Martin Costabel wrote:

I think we can safely blame this on libtool. The -all_load flag that it adds 
will break any gcc linker command when MACOSX_DEPLOYMENT_TARGET is set to 
10.4, because then both -lgcc_s.10.4 and -lgcc are present on the linker line 
and when -all_load hits libgcc.a, the above multiple definition error will 
result. In addition, -all_load is not even needed here. This has been 
discussed for other packages in the past, but I don't remember the 
conclusion.


A workaround for libgda is to put the line

SetMACOSX_DEPLOYMENT_TARGET: 10.3

into the libgda.info file. I don't know if this will break other things, but 
in any case it will avoid that error.


With this line added to libgda.info, it now compiles on my 
server.  Since the reason I have it installed appears to be 
for gnumeric, I binary installed the deb on my TiBook and 
tried gnumeric.  It works (as well as it usually does) on 
the Excel spreadsheet I opened with it...


The install log is here should you wish to see it:
http://quantum.leeds.ac.uk/~viv/filibgda060204-10.3.log

-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-04 Thread Peter O'Gorman

Martin Costabel wrote:

I think we can safely blame this on libtool. The -all_load flag that it 
adds will break any gcc linker command when MACOSX_DEPLOYMENT_TARGET is 
set to 10.4, because then both -lgcc_s.10.4 and -lgcc are present on the 
linker line and when -all_load hits libgcc.a, the above multiple 
definition error will result. In addition, -all_load is not even needed 
here. This has been discussed for other packages in the past, but I 
don't remember the conclusion.


Hi Martin, thanks for the CC.

If libtool's whole_archive_flag_spec is set to the empty string then libtool 
will unpack convenience libraries and add the objects to the link line. This 
was done in libtool-1.5.8 (albeit for a different reason). sedding the 
generated libtool script after the configure stage to remove all_load should 
do the trick.


e.g.
./configure %c
sed -i -e \
's/^whole_archive_flag_spec=.*/whole_archive_flag_spec=/g;' \
libtool

Note that if you are building fat then you must update to a recent libtool, 
ar x does not work on ranlibbed fat archives. I'd suggest the latest libtool 
version because while I added code to libtool to unpack fat archives for 
1.5.8, it had a few flaws, the latest version is better :)


Peter


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Viv Kendon

On Thu, 2 Feb 2006, Robert T Wyatt wrote:


fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:

bash-3.00$ fink list -t libgda
Information about 5275 packages read in 16 seconds.
i  libgda  1.0.4-4 Uniform access to different kinds of data sources
i  libgda-dev  1.0.4-4 Developer files for libgda package
i  libgda-shlibs   1.0.4-4 Shared libraries for libgda package


Still does not work for me after another selfupdate this 
morning, same error as I posted before.  My 
fink-virtual-packages list is very similar to yours, but not 
identical (it found an extra gcc 4.0.1 version on my 
system).


Must be something different on my system...what is the 
definitive way to tell which xcode you have installed?  For 
other reasons, I did just install the 10.4.4 server combo 
update over an already updated to 10.4.4 server system, but 
that's the only thing I did recently.


-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Michèle Garoche


Le 3 févr. 2006 à 10:21, Viv Kendon a écrit :


On Thu, 2 Feb 2006, Robert T Wyatt wrote:


fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:

bash-3.00$ fink list -t libgda
Information about 5275 packages read in 16 seconds.
i  libgda  1.0.4-4 Uniform access to different kinds of data  
sources

i  libgda-dev  1.0.4-4 Developer files for libgda package
i  libgda-shlibs   1.0.4-4 Shared libraries for libgda package


Still does not work for me after another selfupdate this morning,  
same error as I posted before.  My fink-virtual-packages list is  
very similar to yours, but not identical (it found an extra gcc  
4.0.1 version on my system).


Must be something different on my system...what is the definitive  
way to tell which xcode you have installed?  For other reasons, I  
did just install the 10.4.4 server combo update over an already  
updated to 10.4.4 server system, but that's the only thing I did  
recently.
Try this one (same .info file, just the patch changes), hopefully it  
is complete now:




libgda.patch
Description: Binary data



Cheers,
Michèle
http://micmacfr.homeunix.org



36C471DED4B09EEB30A0281F2608DB2FE6F9E147.gpgkey
Description: Binary data





Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Viv Kendon

On Fri, 3 Feb 2006, Michèle Garoche wrote:


Le 3 févr. 2006 à 10:21, Viv Kendon a écrit :


On Thu, 2 Feb 2006, Robert T Wyatt wrote:


fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:

Still does not work for me after another selfupdate this morning, same 
error as I posted before.  My fink-virtual-packages list is very similar to 
yours, but not identical (it found an extra gcc 4.0.1 version on my 
system).


Must be something different on my system...what is the definitive way to 
tell which xcode you have installed?  For other reasons, I did just install 
the 10.4.4 server combo update over an already updated to 10.4.4 server 
system, but that's the only thing I did recently.
Try this one (same .info file, just the patch changes), hopefully it is 
complete now:


Hi Michèle,

Many thanks for this: I tried it, still doesn't work, but 
different error now.  Some nasty line-wrapping (sorry) but 
also looks like it might contain enough clues to figure out 
what is different/wrong on my system??


 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/include/mysql -no-cpp-precomp -I/sw/include -g -O2 
-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -MT 
utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -o utils.o /dev/null 21
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -L/sw/lib -o 
libgda-mysql.la -rpath /sw/lib/libgda/providers -export-dynamic -module 
-avoid-version gda-mysql-provider.lo gda-mysql-recordset.lo libmain.lo utils.lo -L/sw/lib 
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lxslt -lxml2 
-lpthread -lz -liconv -lm

   ../../libgda/libgda-2.la -L/usr/lib/mysql -lmysqlclient
gcc -bundle -flat_namespace -undefined suppress -o 
.libs/libgda-mysql.so  .libs/
gda-mysql-provider.o .libs/gda-mysql-recordset.o 
.libs/libmain.o .libs/utils.o -all_load  /usr/lib/mysql/libmysqlclient.a 
/sw/src/fink.build/libgda-1.0.4-4/libgda-1.0.4/libsql/.libs/libgdasql.dylib -L/sw/lib 
/sw/lib/libgobject-2.0.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/libgmodule-2.0.dylib 
/sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libxslt.dylib 
/sw/lib/libxml2.dylib -lpthread -lz /sw/lib/libiconv.dylib -lm 
../../libgda/.libs/libgda-2.dylib -L/usr/lib/mysql

/usr/bin/ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) 
private external definition of ___udivdi3 in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_udivdi3_s.o)
 definition of ___udivdi3
/usr/bin/ld: multiple definitions of symbol ___umoddi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) 
private external definition of ___umoddi3 in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_umoddi3_s.o)
 definition of ___umoddi3
/usr/bin/ld: multiple definitions of symbol ___cmpdi2
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_cmpdi2.o) 
private external definition of ___cmpdi2 in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_cmpdi2_s.o)
 definition of ___cmpdi2
/usr/bin/ld: multiple definitions of symbol ___fixdfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixdfdi.o) 
private external definition of ___fixdfdi in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_fixdfdi_s.o)
 definition of ___fixdfdi
/usr/bin/ld: multiple definitions of symbol ___fixsfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixsfdi.o) 
private external definition of ___fixsfdi in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_fixsfdi_s.o)
 definition of ___fixsfdi
/usr/bin/ld: multiple definitions of symbol ___fixunsdfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixunsdfdi.o) 
private external definition of ___fixunsdfdi in section (__TEXT,__text)

/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_fixunsdfdi_s.o)
 definition of ___fixunsdfdi
/usr/bin/ld: multiple definitions of symbol ___fixunssfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixunssfdi.o) 
private external 

Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Michèle Garoche


Le 3 févr. 2006 à 12:41, Viv Kendon a écrit :


On Fri, 3 Feb 2006, Michèle Garoche wrote:


Le 3 févr. 2006 à 10:21, Viv Kendon a écrit :


On Thu, 2 Feb 2006, Robert T Wyatt wrote:

fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:
Still does not work for me after another selfupdate this morning,  
same error as I posted before.  My fink-virtual-packages list is  
very similar to yours, but not identical (it found an extra gcc  
4.0.1 version on my system).
Must be something different on my system...what is the definitive  
way to tell which xcode you have installed?  For other reasons, I  
did just install the 10.4.4 server combo update over an already  
updated to 10.4.4 server system, but that's the only thing I did  
recently.
Try this one (same .info file, just the patch changes), hopefully  
it is complete now:


Hi Michèle,

Many thanks for this: I tried it, still doesn't work, but different  
error now.  Some nasty line-wrapping (sorry) but also looks like it  
might contain enough clues to figure out what is different/wrong on  
my system??


 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/include/mysql -no-cpp-precomp -I/sw/include -g -O2 - 
Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno- 
sign-compare -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -o  
utils.o /dev/null 21
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wmissing- 
prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -L/ 
sw/lib -o libgda-mysql.la -rpath /sw/lib/libgda/providers -export- 
dynamic -module -avoid-version gda-mysql-provider.lo gda-mysql- 
recordset.lo libmain.lo utils.lo -L/sw/lib -lgobject-2.0 - 
lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lxslt -lxml2 - 
lpthread -lz -liconv -lm

   ../../libgda/libgda-2.la -L/usr/lib/mysql -lmysqlclient
gcc -bundle -flat_namespace -undefined suppress -o .libs/libgda- 
mysql.so  .libs/
gda-mysql-provider.o .libs/gda-mysql-recordset.o .libs/ 
libmain.o .libs/utils.o -all_load  /usr/lib/mysql/libmysqlclient.a / 
sw/src/fink.build/libgda-1.0.4-4/libgda-1.0.4/libsql/.libs/ 
libgdasql.dylib -L/sw/lib /sw/lib/libgobject-2.0.dylib /sw/lib/ 
libgthread-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/ 
libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libxslt.dylib /sw/ 
lib/libxml2.dylib -lpthread -lz /sw/lib/libiconv.dylib -lm ../../ 
libgda/.libs/libgda-2.dylib -L/usr/lib/mysql

/usr/bin/ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o)  
private external definition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_udivdi3_s.o) definition of ___udivdi3

/usr/bin/ld: multiple definitions of symbol ___umoddi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o)  
private external definition of ___umoddi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_umoddi3_s.o) definition of ___umoddi3

/usr/bin/ld: multiple definitions of symbol ___cmpdi2
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_cmpdi2.o)  
private external definition of ___cmpdi2 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_cmpdi2_s.o) definition of ___cmpdi2

/usr/bin/ld: multiple definitions of symbol ___fixdfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixdfdi.o)  
private external definition of ___fixdfdi in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_fixdfdi_s.o) definition of ___fixdfdi

/usr/bin/ld: multiple definitions of symbol ___fixsfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixsfdi.o)  
private external definition of ___fixsfdi in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_fixsfdi_s.o) definition of ___fixsfdi

/usr/bin/ld: multiple definitions of symbol ___fixunsdfdi
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_fixunsdfdi.o)  
private external definition of ___fixunsdfdi in section  
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 
10.4.dylib(_fixunsdfdi_s.o) definition of ___fixunsdfdi

/usr/bin/ld: multiple definitions of 

Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Viv Kendon

On Fri, 3 Feb 2006, Michèle Garoche wrote:


Le 3 févr. 2006 à 12:41, Viv Kendon a écrit :


On Fri, 3 Feb 2006, Michèle Garoche wrote:


Le 3 févr. 2006 à 10:21, Viv Kendon a écrit :


On Thu, 2 Feb 2006, Robert T Wyatt wrote:

fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:
Still does not work for me after another selfupdate this morning, same 
error as I posted before.  My fink-virtual-packages list is very similar 
to yours, but not identical (it found an extra gcc 4.0.1 version on my 
system).
Must be something different on my system...what is the definitive way to 
tell which xcode you have installed?  For other reasons, I did just 
install the 10.4.4 server combo update over an already updated to 10.4.4 
server system, but that's the only thing I did recently.
Try this one (same .info file, just the patch changes), hopefully it is 
complete now:


Hi Michèle,

Many thanks for this: I tried it, still doesn't work, but different error 

[snip large error msg]
It seems to me an error with gcc. I cannot say what needs to be changed to 
get it compiled. The only difference with you if that I have a newer build of 
gcc.


gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)


H...  I _think_ that what I have installed is from 
xcode_2-1.2_8m654_018213974.dmg, which is the latest thing I 
found on the Apple Developer website in early Jan:

 gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, 
Inc. build 5247)
Only three builds earlier than yours (if that's how that 
counter works?  I'm at home, can't easily download 833Mb
Xcode until Tuesday: could someone confirm if the above is 
actually not the latest?



That may explain.


Indeed...

Others, experts in that field, surely have a solution, for not forcing people 
to update to the very latest XCode.


Well, I don't mind doing this, but it is sometimes hard to 
figure out when Apple changes things.


Other differences, I have not imagemagick installed. I recall vaguely it led 
to a lot of problems once installing.


I do indeed have ImageMagick installed.  I'll wait a little 
to see if other people have comments, then maybe try 
removing it...(I'm doing something I need to use it for 
right now).



Sorry not to be more helpful.


You've been very helpful, this is definitely progress -- 
thanks!


-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv

Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Michèle Garoche


Le 3 févr. 2006 à 14:02, Viv Kendon a écrit :


On Fri, 3 Feb 2006, Michèle Garoche wrote:


Le 3 févr. 2006 à 12:41, Viv Kendon a écrit :


On Fri, 3 Feb 2006, Michèle Garoche wrote:

Le 3 févr. 2006 à 10:21, Viv Kendon a écrit :

On Thu, 2 Feb 2006, Robert T Wyatt wrote:

fwiw, it worked for me on 10.4.4 with Xcode 2.2.1:
Still does not work for me after another selfupdate this  
morning, same error as I posted before.  My fink-virtual- 
packages list is very similar to yours, but not identical (it  
found an extra gcc 4.0.1 version on my system).
Must be something different on my system...what is the  
definitive way to tell which xcode you have installed?  For  
other reasons, I did just install the 10.4.4 server combo  
update over an already updated to 10.4.4 server system, but  
that's the only thing I did recently.
Try this one (same .info file, just the patch changes),  
hopefully it is complete now:

Hi Michèle,
Many thanks for this: I tried it, still doesn't work, but  
different error

[snip large error msg]
It seems to me an error with gcc. I cannot say what needs to be  
changed to get it compiled. The only difference with you if that I  
have a newer build of gcc.


gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
build 5250)


H...  I _think_ that what I have installed is from  
xcode_2-1.2_8m654_018213974.dmg, which is the latest thing I found  
on the Apple Developer website in early Jan:
I have 8g1165, which is precisely the one on ADC, posted on January  
12th.



Cheers,
Michèle
http://micmacfr.homeunix.org



36C471DED4B09EEB30A0281F2608DB2FE6F9E147.gpgkey
Description: Binary data





Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Martin Costabel

Viv Kendon wrote:

gcc -bundle -flat_namespace -undefined suppress -o 
.libs/libgda-mysql.so  .libs/
gda-mysql-provider.o .libs/gda-mysql-recordset.o .libs/libmain.o 
.libs/utils.o -all_load  /usr/lib/mysql/libmysqlclient.a 


What's this? I don't have any /usr/lib/mysql/. As a result, all the 
mysql stuff is not built in my case, which avoids your errors. In the 
configure summary, I see


  MySQL = no

Where did you get this from?

--
Martin



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Chris Zubrzycki

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 3, 2006, at 8:27 AM, Martin Costabel wrote:


Viv Kendon wrote:

gcc -bundle -flat_namespace -undefined suppress -o .libs/libgda- 
mysql.so  .libs/
gda-mysql-provider.o .libs/gda-mysql-recordset.o .libs/ 
libmain.o .libs/utils.o -all_load  /usr/lib/mysql/libmysqlclient.a


What's this? I don't have any /usr/lib/mysql/. As a result, all the  
mysql stuff is not built in my case, which avoids your errors. In  
the configure summary, I see


  MySQL = no

Where did you get this from?


Does OS X Server maybe have this? or else it's 3rd party install.

- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070

Of course, you realize this means war.
- -B. Bunny


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Darwin)
Comment: Please sign reply-http://www.gnupg.org

iEYEARECAAYFAkPjZcwACgkQ+/mCMqKrwHAGNACfX1/EQQI2/+L0tVkEaXzsmyCW
QFMAoLFHxVy+kr3djeHMAdRx7Weus8o7
=NGz+
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Martin Costabel

Chris Zubrzycki wrote:
[]
What's this? I don't have any /usr/lib/mysql/. As a result, all the  
mysql stuff is not built in my case, which avoids your errors. In  the 
configure summary, I see


  MySQL = no

Where did you get this from?



Does OS X Server maybe have this? or else it's 3rd party install.


Indeed, I see it on a server, where it is installed by 
ServerEssentials.pkg and by MacOSXServerUpdate10.4.3.pkg. So our future 
build farm will need both OSX server and OSX client machines..


--
Martin


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Michèle Garoche


Le 3 févr. 2006 à 15:35, Martin Costabel a écrit :


Chris Zubrzycki wrote:
[]
What's this? I don't have any /usr/lib/mysql/. As a result, all  
the  mysql stuff is not built in my case, which avoids your  
errors. In  the configure summary, I see


  MySQL = no

Where did you get this from?

Does OS X Server maybe have this? or else it's 3rd party install.


Indeed, I see it on a server, where it is installed by  
ServerEssentials.pkg and by MacOSXServerUpdate10.4.3.pkg. So our  
future build farm will need both OSX server and OSX client machines..
While we're at it, here's the list of eventual providers in libgda.  
It may be worth to look at an eventual installation on Mac OS X  
server too, just for not wasting time in the future for problem with  
them:


- firebird
- freetds
- ibmd2
- ldap
- mdb
- msql
- mysql
- odbc
- oracle
- postgres
- sqlite
- sybase
- xbase
- xml

Cheers,
Michèle
http://micmacfr.homeunix.org



36C471DED4B09EEB30A0281F2608DB2FE6F9E147.gpgkey
Description: Binary data





Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Viv Kendon

On Fri, 3 Feb 2006, Martin Costabel wrote:

Chris Zubrzycki wrote:
[]
What's this? I don't have any /usr/lib/mysql/. As a result, all the  mysql 
stuff is not built in my case, which avoids your errors. In  the configure 
summary, I see


  MySQL = no

Where did you get this from?


Does OS X Server maybe have this? or else it's 3rd party install.


Indeed, I see it on a server, where it is installed by ServerEssentials.pkg 
and by MacOSXServerUpdate10.4.3.pkg. So our future build farm will need both 
OSX server and OSX client machines..


OK...so I uncovered something useful (maybe), and, I seem to 
have two (possible) problems:


1. as luck would have it, I last grabbed the latest version 
of Xcode tools one day before the current latest was 
released (so I have 5247 instead of 5250).  I will fix this, 
but maybe not before Tuesday when I'm back in front of my 
server box...


2. building on server it tries to include mysql, and that 
didn't get debugged yet...?


...which means that 1. may not be quite so urgent.  Let me 
know if/when you'd like me to give it another try.


One more question...I'm using this server as a deb server 
for my client machines...will it cause problems to have 
this built against mysql which the clients don't have?


Many thanks,
-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
 http://quantum.leeds.ac.uk/~viv


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Re: libgda-1.0.4-4 compile error

2006-02-03 Thread Martin Costabel

Michèle Garoche wrote:



While we're at it, here's the list of eventual providers in libgda.  It 
may be worth to look at an eventual installation on Mac OS X  server 
too, just for not wasting time in the future for problem with  them:


- firebird
- freetds
- ibmd2
- ldap
- mdb
- msql
- mysql
- odbc
- oracle
- postgres
- sqlite
- sybase
- xbase
- xml



I just built libgda-1.0.4-4 (successfully) on a server. It shows the 
following configuration:

   Providers
  XML = yes
  FireBird = no
  FreeTDS = no
  IBM DB2 = no
  MDB (MS Access) = no
  MySQL = yes
  mSQL = no
  ODBC = no
  Oracle = no
  PostgreSQL = no
  SQLite = no
  Sybase = no
  xBase (dBase, Clipper, FoxPro) = no
  LDAP = yes

This is on OSX server 10.4.4, however the dev tools seem to be at 2.0 or 
so, gcc-4.0.0 build 5026.


--
Martin



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users