I turned off TriD modules by setting WITH_3D => 0 in perldl.conf. Then, the
compilation step passed, although I still want to install the modules.
However, I got failed tests:
-----------------------------------------------
t/aaa_load.t ................ ok
t/argtest.t ................. ok
t/autoload.t ................ ok
t/bad.t ..................... ok
t/basic.t ................... ok
t/bess.t .................... ok
t/bool.t .................... ok
t/callext.t ................. ok
t/clump.t ................... ok
t/complex.t ................. ok
t/conv.t .................... ok
t/core.t .................... ok
t/croak.t ................... ok
t/diskcache.t ............... ok
t/dumper.t .................. skipped: Skip neither uuencode/decode nor
Convert:UU is available
t/erf.t ..................... ok
t/erfi.t .................... ok
t/familyfree.t .............. ok
t/fastraw.t ................. ok
t/fft.t ..................... ok
t/fftw.t .................... skipped: PDL::FFTW not available
t/fits.t .................... ok
t/flexraw.t .................
ExtUtils::F77: Version 1.16
PDL: Error: Doesn't look like f77 file (even swapped)
Caught at file t/flexraw.t, line 295, pkg main
# Looks like your test died before it could output anything.
t/flexraw.t ................. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 29/29 subtests
t/flow.t .................... ok
t/foo.t ..................... ok
t/func.t .................... ok
t/gauss.t ................... ok
t/gd_oo_tests.t ............. ok
t/gd_tests.t ................ ok
t/gis_proj.t ................ skipped: PDL::GIS::Proj requires the Proj
module.
t/gsl_diff.t ................ ok
t/gsl_integ.t ............... ok
t/gsl_interp.t .............. ok
t/gsl_mroot.t ............... ok
t/gsl_rng.t ................. ok
t/gsl_sf.t .................. ok
t/hdf_sd.t .................. skipped: PDL::IO::HDF requires the HDF module.
t/hdf_vdata.t ............... skipped: PDL::IO::HDF requires the HDF module.
t/hdf_vgroup.t .............. skipped: PDL::IO::HDF requires the HDF module.
t/hdrs.t .................... ok
t/hist.t .................... ok
t/howbig.t .................. ok
t/ica.t ..................... ok
t/image2d.t ................. ok
t/imagend.t ................. ok
t/imagergb.t ................ ok
t/inlinepdlpp.t ............. ok
t/interp.t .................. ok
t/interp_slatec.t ........... ok
t/interpol.t ................ ok
t/iotypes.t ................. ok
t/limits_00.t ............... ok
t/limits_errb.t ............. ok
t/limits_keyspecs.t ......... ok
t/limits_normalize_dsets.t .. ok
t/limits_range.t ............ ok
t/limits_round.t ............ ok
t/limits_trans.t ............ ok
t/limits_trans_err.t ........ ok
t/limits_ulimits.t .......... ok
t/linfit.t .................. ok
t/lut.t ..................... ok
t/lvalue.t .................. ok
t/magic.t ................... ok
t/matmult.t ................. ok
t/matrix.t .................. ok
t/matrixops.t ............... ok
t/minuit.t .................. ok
t/misc.t .................... ok
t/ndf.t ..................... skipped: PDL::IO::NDF requires the NDF module.
t/niceslice.t ............... ok
t/nsdatahandle.t ............ ok
t/ones.t .................... ok
t/opengl.t .................. ok
t/ops.t ..................... ok
t/pdlchar.t ................. ok
t/pgplot.t .................. skipped: Skipped: PDL::Graphics::PGPLOT not
installed
t/physical.t ................ ok
t/pic_16bit.t ............... ok
t/picnorgb.t ................ ok
t/picrgb.t .................. ok
t/plplot.t .................. 14/35
# Failed test 'plgvpw call works correctly'
# at t/plplot.t line 248.
t/plplot.t .................. 35/35 # Looks like you failed 1 test of 35.
t/plplot.t .................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/35 subtests
t/pnm.t ..................... ok
t/poly.t .................... ok
t/polyroots.t ............... ok
t/pptest.t .................. ok
t/primitive.t ............... ok
t/primitive2.t .............. ok
t/proj_transform.t .......... skipped: PDL::Transform::Proj4 requires the
PDL::Transform::Proj4 module!
t/pthread.t ................. ok
t/reduce.t .................. ok
t/refs.t .................... ok
t/requiredmods.t ............ ok
t/scope.t ................... ok
t/segfault.t ................ ok
t/slatec.t .................. ok
t/slice.t ................... ok
t/storable.t ................ ok
t/subclass.t ................ ok
t/subclass2.t ............... ok
t/subclass3.t ............... ok
t/subclass4.t ............... ok
t/thread.t .................. ok
t/thread_def.t .............. ok
t/transform.t ............... ok
t/trig.t .................... ok
t/ufunc.t ................... ok
t/vaffine.t ................. ok
t/xvals.t ................... ok
Test Summary Report
-------------------
t/flexraw.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 29 tests but ran 0.
t/plplot.t (Wstat: 256 Tests: 35 Failed: 1)
Failed test: 17
Non-zero exit status: 1
Files=109, Tests=1100, 22 wallclock secs ( 0.37 usr 0.16 sys + 13.57 cusr
1.88 csys = 15.98 CPU)
Result: FAIL
Failed 2/109 test programs. 1/1100 subtests failed.
make: *** [test_dynamic] Error 255
-----------------------------------------------
For t/plplot.t, I looked at the line 295.
ok (sum(pdl(-0.0001, 10.0001, -0.001, 100.001) - pdl($wld_xmin, $wld_xmax,
$wld_ymin, $wld_ymax)) == 0,
"plgvpw call works correctly");
I manually checked the values of $wld_XXXX. They were 0, 10, 0, and 100,
respectively. The difference of the sum was very small (< 1e-13). I guess
it is harmless.
I don't know what's wrong with t/flexraw.t.
In the process of compilation, I had some warnings:
-----------------------------------------------
PLplot.xs:23127: warning: passing argument 2 of ‘plParseOpts’ from
incompatible pointer type
PLplot.xs:23133: warning: ignoring return value of ‘Perl_av_shift’, declared
with attribute warn_unused_result
PLplot.xs:30723: warning: passing argument 17 of ‘c_plstripc’ from
incompatible pointer type
resample.c:224: warning: incompatible implicit declaration of built-in
function ‘malloc’
resample.c:295: warning: incompatible implicit declaration of built-in
function ‘malloc’
resample.c:303: warning: incompatible implicit declaration of built-in
function ‘malloc’
resample.c:312: warning: incompatible implicit declaration of built-in
function ‘malloc’
resample.c:322: warning: incompatible implicit declaration of built-in
function ‘malloc’
resample.c:334: warning: incompatible implicit declaration of built-in
function ‘malloc’
-----------------------------------------------
I am not sure whether the fails are related to these warnings.
--
Best,
In-Suk Joung
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl