At 17.06 +0100 2000.01.25, Francisco J. Ricardo wrote: >Using MacPerl 5.20r4 (patchlevel 5.004). I am *embarrassed* to ask such a >simple question, but it's haunting me... It's a question about the pathname >inclusions, 'use' and 'use lib' commands, why Makefile.PL doesn't seem to >work for me on MacPerl (even when I change "/" to ":" in pathname >specifications). Makefile.PL doesn't do much for MacPerl. Read macperlmodinstall for more information. http://pudge.net/macperl/macperlmodinstall.html >I'm specifically trying to use the DBI module, which seems promising, since >I need SQL access through MacPerl. > >Let me be REAL clear. In the MacPerl:lib directory, I dropped the DBI: >folder, which contains other subfolders Bundle:, DBD: DBI: and Win32: as >well as some admin folders and files (e.g., XS files). I copied the DBI.pm >out of there and into the MacPerl:lib file, in the same way as with CGI.pm, >whose structure is like this: DBI needs to be compiled with a C compiler. That is what the XS files are for. This is not an automatic process with MacPerl. macperlmodinstall explains it. The DBI module is available precompiled; macperl modinstall tells you about the MMP (MacPerl Module Porters) site. >BTW, the same problem goes for all my other sub-folder modules too, e.g., >for Apache.pm inside Lincoln Stein's CGI folder; I get the same error or a >similar (e.g., "Can't locate Apache.pm in @INC") error message, with any 1 >of these: > >use Apache; >use 'CGI::Apache'; >use CGI::Apache; Mac OS does not have Apache, so I don't know how you could get Apache to work with MacPerl. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org