Re: [Fink-users] Invalid call to gcc_select in Fink/Services.pm?

2006-02-24 Thread Derek Homeier

On Feb 24, 2006, at 11:03 PM, Derek Homeier wrote:


So could someone enlighten me whether fink has been broken
for half a year without anyone else noticing or I have indeed for
some weird reason a different gcc_select script in /usr/sbin


Oh, just for information, this one identifies as

# Copyright Apple Computer, Inc. 2002, 2003, 2004, 2005

###

GCC_SELECT_VERSION=2.14

and is dated 27/May/2005

Cheers,
Derek



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Invalid call to gcc_select in Fink/Services.pm?

2006-02-24 Thread Alexander K. Hansen
On 2/24/06, Derek Homeier [EMAIL PROTECTED] wrote:
 Hi List,

 is it possible that the gcc_select on my system since MacOS .10.4
 should be different from everybody else's?
 Calling
 # whence -p gcc_select
/usr/sbin/gcc_select
 # sudo gcc_select --force 4.0
 ***
 *** THE gcc_select SCRIPT MUST BE RUN   ***
 *** AS root (OR WITH THE -root OPTION). ***
 *** NO CHANGES WERE MADE TO YOUR SETUP. ***
 ***

 gives fairly clear instructions... I  am sorry for not reporting this
 earlier but rather installing a wrapper script in /sw/sbin
 that would call /usr/sbin/gcc_select -root $1, but I thought
 this should be noticed quite soon.
 Now since the current fink makes sure it calls gcc_select
 from /usr/*bin (and hides the ensuing error message!), the
 fix would not work any longer and caused me some headaches
 to track the original problem down.

 So could someone enlighten me whether fink has been broken
 for half a year without anyone else noticing or I have indeed for
 some weird reason a different gcc_select script in /usr/sbin
 than what's supposed to be in there (that machine was upgraded
 from 10.3.x without wiping the disk/archive+install or such).

 Thanks in advance,

 Derek




Looks like you have the same script as I do.  How is fink broken by
not using a script that's on nobody's system but yours?

--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Invalid call to gcc_select in Fink/Services.pm?

2006-02-24 Thread Matthew Sachs

On Feb 24, 2006, at 17:11, Derek Homeier wrote:


On Feb 24, 2006, at 11:03 PM, Derek Homeier wrote:


So could someone enlighten me whether fink has been broken
for half a year without anyone else noticing or I have indeed for
some weird reason a different gcc_select script in /usr/sbin


Oh, just for information, this one identifies as

GCC_SELECT_VERSION=2.14


That's the version that came with Xcode 2.0.  The latest version is  
2.18.


However, you still shouldn't be seeing the problem you're seeing.   
What does:

bash$ sudo su
bash# echo $UID
say?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Invalid call to gcc_select in Fink/Services.pm?

2006-02-24 Thread Derek Homeier

On Feb 24, 2006, at 11:21 PM, Matthew Sachs wrote:


GCC_SELECT_VERSION=2.14


That's the version that came with Xcode 2.0.  The latest version is  
2.18.


Thought I was on 2.1, and last time I looked Xcode 2.2 was still  
reported broken
with fink. But since I see that's fixed now, I guess it's time to  
upgrade :-)


However, you still shouldn't be seeing the problem you're seeing.   
What does:

bash$ sudo su
bash# echo $UID
say?


Ah, interesting things! It would report my own UID, as I had made that
an environment variable.
After removing the export UID from my .profile, it says 0 as I guess
it's supposed to, and indeed building packages now works with fink as
shipped.

Thanks a lot!!!
Derek



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Invalid call to gcc_select in Fink/Services.pm?

2006-02-24 Thread Derek Homeier

On Feb 24, 2006, at 11:12 PM, Alexander K. Hansen wrote:


Looks like you have the same script as I do.  How is fink broken by
not using a script that's on nobody's system but yours?


Not so much broken by that, though I had become a bit angry that
it had done so in a rather opaque fashion (gcc_select 2 /dev/null).
But the real problem was that fink is supposed to run with UID 0 at that
point, which it did not in my environment because of some legacy
settings in my ~/.profile. Fixed now thanks to Matthew Sachs!

Cheers,
Derek



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users