[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Questions from starter...



I begun learning MacPerl since 3 months and i love it ! I'm writing
scripts to parse log files, automate tasks, send AEEvents. How was the
life without
it, i don't remember !

For now, i'm trying to use CPAN modules... I know, i know, not all the
CPAN modules are usable on MacPerl but my first try was to get the libnet
module from Graham Barr. So it should work, i thought...

First, i spent one day to figure out that i need the MacPerl src to
compile the Makefile.pl.
Two, i spent one day to know how i can get the dmake tool to eat
the generated makefile.mk. I don't have the MacPerl book, Chris, just the
MacPerl help ;-)
Finally, i tried to make the module and this is the result :

cd DeathStar:Dev:Utilities:MacPerl Ä:MacPerl_Src:perl:libnet-1.0605:
> 'DeathStar:Dev:Utilities:MacPerl Ä:MacPerl_Src:perl:libnet-1.0605:'
ls
Name                  Type     Last-Mod-Date    Size
--------------------  ---- ------------------- ------
ChangeLog             TEXT   12/21/97    22:49    33K
Configure             TEXT   11/05/97    03:27    33K
FAQ.pod               TEXT   12/05/97    04:15    33K
Hostname.pm.eg        TEXT   06/30/97    19:14    33K
Makefile.PL           TEXT   11/11/97    00:41    33K
MANIFEST              TEXT   12/05/97    04:21    33K
README                TEXT   11/28/97    19:52    33K
README.config         TEXT   11/01/97    02:09    33K
demos                 Fldr   10/28/98    12:46
Net                   Fldr   10/28/98    12:46
t                     Fldr   10/28/98    12:46
perl makefile.pl
Checking for Socket...ok
Checking for IO::Socket...ok
Checking for Data::Dumper...ok
Checking if your kit is complete...
Looks good
Writing Makefile.mk for Net
ls makeÅ
Name                  Type     Last-Mod-Date    Size
--------------------  ---- ------------------- ------
Makefile.mk           TEXT   10/28/98    12:48    33K
Makefile.PL           TEXT   11/11/97    00:41    33K
dmake -n install
::InstallBLIB "Net" "::miniperl -e 'use File::Path; mkpath(\@ARGV, 1);'"
:Net:Cmd.pm 	:Net:Domain.pm 	:Net:DummyInetd.pm 	:Net:FTP.pm
	:Net:FTP:A.pm 	:Net:FTP:E.pm 	:Net:FTP:I.pm 	:Net:FTP:L.pm
	:Net:FTP:dataconn.pm 	:Net:NNTP.pm 	:Net:Netrc.pm 	:Net:PH.pm
	:Net:POP3.pm 	:Net:SMTP.pm 	:Net:SNPP.pm 	:Net:Time.pm 	FAQ.pod
# dmake:  Error -- `Net.c.PPC.o' not found, and can't be made
### ToolServer - Execution of MPW.Script terminated.

What wrong ??? I use the CodeWarrior Pro 4 MPW. May be i need to
set/export
shell variables... Need help, pliz...

I post two files for who are interested... First is the file 'Files.pm'
with constants for FindFolder added. Second is the MPW script
'Install.MPW_Perl' which correct a bug with
toolserver : 'AddMenu' crash my machine with both CodeWarrior Pro and
BBEdit. So i check
if toolserver running before.




Jean-Charles BERTIN
<mailto:jc.bertin@mipsys.com>
------------------------------------------------
Software engineer - MIPSYS                          Tel.: +33 1 64 86 26
00

Attachment converted: mouse1¥:Files.pm.SIT (SITD/SIT!) (000053CC)