My first posting here.

I checked the archives and didn't find a reference to this particular install failure.

I unpacked DBI-1.45, navigated there in he terminal and ran perl Makefile.PL. This appeared to go correctly.

I then ran

make

and got the following:

~/Desktop/DBI-1.45 dave$ make
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"1.45\" -DXS_VERSION=\"1.45\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" -Wall -Wno-comment DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.bundle
ld: can't locate file for: -lbundle1.o
make: *** [blib/arch/auto/DBI/DBI.bundle] Error 1


As you can see, I have edited Config.pm to LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc as recommended elsewhere in the list.

make test fails with a similar message:

dave$ make test
rm -f blib/arch/auto/DBI/DBI.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.bundle
ld: can't locate file for: -lbundle1.o
make: *** [blib/arch/auto/DBI/DBI.bundle] Error 1


I have tried a CPAN install of the Bundle::DBI and it also fails.

Any idea what I need to do?

dave



Reply via email to