On 04/04/2008, at 11:50 AM, Tom Shaw wrote:

At 11:41 AM +1100 4/4/08, James Brown wrote:
On 04/04/2008, at 10:52 AM, Tom Shaw wrote:


OK. Thanks Tom.

I'll use cpan to install them all. How do I get it to put the modules in the correct place for 5.10.0. Ie I don't want to stuff up the Apple perl that I'm using for ASSP 1.3.5.

I haven't looked at 2.0 (where is it btw?) I'm on 1.3.5.

Does it need more than 5.8.8? On leopard 5.8.8 was created on Mac on Dec 7 2007 09:37:29 and works well with 1.3.5

Tom

I can't find 2.0 either! Just thought I'd install some of the modules it needs in the meantime. Ie get everything ready for it.

I'm running Tiger. Perhaps I should install 5.8.8. I just need to find out how to tell cpan to use the new perl location, not the Apple one. Don't know how to do this.


My last Tiger machine is at 5.8.1RC3 which should be fine for what I have heard from ASSP2

As for cpan, if you run the cpan installed with your 5.10.0 wherever you installed it it should install fine. If you just type cpan it will work with Apples install unless you changed symlinks etc.

You can also manually download from cpan and create install directories but thats way too much discussion to describe here.

I'd try to stay with stock install Especially since you are not sure where you installed 5.10.0

Tom



Thanks Tom. Looks like Perl 5.10 was installed in /usr/local/lib/ perl5/5.10.0/. The binary is at /usr/local/bin/perl.

I've been running /usr/local/bin/cpan to install the modules for the new perl. Most install no problems, but Net::DNS won't install. It gives:
...
  CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.63.tar.gz

rm -f blib/arch/auto/Net/DNS/DNS.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib DNS.o netdns.o -o blib/arch/auto/Net/ DNS/DNS.bundle netdns.a \
        \

/usr/bin/ld: archive: netdns.a has no table of contents, add one with ranlib(1) (can't load from it)
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/DNS/DNS.bundle] Error 1
  OLAF/Net-DNS-0.63.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Any ideas? I gather that Net::DNS is required by ASSP, which is why I am getting this error when I try to start up ASSP 1.3.5 (22.1) on Perl 5.10:

sudo /usr/local/bin/perl /Applications/assp/assp.pl /Applications/assp/
Can't locate Net/DNS/RR.pm in @INC (@INC contains: /usr/local/lib/ perl5/5.10.0/darwin-2level /usr/local/lib/perl5/5.10.0 /usr/local/lib/ perl5/site_perl/5.10.0/darwin-2level /usr/local/lib/perl5/site_perl/ 5.10.0 .) at /Applications/assp/assp.pl line 1382. BEGIN failed--compilation aborted at /Applications/assp/assp.pl line 1382.

Thanks,

James.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to