Hi, Hmmm, my gut reaction is 'a little tough'. The code is pretty old and doesn't really provide any of the standard, modern build systems that would make it easy (autoconf, cmake or whatever). essentially they just give you the source and thats it.. Also, there are plenty of dependencies that would have to be met first, so if you really want to go down this road, you would need to provide ports for those first. One example is CERNLIB (note, the fact it uses CERNLIB at all really demonstrates how out of date this code is). The dependency on a libshift binary is also pretty worrying and hard to satisfy via macports I would guess.
Personally I would not bother, unless you are really really into drift chambers (seriously, drift chambers ???). Chris On 24 Apr 2013, at 7:38pm, Jean-François Caron <[email protected]> wrote: > Hi, I've been trying to install/compile this scientific program: > http://garfield.web.cern.ch/garfield/ and it is extremely difficult. The > various files have to be downloaded directly from the website and renamed, > and parts come pre-compiled and parts need to be compiled. I am wondering > how easy it would be to create a port for this program so that it would "just > work" when installed on a Mac. It unfortunately has dependencies on cernlib, > which is not available in macports (fink has it apparently). > > If I'm having trouble compiling it myself, are the chances slim that a > functional port could be made? Maybe if a person more used to fortran/c > compiling and linking were to try, it would not be so painful. > > Jean-François > > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
