On 7/31/07, Tim Sutton <[EMAIL PROTECTED]> wrote: > Hi Magnus > > > Em 27/07/2007, às 21:00, Magnus Homann escreveu: > > If that's the way you like it, sure. The discussion we had was not about > _how_ but it circled around _if_. > > > Ah I confess to not going back to the archives... I guess we could always > put in a USE_RPATH flag into cmake so people can pick their preference and > then just wrap the rpath stuff in a > > IF (USE_RPATH) > blah > ENDIF (USE_RPATH) > > How does that sound?
Going again through discussions on several mailing lists (debian, cmake, kde), I still don't know how to do this right. Some say that using rpath is great because it forces to use harcoded runtime paths, other say it's evil because of that. Bad thing is that rpath overrides LD_LIBRARY_PATH setting, which might be confusing. Also it adds some pain to distributors (IMHO). But it makes life easier for users which compile the software by themselves and don't use packaged versions. So, what to do? I would say that the best choice is to forget rpath completely and let users set LD_LIBRARY_PATH manually. But if you insist to use rpath, then the best way is the one you propose: make it configureable and turn it on by default. Martin _______________________________________________ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user