On 17-01-2011 22:54:15 +0100, Holger Pirk wrote:
> Hi Gabriele,
> 
> I am not using homebrew (and I also don't know of anyone else who is). But 
> the package definition seems reasonably straight forward, so we will see if 
> it can gain some traction (especially with respect to the mac app store).
> 
> One thing did strike me as odd in your code, though: When installing from the 
> binary archive the absolute file names of the library dependencies are 
> hard-coded into the mach-o binaries. This would break the installation unless 
> installed into the standard prefix (/usr/local). That can be changed using 
> apples install_name_tool. I can't find any code to do that in your package 
> definition. Does homebrew do that for you? Did you only install in the 
> standard prefix? Did you maybe "happen" to have a copy of monet (and thus the 
> libraries) in /usr/local?

Technically, this can be worked around, but the real issue is that the
sources internally reference this location as well, which is much more
than just a library resolution problem.

It seems merovingian just solves the internal references problem
transparently for the way the homebrew module installs it, with its
MONETDB5CONF variable.

While install_name_tool rocks, I much more prefer the solution where a
build itself sets @executable_path or alike entries.  But maybe that is
just wishful thinking.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to