Compiling on MacOSX

From: Dirk Schönberger <dirk.schoenberger_at_sz-online.de>
Date: Thu Apr 13 2006 - 23:16:39 CEST

Hi,

I am trying to compiling Abiword 2.4.4 on MacOSX Tiger.
I have a working automake, autoconf etc build system. And I have installed
the needed libraries (as far as I know from 2.4.2)

Unfortunately I still get something like

g++ -DNDEBUG -I/usr/include/libxml2 -I/usr/include/fribidi
-I/Users/dirkschonberger/Work/abiword-2.4.4/wv -I/usr/include/libpng12
-DHAVE_THREADS=1 -pthreads -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DABISIZEOF_LONG_INT=4
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fpascal-strings
-DNO_SYS_ERRLIST -DXP_TARGET_COCOA -DXP_MAC_TARGET_MACOSX
-DXP_MAC_TARGET_QUARTZ
-DABISUITE_HOME=\"/usr/local/share/AbiSuite-2.4\"
-DABI_BUILD_VERSION=\"2.4.4\" -o AbiWord abi_ver.o CocoaMain.o
../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a
../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a
../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a
../../../../src/other/spell/xp/libSpell.a
../../../../src/other/ttftool/unix/libTtfTool.a
../../../../src/pkg/linux/apkg/libApkg.a
../../../../src/text/fmt/xp/libFmt.a
../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a
../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a
../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a
../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a
../../../../src/other/ttftool/unix/libTtfTool.a
../../../../src/pkg/linux/apkg/libApkg.a
../../../../src/text/fmt/xp/libFmt.a
../../../../src/text/ptbl/xp/libPtbl.a -lglib-2.0 -lintl -liconv
-liconv -framework Cocoa ../../../../src/wp/ap/libAp.a
../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a
../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a
../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a
../../../../src/other/ttftool/unix/libTtfTool.a
../../../../src/pkg/linux/apkg/libApkg.a
../../../../src/text/fmt/xp/libFmt.a
../../../../src/text/ptbl/xp/libPtbl.a -L/usr/lib -lxml2 -lz -lpthread
-liconv -lm -lfribidi -L../../../../../wv -lwv -lglib-2.0 -lintl -liconv
  -liconv -lpng12 -lz -lz -lpopt -pthreads -lgthread-2.0 -lglib-2.0
-lintl -liconv
powerpc-apple-darwin8-g++-4.0.0: unrecognized option '-pthreads'
powerpc-apple-darwin8-g++-4.0.0: unrecognized option '-pthreads'
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/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:
.objc_class_name_XAP_CocoaToolProvider
_g_module_close
_g_module_error
_g_module_open
_g_module_symbol
AP_CocoaDialog_Latex::static_constructor(XAP_DialogFactory*, int)

Is MacOSX still supported for Abiword?
_g_module and such are to be found in /usr/lib/libgmodule-2.0.0.dylib on
my system.
.objc_class_name_XAP_CocoaToolProvider looks like some missing parts in
the Apple/Cocoa specific part in some build system.
In know these from my tests with 2.4.2, there are seem to be missing some
more elements.

Regards
Dirk
Received on Thu Apr 13 23:23:40 2006

This archive was generated by hypermail 2.1.8 : Thu Apr 13 2006 - 23:23:41 CEST