David R. Morrison wrote:
Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26668
Modified Files:
Bootstrap.pm PkgVersion.pm Services.pm Log Message:
create new function &enforce_gcc to verify that the correct version of gcc
is being used
This is broken on 10.2. It creates a symlink dists->10.2-3.3 instead of 10.2-gcc3.3. It also complains wrongly about wrong developer tools:
Fink no longer supports the old Developer Tools on 10.2. Please update to the August 2003 Developer Tools, and try again.
/bin/mkdir -p /sw/fink/10.2-3.3/local/main/finkinfo
/usr/sbin/chown -R martin /sw/fink/10.2-3.3
ln -s 10.2-3.3 /sw/fink/dists
[]
+sub enforce_gcc {
This returns $gcc='3.3' on 10.2, whereas Bootstrap.pm wants $gcc='-gcc-3.3' at one place and $gcc='gcc3.3' at another place.
[]
+ if (-x '/usr/bin/gcc') { +$gcc = Fink::Services::enforce_gcc("Under CURRENT_SYSTEM, Fink must be bootstrapped or updated using\n" . +"gcc EXPECTED_GCC. However, you currently have gcc INSTALLED_GCC selected.\n" . +"To correct this problem, run the command:\n\n" . + " sudo gcc_select GCC_SELECT_COMMAND\n\n"); + $gcc = "-" . $gcc;
At this place I have $gcc='-3.3'
+} else { +## 10.2 users who do not have gcc at all are installing binary only, so they get +## to move to 10.2-gcc3.3 also + $gcc = "-gcc3.3";
So here it should be '-gcc3.3', but later on it is tested against 'gcc3.3':
} elsif ($host =~ /^powerpc-apple-darwin6\.[0-8]/) { if (not $gcc =~ /gcc3.3/) { &print_breaking("\nFink no longer supports the old Developer " . "Tools on 10.2. Please update to the August 2003 Developer " . "Tools, and try again.\n");
-- Martin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel