I have had similar problems getting FLTK to build properly on OS X with 
the TigerVNC patches.  It builds fine on other platforms.  On OS X 
(10.6.8), I get

Undefined symbols:
   "_TISCreateASCIICapableInputSourceList", referenced from:
       fl_update_focus()     in libfltk.a(Fl_cocoa.mm.o)
   "_TISCopyCurrentKeyboardInputSource", referenced from:
       +[FLView keyTranslate:withModifierFlags:] in libfltk.a(Fl_cocoa.mm.o)
   "_TSMSetDocumentProperty", referenced from:
       fl_update_focus()     in libfltk.a(Fl_cocoa.mm.o)
   "_TSMGetActiveDocument", referenced from:
       fl_update_focus()     in libfltk.a(Fl_cocoa.mm.o)
   "_kTISPropertyUnicodeKeyLayoutData", referenced from:
       +[FLView keyTranslate:withModifierFlags:] in libfltk.a(Fl_cocoa.mm.o)
   "_LMGetKbdType", referenced from:
       +[FLView keyTranslate:withModifierFlags:] in libfltk.a(Fl_cocoa.mm.o)
   "_TISGetInputSourceProperty", referenced from:
       +[FLView keyTranslate:withModifierFlags:] in libfltk.a(Fl_cocoa.mm.o)
ld: symbol(s) not found

when it tries to link fluid.

This is after having gone through the painful process of figuring out 
which patches to apply (which is not obvious from reading some of the 
FLTK patch pages, since they may contain multiple versions of the same 
patch.)  I would suggest to Cendio that if they're going to insist on 
users building FLTK out-of-tree, the process to build it needs to be 
greatly simplified.  Checking the relevant FLTK patches into the 
TigerVNC source, numbered in the order in which they need to be applied, 
would be a great thing.  Barring that, please provide direct links (also 
in order!) for the patches that need to be applied.  I mean direct links 
as in direct links to the patch files, not to the patch page that 
contains multiple versions of the patch.  Then fix the FLTK build for 
all of the relevant platforms-- and by "fix the build", I mean it needs 
to work with CMake.  We had all of this working when FLTK was in-tree. 
Moving FLTK out-of-tree has effectively made TigerVNC unbuildable for me 
on certain platforms, and if it's unbuildable for someone who helped 
create the build system, what chance does anyone else have?


On 10/22/12 12:28 PM, Brian Long wrote:
> Pierre, sorry, I'm unable to get this to build.  I've tried patching
> FLTK with all the mentioned patches in BUILDING.txt but I've spent too
> much time trying to get it working.  When I tried building TigerVNC
> without the patched FLTK (I used fltk-1.3.0 from MacPorts), it failed to
> build as well.
>
> The output of my build before I tried building my own FLTK is here:
>   http://pastebin.com/BtUuuuUK <http://pastebin.com/BtUuuuUK>
>
> /Brian/
>
> On Mon, Oct 22, 2012 at 10:40 AM, Pierre Ossman <oss...@cendio.se
> <mailto:oss...@cendio.se>> wrote:
>> On Mon, 22 Oct 2012 10:31:49 -0400
>> Brian Long <briandl...@gmail.com <mailto:briandl...@gmail.com>> wrote:
>>
>>> Sorry, I'm running OS X 10.8.2 (not 10.7.2).  I can check out your
>>> code and try compiling it.  I have the latest XCode 4.5.1 installed.
>>> I checked out your SVN buildscripts directory and starting looking at
>>> the README.txt.  Do I need to install the older XCode 3.x to
>>> successfully compile?
>>
>> I'm afraid I'm using a custom setup here, so I don't know which XCode
>> version works best. As far as I know though, XCode should be backwards
>> compatible so the newer one should work.
>>
>>> For the other requirements (libgpg-error,
>>> libtasn1, libgcrypt, GnuTLS), do I need to find their respective
>>> source tarballs or do you guys provide the "supported" versions
>>> somewhere?
>>
>> We do not provide any special versions, no. I generally use the latest
>> versions.
>>
>> Note that the ones you've listed are optional and are only needed if
>> you want encryption support.
>>
>> Rgds
>> --
>> Pierre Ossman           Software Development
>> Cendio ABhttp://cendio.com
>> Teknikringen 8http://twitter.com/ThinLinc
>> 583 30 Linköpinghttp://facebook.com/ThinLinc
>> Phone: +46-13-214600http://plus.google.com/112509906846170010689
>>
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
>
>
>
> _______________________________________________
> Tigervnc-users mailing list
> Tigervnc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-users
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to