Can't bootstrap on 10.8.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't bootstrap on 10.8.4

Reaves, Timothy
I've done a fairly thorough search for this issue, and can't find it.

I have 10.8.4 with XCode 10.6.3 installed, and the command line tools are installed too.  I'm trying to install fink from scratch.  Running the bootstrap script fails with:

---
Checking package... looks good (fink-0.34.8).
Checking system... i386-apple-darwin12.4.0
Under Mac OS X 10.8.4, Fink must be bootstrapped or updated with gcc
4.2, however, you currently have gcc (unknown version) selected.
This typically is due to alteration of symlinks which were
installed by Xcode. To correct this problem, you will need
to restore the compiler symlinks to the configuration that
Apple provides.
---



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
On 6/28/13 7:18 AM, Reaves, Timothy wrote:

> I've done a fairly thorough search for this issue, and can't find it.
>
> I have 10.8.4 with XCode 10.6.3 installed, and the command line tools
> are installed too.  I'm trying to install fink from scratch.  Running
> the bootstrap script fails with:
>
> ---
> Checking package... looks good (fink-0.34.8).
> Checking system... i386-apple-darwin12.4.0
> Under Mac OS X 10.8.4, Fink must be bootstrapped or updated with gcc
> 4.2, however, you currently have gcc (unknown version) selected.
> This typically is due to alteration of symlinks which were
> installed by Xcode. To correct this problem, you will need
> to restore the compiler symlinks to the configuration that
> Apple provides.
> ---
>

The message text is a little outdated, admittedly.  That being said, the
mat of it still stands.

What do you get from

ls -l /usr/bin/gcc

/usr/bin/gcc --version

?

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Reaves, Timothy
Well, that's the thing; I've no doubt the rest of it 'stands', but, it's defective in that no one running - at least these two versions of OS X & Xcode - will be able to install fink.

~/Development/images/$ ls -l /usr/bin/gcc
-rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
~/Development/images/$ /usr/bin/gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix


On Fri, Jun 28, 2013 at 11:47 AM, Alexander Hansen <[hidden email]> wrote:
On 6/28/13 7:18 AM, Reaves, Timothy wrote:
I've done a fairly thorough search for this issue, and can't find it.

I have 10.8.4 with XCode 10.6.3 installed, and the command line tools
are installed too.  I'm trying to install fink from scratch.  Running
the bootstrap script fails with:

---
Checking package... looks good (fink-0.34.8).
Checking system... i386-apple-darwin12.4.0
Under Mac OS X 10.8.4, Fink must be bootstrapped or updated with gcc
4.2, however, you currently have gcc (unknown version) selected.
This typically is due to alteration of symlinks which were
installed by Xcode. To correct this problem, you will need
to restore the compiler symlinks to the configuration that
Apple provides.
---


The message text is a little outdated, admittedly.  That being said, the mat of it still stands.

What do you get from

ls -l /usr/bin/gcc

/usr/bin/gcc --version

?

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2


On 6/28/13 8:55 AM, Reaves, Timothy wrote:

> Well, that's the thing; I've no doubt the rest of it 'stands', but, it's
> defective in that no one running - at least these two versions of OS X &
> Xcode - will be able to install fink.
>
> ~/Development/images/$ ls -l /usr/bin/gcc
> -rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
> ~/Development/images/$ /usr/bin/gcc --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
> Target: x86_64-apple-darwin12.4.0
> Thread model: posix
>
>

<snip>

Wait a minute, Xcode 10.6.3?  I assume you mean Xcode 4.6.3.

If so, your installation is different than the standard configuration,
and that is what is "defective".  The issue is that /usr/bin/gcc is
_supposed_ to be a symlink for current Xcode releases.

I have:

$ ls -ld /usr/bin/gcc
lrwxr-xr-x  1 root  wheel  12 Apr 17 09:47 /usr/bin/gcc -> llvm-gcc-4.2

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
On 6/28/13 9:42 AM, Alexander Hansen wrote:

>
>
> On 6/28/13 8:55 AM, Reaves, Timothy wrote:
>> Well, that's the thing; I've no doubt the rest of it 'stands', but, it's
>> defective in that no one running - at least these two versions of OS X &
>> Xcode - will be able to install fink.
>>
>> ~/Development/images/$ ls -l /usr/bin/gcc
>> -rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
>> ~/Development/images/$ /usr/bin/gcc --version
>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
>> Target: x86_64-apple-darwin12.4.0
>> Thread model: posix
>>
>>
>
> <snip>
>
> Wait a minute, Xcode 10.6.3?  I assume you mean Xcode 4.6.3.
>
> If so, your installation is different than the standard configuration,
> and that is what is "defective".  The issue is that /usr/bin/gcc is
> _supposed_ to be a symlink for current Xcode releases.
>
> I have:
>
> $ ls -ld /usr/bin/gcc
> lrwxr-xr-x  1 root  wheel  12 Apr 17 09:47 /usr/bin/gcc -> llvm-gcc-4.2
>

