On 22/10/2008, at 5:02 PM, Thomas Eckardt/eck wrote:


Wrong installation of Sys::MemInfo !

try:
>cpan
>get Sys::MemInfo
>make Sys::MemInfo
>test Sys::MemInfo

all tests should be OK !!!!

>force install Sys::MemInfo

check if the .al (from autosplit/autoloader) files located in dir (path to perl lib or site-lib)/auto/Sys/MemInfo

ASSP only checks that the modules are loadable on startup (location and dependencies), not that all parts are runable (this is not possible)!

Thomas

Thanks Thomas.

I installed it by doing:

mail:~/Desktop/Sys-MemInfo jlbrown$ sudo /usr/local/bin/perl5.8.8 Makefile.PL
Sys::MemInfo for MacOS X Darwin
Checking if your kit is complete...
Looks good
Writing Makefile for Sys::MemInfo
mail:~/Desktop/Sys-MemInfo jlbrown$ make
cp MemInfo.pm blib/lib/Sys/MemInfo.pm
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp - noprototypes -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap MemInfo.xs > MemInfo.xsc && mv MemInfo.xsc MemInfo.c gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict- aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include - O3 -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" "-I/usr/local/lib/ perl5/5.8.8/darwin-thread-multi-2level/CORE" MemInfo.c
Running Mkbootstrap for Sys::MemInfo ()
chmod 644 MemInfo.bs
rm -f blib/arch/auto/Sys/MemInfo/MemInfo.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib MemInfo.o -o blib/arch/auto/Sys/ MemInfo/MemInfo.bundle \
        \

chmod 755 blib/arch/auto/Sys/MemInfo/MemInfo.bundle
cp MemInfo.bs blib/arch/auto/Sys/MemInfo/MemInfo.bs
chmod 644 blib/arch/auto/Sys/MemInfo/MemInfo.bs
Manifying blib/man3/Sys::MemInfo.3
mail:~/Desktop/Sys-MemInfo jlbrown$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.8 "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....ok
All tests successful.
Files=1, Tests=6, 1 wallclock secs ( 0.03 cusr + 0.02 csys = 0.05 CPU)
mail:~/Desktop/Sys-MemInfo jlbrown$ sudo make install
Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-thread- multi-2level/auto/Sys/MemInfo/MemInfo.bs Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-thread- multi-2level/auto/Sys/MemInfo/MemInfo.bundle Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-thread- multi-2level/Sys/MemInfo.pm
Installing /usr/local/share/man/man3/Sys::MemInfo.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/darwin-thread- multi-2level/auto/Sys/MemInfo/.packlist Appending installation info to /usr/local/lib/perl5/5.8.8/darwin- thread-multi-2level/perllocal.pod
mail:~/Desktop/Sys-MemInfo jlbrown$

I did it from source as when I just did: cpan Sys::MemInfo, it installed it OK, but because I have to use /usr/local/bin/perl5.8.8 to start ASSP (5.8.6 is installed by default on my system), ASSP said it was not installed. I don't know how to make cpan install using perl5.8.8 rather than perl.

As you can see, make test says that it passed all tests.

Thanks,

James.

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to