Re: Installation of LWP fails
I have exactly the same problem on a machine at work running Mac OS X Server 10.2. Don't know how to fix it. Would like to be able to run the LWP module too. PowerPalle On torsdag, okt 10, 2002, at 19:17 Europe/Copenhagen, David Wheeler wrote: > On Wednesday, October 9, 2002, at 11:38 PM, Adam Fishman wrote: > >> (You get this message, because MakeMaker could not find >> "/System/Library/Perl/darwin/CORE/perl.h") > > Well, do you have this file? > > David > > -- > David Wheeler AIM: dwTheory > [EMAIL PROTECTED] ICQ: 15726394 > http://david.wheeler.net/ Yahoo!: dew7e >Jabber: > [EMAIL PROTECTED] > >
Re: Installing Perl
Hi Elaine, My looks just fine... hmmm, I'm really stuck. Just downloaded the new developer tools and will install it in 5 minutes. That might help, but who knows... Se summary of peræ -V below - snip - Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=darwin, osvers=1.4, archname=darwin uname='darwin law 1.4 darwin kernel version 1.3: sun jul 22 16:20:35 pdt 2001; aramesh:buildobjrelease_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-O3', gccversion=Apple devkit-based CPP 6.0 cppflags='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/usr/lib libs=-lm -lc libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -flat_namespace -undefined suppress' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at Sep 2 2001 17:24:33 @INC: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl
Installing Perl
Hi all, I have just installed a fresh copy of mac OS X Server 10.1.3 and I have some Perl scripts which I would like to run using a Cron job on this machine. I must confess, that I don't have that much experience yet using Perl, but maybe You can help me out here, and I might geet more experience... When I run my Perl script from the Terminal, I get the following error... Can't locate LWP/Simple.pm in @INC (@INC contains: /Applications/4DWebSTAR/WebServer/perle /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at /Applications/4DWebSTAR/WebServer/perle/stockpoint.pl line 7. BEGIN failed--compilation aborted at /Applications/4DWebSTAR/WebServer/perle/stockpoint.pl line 7. logout It seem like it can't find the LWP/Simple.pm package, which probably isn't installed per default on Mac OS X Server. So what I thought was... A) Do I need to install a fresh copy of Perl from CPAN ? B) Do I only need to install the LWP/Simple.pm from CPAN ? If so, how can I find it at CPAN ? This might generate more questions, but I hope You can help me out here... I have already tried to make a fresh install from CPAN using (perl -MCPAN -e shell), but I get this error from the Terminal... --- Error: Unable to locate installed Perl libraries or Perl source code. It is recommended that you install perl in a standard location before building extensions. Some precompiled versions of perl do not contain these header files, so you cannot build extensions. In such a case, please build and install your perl from a fresh perl distribution. It usually solves this kind of problem. ---