That's from the current Xcode 4.6.x command-line tools release, right
out of the box.

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Reaves, Timothy
I do mean XCode 4.6.3.  And all I did was install XCode from the store.  So I'm not sure how it could be non-standard or defective.


On Fri, Jun 28, 2013 at 12:47 PM, Alexander Hansen <[hidden email]> wrote:
On 6/28/13 9:42 AM, Alexander Hansen wrote:


On 6/28/13 8:55 AM, Reaves, Timothy wrote:
Well, that's the thing; I've no doubt the rest of it 'stands', but, it's
defective in that no one running - at least these two versions of OS X &
Xcode - will be able to install fink.

~/Development/images/$ ls -l /usr/bin/gcc
-rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
~/Development/images/$ /usr/bin/gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix



<snip>

Wait a minute, Xcode 10.6.3?  I assume you mean Xcode 4.6.3.

If so, your installation is different than the standard configuration,
and that is what is "defective".  The issue is that /usr/bin/gcc is
_supposed_ to be a symlink for current Xcode releases.

I have:

$ ls -ld /usr/bin/gcc
lrwxr-xr-x  1 root  wheel  12 Apr 17 09:47 /usr/bin/gcc -> llvm-gcc-4.2


That's from the current Xcode 4.6.x command-line tools release, right out of the box.


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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Reaves, Timothy
I do have /usr/bin/ llvm-gcc-4.2

It's customary for an application to use the specific path versus the 'default' path when there is a hard requirement on a version.  Such as /usr/bin/python2.7 instead of /usr/bin/python.


On Fri, Jun 28, 2013 at 12:53 PM, Reaves, Timothy <[hidden email]> wrote:
I do mean XCode 4.6.3.  And all I did was install XCode from the store.  So I'm not sure how it could be non-standard or defective.


On Fri, Jun 28, 2013 at 12:47 PM, Alexander Hansen <[hidden email]> wrote:
On 6/28/13 9:42 AM, Alexander Hansen wrote:


On 6/28/13 8:55 AM, Reaves, Timothy wrote:
Well, that's the thing; I've no doubt the rest of it 'stands', but, it's
defective in that no one running - at least these two versions of OS X &
Xcode - will be able to install fink.

~/Development/images/$ ls -l /usr/bin/gcc
-rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
~/Development/images/$ /usr/bin/gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix



<snip>

Wait a minute, Xcode 10.6.3?  I assume you mean Xcode 4.6.3.

If so, your installation is different than the standard configuration,
and that is what is "defective".  The issue is that /usr/bin/gcc is
_supposed_ to be a symlink for current Xcode releases.

I have:

$ ls -ld /usr/bin/gcc
lrwxr-xr-x  1 root  wheel  12 Apr 17 09:47 /usr/bin/gcc -> llvm-gcc-4.2


That's from the current Xcode 4.6.x command-line tools release, right out of the box.


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



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
The text isn't quite applicable as I said, and should probably be
changed in the next release.

The issue you've experienced is is something _entirely_ different from
an absolute path.  The test is whether /usr/bin/gcc is a symlink rather
than a real file, period, without respect to version.  I don't recall
the reason offhand, but it was possibly an issue with an upgrade path
prior to 10.4, or maybe just to safeguard against third-party compiler
installs.  It's in the history somewhere.

In Every version of Xcode or the command-line tools that I've installed
in the past decade, /usr/bin/gcc has been a symlink to some real
compiler, and it was that way in April, when I installed my current
command-line tools.  And I've boostrapped fink-0.34.8 or later
development versions multiple times since.  That being said, it's
totally possible that something could have changed on Apple's end.

As a workaround, try changing the following in perlmod/Services.pm

sub gcc_selected {
        # this should work anywhere we support, really
        if (-l '/usr/bin/gcc') {
                my $link = readlink('/usr/bin/gcc');
                if ($link =~ /gcc-(\d+\.\d+)/) {
                        return $1;
                } else {
                        print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
                }
        }
        return 0;
}

to something like

sub gcc_selected {
        # this should work anywhere we support, really
        if (-l '/usr/bin/gcc') {
                my $link = readlink('/usr/bin/gcc');
                if ($link =~ /gcc-(\d+\.\d+)/) {
                        return $1;
                } else {
                        print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
                }
        }
        return 4.2;
}


On 6/28/13 9:59 AM, Reaves, Timothy wrote:

> I do have /usr/bin/ llvm-gcc-4.2
>
> It's customary for an application to use the specific path versus the
> 'default' path when there is a hard requirement on a version.  Such as
> /usr/bin/python2.7 instead of /usr/bin/python.
>
>
> On Fri, Jun 28, 2013 at 12:53 PM, Reaves, Timothy
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     I do mean XCode 4.6.3.  And all I did was install XCode from the
>     store.  So I'm not sure how it could be non-standard or defective.
>
>
>     On Fri, Jun 28, 2013 at 12:47 PM, Alexander Hansen
>     <[hidden email] <mailto:[hidden email]>>
>     wrote:
>
>         On 6/28/13 9:42 AM, Alexander Hansen wrote:
>
>
>
>             On 6/28/13 8:55 AM, Reaves, Timothy wrote:
>
>                 Well, that's the thing; I've no doubt the rest of it
>                 'stands', but, it's
>                 defective in that no one running - at least these two
>                 versions of OS X &
>                 Xcode - will be able to install fink.
>
>                 ~/Development/images/$ ls -l /usr/bin/gcc
>                 -rwxr-xr-x  1 root  admin  35152 Jun 28 09:44 /usr/bin/gcc
>                 ~/Development/images/$ /usr/bin/gcc --version
>                 Configured with:
>                 --prefix=/Applications/Xcode.__app/Contents/Developer/usr
>                 --with-gxx-include-dir=/usr/__include/c++/4.2.1
>                 Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM
>                 3.2svn)
>                 Target: x86_64-apple-darwin12.4.0
>                 Thread model: posix
>
>
>
>             <snip>
>
>             Wait a minute, Xcode 10.6.3?  I assume you mean Xcode 4.6.3.
>
>             If so, your installation is different than the standard
>             configuration,
>             and that is what is "defective".  The issue is that
>             /usr/bin/gcc is
>             _supposed_ to be a symlink for current Xcode releases.
>
>             I have:
>
>             $ ls -ld /usr/bin/gcc
>             lrwxr-xr-x  1 root  wheel  12 Apr 17 09:47 /usr/bin/gcc ->
>             llvm-gcc-4.2
>
>
>         That's from the current Xcode 4.6.x command-line tools release,
>         right out of the box.
>
>
\

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
On 6/28/13 10:26 AM, Alexander Hansen wrote:

> The text isn't quite applicable as I said, and should probably be
> changed in the next release.
>
> The issue you've experienced is is something _entirely_ different from
> an absolute path.  The test is whether /usr/bin/gcc is a symlink rather
> than a real file, period, without respect to version.  I don't recall
> the reason offhand, but it was possibly an issue with an upgrade path
> prior to 10.4, or maybe just to safeguard against third-party compiler
> installs.  It's in the history somewhere.
>
> In Every version of Xcode or the command-line tools that I've installed
> in the past decade, /usr/bin/gcc has been a symlink to some real
> compiler, and it was that way in April, when I installed my current
> command-line tools.  And I've boostrapped fink-0.34.8 or later
> development versions multiple times since.  That being said, it's
> totally possible that something could have changed on Apple's end.
>
> As a workaround, try changing the following in perlmod/Services.pm
>
> sub gcc_selected {
>      # this should work anywhere we support, really
>      if (-l '/usr/bin/gcc') {
>          my $link = readlink('/usr/bin/gcc');
>          if ($link =~ /gcc-(\d+\.\d+)/) {
>              return $1;
>          } else {
>              print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>          }
>      }
>      return 0;
> }
>
> to something like
>
> sub gcc_selected {
>      # this should work anywhere we support, really
>      if (-l '/usr/bin/gcc') {
>          my $link = readlink('/usr/bin/gcc');
>          if ($link =~ /gcc-(\d+\.\d+)/) {
>              return $1;
>          } else {
>              print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>          }
>      }
>      return 4.2;
> }
>

Oops, forgot to say that you should make this change under the directory
you're bootstrapping from.

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
In reply to this post by Alexander Hansen-2
On 6/28/13 10:26 AM, Alexander Hansen wrote:

> The text isn't quite applicable as I said, and should probably be
> changed in the next release.
>
> The issue you've experienced is is something _entirely_ different from
> an absolute path.  The test is whether /usr/bin/gcc is a symlink rather
> than a real file, period, without respect to version.  I don't recall
> the reason offhand, but it was possibly an issue with an upgrade path
> prior to 10.4, or maybe just to safeguard against third-party compiler
> installs.  It's in the history somewhere.
>
> In Every version of Xcode or the command-line tools that I've installed
> in the past decade, /usr/bin/gcc has been a symlink to some real
> compiler, and it was that way in April, when I installed my current
> command-line tools.  And I've boostrapped fink-0.34.8 or later
> development versions multiple times since.  That being said, it's
> totally possible that something could have changed on Apple's end.
>
> As a workaround, try changing the following in perlmod/Services.pm
>
> sub gcc_selected {
>      # this should work anywhere we support, really
>      if (-l '/usr/bin/gcc') {
>          my $link = readlink('/usr/bin/gcc');
>          if ($link =~ /gcc-(\d+\.\d+)/) {
>              return $1;
>          } else {
>              print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>          }
>      }
>      return 0;
> }
>
> to something like
>
> sub gcc_selected {
>      # this should work anywhere we support, really
>      if (-l '/usr/bin/gcc') {
>          my $link = readlink('/usr/bin/gcc');
>          if ($link =~ /gcc-(\d+\.\d+)/) {
>              return $1;
>          } else {
>              print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>          }
>      }
>      return 4.2;
> }
>
>

