Nutz. That's 3 for 3 giving trouble!
This GD interface is pretty version specific, as it parses an include
file to build XS access to the functions (or something like that), so if
the version windows is linking to is different, or there's an:
#ifdef MSVC
do something else
#else
do something normal
#endif
then segfaults may creep into it.
This module hasn't been heavily tested, either so there may just be
bugs...
Did you override the build, or am I really seeing that it tries to build
the module even if can't find the library?
-Judd
On Sun, 2006-08-06 at 16:27 +1000, Sisyphus wrote:
> ----- Original Message -----
> From: "Chris Marshall" <[EMAIL PROTECTED]>
> .
> .
> > >
> > > No problems. Builds straight out of the box for me.
> > >
> > > Intel PIII running Windows 2000.
> > > Builds fine with either:
> > >
> > > 1)MinGW compiler - MinGW-built perl 5.8.8, PDL-2.4.2cvs
> > > already installed
> > >
> > > or:
> > >
> > > 2)MSVC7.0 compiler - MSVC7.0-built perl 5.8.8, no PDL
> > > currently installed.
> >
> > Thanks for the tests. Which perldl.conf options did you
> > try: all defaults
> >
>
> Yep - just used the default perldl.conf.
> Also builds and tests fine WITH_BADVAL => 1 (for both BADVAL_USENAN => 1,
> and BADVAL_USENAN => 0).
>
> For BADVAL_PER_PDL => 1, I've only tested with WITH_BADVAL => 1 and
> BADVAL_USENAN => 1 on MSVC7.0-built perl. It built and tested fine.
>
> >(if so, which modules got selected to
> > build out of the "let perl decide" ones?).
>
> Of all the 'undef' options in perldl.conf, only slatec gets built.
> Theoretically GD should also be built - though it's not hard to force it, in
> any case. However, PDL::IO::GD suffers runtime segfaults (MSVC7.0-built perl
> only - it's fine on MinGW-built perl) which have me baffled ... probably
> best that the GD library doesn't get automatically detected until that is
> sorted out. The offending line of code in the generated IO/GD/GD.xs is
> 'PDL->make_trans_mutual((pdl_trans *)__privtrans);'. Other generated xs
> files contain exactly the same code .... without producing any unwanted
> behaviour.
>
> I've included the output of 'perl Makefile.PL' (run with default
> perldl.conf) below my sig. It makes a few strange statements, but does the
> right thing anyway (apart from not finding the GD library).
>
> Cheers,
> Rob
>
> making PDL_B...
> making PDL_S...
> making PDL_US...
> making PDL_L...
> making PDL_LL...
> making PDL_F...
> making PDL_D...
> Extracting Types.pm
>
> ExtUtils::F77: Version 1.15
> Checking if your kit is complete...
> Looks good
> Loaded ExtUtils::F77 version 1.15
> Found compiler g77.exe
> 1 file(s) copied.
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> getting dosglob...
> Writing Makefile for PDL::pod
> getting dosglob...
> Writing Makefile for Inline
> Writing Makefile for PDL::PP
> Checking if your kit is complete...
> Looks good
> Writing Makefile for PDL::NiceSlice
> Trying to figure out POSIX threads support ...
> Ehh. Didn't see include file 'pthread.h'.
> Nope, your perl was not linked against pthread library
> You need to include -lpthread in your perl libs configuration
> ==> PDL will be built without POSIX thread support.
> ==> *NOTE*: PDL threads are unrelated to perl threads (usethreads=y)!
> ==> Enabling perl threads will not help!
>
> Trying to figure out endian-ness of machine... It is little endian
> Writing Makefile for PDL::Core
>
> building PDL without bad value support (WITH_BADVAL!=1)
>
> Writing Makefile for PDL::Bad
> Writing Makefile for PDL::Ops
> Writing Makefile for PDL::Ufunc
> Writing Makefile for PDL::Primitive
> Writing Makefile for PDL::Slices
> Writing Makefile for PDL::Tests
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for -lGL
> Note (probably harmless): No library found for -lXext
> Note (probably harmless): No library found for -lX11
> Source of functions
> System: acosh asinh atanh erf erfc j0 j1 jn rint y1
> Distribution: erfi fixy0 fixyn infinity nan ndtri polyroots
>
> Writing Makefile for PDL::Math
> Writing Makefile for PDL::MatrixOps
> Writing Makefile for PDL::Complex
> Writing Makefile for PDL
> Writing Makefile for PDL::Demos
> Writing Makefile for PDL::Pod::Parser
> Writing Makefile for PDL::Doc
>
> Trying OpenGL configuration
>
> Trying libGL...
> Note (probably harmless): No library found for -lMesaGL
> Note (probably harmless): No library found for -lXext
> Note (probably harmless): No library found for -lX11
> NO
> Trying libMesaGL...
> Note (probably harmless): No library found for -lMesaGL
> Note (probably harmless): No library found for -lpthread
> Note (probably harmless): No library found for -lXext
> Note (probably harmless): No library found for -lX11
> NO
> Trying libMesaGL with pthread...
>
> COULD NOT link OpenGL
> Not building OpenGL and TriD options!
>
> writing dummy Makefile
>
> Not building PDL::Graphics::Karma, turn on WITH_KARMA if this is
> incorrect
>
> writing dummy Makefile
> Cannot find plplot library (libplplotd.dll), skipping PDL::Graphics::PLplot
>
> Not building PDL::Graphics::PLplot
>
> writing dummy Makefile
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> NO
> Writing Makefile for PDL::Graphics::PGPLOT::Window
> Writing Makefile for PDL::Graphics::PGPLOT
> Writing Makefile for PDL::Graphics::LUT::tables::DATA
> Writing Makefile for PDL::Graphics::LUT::ramps::DATA
> Writing Makefile for PDL::Graphics::LUT
>
> Checking PDL::Graphics::PLplot...
> found_plplot is 1
> Writing Makefile for PDL::Graphics::Limits
> Writing Makefile for PDL
>
> Not building PDL::IO::Browser. Turn on WITH_IO_BROWSER if this is
> incorrect.
>
> Writing Makefile for PDL::IO::FastRaw
> Writing Makefile for PDL::IO::Misc
> Writing Makefile for PDL::IO::FlexRaw
> Writing Makefile for PDL::IO::Pnm
> Writing Makefile for PDL::IO::NDF
> Writing Makefile for PDL::IO::Storable
> Writing Makefile for PDL::IO::FITS
> 'uname' is not recognized as an internal or external command,
> operable program or batch file.
> Cannot find hdf library, libdf.a.
> Please add the correct library path to Makefile.PL or install HDF
> Cannot find hdf header file, hdf.h.
> Please add the correct library path to Makefile.PL or install HDF
>
> Skipping build of PDL::IO::HDF.
>
> writing dummy Makefile
> Cannot find GD library, .
> Please add the correct library path to Makefile.PL or install GD
> .Cannot find GD header file, .
> Please add the correct library path to Makefile.PL or install GD.
>
> Skipping build of PDL::IO::GD.
>
> writing dummy Makefile
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> Note (probably harmless): No library found for
> WARNING: Unknown cpu type ! Not setting $hdf_defs. (This may not be a bad
> thing)
> Final $hdf_defs flags: ''
>
> Writing Makefile for PDL::IO
> Writing Makefile for PDL::Opt::Simplex
> Writing Makefile for PDL::Opt
> Writing Makefile for PDL::ImageRGB
> Writing Makefile for PDL::Fit::Gaussian
> Writing Makefile for PDL::Fit
> Writing Makefile for PDL::FFT
> Writing Makefile for PDL::Filter
> Writing Makefile for PDL::Image2D
> Writing Makefile for PDL::ImageND
> Writing Makefile for PDL::CallExt
> ExtUtils::F77: Using system=MSWin32 compiler=<undefined>
> ExtUtils::F77: Unable to guess and/or validate system/compiler configuration
> ExtUtils::F77: Will try system=Generic Compiler=G77
> ExtUtils::F77:
> Validating -L/mingw/lib -L/usr/lib -lg2c -lm -LD:/MinGW/bin/../lib/gcc/mingw
> 32/3.4.4 -lgcc [ok]
> ExtUtils::F77: Compiler: g77.exe
> ExtUtils::F77: Cflags: -O
> (ExtUtils Version 1.15)
> Compiling the test Fortran program...
> Executing the test program...
> Congratulations you seem to have a working f77!
>
> Building PDL::Slatec. Turn off WITH_SLATEC if there are any problems
>
> Writing Makefile for PDL::Slatec
> 'gsl-config' is not recognized as an internal or external command,
> operable program or batch file.
> no GSL link info (libgsl probably not available)
> 'gsl-config' is not recognized as an internal or external command,
> operable program or batch file.
> no GSL include info (libgsl probably not available)
>
> 'gsl-config' is not recognized as an internal or external command,
> operable program or batch file.
> no GSL version info found (gsl-config not installed?)
>
>
> Not building GSL modules: GSL version UNKNOWN VERSION found, need at
> least 1.3
>
> writing dummy Makefile
>
> Skipping build of PDL::FFTW.
>
> writing dummy Makefile
> Testing support libraries for PDL::GIS::Proj:
> Cannot find Proj library, libproj.a.
> Please add the correct library path to Makefile.PL or install Proj.
> Cannot find Proj header file, proj_api.h.
> Please add the correct library path to Makefile.PL or install Proj.
> Skipping build of PDL::GIS::Proj.
>
> writing dummy Makefile
> Note (probably harmless): No library found for
> Testing support libraries for PDL::Transform::Proj4:
> Cannot find Proj4 library, libproj.a.
> Please add the correct library path to Makefile.PL or install Proj4.
> Cannot find Proj4 header file, proj_api.h.
> Please add the correct library path to Makefile.PL or install Proj4.
> Skipping build of PDL::Transform::Proj4.
>
> Writing Makefile for PDL::Lib::GIS
> Writing Makefile for PDL::Transform::Cartography
> Writing Makefile for PDL::Transform
> Writing Makefile for PDL::Lib
> Writing Makefile for PDL
> writing dummy Makefile
> Writing Basic/Core/Config.pm
>
>
> _______________________________________________
> PDL-porters mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl