-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I said the same thing in IRC a bit ago. :-)

We already use the the Xcode detection from VirtPackage.pm for error
diagnostic purposes (as in the output below), so the technique
shouldn't present a problem.

I'd recommend moving the Xcode, arch, make, cc, ... tests to the
beginning of the bootstrap script, maybe even before asking for the
directory to bootstrap into.  If a user doesn't have Xcode (or the
right Xcode), it seems excessive to create /sw before telling them
that and exiting, and then tell them the next time around they can't
use the /sw we created. :-)

On 11/23/11 11:02 AM, David R. Morrison wrote:
> I wonder if we should put a test for Xcode version into the 
> bootstrap, so that people get an error message which tells them 
> what is wrong and suggests how to fix it?
> 
> -- Dave
> 
> On Nov 23, 2011, at 6:50 AM, Alexander Hansen wrote:
> 
> On 11/23/11 9:34 AM, Simone Hochgreb wrote:
>>>> Hello,
>>>> 
>>>> I have been trying to update fink on Mac OS X 10.7, 
>>>> unsuccessfully.
>>>> 
>>>> 
>>>> Steps:
>>>> 
>>>> 1) Downloaded and installed Xcode 2) Downloaded and untarred 
>>>> fink-0.31.4 3) Bootstrap from alternative directory using 
>>>> ./bootstrap /sw
>>>> 
>>>> Although /sw did not contain fink (removed),
> 
> What exactly does that mean?  You have to remove _all_ of /sw to 
> uninstall Fink.
> 
> Just removing /sw/fink doesn't cut it, if that's what you did, 
> because /sw/fink just contains the package descriptions and .deb 
> archives. All of the executables, libraries, ... are elsewhere in 
> /sw, and the choice was made to require /sw to be completely
> absent for bootstraps, presumably to avoid cross-contamination.
> 
> the install bootstrap wants
>>>> me to install into /sw2 (and after that failed, /sw3).
>>>> 
>>>> Transcript as follows. Any ideas?
>>>> 
>>>> Simone baiao:fink-0.31.4 Simone$ ./bootstrap /sw
>>>> 
> 
> <snipping non-errors>
> 
>>>> checking for gcc... gcc checking for gcc... (cached) gcc 
>>>> checking for C compiler default output file name... 
>>>> configure: error: C compiler cannot create executables See 
>>>> `config.log' for more details. ### execution of 
>>>> PERL=/usr/bin/perl failed, exit code 77 phase compiling: 
>>>> dpkg-bootstrap-1.10.21-1218 failed
>>>> 
>>>> Before reporting any errors, please run "fink selfupdate"
>>>> and try again. If you continue to have issues, please check
>>>> to see if the FAQ on Fink's website solves the problem.  If
>>>> not, ask on one of these mailing lists:
>>>> 
>>>> The Fink Users List <fink-us...@lists.sourceforge.net 
>>>> <mailto:fink-us...@lists.sourceforge.net>> The Fink
>>>> Beginners List <fink-beginn...@lists.sourceforge.net 
>>>> <mailto:fink-beginn...@lists.sourceforge.net>>.
>>>> 
>>>> Please try to include the complete error message in your 
>>>> report. This generally consists of a compiler line starting 
>>>> with e.g. "gcc" or "g++" followed by the actual error output 
>>>> from the compiler.
>>>> 
>>>> Also include the following system information: Package 
>>>> manager version: 0.31.4 Distribution version: 
>>>> selfupdate-point (bootstrap), 10.7, x86_64 Trees: local/main 
>>>> stable/main Xcode: 3.2.4
>>>> 
> 
> We don't support Xcode 3 on Lion.  Install Xcode 4.2.  I recommend
>  running the /Developer/Library/uninstall-devtools script first to 
> make sure that your old Xcode is completely removed.
> 
> Why Apple doesn't have their Xcode installers do this by default, 
> and allow users to change the behavior in a custom install, is 
> beyond me.
> 
>> 

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

iEYEARECAAYFAk7NKqwACgkQB8UpO3rKjQ8hMQCdFjcOvclB5u+13ETyD0caTtmD
JKIAoImm9oYUk7lvuFHcEvcExDJetyJk
=a2ZI
-----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-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to