Woops; shouldn't do this at work.

The file to change is perlmod/Fink/Services.pm in the fink-0.34.8
directory that you're bootstrapping from.


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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Reaves, Timothy
That change seems to do the trick:

Distribution: 10.8
Architecture: x86_64
Checking cc... looks good.
Checking make... looks good.
Checking head... looks good.
Verifying that installed Xcode version is supported...
Found Xcode version: 4.6.3 is OK.

And now it's building.  Thanks!


On Fri, Jun 28, 2013 at 1:30 PM, Alexander Hansen <[hidden email]> wrote:
On 6/28/13 10:26 AM, Alexander Hansen wrote:
The text isn't quite applicable as I said, and should probably be
changed in the next release.

The issue you've experienced is is something _entirely_ different from
an absolute path.  The test is whether /usr/bin/gcc is a symlink rather
than a real file, period, without respect to version.  I don't recall
the reason offhand, but it was possibly an issue with an upgrade path
prior to 10.4, or maybe just to safeguard against third-party compiler
installs.  It's in the history somewhere.

In Every version of Xcode or the command-line tools that I've installed
in the past decade, /usr/bin/gcc has been a symlink to some real
compiler, and it was that way in April, when I installed my current
command-line tools.  And I've boostrapped fink-0.34.8 or later
development versions multiple times since.  That being said, it's
totally possible that something could have changed on Apple's end.

As a workaround, try changing the following in perlmod/Services.pm

sub gcc_selected {
     # this should work anywhere we support, really
     if (-l '/usr/bin/gcc') {
         my $link = readlink('/usr/bin/gcc');
         if ($link =~ /gcc-(\d+\.\d+)/) {
             return $1;
         } else {
             print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
         }
     }
     return 0;
}

to something like

sub gcc_selected {
     # this should work anywhere we support, really
     if (-l '/usr/bin/gcc') {
         my $link = readlink('/usr/bin/gcc');
         if ($link =~ /gcc-(\d+\.\d+)/) {
             return $1;
         } else {
             print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
         }
     }
     return 4.2;
}



Woops; shouldn't do this at work.

The file to change is perlmod/Fink/Services.pm in the fink-0.34.8 directory that you're bootstrapping from.



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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

jaydesh9
Hello,

I made the change to the Fink/Server.pm file as suggested above. I think with XCode version upgrade the bootstrap script breaks again.


Choose a method: [1] 1

Password:
Checking package... looks good (fink-0.35.1).
Checking system... i386-apple-darwin12.5.0
WARNING: /usr/bin/gcc is not a symlink!This system was not released at the time this Fink release was made.  Prerelease versions of Mac OS X might work with Fink, but
there are no guarantees.
Distribution: 10.8
Architecture: x86_64
Checking cc... looks good.
Checking make... looks good.
Checking head... looks good.
Verifying that installed Xcode version is supported...
Found Xcode version: 5.0
ERROR:  This version of fink needs at most Xcode 4.9 on this OS X version.



Any suggestions ?


Regards,
-Jay
Reply | Threaded
Open this post in threaded view
|

Re: Can't bootstrap on 10.8.4

Alexander Hansen-2
On 9/26/13 10:09 PM, jaydesh9 wrote:

> Hello,
>
> I made the change to the Fink/Server.pm file as suggested above. I think
> with XCode version upgrade the bootstrap script breaks again.
>
>
> Choose a method: [1] 1
>
> Password:
> Checking package... looks good (fink-0.35.1).
> Checking system... i386-apple-darwin12.5.0
> WARNING: /usr/bin/gcc is not a symlink!This system was not released at the
> time this Fink release was made.  Prerelease versions of Mac OS X might work
> with Fink, but
> there are no guarantees.
> Distribution: 10.8
> Architecture: x86_64
> Checking cc... looks good.
> Checking make... looks good.
> Checking head... looks good.
> Verifying that installed Xcode version is supported...
> Found Xcode version: 5.0
> ERROR:  This version of fink needs at most Xcode 4.9 on this OS X version.
>
>
>
> Any suggestions ?
>
>
> Regards,
> -Jay
>
>
>

It hasn't been released yet, but a version that bootstraps is available
from the master branch at https://github.com/fink/fink/ .  Using the
"Download ZIP" button should suffice.

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

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
[hidden email]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners