-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the system information.  gcc46 works for me on 10.7.

It's quite possible that your third-party gfortran or gcc4.5.3 are
interfering with your build.  If those are installed in a convenient
place like /usr/local, try renaming that temporarily and then try to
install cernlib again.

On 10/11/11 8:37 PM, Terence Libeiro wrote:
> Sorry,
> 
> Here's the relevant information.
> 
> --------------------- $ fink -V | head -n 3 Package manager
> version: 0.31.2 Distribution version: selfupdate-rsync Sun Oct  9
> 20:19:12 2011, 10.7, x86_64 Trees: local/main stable/main $
> xcodebuild -version Xcode 4.1 Build version 4B110 
> ----------------------- I have recently installed gcc 4.5.3 and
> gfortran, but I don't have other cern libs like libblas liblapack3
> etc, and I was hoping they were included in the complete cernlib
> package.
> 
> Regards Terence
> 
> ------------------------------------------------------------------------
>
> 
*From:* Alexander Hansen <[email protected]>
> *To:* Terence Libeiro <[email protected]> *Cc:*
> [email protected]; [email protected] *Sent:*
> Tuesday, October 11, 2011 5:27 PM *Subject:* Re: [Fink-users] Error
> in gcc installation
> 
> On 10/11/11 1:24 PM, Terence Libeiro wrote:
>> Hello all,
> 
>> I am trying to install cernlib package and get the following
>> error during fortran compilation. Any ideas how to fix this?
> 
>> Regards Terence
> 
>> ----------------------------------------------- 
>> /sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./prev-gcc/xgcc
>>
>> 
- -B/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./prev-gcc/
>> -B/sw/lib/gcc4.6/x86_64-apple-darwin11.1.0/bin/ 
>> -B/sw/lib/gcc4.6/x86_64-apple-darwin11.1.0/bin/ 
>> -B/sw/lib/gcc4.6/x86_64-apple-darwin11.1.0/lib/ -isystem 
>> /sw/lib/gcc4.6/x86_64-apple-darwin11.1.0/include -isystem 
>> /sw/lib/gcc4.6/x86_64-apple-darwin11.1.0/sys-include    -c 
>> -DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC  -W 
>> -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes 
>> -Wmissing-prototypes -Wmissing-format-attribute -pedantic 
>> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
>> -Wold-style-definition -Wc++-compat  -DHAVE_CONFIG_H -I.
>> -Ifortran -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/fortran 
>> -I../../gcc-4.6.1/gcc/../include 
>> -I../../gcc-4.6.1/gcc/../libcpp/include -I/sw/include
>> -I/sw/include -I../../gcc-4.6.1/gcc/../libdecnumber 
>> -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber 
>> -I/sw/include  -I/sw/include -DCLOOG_INT_GMP -DCLOOG_ORG 
>> -I/sw/include ../../gcc-4.6.1/gcc/fortran/module.c -o 
>> fortran/module.o ../../gcc-4.6.1/gcc/fortran/module.c:110:1:
>> error: conflicting types for 'pointer_t' 
>> /usr/include/mach/vm_types.h:40:26: note: previous declaration
>> of 'pointer_t' was here make[3]: *** [fortran/module.o] Error 1 
>> make[3]: *** Waiting for unfinished jobs.... rm gfortran.pod 
>> gcc.pod make[2]: *** [all-stage2-gcc] Error 2 make[1]: *** 
>> [stage2-bubble] Error 2 make: *** [all] Error 2 ### execution of 
>> /var/tmp/tmp.1.fxUYFV failed, exit code 2 Removing runtime 
>> build-lock... Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc46-4.6.1-1000 (Reading
>> database ... 8971 files and directories currently installed.)
>> Removing fink-buildlock-gcc46-4.6.1-1000 ... Failed: phase
>> compiling: gcc46-4.6.1-1000 failed
> 
> -----------------------------------------------------------------------------
>
>  Some
> 
> system information would be nice here:
> 
> fink -V | head -n 3
> 
> xcodebuild -version
> 
\
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6VcS8ACgkQB8UpO3rKjQ+6kACggj06DTuQ28Yuo/Jg0J+qWSFx
IgYAn1YWxvdwCQJdhZzwZYZvZ2bT1pc1
=s596
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to