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

Re: [XaraXtreme-dev] Re: Success



Hi Ben,

The version of libxml in fink is not a Universal Binary whereas the Apple one is. The same goes for libz, libiconv, (I've checked those) and probably most (all?) other libraries. This means it's possible to build a version for your particular platform using the fink libraries but not to build a version that's generally distributable.

Seems to me fink should be distributing universal binaries (at least for us developers) but a Google search turns up no talk of this whatsoever.

Phil

On 4 Jun 2006, at 17:11, Ben Fowler wrote:

On 04/06/06, Phil Martin <phil@xxxxxxxx> wrote:

On 4 Jun 2006, at 12:53, Alex Bligh wrote:
[Snip]

Indeed, Ben, I take it you solved the libxml2 linking problem? A
suitable patch would be appreciated if you have it.


Oh. What I did was link against an independently compiled libxml2.2,
to wit, the fink one. Do you have a reason for wanting to link against
Apple's libxml? Is there an advantage in creating a dependency on
Apple's binaries? Assuming that Xara LX (Official) is Tiger only, this
might be a good idea as you can weak link to it.

Is it the case that the Apple libxml is missing some symbols that
wxWidgets needs? If so, I would expect there to be a paper trail in
either the wxWidgets or the Apple development community?

The fink version is slightly later, videlicet:

$ find /usr/lib /sw/lib -name 'libxml2*dylib'
/usr/lib/libxml2.2.6.16.dylib
/usr/lib/libxml2.2.dylib
/usr/lib/libxml2.dylib
/sw/lib/libxml2.2.6.22.dylib
/sw/lib/libxml2.2.dylib
/sw/lib/libxml2.dylib

Could this be the only problem???

If so, you might want to add a check for one of the newer functions
(one that is actually used by wxWidgets - no cruel coding!) in
./configure as a reminder.

Ben