Hi David,
Thanks for taking on the documentation update.
Here are some quick thoughts:
1) How about "Installing PDL Manually" as the title? The other
seems like it might discourage folks from working with PDL.
2) Add why one would want or need to do a manual build/install to overview:
* test new releases before installing
* contribute to PDL development
* debug build problems (better diagnostics, more control)
* customized builds
3) Separate the build/install work into four parts
* advance setup (#1-2)
* getting PDL sources (sf.net, CPAN official and developers releases, git)
* building PDL
* using or installing PDL (e.g. perl -Mblib perldl, make install,
PERL5LIB)
David Mertens wrote:
> Hey folks -
>
> The wiki has a few rather dated looking pages about installing PDL on
> various OSes, but nothing about installing PDL for a system without a
> PDL package. I've decided there needs to be a page on the wiki for this
> and I am soliciting your help in getting the most accurate info into the
> wiki. Here's what I've got (the actual wiki page can be found at
> https://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_the_slow_and_tedious_way):
>
> 1. Make sure you have a full build system, including a fortran compiler.
A fortran compiler is only required for Slatec, Minuit to build,
and to run some tests for FlexRaw. The basic install of PDL can
be done with perl and gcc (or another c compiler).
> 2. Install PDL's dependencies using the CPAN shell:
> 1. Astro::FITS::Header
> 2. File::Spec
> 3. Filter::Util::Call
> 4. Text::Balanced
> 5. Inline
> 3. Go to http://search.cpan.org/~chm/
> <http://search.cpan.org/%7Echm/> (Chris Marshall's CPAN Author page)
There is a download of PDL-2.4.4.tar.gz on sf.net
CPAN has official (e.g. PDL-2.4.4) and developers releases (e.g. PDL-2.4.4_08)
with the indicated differences in version number.
GIT access to the PDL repository
> 4. Download the latest PDL distribution tarball
Put link here
> 5. untar
> 6. cd PDL-version_string
e.g. cd PDL-2.4.4_08
> 7. edit perldl.conf to remove dependencies you don't need or which
> are giving trouble
> 8. perl Makefile.PL
> 9. make
> 10. make test
> 11. make doctest
> 12. perl -Mblib perldl (to test the perldl shell)
> 13. make install
>
> Obviously a good many dependencies are missing. For example, one of the
> Ubuntu install pages mentions ExtUtils::F77, libX11-dev, and netpbm. Is
> there a dependency list somewhere that I can use? Does anybody have any
> finer points to suggest about building from source?
See DEPENDENCIES in the PDL distribution. It appears up-to-date except
that I think Minuit has not been added.
NOTE: ExtUtils::F77 is purposely not a dependency for PDL since we've
been working to improve the portability and buildability of PDL. Basic
PDL builds fine without a fortran compiler. The modules requiring
fortran should quietly be skipped if no compiler is present. It would
be good to explicitly discuss fortran modules, compilers,... as issues
even if not fully documented this iteration of the wiki doc.
Cheers,
Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl