> On Jul 9, 2015, at 05:57, Sean Lake <odysseus9...@gmail.com> wrote:
> 
> Hello all,
> 
> I've recently run into an issue with an external piece of software that 
> compiles libgit2 for its own uses. Long story short, Fink's libiconv produces 
> a build conflict that is not easy to remedy. The github issue discussing the 
> problem is at:
> 
> https://github.com/libgit2/libgit2/issues/3296
> 
> Carlosmn had an interesting comment on the matter:
> 
> "We might have to specify the library directly on OS X as well instead of 
> relying on pkg-config to tell us cross-platform. But this doesn't solve the 
> problem of a pkg-config existing which expects to be used by a different 
> environment. If you install a libssh2 via Fink, we'd likely end up with the 
> same problem. The only system I've seen which handles this correctly is 
> homebrew, which installs libraries in their own prefix, making -I directives 
> only apply for a single library, instead of assuming everything is part of 
> the same alternate system."
> 
> Is switching fink to that sort of system feasible?
> 
> Thanks,
> Sean

Why would we change how things have been set up for 14 years, based on some 
random github guy who may not even have a clue about OS X?

As far as I know Homebrew installs in /usr/local, and therefore 
cross-contaminates every other build automatically, since OS X’s build tools 
implicitly find libraries and headers under /usr/local.  Unless they’ve changed 
that, of course.

The best way to make Fink "play nice" is 

1)  Remove any problematic -dev or other build-time-only packages.  
2)  If that doesn’t work, use a shell invocation which doesn’t include Fink’s 
environment by default and bring in necessary Fink headers and libraries by 
using whatever tuning tools the package’s build system allows.

Or get the package in Fink.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to