Fix for being unable to bootstrap fink on Leopard

November 13, 2007

If you run into the following error trying to bootstrap fink (I was using version 0.27.8) on Leopard:

./Command/failure......................ok 1/0
./Command/failure......................NOK 24/0# Failed test at ./Command/failure.t line 85.
# ''
# !=
# '0'
./Command/failure......................ok 41/0# Looks like you failed 1 test of 49.
./Command/failure......................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 24
Failed 1/49 tests, 97.96% okay

… snip …

Failed 1/39 test programs. 1/905 subtests failed.
make: *** [test] Error 1
### execution of make failed, exit code 2
phase compiling: fink-0.27.8-41 failed

Edit the following file:

<bootstrap_dir>/t/Command/failure.t
Replace <bootstrap_dir> with the directory you untar’d the fink-0.27.* tarball into.

Comment out line 85 by changing:
cmp_ok( $!, '!=', 0 );
To be:
#cmp_ok( $!, '!=', 0 );

Rebootstrap the fink and it should install without a problem.

Note: This is totally unsupported by the Fink team, and might produce unintended results :) According to the mailinglists, the error seems like it’s actually caused by perl 5.8.8 on Leopard instead of 5.8.6 on Tiger, so the test fails. If you want to install perl 5.8.6, you can link /usr/bin/perl to the older version and it should pass the tests.

posted in bootstrap, error, fink, fix, leopard, osx, perl by Lee

3 Comments to "Fix for being unable to bootstrap fink on Leopard"

  1. dominic wrote:

    Thanks,

    Your ‘fix’ works..as far as installing Fink….

    Caught in dependency hell…trying to recompile php, which wants a new version of libjpeg (I moved my /sw directory over from my former 10.4 machine), which needs new fink, which blows up on ./bootstrap…etc…etc…etc

  2. Idetrorce wrote:

    very interesting, but I don’t agree with you
    Idetrorce

  3. Lee Hinman wrote:

    Could you be more specific about what you don’t agree with? :)

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org