Am 07.09.2010 um 03:49 schrieb Cyrille Artho:

> Hi Stephan,
> thank you for updating the guide. Using the recommended options (-universal 
> for Qt, "-arch i386" for LyX), I could compile but not link LyX. I have had 
> the same problems with earlier attempts.

Thank you for trying the build instructions.

> My last attempt was using rev. 35300 from svn. Linking also fails in a 
> similar way on LyX 1.6.7.

I think it's a general problem within the configure process and the concrete 
svn version is irrelevant here.
So, it would be more helpful to see the complete command line text you're using 
when
* configure Qt and
* configure LyX.

Additionally please post the output of the three commands
% port list installed
% env
% gcc -v

Frankly, currently I have no idea...

> The linker output is as follows:
> 
> Undefined symbols:
>  ".objc_class_name_NSAutoreleasePool", referenced from:
>      literal-poin...@__objc@__cls_r...@nsautoreleasepool in 
> liblyxsupport.a(AppleSpeller.o)
>      literal-poin...@__objc@__cls_r...@nsautoreleasepool in 
> liblyxsupport.a(LinkBackProxy.o)
>  "_FSPathMakeRef", referenced from:
>      lyx::support::os::autoOpenFile(std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, 
> lyx::support::os::auto_open_mode)in liblyxsupport.a(os.o)
>  "_LSGetApplicationForInfo", referenced from:
>      lyx::support::os::canAutoOpenFile(std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, 
> lyx::support::os::auto_open_mode)in liblyxsupport.a(os.o)
>  "_LSGetApplicationForItem", referenced from:
>      lyx::support::os::autoOpenFile(std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, 
> lyx::support::os::auto_open_mode)in liblyxsupport.a(os.o)
>  ".objc_class_name_NSSpellChecker", referenced from:
>      literal-poin...@__objc@__cls_r...@nsspellchecker in 
> liblyxsupport.a(AppleSpeller.o)
>  ".objc_class_name_NSBundle", referenced from:
>      literal-poin...@__objc@__cls_r...@nsbundle in liblyxsupport.a(LinkBack.o)
>      literal-poin...@__objc@__cls_r...@nsbundle in 
> liblyxsupport.a(LinkBackServer.o)
>  "_FSFindFolder", referenced from:
>      lyx::support::(anonymous 
> namespace)::get_default_user_support_dir(lyx::support::FileName const&)in 
> liblyxsupport.a(Package.o)
>  "_objc_msgSend_fpret", referenced from:
>      -[NSDictionary(LinkBackData) linkBackSuggestedRefreshRate] in 
> liblyxsupport.a(LinkBack.o)
>      _LinkBackUniqueItemKey in liblyxsupport.a(LinkBack.o)

That looks really weird. Your linker does not know how to resolve symbols from 
the apple foundation kit... but your compiler apparently did it.

Stephan

Reply via email to