Hi Justace,
On Oct 10, 2009, at 6:31 PM, monipol wrote:
> On 10/10/2009, at 13:01, Justace Clutter wrote:
>> I have been trying to get CERNLIB installed on my machine
>> (10.6.1 with XCode 3.2 with the additional gfortran from the R
>> project). I need this for my analysis at D0 (More specifically
>> MN_FIT). I have tried several different ways to get this working
>> which included using an old script from Remi passed on by another D0
>> member. Nothing has worked. I have recently tried the Fink way. I
>> must say that I am just a little bit concerned with Fink wanting to
>> install gcc 4.4.1 where as my system compiler from Apple is 4.2.1. I
>> would have thought that it would have used my system compiler.
>
> Most -- if not all -- packages that depend on GCC 4.4 do so because
> they need GCC 4.4's gfortran (Apple's GCC doesn't provide gfortran).
>
>> So, on to the CERNLIB build. I have received the same error
>> that an individual got some time ago:
>>
>> #### BEGIN SNIP
>> patching file pawlib/sigma/src/siallm.F
>> patching file scripts/cernlib
>> patching file scripts/gxint
>> perl -pi -e "s|#include <stdio.h>|#include <stdio.h>\n#define
>> L_cuserid 9 /* size for cuserid(); UT_NAMESIZE + 1 */|"
>> packlib/cuserid/cuserid.c
>> perl -pi -e "s|#include <stdio.h>|#include <stdio.h>
>> \n#define L_cuserid 9 /* size for cuserid();
>> UT_NAMESIZE +
>> 1 */|" pawlib/paw/cpaw/bugrep.c
>> /var/tmp/tmp.8.l4RurE
>> #!/bin/sh -ev
>> mkdir lib
>> mkdir bin
>> export CERN=/sw/src/fink.build/cernlib2005-gfortran-2005-2014/2005/
>> src/
>> cernlib
>> export CERN_LEVEL=2005
>> export CERN_ROOT=${CERN}/${CERN_LEVEL}
>> export PATH=${CERN_ROOT}/bin:${PATH}
>> export CVSCOSRC=/sw/src/fink.build/cernlib2005-
>> gfortran-2005-2014/2005/
>> src
>> export HAVE_MOTIF=yes
>> ${CVSCOSRC}/config/imake_boot
>> /sw/src/fink.build/cernlib2005-gfortran-2005-2014/2005/src/config/
>> imake_boot: line 12: imake: command not found
>> ### execution of /var/tmp/tmp.8.l4RurE failed, exit code 127
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-cernlib2005-
>> gfortran-2005-2014
>> (Reading database ... 13065 files and directories currently
>> installed.)
>> Removing fink-buildlock-cernlib2005-gfortran-2005-2014 ...
>> #### END SNIP
>>
>> This is the output from when I run the command "sudo fink install
>> cernlib2005-gfortran-dev". The interesting thing is that I have
>> imake
>> installed on my system because I was trying to compile and install
>> CERNLIB 2006 by hand. So, why did it not use the system imake? What
>> is the status of this? I really need this to work. Thanks for any
>> input.
>
> As you might know, imake was part of previous versions of X11 and it
> isn't provided by recent versions. That said, in which directory
> have you installed imake?
The imake problem is easy to fix. However, it wont help you as the
real troubles with cernlib start after that. I'm still struggling to
get it compiled correctly on 10.6. I hope to get there, but don't hold
your breath.
Remi
--
If it's green, it's biology. If it stinks, it's chemistry. If it
has numbers, it's math. If it doesn't work, it's technology.
******************************************************************
Remigius K. Mommsen e-mail: [email protected]
Fermilab URL: http://cern.ch/mommsen
CERN 40 2-B06 voice: +41 22 767 1621
CH-1211 Genève 23 mobile: +41 78 798 2535
Switzerland skype: remi.mommsen
******************************************************************
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners