1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

User:Lambd

From pdl

(Difference between revisions)
Jump to: navigation, search
(add some more notes to my installation notes)
(remove wiki frontpage sandbox area)
Line 45: Line 45:
#in ~/.perldl.conf, set hdf_inc=>['/usr/include/hdf']
#in ~/.perldl.conf, set hdf_inc=>['/usr/include/hdf']
#perl Makefile.PL; make; make test; make install;
#perl Makefile.PL; make; make test; make install;
-
 
-
==wiki frontpage test==
 
-
Here is where I will experiment with rearranging the wiki front page, perhaps moving the main PDL page to the wiki.  The template is taken from (of all things) the [http://supertux.lethargik.org/wiki/Main_Page SuperTux wiki front page].  Clean, simple, easy.
 
-
 
-
__NOTOC__
 
-
__NOEDITSECTION__
 
-
{|cellpadding="2" cellspacing="5" class="MainPageOuter" width="100%"|
 
-
|class="MainPageMiddle" width="50%"|
 
-
 
-
{|class="MainPageBox" width="100%"|
 
-
!<h2 class="MainPageBoxH">PDL users</h2>
 
-
|-
 
-
|
 
-
* Insert list of links, etc, here
 
-
|}
 
-
 
-
|class="MainPageMiddle" width="50%"|
 
-
 
-
{|class="MainPageBox" width="100%"|
 
-
!<h2 class="MainPageBoxH">PDL development</h2>
 
-
|-
 
-
|
 
-
* Insert list of links, etc, here
 
-
|}
 
-
 
-
|-
 
-
|class="MainPageMiddle" width="50%"|
 
-
 
-
{|class="MainPageBox" width="100%"|
 
-
!<h2 class="MainPageBoxH">Developer documentation</h2>
 
-
|-
 
-
|
 
-
* Insert list of links, etc, here
 
-
|}
 
-
 
-
|class="MainPageMiddle" width="50%"|
 
-
 
-
{|class="MainPageBox" width="100%"|
 
-
!<h2 class="MainPageBoxH">External links</h2>
 
-
|-
 
-
|
 
-
* Insert list of links, etc, here
 
-
|}
 
-
 
-
|}
 

Revision as of 01:57, 21 May 2010

This is Derek Lamb. My SF username is lambd. Email me at: username at users dot sourceforge dot net. Or, if you have a Sourceforge account and are already logged in, click on the "Email this user" link in the "toolbox" on the left.

Installing PDL manually on a fresh Ubuntu 9.10 Karmic installation

I created this instruction list mostly for my own benefit. My goals were:

  1. Get as many pre-compiled PDL dependencies as possible
  2. Build every optional PDL module that is in the standard distribution. Since I create PDLs online docs from my build on this machine, and I want the online docs to be as complete as possible.
  3. Use the latest git development snapshot, so I can easily build the docs between releases.

The steps necessary to do this from a completely fresh Ubuntu 9.10 Karmic Koala installation are:

  1. Use the package manager to find all upgrades since 9.10 was released.
  2. Use the package manager to install the following packages (and all of their dependencies):
    1. libplplot-dev (for PDL::Graphics::PLplot)
    2. plplot9-driver-gd
    3. plplot9-driver-xwin
    4. plplot9-driver-cairo
    5. plplot-doc
    6. freeglut3-dev (for PDL::Graphics::TriD)
    7. pgplot5 (for PDL::Graphics::PGPLOT)
    8. libpgplot-perl (maybe?) or install from CPAN
    9. libxmu-dev
    10. libxi-dev
    11. git-core (to pull latest git development snapshot)
    12. libgsl0-dev (for the PDL::GSL and PDL::GSLSF family of modules)
    13. gfortran
    14. libpng-dev
    15. emacs (really--ubuntu doesn't come with emacs)
    16. libhdf4g-dev (for PDL::IO::HDF)
    17. libgd2-xpm-dev (for PDL::IO::GD)
    18. fftw-dev (for PDL::FFTW)
    19. libproj-dev (for PDL::Transform::Proj4)
  3. run cpan from the shell
  4. Configure cpan
  5. install the following CPAN modules
    1. install Bundle::CPAN
    2. install Astro::FITS::Header
    3. install PGPLOT
    4. install Inline (yes, install Inline::C)
    5. install OpenGL
  6. exit cpan
  7. mkdir ~/Build; cd ~/Build; (create a build directory and go to it)
  8. git clone ssh://USERNAME@pdl.git.sourceforge.net/gitroot/pdl/pdl PDL (see PDL::FAQ for alternate instructions if you don't have developer access to the PDL git repository at Sourceforge)
  9. cd PDL
  10. cp perldl.conf ~/.perldl.conf
  11. in ~/.perldl.conf, set hdf_inc=>['/usr/include/hdf']
  12. perl Makefile.PL; make; make test; make install;
Personal tools