Jack,

I tried all your suggestions except reinstalling Lion and Xcode.  I don't 
really want to that.

The reason that I want to do this is that my Snow Leopard version of fink does 
not work.  I get

arch: /usr/bin/perl5.10.0 isn't executable

This is odd because I can do 

/usr/bin/perl5.10 /Users/matis/Downloads/fink/fink-0.31.5/t/testmore.pl 
Checking for Test::More…

which works.   I do not know where the old version of fink finds perl15.10.0

I also have perl15.12 on my machine.


Thus I tried a fresh install of fink.  I even renamed /sw to /sw-temp, so that 
I had a fresh install of fink.  I rebooted.

Everything I do, ends with the same error.  The programs from the old fink 
still run, so I guess I will just live with what I have until things stop 
working.  Maybe someone else will find the problem.  I definite did not tinker 
with the system.

Howard



On Dec 1, 2011, at 7:11 AM, Jack Howarth wrote:

> On Wed, Nov 30, 2011 at 04:32:38PM -0800, Howard Matis wrote:
>> You are correct the error is similar to the one that someone else reported.  
>> However, I never tinkered with files in /usr/include are from June to August 
>> 1 of this year. See the error below. 
>> 
>> I tried the following which did not work. I deleted an old version of Xcode. 
>> I rebuilt Xcode.  I am using 4.2.1 and I rebooted.  I am still getting the 
>> same error message.  
>> 
>> Howard Matis
> 
> Howard,
>   All I can suggest is...
> 
> 1) Move aside /opt/local as well as /usr/local and retry the build. This 
> should eliminate the
> possiblity of stray third-party package headers causing the conflicting types 
> in the includes.
> You also might want to reduce you .cshrc/.bashrc to only have the line that 
> souces fink's init
> and then open a fresh terminal window before trying to build gcc46.
> 2) To be certain that you have a standard darwin11 installation with no 
> header modifications,
> reinstall Lion and then Xcode 4.2.
> 
> This issue has been very rare so we don't have many data points. In the four 
> instances (two from
> MacPorts), three were due to header modifications on the systems and one 
> never reported how he
> finally resolved it.
>             Jack
> 
>> 
>> 
>> /sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/xgcc 
>> -B/sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/lib/ -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/include -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.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.2/gcc 
>> -I../../gcc-4.6.2/gcc/fortran -I../../gcc-4.6.2/gcc/../include 
>> -I../../gcc-4.6.2/gcc/../libcpp/include -I/sw2/include -I/sw2/include  
>> -I../../gcc-4.6.2/gcc/../libdecnumber 
>> -I../../gcc-4.6.2/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw2/include  
>> -I/sw2/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw2/include 
>> ../../gcc-4.6.2/gcc/fortran/openmp.c -o fortran/openmp.o
>> /sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/xgcc 
>> -B/sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/lib/ -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/include -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.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.2/gcc 
>> -I../../gcc-4.6.2/gcc/fortran -I../../gcc-4.6.2/gcc/../include 
>> -I../../gcc-4.6.2/gcc/../libcpp/include -I/sw2/include -I/sw2/include  
>> -I../../gcc-4.6.2/gcc/../libdecnumber 
>> -I../../gcc-4.6.2/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw2/include  
>> -I/sw2/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw2/include 
>> ../../gcc-4.6.2/gcc/fortran/options.c -o fortran/options.o
>> ../../gcc-4.6.2/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
>> /sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/xgcc 
>> -B/sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/ 
>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/lib/ -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/include -isystem 
>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.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.2/gcc 
>> -I../../gcc-4.6.2/gcc/fortran -I../../gcc-4.6.2/gcc/../include 
>> -I../../gcc-4.6.2/gcc/../libcpp/include -I/sw2/include -I/sw2/include  
>> -I../../gcc-4.6.2/gcc/../libdecnumber 
>> -I../../gcc-4.6.2/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw2/include  
>> -I/sw2/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw2/include 
>> ../../gcc-4.6.2/gcc/fortran/parse.c -o fortran/parse.o
>> make[3]: *** [fortran/module.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> rm 
>> 
>> 
>> 
>> On Nov 30, 2011, at 1:06 PM, Alexander Hansen wrote:
>> 
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>> 
>>> On 11/30/11 3:38 PM, Howard Matis wrote:
>>>> I did a fink install cernlib2006-paw++ which needs gcc.  The
>>>> program dies below.  Anyone who has a fix for this problem?  I am
>>>> running the latest version of Lion
>>>> 
>>>> Howard Matis
>>>> 
>>>> /sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/xgcc
>>>> -B/sw2/src/fink.build/gcc46-4.6.2-1000/darwin_objdir/./prev-gcc/
>>>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/
>>>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/bin/
>>>> -B/sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/lib/ -isystem
>>>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.0/include -isystem
>>>> /sw2/lib/gcc4.6/x86_64-apple-darwin11.2.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.2/gcc -I../../gcc-4.6.2/gcc/fortran
>>>> -I../../gcc-4.6.2/gcc/../include
>>>> -I../../gcc-4.6.2/gcc/../libcpp/include -I/sw2/include
>>>> -I/sw2/include  -I../../gcc-4.6.2/gcc/../libdecnumber
>>>> -I../../gcc-4.6.2/gcc/../libdecnumber/dpd -I../libdecnumber
>>>> -I/sw2/include  -I/sw2/include -DCLOOG_INT_GMP -DCLOOG_ORG
>>>> -I/sw2/include ../../gcc-4.6.2/gcc/fortran/parse.c -o
>>>> fortran/parse.o 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.zk9znt failed, exit code 2 Removing runtime
>>>> build-lock... Removing build-lock package... /sw2/bin/dpkg-lockwait
>>>> -r fink-buildlock-gcc46-4.6.2-1000 (Reading database ... 8971 files
>>>> and directories currently installed.) Removing
>>>> fink-buildlock-gcc46-4.6.2-1000 ... Failed: phase compiling:
>>>> gcc46-4.6.2-1000 failed
>>>> 
>>>> 
>>>> 
>>>> Also include the following system information: Package manager
>>>> version: 0.31.5 Distribution version: selfupdate-rsync Wed Nov 30
>>>> 11:56:23 2011, 10.7, x86_64 Trees: local/main stable/main Xcode:
>>>> 4.1
>>> 
>>> It's hard to say what happened.
>>> 
>>> The error happened above what you posted, and since you're presumably
>>> running with more than one build thread the build was able to continue
>>> for a bit before finally failing.
>>> 
>>> Please look earlier in the build, specifically for an earlier line
>>> involving module.o .
>>> 
>>> However, upon checking through the list archives I found a bug report
>>> for a failure on gcc46 which could be what you have:
>>> 
>>> http://article.gmane.org/gmane.os.apple.fink.general/33518
>>> 
>>> and a pointer to the cause later in the thread:
>>> 
>>> http://article.gmane.org/gmane.os.macosx.fink.user/33611
>>> 
>>> (which was due to someone having mucked about in the system area).
>>> - -- 
>>> Alexander Hansen, Ph.D.
>>> Fink User Liaison
>>> http://finkakh.wordpress.com/
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.11 (Darwin)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>> 
>>> iEYEARECAAYFAk7WmuIACgkQB8UpO3rKjQ/EWQCeJZznXI+UyAjYIaSFWfjLM4Pv
>>> PzIAnjcuV28jaqkpJ0rHf6obdIVxXM0M
>>> =TIFc
>>> -----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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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