Hi,
I hope mailing this list is the correct place, but I've tried to email the maintainer of the gtk+2 package, but I get an automatic email back from his email provider saying that he is over his quota, so it won't receive the message!!!
I'm having problems compiling GTK+2.0.6-2. It was working when fink installed it, but when I try to manually compile from the package in the /sw/src directory I also get errors. (I'm assuming the packages in that directory are the versions that fink has already patched - is this correct?).
What I have done is as follows:
1. I installed downloaded the source version of gtk+2
2. I uninstalled it
3. I went to the /sw/src directory and unarchived the gtk+2 package
4. I went into the gtk+-2.0.6 directory created
5. I make sure the environment variables are set as specified in fink documentation i.e.
setenv CFLAGS -I/sw/include
setenv LDFLAGS -L/sw/lib
setenv CXXFLAGS $CFLAGS
setenv CPPFLAGS $CXXFLAGS
6. Then I run ./configure which completes and seems to have no problems
7. I run make and it terminates with the following errors:
/bin/sh ../libtool --mode=link gcc -I/sw/include -Wall -L/sw/lib -o libgdk_pixbuf-2.0.la -rpath /usr/local/lib -version-info 0:6:0 -export-symbols-regex "^[^_].*" gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo pixops/libpixops.la -L/sw/lib -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lm -liconv -lintl -liconv
rm -fr .libs/libgdk_pixbuf-2.0.la .libs/libgdk_pixbuf-2.0.* .libs/libgdk_pixbuf-2.0.*
generating symbol list for `libgdk_pixbuf-2.0.la'
/usr/bin/nm -p gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo pixops/.libs/libpixops.al | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp
egrep -e "^[^_].*" ".libs/libgdk_pixbuf-2.0.exp" > ".libs/libgdk_pixbuf-2.0.expT"
mv -f ".libs/libgdk_pixbuf-2.0.expT" ".libs/libgdk_pixbuf-2.0.exp"
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libgdk_pixbuf-2.0.0.0.6.dylib gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -all_load pixops/.libs/libpixops.al -L/sw/lib pixops/.libs/libpixops.al -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lm -lintl -liconv -lc -install_name /usr/local/lib/libgdk_pixbuf-2.0.0.dylib -compatibility_version 1 -current_version 1.6
ld: multiple definitions of symbol _pixops_composite
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite in section (__TEXT,__text)
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite in section (__TEXT,__text)
ld: multiple definitions of symbol _pixops_composite_color
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite_color in section (__TEXT,__text)
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite_color in section (__TEXT,__text)
ld: multiple definitions of symbol _pixops_scale
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_scale in section (__TEXT,__text)
pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_scale in section (__TEXT,__text)
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libgdk_pixbuf-2.0.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
Am I doing something wrong or is there a problem with this package? Some other information:
- I am running Mac OS X (10.2.3)
- I have got the Dec 2002 developers tools
- I DO NOT have the gtk+2-dev or gtk+2-shlibs packages installed *
* I was unsure whether these were necessary to manually compile gtk+2. I couldn't see find separate packages for them in the /sw/src directory, so I kind of assumed they must be build too when you compile the gtk+-2.0.6 package. Perhaps my misunderstanding here is the problem?
If you have any information, or suggestions I would really appreciate it. I really need to be able to compile this package.
Thanks,
Robert
- Re: [Fink-devel] gtk+2 compiling errors (ld: multiple de... Robert Isenberg
- Re: [Fink-devel] gtk+2 compiling errors (ld: multip... David R. Morrison
