Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-24 Thread Boaz Ilan

Jack,
   You are right, though I may as well upgrade to Leopard and Xcode>=3,
which I have been holding off.
Boaz

On Aug 24, 2009, at 5:56 AM, Jack Howarth wrote:

> Boaz,
>   I would seriously consider doing an archive and install
> of 10.4 to purge out these modifications you have made to
> your system. Fink doesn't tolerate unexpected development
> packages being installed. Usually folks do that in /usr/local
> or /opt so it is easy to disable.
> Jack
>
> On Sun, Aug 23, 2009 at 05:52:13PM -0700, Boaz Ilan wrote:
>>
>> Good news! Here is what I suspect were the conflicting files.
>> The first is:
>>> which gcc4.3.2
>> /usr/bin/gcc4.3.2
>>> /usr/bin/gcc4.3.2 --version
>> gcc4.3.2 (GCC) 4.3.2
>> Copyright (C) 2008 Free Software Foundation, Inc.
>>
>> This gcc4.3.2 was installed a year ago, probably a do-it-yourself  
>> job.
>> In addition, both /usr/bin/powerpc-apple-darwin8-gcc and /usr/bin/
>> powerpc-apple-darwin8-gcc-4.3.2 where copies of this gcc4.3.2. I  
>> suspect
>> that powerpc-apple-darwin8-gcc was the file being called during the
>> install of gcc44. At any rate, I eliminated gcc4.3.2,
>> powerpc-apple-darwin8-gcc, and powerpc-apple-darwin8-gcc-4.3.2 from /
>> usr/bin.
>>
>> Under /usr/bin I still have gcc-3.3 (should I eliminate it?);
>> gcc-4.0.1, powerpc-apple-darwin8-gcc-4.0.1, and i686-apple-darwin8-
>> gcc-4.0.1,
>> which I gather should all be there.
>>
>> I tried installing gcc44... and it is running for 10 minutes without
>> breaking, which means
>> it passed the former breakpoint. Consider the problem solved.
>>
>> Sorry to have waited you time because of my messed up system.
>>
>> Thank you everyone,
>> Boaz
>>
>>
>> On Aug 23, 2009, at 3:16 PM, Martin Costabel wrote:
>>
>>> Boaz Ilan wrote:
>>> []
 Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/
 lib/ gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --
 enable- languages=
 c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/ 
 sw
 -- with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/ 
 X11R6/ inclu
 de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
 Thread model: posix
 gcc version 4.3.2 (GCC)
>>>
>>> I think you have some incomplete parts of Fink gcc43-4.3.2 installed
>>> (earlier package removal gone wrong, or do-it-yourself
>>> configuration?). This is *not* the version of gcc43 you are  
>>> currently
>>> trying to remove, which is gcc43-4.3.4.
>>>
>>> Why configure picks this up instead of a sane gcc, I dont know. You
>>> probably at some point copied /sw/lib/gcc4.3/bin/gcc to /sw/bin/  
>>> or to
>>> /usr/local/bin/ or made a symlink to such a copy.
>>>
>>> You need to find out where this gcc executable that answers "gcc
>>> version 4.3.2 (GCC)" is hiding on your system and eliminate it. I  
>>> have
>>> the imporession that a simple "fink remove" will not be able to  
>>> clean
>>> this up.
>>>
>>> -- 
>>> Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-24 Thread Jack Howarth
Boaz,
   I would seriously consider doing an archive and install
of 10.4 to purge out these modifications you have made to
your system. Fink doesn't tolerate unexpected development
packages being installed. Usually folks do that in /usr/local
or /opt so it is easy to disable.
 Jack

On Sun, Aug 23, 2009 at 05:52:13PM -0700, Boaz Ilan wrote:
>
> Good news! Here is what I suspect were the conflicting files.
> The first is:
> > which gcc4.3.2
> /usr/bin/gcc4.3.2
> > /usr/bin/gcc4.3.2 --version
> gcc4.3.2 (GCC) 4.3.2
> Copyright (C) 2008 Free Software Foundation, Inc.
>
> This gcc4.3.2 was installed a year ago, probably a do-it-yourself job.  
> In addition, both /usr/bin/powerpc-apple-darwin8-gcc and /usr/bin/ 
> powerpc-apple-darwin8-gcc-4.3.2 where copies of this gcc4.3.2. I suspect 
> that powerpc-apple-darwin8-gcc was the file being called during the 
> install of gcc44. At any rate, I eliminated gcc4.3.2,  
> powerpc-apple-darwin8-gcc, and powerpc-apple-darwin8-gcc-4.3.2 from / 
> usr/bin.
>
> Under /usr/bin I still have gcc-3.3 (should I eliminate it?);
> gcc-4.0.1, powerpc-apple-darwin8-gcc-4.0.1, and i686-apple-darwin8- 
> gcc-4.0.1,
> which I gather should all be there.
>
> I tried installing gcc44... and it is running for 10 minutes without  
> breaking, which means
> it passed the former breakpoint. Consider the problem solved.
>
> Sorry to have waited you time because of my messed up system.
>
> Thank you everyone,
> Boaz
>
>
> On Aug 23, 2009, at 3:16 PM, Martin Costabel wrote:
>
>> Boaz Ilan wrote:
>> []
>>> Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/ 
>>> lib/ gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info -- 
>>> enable- languages=
>>> c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/sw 
>>> -- with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/ 
>>> X11R6/ inclu
>>> de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
>>> Thread model: posix
>>> gcc version 4.3.2 (GCC)
>>
>> I think you have some incomplete parts of Fink gcc43-4.3.2 installed  
>> (earlier package removal gone wrong, or do-it-yourself  
>> configuration?). This is *not* the version of gcc43 you are currently 
>> trying to remove, which is gcc43-4.3.4.
>>
>> Why configure picks this up instead of a sane gcc, I dont know. You  
>> probably at some point copied /sw/lib/gcc4.3/bin/gcc to /sw/bin/ or to 
>> /usr/local/bin/ or made a symlink to such a copy.
>>
>> You need to find out where this gcc executable that answers "gcc  
>> version 4.3.2 (GCC)" is hiding on your system and eliminate it. I have 
>> the imporession that a simple "fink remove" will not be able to clean 
>> this up.
>>
>> -- 
>> Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Martin Costabel
Boaz Ilan wrote:
[]
> Under /usr/bin I still have gcc-3.3 (should I eliminate it?);
> gcc-4.0.1, powerpc-apple-darwin8-gcc-4.0.1, and i686-apple-darwin8- 
> gcc-4.0.1,
> which I gather should all be there.

