On 30/07/2010, at 9:20 PM, P Kishor wrote: > > I will slim the custom page down to an easy './configure, make, make > install' three-step, and suggest "advanced frills" for bungee jumpers > and masochists.
:-) BTW here are my complete SciKarl build notes for reference. Spot the similarity. Matt probably has a newer version. BTW I hope he will retain PGPLOT in SciKarl, at least for a few more generations... Karl --- PDL/PGPLOT etc build install (no fink) on Intel Macbook Pro (SciKarl v0.20) Now using g77 for Intel Mac 1. Install Apple OS X developer tools! 2. Install g77 for Intel Mac from here: High Performance Computing for Mac OS X Untar in / 3. Install libpng (v1.2.8) (if you have the Mactex package installed skip this step! In fact installing this later seems to screw up pgplot due to version conflicts so install Mactex first to get libpng...)??? from libpng Home Page ./configure; make; sudo make install (into /usr/local/...) 4. Install zlib v1.2.3 from zlib Home Site ./configure; make; sudo make install (into /usr/local/...) DELETE libg2c and libpng shared lib files! (For packing build want everything static) 5. Install pgplot library Use PGPLOT 5.3.1 from : PGPLOT for Mac OS X Builds (mostly) out of the box! (Though edit the driver list first...) ~/Downloads/pgplotsrc/makemake ~/Downloads/pgplotsrc darwin g77_gcc Add the png drivers to drivers.list make make clean rm libpgplot.so copy to /usr/local/pgplot as root: cd /usr/local/lib ln -s ../pgplot/lib* cd /usr/local/bin ln -s ../pgplot/pgxwin* . 6. Install Perl-PGPLOT module Install ExtUtils v1.16 Install PGPLOT v2.20 Works OK! Note goes in /Library/Perl/5.8.6/... 7. Install Misc. Perl modules: Parse::RecDescengt v1.94 Inline v0.44 8. Install Term-ReadLine-Gnu Perl module (I prefer this over Term::ReadLine::Perl) First I build GNU libreadline v5.1 statically but do not install it - to make sure I do not screw up the system version with the same name: ./configure --prefix=/Users/kgb/Downloads/tmp1 make make install-static (this installs in to /Users/kgb/Downloads/tmp1) Then I build/install Term-ReadLine-Gnu v1.16 perl Makefile.PL --includedir=/Users/kgb/Downloads/tmp1/include --libdir=/Users/kgb/Downloads/tmp1/lib make setenv MACOSX_DEPLOYMENT_TARGET 10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Gnu.o -o blib/arch/auto/Term/ReadLine/Gnu/Gnu.bundle /Users/kgb/Downloads/tmp1/lib/libreadline.a -ltermcap make test sudo make install The extra CC command at the end makes a static link, otherwise we get the system version. 9. Install numerical/astro libs Install GSL v1.9 ./configure --disable-shared make make check. sudo make install Install FFTW v2.1.6 ./configure make make check. sudo make install Install cfitsio v3.03 ./configure --prefix=/usr/local make # Run test progs sudo make install 11. Install other useful perl modules Astro-FITS-Header-3.0 - plain install Astro-FITS-CFITSIO-1.05 - ditto 11. Install PDL Using v2.4.3 from sourceforge perl Makefile.PL INSTALLBIN=/usr/local/bin NOTE INSTALLBIN still does not seem right - stuff goes in /usr/bin! Maybe need INSTALLSCRIPT? make test sudo make install Everything seems to work except for (on intel, not PPC) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/limits_round.t 4 1024 37 4 10.81% 13 18 20 25 This does not appear to be a big deal. Installled and works!!! _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
