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

On 6/8/10 3:08 PM, Debbie Fligor wrote:
> I recently upgraded some of our monitoring stations to 10.6. I totally forgot 
> about fink, but there are only a few things I use, so I nuked /sw and started 
> from scratch with the bootstrap option.
> 
> I got things looking pretty good as far as the basics go, I think, but when I 
> went to make the RRD.pm (which is what I need most).
> 
> Here's what I'm getting. If anyone can point out what I'm doing wrong, I'd 
> greatly appreciate it.  And fink selfupdate and fink update-all both say 
> nothing to update.
> 
> 
> 
> Running Mkbootstrap for RRDs ()
> chmod 644 RRDs.bs
> rm -f blib/arch/auto/RRDs/RRDs.bundle
> LD_RUN_PATH="/usr/local/lib" gcc-4.2 -mmacosx-version-min=10.6  
> -L../../src/.libs/ -arch x86_64 -arch i386 -arch ppc -bundle -undefined 
> dynamic_lookup -L/usr/local/lib RRDs.o -lrrd -L/sw/lib -lrrd -o 
> blib/arch/auto/RRDs/RRDs.bundle       \
>          -lrrd        \
>         
> ld: warning: directory '../../src/.libs/' following -L not found
> ld: warning: directory '../../src/.libs/' following -L not found
> ld: warning: in /usr/local/lib/librrd.dylib, file was built for i386 which is 
> not the architecture being linked (x86_64)
> ld: warning: directory '../../src/.libs/' following -L not found
> ld: warning: in /usr/local/lib/librrd.dylib, file was built for i386 which is 
> not the architecture being linked (ppc)
> chmod 755 blib/arch/auto/RRDs/RRDs.bundle
> cp RRDs.bs blib/arch/auto/RRDs/RRDs.bs
> chmod 644 blib/arch/auto/RRDs/RRDs.bs
> Manifying blib/man3/RRDs.3pm
> + make test
> PERL_DL_NONLAZY=1 /usr/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/base....Can't load 
> '/sw/src/fink.build/rrd-pm5100-1.3.8-1/rrdtool-1.3.8/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.bundle'
>  for module RRDs: 
> dlopen(/sw/src/fink.build/rrd-pm5100-1.3.8-1/rrdtool-1.3.8/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.bundle,
>  2): Symbol not found: _rrd_clear_error
>   Referenced from: 
> /sw/src/fink.build/rrd-pm5100-1.3.8-1/rrdtool-1.3.8/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.bundle
>   Expected in: flat namespace
>  in 
> /sw/src/fink.build/rrd-pm5100-1.3.8-1/rrdtool-1.3.8/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.bundle
>  at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 
> 207.
>  at t/base.t line 20
> Compilation failed in require at t/base.t line 20.
> BEGIN failed--compilation aborted at t/base.t line 20.
> t/base....dubious                                                            
>       Test returned status 9 (wstat 2304, 0x900)
> DIED. FAILED tests 1-7
>       Failed 7/7 tests, 0.00% okay
> Failed Test Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> t/base.t       9  2304     7   13  1-7
> Failed 1/1 test scripts. 7/7 subtests failed.
> Files=1, Tests=7,  0 wallclock secs ( 0.01 cusr +  0.00 csys =  0.01 CPU)
> Failed 1/1 test programs. 7/7 subtests failed.
> make: *** [test_dynamic] Error 9
> ### execution of /var/tmp/tmp.1.SvzBv6 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-rrd-pm5100-1.3.8-1
> (Reading database ... 21878 files and directories currently installed.)
> Removing fink-buildlock-rrd-pm5100-1.3.8-1 ...
> Failed: phase compiling: rrd-pm5100-1.3.8-1 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 the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
> 
>       Benjamin Reed <rrd...@fink.racoonfink.com>
> 
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> 
> -----
> -debbie
> Debbie Fligor, n9dn       Network Engineer, CITES, Univ. of Il
> email: fli...@illinois.edu          <http://www.uiuc.edu/ph/www/fligor>
>                    "My turn."  -River Tam
> 
> 
> 
> 
> 

Are you using a 32-bit or 64-bit Fink?

 It looks like you've got cross-contamination from a possibly Universal
/usr/local/librrd.dylib.  Start by moving /usr/local out of the way
temporarily and try your build again.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwOm2IACgkQB8UpO3rKjQ/pNgCgkfwED7zR3bRv9WqZygshmf+n
YfwAn1PiAJVoxVxetbMaSjbBtfvUPWyT
=enF9
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to