These are OK, they come from xcode.

-- 
Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan

Good news! Here is what I suspect were the conflicting files.
The first is:
 > which gcc4.3.2
/usr/bin/gcc4.3.2
 > /usr/bin/gcc4.3.2 --version
gcc4.3.2 (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.

This gcc4.3.2 was installed a year ago, probably a do-it-yourself job.  
In addition, both /usr/bin/powerpc-apple-darwin8-gcc and /usr/bin/ 
powerpc-apple-darwin8-gcc-4.3.2 where copies of this gcc4.3.2. I  
suspect that powerpc-apple-darwin8-gcc was the file being called  
during the install of gcc44. At any rate, I eliminated gcc4.3.2,  
powerpc-apple-darwin8-gcc, and powerpc-apple-darwin8-gcc-4.3.2 from / 
usr/bin.

Under /usr/bin I still have gcc-3.3 (should I eliminate it?);
gcc-4.0.1, powerpc-apple-darwin8-gcc-4.0.1, and i686-apple-darwin8- 
gcc-4.0.1,
which I gather should all be there.

I tried installing gcc44... and it is running for 10 minutes without  
breaking, which means
it passed the former breakpoint. Consider the problem solved.

Sorry to have waited you time because of my messed up system.

Thank you everyone,
Boaz


On Aug 23, 2009, at 3:16 PM, Martin Costabel wrote:

> Boaz Ilan wrote:
> []
>> Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/ 
>> lib/ gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info -- 
>> enable- languages=
>> c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/ 
>> sw -- with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/ 
>> X11R6/ inclu
>> de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
>> Thread model: posix
>> gcc version 4.3.2 (GCC)
>
> I think you have some incomplete parts of Fink gcc43-4.3.2 installed  
> (earlier package removal gone wrong, or do-it-yourself  
> configuration?). This is *not* the version of gcc43 you are  
> currently trying to remove, which is gcc43-4.3.4.
>
> Why configure picks this up instead of a sane gcc, I dont know. You  
> probably at some point copied /sw/lib/gcc4.3/bin/gcc to /sw/bin/ or  
> to /usr/local/bin/ or made a symlink to such a copy.
>
> You need to find out where this gcc executable that answers "gcc  
> version 4.3.2 (GCC)" is hiding on your system and eliminate it. I  
> have the imporession that a simple "fink remove" will not be able to  
> clean this up.
>
> -- 
> Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Martin Costabel
Boaz Ilan wrote:
[]
> Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/ 
> gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --enable- 
> languages=
> c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/sw -- 
> with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/ 
> inclu
> de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
> Thread model: posix
> gcc version 4.3.2 (GCC)

I think you have some incomplete parts of Fink gcc43-4.3.2 installed 
(earlier package removal gone wrong, or do-it-yourself configuration?). 
This is *not* the version of gcc43 you are currently trying to remove, 
which is gcc43-4.3.4.

Why configure picks this up instead of a sane gcc, I dont know. You 
probably at some point copied /sw/lib/gcc4.3/bin/gcc to /sw/bin/ or to 
/usr/local/bin/ or made a symlink to such a copy.

You need to find out where this gcc executable that answers "gcc version 
4.3.2 (GCC)" is hiding on your system and eliminate it. I have the 
imporession that a simple "fink remove" will not be able to clean this up.

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Alexander Hansen
Boaz Ilan wrote:
> I did 'fink remove' on gcc43 and gcc43-shlibs.
> I then tried to install and rebuild gcc44, but in either way leads to  
> the same errors:
> 
> Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/ 
> gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --enable- 
> languages=
> c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/sw -- 
> with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/ 
> inclu
> de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
> Thread model: posix
> gcc version 4.3.2 (GCC)
> configure:3285: $? = 0
> configure:3287: powerpc-apple-darwin8-gcc -V &5
> powerpc-apple-darwin8-gcc: '-V' option must have argument
> configure:3290: $? = 1
> configure:3313: checking for C compiler default output file name
> configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No such  
> file or directory
> configure:3319: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> [etc.]
> 
> The " error trying to exec 'cc1' " is a clue. Could it be that the  
> conflict is with gcc -3.4.4 under
> /usr/local/libexec/gcc/powerpc-apple-darwin7.9.0/3.4.4/cc1 ?
> 
> 

It looks like you've got a complicated mess going on here.

The gcc3.4.4 is for OS 10.3, in any case, so it's probably worth getting
rid of that.

The "Configured with" line looks different for me:

Configured with: /var/tmp/gcc/gcc-5493~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9

(similar on 10.4, but I picked a 10.5 system because I have gcc43
installed on it, and I wanted to be sure that gcc44 is not picking that
up).  The

The "../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.3"
business is strange.  You're

Finally, the gcc executable that the configure finds is

powerpc-apple-darwin8-gcc

so it might be worth looking at

which powerpc-apple-darwin8-gcc
powerpc-apple-darwin8-gcc --version

to find out where/what that is.

Regardless, I'd say to rename /usr/local temporarily.

-- 
Alexander Hansen
Fink User Liaison

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Jack Howarth
You have it backwards. The gcc4x-shlibs packages are meant
to co-exist so that binaries can be built against any
gcc4x release and not deinstalled. You only have to 
deinstall the gcc4x package which is used to build with
the particular gcc release.
 Jack

On Sun, Aug 23, 2009 at 11:24:21AM -0700, Boaz Ilan wrote:
>
> Actually, trying to remove gcc43-shlibs failed:
>
> dpkg: dependency problems prevent removal of gcc43-shlibs:
>  octave depends on gcc43-shlibs.
>  hdf5-shlibs depends on gcc43-shlibs.
>  fftw3 depends on gcc43-shlibs.
>  fftw depends on gcc43-shlibs.
>  atlas-shlibs depends on gcc43-shlibs.
> /sw/bin/dpkg: error processing gcc43-shlibs (--remove):
>
> I could to try 'remove --recursive', if you think this is a wise.
>
>
>
> On Aug 23, 2009, at 11:02 AM, Jack Howarth wrote:
>
>> It looks like somehow the removal of the gcc43 package didn't
>> occur when you tried to build gcc44. The following...
>>
>> Conflicts: gcc4, gcc42, gcc44, gcc45
>> Replaces: gcc4, gcc42, gcc44, gcc45
>>
>> has always been sufficient to cause the other conflicting
>> gcc4X packages to be removed during the build of a specific
>> gcc4X package. I haven't seen this myself. Hopefully fink
>> hasn't been changed to require an explicit BuildConflicts
>> as well.
>>  Jack
>>
>> On Sun, Aug 23, 2009 at 01:50:30AM -0700, Boaz Ilan wrote:
>>>
>>> Hello,
>>>
>>> Let me know if you think this should be posted in fink-beginners.
>>>
>>> I have a Mac/PPC OS-X 10.4 with Xcode 2.5-1. gcc44 is installed, but
>>> needs to be updated in order to update a bunch of packages (fftw,
>>> octave, scipy, ...). The update or rebuild of gcc44 breaks. I enclose
>>> the result of 'fink list gcc' and an error message when trying to  
>>> update
>>> or rebuild gcc44. I am using the latest fink (0.29.8).
>>>
>>> I would appreciate any advice or suggestions for a fix.
>>>
>>> Thank you,
>>> Boaz
>>>
>>>
 fink list gcc
>>> Information about 10026 packages read in 2 seconds.
>>> avr-gcc4.2.0-2 GNU GCC for ATMEL
>>> AVR micro controllers
>>> broken-gcc 3.3-1   [virtual package
>>> representing a broken gcc compiler]
>>> gcc2   2.95.2-0[virtual package
>>> representing the gcc 2.95.2 compiler]
>>> gcc2.952.95.2-0[virtual package
>>> representing the gcc 2.95.2 compiler]
>>> gcc3.1 3.1-0   [virtual package
>>> representing the gcc 3.1 compiler]
>>> i   gcc3.3 3.3-1819[virtual package
>>> representing the gcc 3.3 compiler]
>>> gcc4   2:4.1.9-200606  OBSOLETE - GNU
>>> Compiler Collection Version 4
>>> gcc4-shlibs2:4.1.9-200606  Shared libraries  
>>> for
>>> gcc4
>>> i   gcc4.0 4.0.1-5370  [virtual package
>>> representing the gcc 4.0.1 compiler]
>>> gcc42  4.2.4-1001  GNU Compiler
>>> Collection Version 4.2
>>> gcc42-shlibs   4.2.4-1001  Shared libraries  
>>> for
>>> gcc4
>>> i   gcc43  4.3.4-1000  GNU Compiler
>>> Collection Version 4.3
>>> i   gcc43-shlibs   4.3.4-1000  Shared libraries  
>>> for
>>> gcc4
>>> gcc44  4.4.1-1000  GNU Compiler
>>> Collection Version 4.4
>>> gcc44-shlibs   4.4.1-1000  Shared libraries  
>>> for
>>> gcc4
>>> llvm-gcc42 2.5-1   GCC 4.2.1 front- 
>>> end
>>> for LLVM Compiler System
>>> llvm-gcc42-shlibs  2.5-1   Shared libraries  
>>> for
>>> llvm-gcc42
>>> m681x-gcc  3.3.6-3 For Motorola
>>> 68hc11/12 micro controllers
>>> mingw-gcc  4.1.0-2 GNU GCC for MinGW
>>> qepcad-gcc44   1.53-2  Tarski's  
>>> Quantifier
>>> Elimination
>>> saclib-gcc44   2.2.1-1 Computer algebra,
>>> specially on ordered fields
>>>
>>> Here is a snippet from /sw/src/fink.build/gcc44-4.4.1-1000/ 
>>> darwin_objdir
>>> :
>>>
>>> gcc version 4.3.2 (GCC)
>>> configure:3285: $? = 0
>>> configure:3287: powerpc-apple-darwin8-gcc -V &5
>>> powerpc-apple-darwin8-gcc: '-V' option must have argument
>>> configure:3290: $? = 1
>>> configure:3313: checking for C compiler default output file name
>>> configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
>>> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No  
>>> such
>>> file or directory
>>> configure:3319: $? = 1
>>> configure: failed program was:
>>> | /* confdefs.h.  */
>>> |
>>> | #define PACKAGE_NAME ""
>>> | #define PACKAGE_TARNAME ""
>>> | #define PACKAGE_VERSION ""
>>> | #define PACKAGE_STRING ""
>>> | #define PACKAGE_BUGREPORT ""
>>> | /* end confdefs.h.  */
>>> |
>>> | int
>>> | main ()
>>> | {
>>> |
>>> |   ;
>>> |   return 0;
>>> | }
>>> con

Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan

Actually, trying to remove gcc43-shlibs failed:

dpkg: dependency problems prevent removal of gcc43-shlibs:
  octave depends on gcc43-shlibs.
  hdf5-shlibs depends on gcc43-shlibs.
  fftw3 depends on gcc43-shlibs.
  fftw depends on gcc43-shlibs.
  atlas-shlibs depends on gcc43-shlibs.
/sw/bin/dpkg: error processing gcc43-shlibs (--remove):

I could to try 'remove --recursive', if you think this is a wise.



On Aug 23, 2009, at 11:02 AM, Jack Howarth wrote:

> It looks like somehow the removal of the gcc43 package didn't
> occur when you tried to build gcc44. The following...
>
> Conflicts: gcc4, gcc42, gcc44, gcc45
> Replaces: gcc4, gcc42, gcc44, gcc45
>
> has always been sufficient to cause the other conflicting
> gcc4X packages to be removed during the build of a specific
> gcc4X package. I haven't seen this myself. Hopefully fink
> hasn't been changed to require an explicit BuildConflicts
> as well.
>  Jack
>
> On Sun, Aug 23, 2009 at 01:50:30AM -0700, Boaz Ilan wrote:
>>
>> Hello,
>>
>> Let me know if you think this should be posted in fink-beginners.
>>
>> I have a Mac/PPC OS-X 10.4 with Xcode 2.5-1. gcc44 is installed, but
>> needs to be updated in order to update a bunch of packages (fftw,
>> octave, scipy, ...). The update or rebuild of gcc44 breaks. I enclose
>> the result of 'fink list gcc' and an error message when trying to  
>> update
>> or rebuild gcc44. I am using the latest fink (0.29.8).
>>
>> I would appreciate any advice or suggestions for a fix.
>>
>> Thank you,
>> Boaz
>>
>>
>>> fink list gcc
>> Information about 10026 packages read in 2 seconds.
>> avr-gcc4.2.0-2 GNU GCC for ATMEL
>> AVR micro controllers
>> broken-gcc 3.3-1   [virtual package
>> representing a broken gcc compiler]
>> gcc2   2.95.2-0[virtual package
>> representing the gcc 2.95.2 compiler]
>> gcc2.952.95.2-0[virtual package
>> representing the gcc 2.95.2 compiler]
>> gcc3.1 3.1-0   [virtual package
>> representing the gcc 3.1 compiler]
>> i   gcc3.3 3.3-1819[virtual package
>> representing the gcc 3.3 compiler]
>> gcc4   2:4.1.9-200606  OBSOLETE - GNU
>> Compiler Collection Version 4
>> gcc4-shlibs2:4.1.9-200606  Shared libraries  
>> for
>> gcc4
>> i   gcc4.0 4.0.1-5370  [virtual package
>> representing the gcc 4.0.1 compiler]
>> gcc42  4.2.4-1001  GNU Compiler
>> Collection Version 4.2
>> gcc42-shlibs   4.2.4-1001  Shared libraries  
>> for
>> gcc4
>> i   gcc43  4.3.4-1000  GNU Compiler
>> Collection Version 4.3
>> i   gcc43-shlibs   4.3.4-1000  Shared libraries  
>> for
>> gcc4
>> gcc44  4.4.1-1000  GNU Compiler
>> Collection Version 4.4
>> gcc44-shlibs   4.4.1-1000  Shared libraries  
>> for
>> gcc4
>> llvm-gcc42 2.5-1   GCC 4.2.1 front- 
>> end
>> for LLVM Compiler System
>> llvm-gcc42-shlibs  2.5-1   Shared libraries  
>> for
>> llvm-gcc42
>> m681x-gcc  3.3.6-3 For Motorola
>> 68hc11/12 micro controllers
>> mingw-gcc  4.1.0-2 GNU GCC for MinGW
>> qepcad-gcc44   1.53-2  Tarski's  
>> Quantifier
>> Elimination
>> saclib-gcc44   2.2.1-1 Computer algebra,
>> specially on ordered fields
>>
>> Here is a snippet from /sw/src/fink.build/gcc44-4.4.1-1000/ 
>> darwin_objdir
>> :
>>
>> gcc version 4.3.2 (GCC)
>> configure:3285: $? = 0
>> configure:3287: powerpc-apple-darwin8-gcc -V &5
>> powerpc-apple-darwin8-gcc: '-V' option must have argument
>> configure:3290: $? = 1
>> configure:3313: checking for C compiler default output file name
>> configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
>> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No  
>> such
>> file or directory
>> configure:3319: $? = 1
>> configure: failed program was:
>> | /* confdefs.h.  */
>> |
>> | #define PACKAGE_NAME ""
>> | #define PACKAGE_TARNAME ""
>> | #define PACKAGE_VERSION ""
>> | #define PACKAGE_STRING ""
>> | #define PACKAGE_BUGREPORT ""
>> | /* end confdefs.h.  */
>> |
>> | int
>> | main ()
>> | {
>> |
>> |   ;
>> |   return 0;
>> | }
>> configure:3357: error: in `/sw/src/fink.build/gcc44-4.4.1-1000/
>> darwin_objdir':
>> configure:3360: error: C compiler cannot create executables
>>
>>
>>
>>
>>


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with

Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan

I did 'fink remove' on gcc43 and gcc43-shlibs.
I then tried to install and rebuild gcc44, but in either way leads to  
the same errors:

Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/ 
gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --enable- 
languages=
c,c++,fortran,objc,java --build=powerpc-apple-darwin8 --with-gmp=/sw -- 
with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/ 
inclu
de --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
Thread model: posix
gcc version 4.3.2 (GCC)
configure:3285: $? = 0
configure:3287: powerpc-apple-darwin8-gcc -V &5
powerpc-apple-darwin8-gcc: '-V' option must have argument
configure:3290: $? = 1
configure:3313: checking for C compiler default output file name
configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No such  
file or directory
configure:3319: $? = 1
configure: failed program was:
| /* confdefs.h.  */
[etc.]

The " error trying to exec 'cc1' " is a clue. Could it be that the  
conflict is with gcc -3.4.4 under
/usr/local/libexec/gcc/powerpc-apple-darwin7.9.0/3.4.4/cc1 ?


On Aug 23, 2009, at 11:02 AM, Jack Howarth wrote:

> It looks like somehow the removal of the gcc43 package didn't
> occur when you tried to build gcc44. The following...
>
> Conflicts: gcc4, gcc42, gcc44, gcc45
> Replaces: gcc4, gcc42, gcc44, gcc45
>
> has always been sufficient to cause the other conflicting
> gcc4X packages to be removed during the build of a specific
> gcc4X package. I haven't seen this myself. Hopefully fink
> hasn't been changed to require an explicit BuildConflicts
> as well.
>  Jack
>
> On Sun, Aug 23, 2009 at 01:50:30AM -0700, Boaz Ilan wrote:
>>
>> Hello,
>>
>> Let me know if you think this should be posted in fink-beginners.
>>
>> I have a Mac/PPC OS-X 10.4 with Xcode 2.5-1. gcc44 is installed, but
>> needs to be updated in order to update a bunch of packages (fftw,
>> octave, scipy, ...). The update or rebuild of gcc44 breaks. I enclose
>> the result of 'fink list gcc' and an error message when trying to  
>> update
>> or rebuild gcc44. I am using the latest fink (0.29.8).
>>
>> I would appreciate any advice or suggestions for a fix.
>>
>> Thank you,
>> Boaz
>>
>>
>>> fink list gcc
>> Information about 10026 packages read in 2 seconds.
>> avr-gcc4.2.0-2 GNU GCC for ATMEL
>> AVR micro controllers
>> broken-gcc 3.3-1   [virtual package
>> representing a broken gcc compiler]
>> gcc2   2.95.2-0[virtual package
>> representing the gcc 2.95.2 compiler]
>> gcc2.952.95.2-0[virtual package
>> representing the gcc 2.95.2 compiler]
>> gcc3.1 3.1-0   [virtual package
>> representing the gcc 3.1 compiler]
>> i   gcc3.3 3.3-1819[virtual package
>> representing the gcc 3.3 compiler]
>> gcc4   2:4.1.9-200606  OBSOLETE - GNU
>> Compiler Collection Version 4
>> gcc4-shlibs2:4.1.9-200606  Shared libraries  
>> for
>> gcc4
>> i   gcc4.0 4.0.1-5370  [virtual package
>> representing the gcc 4.0.1 compiler]
>> gcc42  4.2.4-1001  GNU Compiler
>> Collection Version 4.2
>> gcc42-shlibs   4.2.4-1001  Shared libraries  
>> for
>> gcc4
>> i   gcc43  4.3.4-1000  GNU Compiler
>> Collection Version 4.3
>> i   gcc43-shlibs   4.3.4-1000  Shared libraries  
>> for
>> gcc4
>> gcc44  4.4.1-1000  GNU Compiler
>> Collection Version 4.4
>> gcc44-shlibs   4.4.1-1000  Shared libraries  
>> for
>> gcc4
>> llvm-gcc42 2.5-1   GCC 4.2.1 front- 
>> end
>> for LLVM Compiler System
>> llvm-gcc42-shlibs  2.5-1   Shared libraries  
>> for
>> llvm-gcc42
>> m681x-gcc  3.3.6-3 For Motorola
>> 68hc11/12 micro controllers
>> mingw-gcc  4.1.0-2 GNU GCC for MinGW
>> qepcad-gcc44   1.53-2  Tarski's  
>> Quantifier
>> Elimination
>> saclib-gcc44   2.2.1-1 Computer algebra,
>> specially on ordered fields
>>
>> Here is a snippet from /sw/src/fink.build/gcc44-4.4.1-1000/ 
>> darwin_objdir
>> :
>>
>> gcc version 4.3.2 (GCC)
>> configure:3285: $? = 0
>> configure:3287: powerpc-apple-darwin8-gcc -V &5
>> powerpc-apple-darwin8-gcc: '-V' option must have argument
>> configure:3290: $? = 1
>> configure:3313: checking for C compiler default output file name
>> configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
>> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No  
>> such
>> file or directory
>> configure:3319: $? = 1
>> configure: failed program was:
>> | /* con

Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Daniel Macks
On Sun, Aug 23, 2009 at 02:02:46PM -0400, Jack Howarth wrote:
> It looks like somehow the removal of the gcc43 package didn't
> occur when you tried to build gcc44. The following...
> 
> Conflicts: gcc4, gcc42, gcc44, gcc45
> Replaces: gcc4, gcc42, gcc44, gcc45
> 
> has always been sufficient to cause the other conflicting
> gcc4X packages to be removed during the build of a specific
> gcc4X package. I haven't seen this myself. Hopefully fink
> hasn't been changed to require an explicit BuildConflicts
> as well.

Fink has never acted as "foo:Conflicts:bar means remove bar before
building foo". Conflicts and Depends are not perfectly symmetric (and
nothing has changed in many years in the effect of either of them).

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan

I found another possible culprit under /usr/local:
/usr/local/libexec/gcc/powerpc-apple-darwin7.9.0/3.4.4/cc1

 > ./cc1 --version
GNU C version 3.4.4 (powerpc-apple-darwin7.9.0)
 compiled by GNU C version 3.3 20030304 (Apple Computer, Inc.  
build 1671).

Perhaps this is the 'cc1' that config was trying to invoke?
How do I remove / move it safely?


On Aug 23, 2009, at 10:39 AM, Alexander Hansen wrote:

> On Sun, Aug 23, 2009 at 1:29 PM, Alexander
> Hansen wrote:
>> On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilan wrote:
>>>
>>> Here's what I get:
 which gcc
>>> /usr/bin/gcc
 gcc --version
>>> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
>>> build
>>> 5370)
>>> I believe this is the standard for Xcode, but your hunch is
>>> right: config.log shows gcc43
>>> (I have no idea why). Could it be that gcc44 and gcc43 do not like  
>>> each
>>> other?
>>> I could try remove gcc43 and then update gcc44.
>>>
>> Very interesting.Fink isn't _supposed_ to be able to find gcc43  
>> and use it
>>
>> It should be OK to remove gcc43 and proceed.
>
> But that may not be the culprit, after some further checking.  You  
> have:
>
>
> i   gcc43  4.3.4-1000  GNU Compiler
> Collection Version 4.3
>
> But your config.log shows
>
> gcc version 4.3.2 (GCC)
>
> So it seems like that's probably somewhere else on your system, like
> maybe in /usr/local.   Check the config.log file again and see if the
> full path to the gcc executable is actually listed there.
> -- 
> Alexander K. Hansen
> akh AT finkproject DOT org
> Fink User Liaison and Documenter


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Jack Howarth
It looks like somehow the removal of the gcc43 package didn't
occur when you tried to build gcc44. The following...

Conflicts: gcc4, gcc42, gcc44, gcc45
Replaces: gcc4, gcc42, gcc44, gcc45

has always been sufficient to cause the other conflicting
gcc4X packages to be removed during the build of a specific
gcc4X package. I haven't seen this myself. Hopefully fink
hasn't been changed to require an explicit BuildConflicts
as well.
  Jack

On Sun, Aug 23, 2009 at 01:50:30AM -0700, Boaz Ilan wrote:
>
> Hello,
>
> Let me know if you think this should be posted in fink-beginners.
>
> I have a Mac/PPC OS-X 10.4 with Xcode 2.5-1. gcc44 is installed, but  
> needs to be updated in order to update a bunch of packages (fftw,  
> octave, scipy, ...). The update or rebuild of gcc44 breaks. I enclose  
> the result of 'fink list gcc' and an error message when trying to update 
> or rebuild gcc44. I am using the latest fink (0.29.8).
>
> I would appreciate any advice or suggestions for a fix.
>
> Thank you,
> Boaz
>
>
> > fink list gcc
> Information about 10026 packages read in 2 seconds.
>  avr-gcc4.2.0-2 GNU GCC for ATMEL  
> AVR micro controllers
>  broken-gcc 3.3-1   [virtual package  
> representing a broken gcc compiler]
>  gcc2   2.95.2-0[virtual package  
> representing the gcc 2.95.2 compiler]
>  gcc2.952.95.2-0[virtual package  
> representing the gcc 2.95.2 compiler]
>  gcc3.1 3.1-0   [virtual package  
> representing the gcc 3.1 compiler]
>  i   gcc3.3 3.3-1819[virtual package  
> representing the gcc 3.3 compiler]
>  gcc4   2:4.1.9-200606  OBSOLETE - GNU  
> Compiler Collection Version 4
>  gcc4-shlibs2:4.1.9-200606  Shared libraries for 
> gcc4
>  i   gcc4.0 4.0.1-5370  [virtual package  
> representing the gcc 4.0.1 compiler]
>  gcc42  4.2.4-1001  GNU Compiler  
> Collection Version 4.2
>  gcc42-shlibs   4.2.4-1001  Shared libraries for 
> gcc4
>  i   gcc43  4.3.4-1000  GNU Compiler  
> Collection Version 4.3
>  i   gcc43-shlibs   4.3.4-1000  Shared libraries for 
> gcc4
>  gcc44  4.4.1-1000  GNU Compiler  
> Collection Version 4.4
>  gcc44-shlibs   4.4.1-1000  Shared libraries for 
> gcc4
>  llvm-gcc42 2.5-1   GCC 4.2.1 front-end 
> for LLVM Compiler System
>  llvm-gcc42-shlibs  2.5-1   Shared libraries for 
> llvm-gcc42
>  m681x-gcc  3.3.6-3 For Motorola  
> 68hc11/12 micro controllers
>  mingw-gcc  4.1.0-2 GNU GCC for MinGW
>  qepcad-gcc44   1.53-2  Tarski's Quantifier 
> Elimination
>  saclib-gcc44   2.2.1-1 Computer algebra,  
> specially on ordered fields
>
> Here is a snippet from /sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir 
> :
>
> gcc version 4.3.2 (GCC)
> configure:3285: $? = 0
> configure:3287: powerpc-apple-darwin8-gcc -V &5
> powerpc-apple-darwin8-gcc: '-V' option must have argument
> configure:3290: $? = 1
> configure:3313: checking for C compiler default output file name
> configure:3316: powerpc-apple-darwin8-gccconftest.c  >&5
> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No such  
> file or directory
> configure:3319: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3357: error: in `/sw/src/fink.build/gcc44-4.4.1-1000/ 
> darwin_objdir':
> configure:3360: error: C compiler cannot create executables
>
>
>
>
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan

config shows this:

Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/ 
gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --ena
ble-languages=c,c++,fortran,objc,java --build=powerpc-apple-darwin8 -- 
with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib

So /sw/lib/gcc4.3 is fink, but what is the meaning of ../gcc-4.3.2 ?

Also, this may be relevant (I have too many versions of gcc for my own  
good):
 > which gcc-4
/sw/bin/gcc-4
 > gcc-4 --version
gcc-4 (GCC) 4.3.4


On Aug 23, 2009, at 10:39 AM, Alexander Hansen wrote:

> On Sun, Aug 23, 2009 at 1:29 PM, Alexander
> Hansen wrote:
>> On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilan wrote:
>>>
>>> Here's what I get:
 which gcc
>>> /usr/bin/gcc
 gcc --version
>>> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
>>> build
>>> 5370)
>>> I believe this is the standard for Xcode, but your hunch is
>>> right: config.log shows gcc43
>>> (I have no idea why). Could it be that gcc44 and gcc43 do not like  
>>> each
>>> other?
>>> I could try remove gcc43 and then update gcc44.
>>>
>> Very interesting.Fink isn't _supposed_ to be able to find gcc43  
>> and use it
>>
>> It should be OK to remove gcc43 and proceed.
>
> But that may not be the culprit, after some further checking.  You  
> have:
>
>
> i   gcc43  4.3.4-1000  GNU Compiler
> Collection Version 4.3
>
> But your config.log shows
>
> gcc version 4.3.2 (GCC)
>
> So it seems like that's probably somewhere else on your system, like
> maybe in /usr/local.   Check the config.log file again and see if the
> full path to the gcc executable is actually listed there.
> -- 
> Alexander K. Hansen
> akh AT finkproject DOT org
> Fink User Liaison and Documenter


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Alexander Hansen
On Sun, Aug 23, 2009 at 1:29 PM, Alexander
Hansen wrote:
> On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilan wrote:
>>
>> Here's what I get:
>>> which gcc
>> /usr/bin/gcc
>>> gcc --version
>> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
>> 5370)
>> I believe this is the standard for Xcode, but your hunch is
>> right: config.log shows gcc43
>> (I have no idea why). Could it be that gcc44 and gcc43 do not like each
>> other?
>> I could try remove gcc43 and then update gcc44.
>>
> Very interesting.    Fink isn't _supposed_ to be able to find gcc43 and use it
>
> It should be OK to remove gcc43 and proceed.

