#45 fix for cygwin build 'out of the cpan box'

closed
Bugfix (30)
5
2006-05-22
2005-08-18
Chris Marshall
No

This patch fixes the CVS PDL from 08-Aug-2005 to build
completely under cygwin and enables automated install
using the cpan shell: "cpan> install PDL". The fixes
include:

[See bug #1093510 for the original report]

1. Resolve MakeMaker problem with gcc executables
having the .exe suffix on MS windows platforms. This
broke some of the install copies of various files.

2. Minor bugfixes to gsl_sf_coulomb.pd and
gsl_sf_poly.pd which correct what look like typos.

3. Fix a problem in t/flexraw.t where a very long
temporary pathname caused the test to fail. The cause
was the 72 card column limitation in f77. The solution
was to add some code to wrap long lines into standard
f77 continutation lines.

4. t/dumper.t fails but since it also breaks for MSWin,
the test was skipped for cygwin as well

5. perldl.conf was modified to skip OpenGL for cygwin.

Not yet working under cygwin: OpenGL (TriD), Karma,
PLPlot, FFTW, and IO::Browser. The tests pass for
WITH_BADVAL enabled. Work is underway for 2D and 3D
graphics support and FFTW.

I would appreciate if these changes could be verified
by an official developer (check nothing breaks for
linux/unixen) and then folded into the CVS tree.

In addition, I would like to be considered for addition
to the PDL developers.

Thanks much,
Chris

Discussion

  • Chris Marshall
    Chris Marshall
    2005-08-18

    fix PDL to build on cygwin with cpan shell

     
  • Chris Marshall
    Chris Marshall
    2005-09-02

    Logged In: YES
    user_id=44920

    Slatec appears not to be installed if ExtUtils::F77 is not
    PRE-installed. With the cpan shell pulling in dependencies,
    ExtUtils::F77 did get installed but the decision to install
    PDL::Slatec was not revisited.

    I just tried building the CVS with this patch and found two
    tests that fail with cygwin: t/limits_normalize_dsets.t and
    t/limits_keyspecs.t. I have fixed the problem with
    limits_keyspecs.t but have been unable to isolate the
    problem with limits_keyspecs.t at this time.

    Patches/CVS changes/bug reports to follow. For now, just
    don't set the perldl.conf option to build PDL::Slatec or
    replace the problem tests with these quick fixes attached
    below. Of course this "solution" breaks my goal of
    cygwin+PDL building out-of-the-box.

     
  • Chris Marshall
    Chris Marshall
    2005-09-02

    Fixes limit_keyspecs.t test errors

     
    Attachments
  • Chris Marshall
    Chris Marshall
    2005-09-02

    Hack to skip limit_normalize_dsets.t test for cygwin pending real fix

     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    • summary: fix for cygwin build "out of the cpan box" --> fix for cygwin build \"out of the cpan box\"
    • assigned_to: nobody --> marshallch
    • status: open --> closed
     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    • summary: fix for cygwin build \"out of the cpan box\" --> fix for cygwin build \\"out of the cpan box\\"
    • status: closed --> pending
     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    Logged In: YES
    user_id=44920

    These fixes have been incorporated and appear to allow
    cygwin to build completely with the default settings. Work
    is now underway to fix missing PLplot, FFTW, and
    OpenGL(TriD) functionality.

     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    Logged In: YES
    user_id=44920

    The patch was accepted and applied to the CVS sources.
    Thanks for helping out!

     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    • summary: fix for cygwin build \\"out of the cpan box\\" --> fix for cygwin build 'out of the cpan box'
    • status: pending --> open
     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    • status: open --> closed
     
  • Chris Marshall
    Chris Marshall
    2006-05-22

    Logged In: YES
    user_id=44920

    See CVS for incorporated changes.