I'm trying to solve http://bugzilla.mozilla.org/show_bug.cgi?id=202022.
Following http://bugzilla.mozilla.org/show_bug.cgi?id=202022#c10
I've added the two .xpt files in Camino.xcode, made sure they where copied in the caminostatic and camino targets. I've added the xslt.properties file and made sure it was copied with the other properties files. if MOZ_CO_DATE is set to 04/15/2004, I can make a static and non static builds working.
On the current tree I can't I get a link error :
/usr/bin/g++-3.3 -o /Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/camino/build/Camino.app/Contents/MacOS/Camino -L/Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/camino/build -L../dist/bin -L../dist/lib -L../dist/Embed/components -L../intl/unicharutil/util -L/Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/extensions/transformiix/build -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/camino/build -filelist /Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/camino/build/Camino.build/Camino.build/Objects-normal/Camino.LinkFileList -lembed_base_s -lunicharutil_s -framework Cocoa -framework PreferencePanes -framework Carbon -framework CoreFoundation -framework SystemConfiguration -framework QuickTime -framework SharedMenusCocoa -lprofdirserviceprovider_s -ltransformiix -arch ppc -Wl,-no_arch_warnings -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -lm
ld: /Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/extensions/transformiix/build/libtransformiix.dylib is input for the dynamic link editor, is not relocatable by the static link editor again
The file seem ok :
bleu:~/Documents/sources/mozilla.org/xslt/mozilla ludo$ file /Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/extensions/transformiix/build/libtransformiix.dylib
/Users/ludo/Documents/sources/mozilla.org/xslt/mozilla/extensions/transformiix/build/libtransformiix.dylib: Mach-O bundle ppc
I tried google and the answers I've found do not ring a bell. I've looked in bonsai, the only thing that might affect my build is bug http://bugzilla.mozilla.org/show_bug.cgi?id=54828, I've tried adding --enable-shared in .mozconfig but that does not change my problem I can't link libtranformiix. My .mozconfig looks like :
ac_add_options --enable-default-toolkit=cocoa
ac_add_options --disable-tests
ac_add_options --enable-crypto
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-accessibility
ac_add_options --disable-jsd
ac_add_options --enable-plaintext-editor-only
ac_add_options --disable-mathml
ac_add_options --disable-xpinstall
ac_add_options --enable-extensions=cookie,xmlextras,universalchardet,typeaheadfind,transformiix
ac_add_options --with-system-zlib
ac_add_options --enable-single-profile
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk
ac_add_options --enable-shared
ac_add_options --enable-debug
I'm puzzled. Anybody having an idea ? I'm posting to the list because more people read the list than the bug.
I'm using Xcode 1.1 on OS X 10.3.3. I saw similar message in npmb about firefox, but no real answer on how I should deal with that issue.
Ludovic ps: peter if you are already on the list, I'm sorry. -- http://perso.hirlimann.net/~ludo/blog/
_______________________________________________ Camino mailing list [EMAIL PROTECTED] http://mozdev.org/mailman/listinfo/camino
