[Fink-users] Failed: phase compiling: fink-0.34.8-71

2013-06-01 Thread Boaz Ilan

selfupdate fails to compile fink-buildlock-fink-0.34.8-71, with error

#   Failed test 'requires normal user but build_as_nobody enabled'
#   at ./Services/execute_nonroot_okay.t line 105.
#  got: 0
# expected: anything else
# Looks like you failed 1 test of 12.
./Services/execute_nonroot_okay.t  
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 

This is on OS-X 10.8.3
Package manager version: 0.34.6
Distribution version: selfupdate-rsync Sat Jun  1 13:28:53 2013, 10.8, x86_64
Trees: local/main stable/main
Xcode.app: 4.6
Xcode command-line tools: 4.5.0.0.1.1249367152
Max. Fink build jobs:  1
gcc version 4.2.1

Any suggestions?



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71

2013-06-01 Thread Boaz Ilan

On Jun 1, 2013, at 2:30 PM, Alexander Hansen alexanderk.han...@gmail.com
 wrote:

 On 6/1/13 1:36 PM, Boaz Ilan wrote:
 
 selfupdate fails to compile fink-buildlock-fink-0.34.8-71, with error
 
 (not fink-buildlock-fink, but fink)
 
 
 #   Failed test 'requires normal user but build_as_nobody enabled'

 This is on OS-X 10.8.3
 Package manager version: 0.34.6
 Distribution version: selfupdate-rsync Sat Jun  1 13:28:53 2013, 10.8, x86_64
 Trees: local/main stable/main
 Xcode.app: 4.6
 Xcode command-line tools: 4.5.0.0.1.1249367152
 Max. Fink build jobs:  1
 gcc version 4.2.1
 
 Any suggestions?
 
 (you might want to update your Xcode command-line tools, but that's not the 
 problem)

Will do. 

 That failure is correct, since the fink package is _supposed_ to build as 
 root.  I'm not sure how it's even _possible_ for you to try to build fink 
 under a non-root user without modifying 
 /sw/fink/dists/stable/main/finkinfo/base/fink-10.8.info and removing the 
 BuildAsNobody: false line.  Have you made any warranty-violating 
 modifications? :-)

Fixed! 
My .cshrc sets the environment variable 
DYLD_LIBRARY_PATH /sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib
I do not remember why I set this. At any rate, on 10.8.X, setting this variable 
causes /usr/sudo to generate an annoying warning message:
dyld: DYLD_ environment variables being ignored because main executable 
(/usr/bin/sudo) is setuid or setgid

To get rid of this message, I renamed sudo as sudo-real, created a wrapper sudo 
that calls sudo-real with setuid. Apparently, this messed up with fink (and 
other stuff). So I simply removed the wrapper and renamed sudo-real back as 
sudo. I still get the annoying message, but it does not break anything, yet.

Many thanks for the help!

 -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/
 



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: fink-0.34.8-71

2013-06-01 Thread Boaz Ilan
 
 That failure is correct, since the fink package is _supposed_ to build as 
 root.  I'm not sure how it's even _possible_ for you to try to build fink 
 under a non-root user without modifying 
 /sw/fink/dists/stable/main/finkinfo/base/fink-10.8.info and removing the 
 BuildAsNobody: false line.  Have you made any warranty-violating 
 modifications? :-)
 
 Fixed!
 My .cshrc sets the environment variable
 DYLD_LIBRARY_PATH /sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib
 I do not remember why I set this. At any rate, on 10.8.X, setting this 
 variable causes /usr/sudo to generate an annoying warning message:
 dyld: DYLD_ environment variables being ignored because main executable 
 (/usr/bin/sudo) is setuid or setgid
 
 To get rid of this message, I renamed sudo as sudo-real, created a wrapper 
 sudo that calls sudo-real with setuid. Apparently, this messed up with fink 
 (and other stuff). So I simply removed the wrapper and renamed sudo-real 
 back as sudo. I still get the annoying message, but it does not break 
 anything, yet.
 
 Many thanks for the help!
 
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/
 
 

 Setting DYLD_LIBRARY_PATH can have lots of unforeseen consequences.  You 
 shouldn't need it to use software installed via Fink, and we definitely don't 
 recommend doing so.  DYLD_FALLBACK_LIBRARY_PATH is often a safer option to 
 accomplish the same goal.

