Jack Howarth wrote:


    Could you download the lammpi-7.1.1-1 and gromacs/gromacs-mpi-3.3-1
files from fink tracking and try building them. If you remove the
SetMACOSX_DEPLOYMENT_TARGET: 10.2

Hi Jack,

Sorry this turns out to be not really for you but for the fink hackers.

Thinking that this may be a bug in libtool I actually built lam-mpi, and discovered that while it built properly with

CompileScript:<<
#! /bin/sh -v
unset MACOSX_DEPLOYMENT_TARGET
./configure %c
make
<<

it did not work with NoSetMACOSX_DEPLOYMENT_TARGET: true.

This section of fink code seems to be to blame:
    # handle MACOSX_DEPLOYMENT_TARGET
#TODO: allow setting on darwin, and make generic short and long $sw_vers functions.
    my $sw_vers = Fink::Services::get_osx_vers();
    unless ($sw_vers)
        {
        $sw_vers = Fink::Services::get_darwin_equiv();
        }
if (not $self->has_param("SetMACOSX_DEPLOYMENT_TARGET") and defined $sw_vers and $sw_vers ne "0") {
        if ($sw_vers eq "10.2") {
            $script_env{'MACOSX_DEPLOYMENT_TARGET'} = '10.1';
        } else {
            $script_env{'MACOSX_DEPLOYMENT_TARGET'} = $sw_vers;
        }
    }

Peter


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to