On 7/17/2010 2:19 PM, Barry Hall wrote:
>
> should I be concerned about the following:
>
>  >> ****** WARNING ******
> Space detected in path '/private/var/root/Library/Application
> Support/.cpan/build/PDL-2.4.6_014-aLFims'
> PDL may not build correctly! <<

If it builds you are probably ok.  There are some programs
that run commands like $path/$filename so if $path has
a whitespace character you try to run something like
My/Dir ectory/doit which might give an error like
"Command extory/doit not found".  I recommend using
a non-whitespace directory for your cpan builds.

--Chris

> it doesn't like the space in Application Support?
>
> On Jul 17, 2010, at 12:47 PM, Chris Marshall wrote:
>
>> If you go to the PDL web site: http://pdl.perl.org
>> and click on the Download under About PDL in the
>> side bar you'll get to the sourceforge site. By
>> default, clicking on Download Now! from a Mac platform
>> should download the SciKarl package.
>>
>> --Chris
>>
>> On 7/17/2010 1:41 PM, Barry Hall wrote:
>>> Is SciKarl a package like any other, I can install from CPAN or is there
>>> another method for that?
>>>
>>> On Jul 17, 2010, at 11:44 AM, Chris Marshall wrote:
>>>
>>>>
>>>>> On Sat, Jul 17, 2010 at 10:40 AM, Barry
>>>>> Hall<[email protected]> wrote:
>>>>>> are the instructions under
>>>>>>
>>>>>> man perlmacosx
>>>>>>
>>>>>> sufficient for someone who is "challenged" to do a complete install
>>>>>> of perl
>>>>>> on a mac book?
>>>>
>>>> I would not recommend installing your own perl if you
>>>> are "challenged" unless you are willing to put in the
>>>> hours to support and configure thing (P Kishor can
>>>> attest to that). It is not difficult but you have to
>>>> have enough familiarity to work around issues of things
>>>> installing in non-default locations.
>>>>
>>>>>> If so, what version do you recommend?
>>>>
>>>> I recommend using the OS perl until you get going.
>>>> Otherwise you'll spend lots of time perl-ing and
>>>> not much time PDL-ing.
>>>>
>>>>>> I think I would like a clean copy now ... I'm willing to spend an
>>>>>> afternoon
>>>>>> on it if need be.
>>>>
>>>> Only if you already know what to do. I am a PDL
>>>> developer and build PDL from scratch on a number
>>>> of different platforms but if I were to build my
>>>> own perl I would say it could easily take me a
>>>> weekend to get things going.
>>>>
>>>>> Installing perl takes about 30 mins or less. It is remarkable... all
>>>>> almost 200,000 tests of it pass cleanly.
>>>>>
>>>>>> I really need all the functionality of PDL now ... was too busy to
>>>>>> fart with
>>>>>> it before when I asked. Had to get some stuff done for work.
>>>>
>>>> I suggest installing SciKarl first. Then use the cpan shell
>>>> to install the latest development version CHM/PDL-2.4.6_014.tar.gz
>>>> which has lots of improvements over the Jan 2.4.6 release.
>>>>
>>>>> Ok, not that we have dealt with perl, lets tackle PDL. You can get
>>>>> most of PDL by installing SciKarl. The only issue with SciKarl is that
>>>>> it uses the Apple perl and installs under /usr/bin. If you are ok with
>>>>> that, SciKarl is a highly recommended route. Apparently it is a single
>>>>> click install (I say "apparently" because I haven't installed it
>>>>> myself).
>>>>
>>>> You say po-ta-to, I say po-tah-to... Using the system perl
>>>> instead of a roll your own means that other users will be
>>>> able to test and fix problems for the standard enviroment.
>>>> If something is off with a private perl install, then you
>>>> are pretty much on your own until you sort things out.
>>>> There will be mysterious failures that don't make sense....
>>>> because they are a result of a broken perl install and PDL
>>>> assumes you have a *working* perl.
>>>>
>>>>> If you want to install your own Perl and PDL (like I have done), first
>>>>> start by defining 'all' in "I really need all the functionality of PDL
>>>>> now." Most all PDL modules install without any problem. The ones that
>>>>> I haven't been able to install are GSL (Gnu Scientific Library) and
>>>>> slatec. I don't really need them right now. Are they are part of your
>>>>> "all"?
>>>>
>>>> You do have to define what you mean by "all". Since Mac OS X is
>>>> basically unix, if the external dependencies for PDL are installed
>>>> then it should build everything. You can type 'perldl -V' to get
>>>> the PDL configuration from PDL::Config.
>>>>
>>>> Good luck and hope this helps,
>>>> Chris
>>>>
>>>>> The other module that I had problem with was PLplot. First get PLplot
>>>>> installed correctly (instructions are in several recent emails in this
>>>>> list archive). Then, 'make' PDL, but then, edit the
>>>>> Graphics/PLplot/Makefile (again, instructions are in many recent
>>>>> emails in this list archive).
>>>>>
>>>>> With that done, PDL builds very well.
>>>>>
>>>>> Oh, and use the latest dev release. It works very well.
>>>>>
>>>>>> I'm just a little afraid of the warnings in that man page ... I
>>>>>> can't afford
>>>>>> to "cream" my perl and not have anything useful come Monday.
>>>>>>
>>>>>>
>>>>>> On Jul 3, 2010, at 10:45 AM, P Kishor wrote:
>>>>>>
>>>>>>> On Sat, Jul 3, 2010 at 9:01 AM, Barry Hall<[email protected]>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Trying to install PDL using CPAN -- newbie not sure where to start
>>>>>>>> here.
>>>>>>>
>>>>>>>
>>>>>>> I will write up my experience, but until then, here is what I
>>>>>>> suggest --
>>>>>>>
>>>>>>> 0. I prefer to install against my own install of Perl. Perl installs
>>>>>>> cleanly, clearly, and without a single hassle on a Mac. All one
>>>>>>> hundred and bazillion thousand tests of it pass cleanly. It is a
>>>>>>> heady
>>>>>>> feeling to read the summary that 100% of 1,85,000 (or whatever large
>>>>>>> number) tests passed. That is what I would recommend. If you do,
>>>>>>> Perl
>>>>>>> will get installed in /usr/local
>>>>>>>
>>>>>>> 0.1. Even if you prefer to not install your own Perl, you will
>>>>>>> likely
>>>>>>> have to install some dependencies yourself, in which case, the stuff
>>>>>>> you install will go under /usr/local
>>>>>>>
>>>>>>> 1. Forget CPAN, when it comes to PDL. Instead, download the source,
>>>>>>> and start from there. Assume, the PDL source is in ~/src/PDL-2.4.6.
>>>>>>>
>>>>>>> 2. cd into PDL src and open up perldl.conf in a text editor. Set
>>>>>>> slatec, GSL, PLplot, PGPLOT and other exotic stuff that you may not
>>>>>>> need to 0 (zero). Remember, undef means PDL will still try to
>>>>>>> build if
>>>>>>> it can (let PDL decide), 1 means PDL will be forced to build it,
>>>>>>> and 0
>>>>>>> means PDL will ignore it. Start with 0.
>>>>>>>
>>>>>>> 3. type the following in your PDL src file
>>>>>>>
>>>>>>> ~/src/PDL-2.4.6 % perl Makefile.PL
>>>>>>>
>>>>>>> 4. If you are lucky, it will configure without any errors. In which
>>>>>>> case, type the following
>>>>>>>
>>>>>>> ~/src/PDL-2.4.6 % make&& sudo make install
>>>>>>>
>>>>>>> and start using PDL once it is installed.
>>>>>>>
>>>>>>> 5. If you are unlucky in #3 above, and encounter errors, note
>>>>>>> them all
>>>>>>> down. Most will be easily fixable, because they will be because
>>>>>>> of old
>>>>>>> or missing libraries. Find the libraries and install them (one by
>>>>>>> one). After each install of a library, repeat step #3 again.
>>>>>>> Remember,
>>>>>>> all the stuff you install will go to /usr/local
>>>>>>>
>>>>>>> I keep a record of everything I have installed, including the
>>>>>>> configure options I used, and any relevant output of the make and
>>>>>>> make
>>>>>>> install commands.
>>>>>>>
>>>>>>> 80%-90% of PDL is very easy to install. The remainder is a pain
>>>>>>> in the
>>>>>>> ass, but it is doable. All depends on how badly you want it all.
>>>>>>>
>>>>>>> Once you have installed PDL, read the chapter on Threading. Be
>>>>>>> amazed,
>>>>>>> and evangelize PDL's use to others.
>>>>>>>
>>>>>>>> I've just accepted whatever else CPAN wanted to install.
>>>>>>>> Need someone to point me in the right direction.
>>>>>>>> Used to using PPM on windows based machine.
>>>>>>>> Never had this number of errors trying install any package.
>>>>>>>> Don't know where to start.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> cpan> install PDL
>>>>>>>>
>>>>>>>>
>>>>>>>> I get a lot of these:
>>>>>>>>
>>>>>>>> -- NOT OK
>>>>>>>> Running make test
>>>>>>>> Can't test without successful make
>>>>>>>> Running make install
>>>>>>>> make had returned bad status, install seems impossible
>>>>>>>>
>>>>>>>>
>>>>>>>> probable cause?
>>>>>>>>
>>>>>>>> Also had a couple of these:
>>>>>>>>
>>>>>>>>
>>>>>>>> Can't locate ExtUtils/F77.pm in @INC (@INC contains:
>>>>>>>> /Library/Perl/Updates/5.8.8
>>>>>>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level
>>>>>>>> /System/Library/Perl/5.8.8
>>>>>>>> /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8
>>>>>>>> /Library/Perl
>>>>>>>> /Network/Library/Perl/5.8.8/darwin-thread-multi-2level
>>>>>>>> /Network/Library/Perl/5.8.8 /Network/Library/Perl
>>>>>>>> /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
>>>>>>>> /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6
>>>>>>>> /Library/Perl/5.8.1
>>>>>>>> /Users/barryhall/.cpan/build/PDL-2.4.6
>>>>>>>> /Users/barryhall/.cpan/build/PDL-2.4.6/Lib .) at (eval 269) line 2.
>>>>>>>> BEGIN failed--compilation aborted at (eval 269) line 2.
>>>>>>>>
>>>>>>>> ExtUtils::F77 module not found. Ought not build PDL::Slatec
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Perldl mailing list
>>>>>>>> [email protected]
>>>>>>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Puneet Kishor http://www.punkish.org
>>>>>>> Carbon Model http://carbonmodel.org
>>>>>>> Charter Member, Open Source Geospatial Foundation
>>>>>>> http://www.osgeo.org
>>>>>>> Science Commons Fellow,
>>>>>>> http://sciencecommons.org/about/whoweare/kishor
>>>>>>> Nelson Institute, UW-Madison http://www.nelson.wisc.edu
>>>>>>> -----------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> Assertions are politics; backing up assertions with evidence is
>>>>>>> science
>>>>>>> =======================================================================
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Perldl mailing list
>>>>> [email protected]
>>>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG - www.avg.com
>>>>> Version: 9.0.839 / Virus Database: 271.1.1/3011 - Release Date:
>>>>> 07/17/10 02:35:00
>>>>>
>>>>
>>>
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG - www.avg.com
>>> Version: 9.0.839 / Virus Database: 271.1.1/3011 - Release Date:
>>> 07/17/10 02:35:00
>>>
>>
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.839 / Virus Database: 271.1.1/3011 - Release Date: 07/17/10 
> 02:35:00
>


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to