I will make this change. 
Thanks again,
Boaz

 -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/
 



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Could not find notifier 'Growl'!

2011-03-02 Thread Boaz Ilan

Hi,

I was trying to remove Growl from my system and -- rather haphazardly (mea 
culpa!) -- I corrupted one or more of the fink configuration files (not sure 
which ones). As a result, any fink install or update fails with Could not find 
notifier 'Growl'! Please fix your fink.conf. However, I see no reference to 
Growl in a backup fink.conf that I have. It must have been a different file, 
perhaps under lib or var, not sure.

Any suggestions how to fix this without reinstalling fink from scratch or doing 
more damage?

Thank you for any help,

Boaz

Mac Intel, OS-X 10.6, fink 0.29.19, Xcode 3.2.5.


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Could not find notifier 'Growl'!

2011-03-02 Thread Boaz Ilan

Copying /sw/lib/perl5/Fink/Notify/Growl.pm from a different installation 
(another Mac) solved the problem.

Thanks a bunch!

Boaz


On Mar 2, 2011, at 6:35 AM, Alexander Hansen wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 3/1/11 10:49 PM, Boaz Ilan wrote:
 
 Hi,
 
 I was trying to remove Growl from my system and -- rather haphazardly (mea 
 culpa!) -- I corrupted one or more of the fink configuration files (not sure 
 which ones). As a result, any fink install or update fails with Could not 
 find notifier 'Growl'! Please fix your fink.conf. However, I see no 
 reference to Growl in a backup fink.conf that I have. It must have been a 
 different file, perhaps under lib or var, not sure.
 
 
 fink's default notifier is Growl, so even if it's not listed in
 fink.conf fink will try to use it.
 
 Any suggestions how to fix this without reinstalling fink from scratch or 
 doing more damage?
 
 fink reinstall fink, perhaps.  My guess is that you removed
 /sw/lib/perl5/Fink/Notify/Growl.pm, and this command will reinstall
 all the files from your fink package.
 
 
 Thank you for any help,
 
 Boaz
 
 Mac Intel, OS-X 10.6, fink 0.29.19, Xcode 3.2.5.
 
 
 
 - -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1uVbAACgkQB8UpO3rKjQ9XtgCbBV/jNpuICxFpezCO7xEomgp9
 5+gAn0o4twyAKLGTNXQI/ZEq5aYA41R8
 =vwWA
 -END PGP SIGNATURE-


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
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 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


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

2009-08-23 Thread Boaz Ilan

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 /dev/null 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


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 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
 Hansenalexanderk.han...@gmail.com wrote:
 On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilanbi...@ucmerced.edu 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 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
 Hansenalexanderk.han...@gmail.com wrote:
 On Sun, Aug 23, 2009 at 1:22 PM, Boaz Ilanbi...@ucmerced.edu 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 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 /dev/null 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 /dev/null 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

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 /dev/null 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

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


[Fink-users] error building gcc43

2008-09-26 Thread Boaz Ilan
Hello all,

I have a G4 PowerPc running Xcode 2.5. I recently reinstalled 
fink from scratch and added everything I needed. 
However, when trying to build gcc43 I get the following error:

/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld:
can't find or exec: 
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld64 
(No such file or directory,  errno = 2)
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.dylib] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.SVaJs1 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc43-4.3.1-1000
(Reading database ... 56203 files and directories currently installed.)
Removing fink-buildlock-gcc43-4.3.1-1000 ...

I did fink selfupdate, update-all, scanpackages, index etc. 
several times and still get the same build error. 
Indeed, usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld64 
does not exist, but 'ld' does in the same directory:
'/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld -v'
Apple Computer, Inc. version cctools-622.9~2
This is the most up-to-date cctools. 
Interestingly, I also have a G5 with the same config, where
gcc43 built fine and there too there is only 'ld' not 'ld64'.

Any ideas would be appreciated.

Thanks everyone.

Boaz




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users