On Thu, Jun 10, 2010 at 07:51:20PM -0400, Alexander Hansen wrote: > On Thu, Jun 10, 2010 at 12:21 PM, Alexander Hansen > <alexanderk.han...@gmail.com> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 6/10/10 11:54 AM, Debbie Fligor wrote: > >> On Jun 8, 2010, at 14:34, Alexander Hansen wrote: > >> > >>> -----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 > >>> > >>> 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. > >> > >> I picked the "mostly 32 bit" option in bootstrap. > >> > >> I moved /usr/local to /usr/local- and tried again it didn't help. ??Then I > >> used purge and got rid of all the parts of rrd that did make before, just > >> incase they had bad links. they all remade just fine, but it's still > >> failing on the "_rrd_clear_error" symbol not being found when the perl > >> module tries to go. > >> > >> Any other suggestions? > > > > I'll see if I can reproduce your error on my 10.6/i386 setup (which > > isn't with me so it will be a few hours before I can make an attempt). > > I was indeed able to reproduce the error on my 10.6/i386 system. I'll > cc the maintainer.
rrd-pm{586,588} (1.3.8-1) build fine for me on 10.4/ppc (now that rrdtool's own build is fixed as of 1.4.2-2). According to 'nm -m', RRDs.bundle resolves the _rrd_clear_error via the linked librrd. And perl-shared passes "-lrrd" as part of its build process according to the .info file. akh, you're on 32-bit, right? Are you getting linker warnings about wrong arch? Or does the build go cleanly but then self-test fails with that undefined symbol? Is your librrd.dylib not built for correct arch, or is the rrd-pm build system not tuned for single-arch correctly? dan -- Daniel Macks dma...@netspace.org http://www.netspace.org/~dmacks ------------------------------------------------------------------------------ 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