#32 Proj4 test fails when missing datum files.

closed
None
3
2011-03-25
2010-08-15
Daniel Carrera
No

The PDL test scripts should check that Proj4 actually works correctly. In particular, if proj4 is missing the data files, "make test" just dies and PDL won't install.

Steps to reproduce:
1. Use Fedora Core 13.
2. yum install gcc cpan netpbm proj-devel
3. cpan CHM/PDL-2.4.6_991.tar.gz

The output of "make test" is attached.

Discussion

1 2 > >> (Page 1 of 2)
  • Daniel Carrera
    Daniel Carrera
    2010-08-15

    Output of "make test".

     
    Attachments
  • Chris Marshall
    Chris Marshall
    2010-08-15

    • priority: 5 --> 3
     
  • Chris Marshall
    Chris Marshall
    2010-08-20

    • summary: Proj4 test fails when missing data files. --> Proj4 test fails when missing datum files.
     
  • Chris Marshall
    Chris Marshall
    2010-08-20

    This feature makes PDL installs more robust against mis-configured PROJ4 dependencies. This would be more useful in the planned Alien::PROJ4 module since if PROJ4 were mis-configured then it is essentially "broken" and the Alien::PROJ4 module should install a working version for PDL and other perl modules to use.

     
  • Chris Marshall
    Chris Marshall
    2010-11-11

    The t/proj_transform2.t test now skips tests
    if the first test error indicates PROJ4 may
    be misconfigured.

     
  • Chris Marshall
    Chris Marshall
    2010-11-11

    • status: open --> pending
     
  • Chris Marshall
    Chris Marshall
    2010-11-11

    This will be in PDL-2.4.7_006 and later versions of PDL.

     
  • Judd Taylor
    Judd Taylor
    2010-11-12

    I thought we resolved that this was a package problem with fedora? If the data files are there and you still built proj, and it dies, that's a good thing. You have a broken proj that will never work in any situation. What good is it if PDL pretends that everything is fine?

     
  • Judd Taylor
    Judd Taylor
    2010-11-12

    I meant "if the data files are NOT there"...

     
  • Chris Marshall
    Chris Marshall
    2010-11-12

    • status: pending --> open
     
1 2 > >> (Page 1 of 2)