But that may not be the culprit, after some further checking.  You have:


 i   gcc43  4.3.4-1000  GNU Compiler
Collection Version 4.3

But your config.log shows

gcc version 4.3.2 (GCC)

So it seems like that's probably somewhere else on your system, like
maybe in /usr/local.   Check the config.log file again and see if the
full path to the gcc executable is actually listed there.
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Alexander Hansen
On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilan wrote:
>
> Here's what I get:
>> which gcc
> /usr/bin/gcc
>> gcc --version
> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
> 5370)
> I believe this is the standard for Xcode, but your hunch is
> right: config.log shows gcc43
> (I have no idea why). Could it be that gcc44 and gcc43 do not like each
> other?
> I could try remove gcc43 and then update gcc44.
>
Very interesting.Fink isn't _supposed_ to be able to find gcc43 and use it

It should be OK to remove gcc43 and proceed.

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

> On Aug 23, 2009, at 6:47 AM, Alexander Hansen wrote:
>
> It appears that you're trying to build gcc44 from some other compiler
>
> other than what is installed by Xcode, according to your config.log
>
> snippet.
>
> What do you get from
>
> which gcc
>
> gcc --version
>
>
>
>
> oops.  make that "..._using_ some other compiler ..."
>
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Boaz Ilan


Here's what I get:
> which gcc
/usr/bin/gcc
> gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
build 5370)


