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?
Also you should change your launchd-description to set the path to the
monetdb.conf file in the environment variable MONETDB5CONF.
kind regards
holger
On Jan 17, 2011, at 3:24 PM, Gabriele Modena wrote:
> Hi all,
> over the weekend I packaged MonetDB-Oct2010-SP1 for homebrew,
> an increasingly popular git-based package manager for OSX.
>
> For more info about homebrew please see: http://mxcl.github.com/homebrew/
>
> The package can be found at
> https://github.com/gmodena/homebrew/blob/master/Library/Formula/monetdb.rb
>
> I will be doing some more tests, tweaks and clean ups during the week,
> if everything works
> well I'd like to try to get the package included in the official repository.
>
> Please let me know if you have any comment or feedback.
>
> = Synopsis =
>
> # Install x86/x86_64 binaries
> $ brew install monetdb
>
> # Build from superball source
> $ brew install --superball monetdb
>
> = Features =
> - possibility to install either from binaries (x86/x86_64) or building from
> source (superball). Binaries are picked given the detected architecture.
> - plist file for (optionally) starting merovingian at boot/login
>
> = TODO =
> - add the possibility to build&install from the hg repository
>
>
>
> Cheers
> --
> Gabriele
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers