On 7/2/2010 4:30 PM, P Kishor wrote: > On Fri, Jul 2, 2010 at 3:21 PM, Chris Marshall<[email protected]> wrote: >> On 7/2/2010 12:16 PM, P Kishor wrote: >>> >>> >>> I was recently successful in building PLplot on my computer, so >>> emboldened by that experience, I decided to download the latest dev >>> release of PDL and give it a whirl. I hope the following report will >>> help Chris and others improve the installation process. >> >> Hi Puneet- >> >> This looks like anything but an install attempt for >> PDL-2.4.6_011.tar.gz. With as many external dependencies >> as PDL has, one won't usually have much luck just trying >> any old thing and hoping things work. :-( > > Ok. For one, I have been successfully able to install PDL-2.4.6_011. > It works, and works well.
That is good news. >> I *strongly* recommend trying only one thing at a time. >> >> For example, as was recommended, if you want to try to >> build the CPAN developers release, just do a plain, no >> changes, build with the current external configuration >> that, presumably, works already. If it does not, I don't >> recommend trying your own PDL build until you get a >> vanilla version working. > > I am quite certain now that I can get PDL to build on my computer with > the perldl.conf that I have. All I have to do is to stay away from > TriD, PGPLOT, GSL, FFTW and slatec. Everything else works. I don't > really need the other libraries, but was trying them out on a lark. As far as I know, TriD should build "out of the box" on MacOS X. You sort of "came on board" right as I was finishing up the new TriD code. Since then, I have gotten no fails on MacOS X. Not that the code is perfect, just that everyone who has tried to build it has been successful. On the GSL front, it is possible that there is a new routine that was not present in the earlier versions of GSL. If that is the case, a specific bug report against a specific PDL release and the usual perldl -V method to reproduce the problem would be great. The only FFTW supported by PDL is version 2 and it is a different API than the one in FFTW3 so you can't rename anything and expect things to work. Improved linear algebra support is something I would like to see but no one is actually working on this at the moment. I don't know if the slatec works in the scikarl release. That might be a useful data point for you. > >> >> That said, I notice from some of the errors reported >> it appears that you are building PDL with another PDL >> in your path. That is bound to cause problems. Some >> of the old stuff is from your previous OS/hardware >> which makes things worse as far as building PDL goes. > > I understand only part of the above. I do understand that the mix of > X11R6 from Apple, Leopard (i386) and Snow Leopard (x86_64) libraries > has been a source of some grief. However, having PDL 2.4.6 already on > my system has not been an issue. > >> >> You might consider a completely clean setup if you >> wish to be building PDL from scratch. > > I wouldn't even begin to know how to "clean" my machine of all old > traces of PDL before attempting on a new build, besides the fact that > it would be very impractical even if I knew how. > >> At the very >> least, go through all the dependencies listed in the >> DEPENDENCIES file in the PDL top level directory. >> You should confirm that all of those are the correct >> version and platform for your current setup. > > Yes, that is good advice. Now I know how to solve most of them with > your and everyone else's help. As I said, I can now install PDL on Mac > OS X 10.6.4 except for the few dependencies listed above. You never did try SciKarl. Any reason why? That is the far and away easiest way to work on the Mac OS X. According to list discussion, you should be able to upgrade from that to the latest CPAN with the cpan shell install. > I will document all of these soon and add them to the wiki. > > Many thanks, > > >> >> That should help a lot with the mysterious and many >> failures you have been seeing due to such version skew. >> >> Good luck, >> Chris >> > > > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.830 / Virus Database: 271.1.1/2977 - Release Date: 07/02/10 > 02:35:00 > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