I believe this is the standard for Xcode, but your hunch is right:  
config.log shows gcc43
(I have no idea why). Could it be that gcc44 and gcc43 do not like  
each other?

I could try remove gcc43 and then update gcc44.


On Aug 23, 2009, at 6:47 AM, Alexander Hansen wrote:



It appears that you're trying to build gcc44 from some other compiler
other than what is installed by Xcode, according to your config.log
snippet.

What do you get from

which gcc
gcc --version





oops.  make that "..._using_ some other compiler ..."


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Alexander Hansen
>
> It appears that you're trying to build gcc44 from some other compiler
> other than what is installed by Xcode, according to your config.log
> snippet.
>
> What do you get from
>
> which gcc
> gcc --version
>
>
>

oops.  make that "..._using_ some other compiler ..."

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] updating gcc44 on Mac/PPC Xcode-2.5

2009-08-23 Thread Alexander Hansen
On Sun, Aug 23, 2009 at 4:50 AM, Boaz Ilan wrote:
>
> Hello,
>
> Let me know if you think this should be posted in fink-beginners.
>
> I have a Mac/PPC OS-X 10.4 with Xcode 2.5-1. gcc44 is installed, but
> needs to be updated in order to update a bunch of packages (fftw,
> octave, scipy, ...). The update or rebuild of gcc44 breaks. I enclose
> the result of 'fink list gcc' and an error message when trying to
> update or rebuild gcc44. I am using the latest fink (0.29.8).
>
> I would appreciate any advice or suggestions for a fix.
>
> Thank you,
> Boaz
>
>
>  > fink list gcc
> Information about 10026 packages read in 2 seconds.
>      avr-gcc                    4.2.0-2             GNU GCC for ATMEL
> AVR micro controllers
>      broken-gcc                 3.3-1               [virtual package
> representing a broken gcc compiler]
>      gcc2                       2.95.2-0            [virtual package
> representing the gcc 2.95.2 compiler]
>      gcc2.95                    2.95.2-0            [virtual package
> representing the gcc 2.95.2 compiler]
>      gcc3.1                     3.1-0               [virtual package
> representing the gcc 3.1 compiler]
>  i   gcc3.3                     3.3-1819            [virtual package
> representing the gcc 3.3 compiler]
>      gcc4                       2:4.1.9-200606  OBSOLETE - GNU
> Compiler Collection Version 4
>      gcc4-shlibs                2:4.1.9-200606  Shared libraries
> for gcc4
>  i   gcc4.0                     4.0.1-5370          [virtual package
> representing the gcc 4.0.1 compiler]
>      gcc42                      4.2.4-1001          GNU Compiler
> Collection Version 4.2
>      gcc42-shlibs               4.2.4-1001          Shared libraries
> for gcc4
>  i   gcc43                      4.3.4-1000          GNU Compiler
> Collection Version 4.3
>  i   gcc43-shlibs               4.3.4-1000          Shared libraries
> for gcc4
>      gcc44                      4.4.1-1000          GNU Compiler
> Collection Version 4.4
>      gcc44-shlibs               4.4.1-1000          Shared libraries
> for gcc4
>      llvm-gcc42                 2.5-1               GCC 4.2.1 front-
> end for LLVM Compiler System
>      llvm-gcc42-shlibs          2.5-1               Shared libraries
> for llvm-gcc42
>      m681x-gcc                  3.3.6-3             For Motorola
> 68hc11/12 micro controllers
>      mingw-gcc                  4.1.0-2             GNU GCC for MinGW
>      qepcad-gcc44               1.53-2              Tarski's
> Quantifier Elimination
>      saclib-gcc44               2.2.1-1             Computer algebra,
> specially on ordered fields
>
> Here is a snippet from /sw/src/fink.build/gcc44-4.4.1-1000/
> darwin_objdir :
>
> gcc version 4.3.2 (GCC)
> configure:3285: $? = 0
> configure:3287: powerpc-apple-darwin8-gcc -V &5
> powerpc-apple-darwin8-gcc: '-V' option must have argument
> configure:3290: $? = 1
> configure:3313: checking for C compiler default output file name
> configure:3316: powerpc-apple-darwin8-gcc    conftest.c  >&5
> powerpc-apple-darwin8-gcc: error trying to exec 'cc1': execvp: No such
> file or directory
> configure:3319: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3357: error: in `/sw/src/fink.build/gcc44-4.4.1-1000/
> darwin_objdir':
> configure:3360: error: C compiler cannot create executables
>
>
>
>
>
>
>

It appears that you're trying to build gcc44 from some other compiler
other than what is installed by Xcode, according to your config.log
snippet.

What do you get from

which gcc
gcc --version


-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users