Re: Pango 1.9.1 problemo building on Mac OS X 10.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05.08.2005, at 00:44, Ryan Schmidt wrote:

Then, in the pango-1.9.1 directory, I did this:

./configure --prefix=$HOME/graphviz
make

The stderr output of "make" is lots of this:

powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-pthreads'

and also this:

pango-utils.c: In function 'pango_is_zero_width':
pango-utils.c:1745: warning: suggest parentheses around comparison in operand of &
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
pangofc-fontmap.c: In function 'pango_fc_font_map_list_families':
pangofc-fontmap.c:676: warning: pointer targets in passing argument 1 of 'is_alias_family' differ in signedness pangofc-fontmap.c:679: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
pangofc-fontmap.c: In function 'pango_fc_make_pattern':
pangofc-fontmap.c:824: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
pangofc-fontmap.c: In function 'pango_fc_face_list_sizes':
pangofc-fontmap.c:1739: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness pangofc-fontmap.c:1740: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
pangofc-fontmap.c: In function 'pango_fc_family_list_faces':
pangofc-fontmap.c:1910: warning: pointer targets in assignment differ in signedness pangofc-fontmap.c:1912: warning: pointer targets in passing argument 2 of 'create_face' differ in signedness
pangoft2.c: In function 'pango_ft2_font_get_face':
pangoft2.c:219: warning: pointer targets in passing argument 2 of 'load_fallback_face' differ in signedness
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
ld: multiple definitions of symbol ___moddi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_moddi3.o) private external definition of ___moddi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_moddi3.o) definition of ___moddi3
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libpangoft2-1.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm hoping that the _locale_charset errors in my iconv and gettext DarwinPorts are not fatal, since they're shown multiple times. The ___moddi3 problem looks somehow more ominous, as it's in libraries that were provided by Apple.

Anyone see anything they recognize? I'd appreciate any suggestions or pointers.

I see that this "multiple definitions of symbol ___moddi3" error was also encountered by someone trying to build Ethereal on Mac OS X 10.4.2:

http://bugzilla.opendarwin.org/show_bug.cgi?id=4232

The fix listed in that bug report is "added MACOSX_DEPLOYMENT_TARGET=... info to configure.env and build.env for various darwin platforms. This fixes the build on Tiger by removing the -flat_namespace arg to gcc that ethereal uses in the absence of OSX/darwin revision information."

So I used `export MACOSX_DEPLOYMENT_TARGET=10.4` before configuring and making, and I seem to get further, but now I'm stuck here:

gcc -I/opt/local/include -I/Users/rschmidt/graphviz/include -O0 -g - Wall -o .libs/pango-cairoview cairoview.o renderdemo.o argcontext.o - L/opt/local/lib -L/Users/rschmidt/graphviz/lib ../pango/.libs/ libpango-1.0.dylib ../pango/.libs/libpangoft2-1.0.dylib ../ pango/.libs/libpangocairo-1.0.dylib -L/usr/X11R6/lib /Users/rschmidt/ graphviz/pango-1.9.1/pango/.libs/libpangoft2-1.0.dylib /Users/ rschmidt/graphviz/pango-1.9.1/pango/.libs/libpango-1.0.dylib /Users/ rschmidt/graphviz/lib/libgobject-2.0.dylib /Users/rschmidt/graphviz/ lib/libgmodule-2.0.dylib /Users/rschmidt/graphviz/lib/ libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/ libiconv.dylib /Users/rschmidt/graphviz/lib/libcairo.dylib -lXrender - lXext /opt/local/lib/libfontconfig.dylib /opt/local/lib/ libfreetype.dylib /opt/local/lib/libexpat.dylib -lpng12 -lz /Users/ rschmidt/graphviz/lib/libglitz.dylib -lm -lX11
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
/usr/bin/ld: Undefined symbols:
_pixman_region_create
_pixman_region_destroy
_pixman_region_extents
_pixman_region_num_rects
_pixman_region_rects
_pixman_region_union_rect
symbol _locale_charset used from dynamic library /opt/local/lib/ libiconv.dylib(localcharset.o) not from earlier dynamic library /opt/ local/lib/libintl.3.dylib(localcharset.o)
collect2: ld returned 1 exit status
make[2]: *** [pango-cairoview] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Since I don't know what I'm doing, I tried following the suggestion and adding -bind_at_load to my LDFLAGS, but that merely removed the suggestion, not the undefined symbol errors.

I'm using cairo-0.9.2, libpixman-0.1.6 and glitz-0.4.4, which seem to be the latest available.

Any ideas?


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux