On 05/27/2012 06:07 PM, Ian MacArthur wrote:
>
> On 27 May 2012, at 21:01, Michael Surette wrote:
>
>> Do a sudo make install and you should be good to go.
>
> Mike,
>
> I'm not sure if that last step (doing a make install) is necessarily god 
> advice; my worry is that many distros still ship fltk-1.1 (if they ship fltk 
> at all) and the 1.1 and 1.3 libraries are not (by default) versioned in any 
> obvious way, and are binary incompatible... So doing a "make install" of 1.3 
> may potentially tread on libraries installed by the distro, which might be a 
> Bad Thing.
>
> What I'd recommend, if you need to install fltk-1.3 at all, is to install it 
> to a known safe prefix, unless you know for sure that it will not collide 
> with the system provided libs.
>
> For what it is worth, I don't generally install fltk *at all* since by design 
> it works perfectly from the build tree so installing is not really a 
> necessary step.

After giving this a little more thought, when you use cmake you have to 
install it because the cmake specific files are set up for the install 
directory and will give cmake misleading information if you don't 
install it.

You can set the install directory to some arbitrary location though. 
You then have to make sure cmake picks up the right FLTKConfig.cmake 
when building dependent projects, which shouldn't be a problem.

Another alternative would be to copy build/bin/FLTKConfig.cmake to a 
convenient location and hand edit it to point to the right places.

I'll try to send in a patch in the next week or so to create another 
FLTKConfig.cmake in the build directory for people who don't want to do 
a make install.

Mike S

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to