PDL::IO::Dicom is not packaged in pdl package how to add it in? dh-make-perl not working??
Hi,
I am working with medical images with PDL and perl.
I notice that the list of modules in
dpkg -L pdl
/usr/lib/perl5/PDL/IO/HDF
/usr/lib/perl5/PDL/IO/HDF/SD.pm
/usr/lib/perl5/PDL/IO/HDF/VS.pm
/usr/lib/perl5/PDL/IO/Dumper.pm
/usr/lib/perl5/PDL/IO/FastRaw.pm
/usr/lib/perl5/PDL/IO/Misc.pm
/usr/lib/perl5/PDL/IO/FlexRaw.pm
/usr/lib/perl5/PDL/IO/Pnm.pm
/usr/lib/perl5/PDL/IO/Pic.pm
/usr/lib/perl5/PDL/IO/NDF.pm
/usr/lib/perl5/PDL/IO/Storable.pm
/usr/lib/perl5/PDL/IO/FITS.pm
/usr/lib/perl5/PDL/IO/HDF.pm
/usr/lib/perl5/PDL/IO/GD.pm
/usr/lib/perl5/PDL/Options.pm
/usr/lib/perl5/PDL/Version.pm
/usr/lib/perl5/auto/PDL/IO
/usr/lib/perl5/auto/PDL/IO/Misc
/usr/lib/perl5/auto/PDL/IO/Misc/Misc.so
/usr/lib/perl5/auto/PDL/IO/Misc/Misc.bs
/usr/lib/perl5/auto/PDL/IO/Pnm
/usr/lib/perl5/auto/PDL/IO/Pnm/Pnm.so
/usr/lib/perl5/auto/PDL/IO/Pnm/Pnm.bs
/usr/lib/perl5/auto/PDL/IO/Storable
/usr/lib/perl5/auto/PDL/IO/Storable/Storable.so
/usr/lib/perl5/auto/PDL/IO/Storable/Storable.bs
/usr/lib/perl5/auto/PDL/IO/HDF
/usr/lib/perl5/auto/PDL/IO/HDF/SD
/usr/lib/perl5/auto/PDL/IO/HDF/SD/SD.so
/usr/lib/perl5/auto/PDL/IO/HDF/SD/SD.bs
/usr/lib/perl5/auto/PDL/IO/HDF/VS
/usr/lib/perl5/auto/PDL/IO/HDF/VS/VS.so
/usr/lib/perl5/auto/PDL/IO/HDF/VS/VS.bs
/usr/lib/perl5/auto/PDL/IO/GD
/usr/lib/perl5/auto/PDL/IO/GD/GD.so
/usr/lib/perl5/auto/PDL/IO/GD/GD.bs
while the site at cpan lists the following.
PDL::IO::Dicom a module for reading DICOM images.
PDL::IO::Dumper data dumping for structs with PDLs
PDL::IO::FITS Simple FITS support for PDL 0.9
PDL::IO::FastRaw A simple, fast and convenient io format for PerlDL.UNAUTHORIZED
PDL::IO::FlexRaw A flexible binary i/o format for PerlDL. UNAUTHORIZED
PDL::IO::HDF A PDL interface to the HDF4 library. UNAUTHORIZED 2.0
PDL::IO::Pic image I/O for PDL
There seems to be some discrimination here against Dicom.pm.
So my question here is
1. Can we get Dicom.pm to be included (PDL::IO::Dicom)
2. How to incorportate it into my debian system till then.
1) I guess I can stick in my local directory.
2) I could try cpan shell install of it.
3. Try dh-make-perl
However when I try dh-make-perl I get the following problem.
If I run dh-make-perl --build --cpan PDL::IO::Dicom
then I get
Extracting Types.pm
making PDL_B...
making PDL_S...
making PDL_US...
making PDL_L...
making PDL_LL...
making PDL_F...
making PDL_D...
Searching for Astro::FITS::Header package using apt-file.
Searching for ExtUtils::F77 package using apt-file.
Searching for Inline package using apt-file.
Needs the following debian packages: libastro-fits-header-perl, libextutils-f77-perl, libinline-perl
Package does not provide a long description - Please fill it in manually.
Using maintainer: mlaks <mlaks@earthlink.net>
Found changelog: Changes
Found docs: BUGS README TODO Basic/MatrixOps/README.ssl cygwin/README debian/README.Debian Doc/README Doc/TODO Doc/Pod/README Example/Benchmark/README Graphics/LUT/README Graphics/PLplot/README Graphics/TriD/README Graphics/TriD/OpenGL/README IO/GD/TODO IO/HDF/README IO/HDF/TODO IO/HDF/SD/README IO/HDF/VS/README IO/IDL/README IO/Pnm/converters/README Lib/FFTW/Readme Lib/GIS/Proj/README Lib/GIS/Proj/TODO Lib/GSL/RNG/README Lib/GSL/SF/README Lib/Transform/Proj4/README Lib/Transform/Proj4/TODO t/README win32/Readme PDL-2.4.3/BUGS PDL-2.4.3/README PDL-2.4.3/TODO PDL-2.4.3/Basic/MatrixOps/README.ssl PDL-2.4.3/cygwin/README PDL-2.4.3/debian/README.Debian PDL-2.4.3/Doc/README PDL-2.4.3/Doc/TODO PDL-2.4.3/Doc/Pod/README PDL-2.4.3/Example/Benchmark/README PDL-2.4.3/Graphics/LUT/README PDL-2.4.3/Graphics/PLplot/README PDL-2.4.3/Graphics/TriD/README PDL-2.4.3/Graphics/TriD/OpenGL/README PDL-2.4.3/IO/GD/TODO PDL-2.4.3/IO/HDF/README PDL-2.4.3/IO/HDF/TODO PDL-2.4.3/IO/HDF/SD/README PDL-2.4.3/IO/HDF/VS/README PDL-2.4.3/IO/IDL/README PDL-2.4.3/IO/Pnm/converters/README PDL-2.4.3/Lib/FFTW/Readme PDL-2.4.3/Lib/GIS/Proj/README PDL-2.4.3/Lib/GIS/Proj/TODO PDL-2.4.3/Lib/GSL/RNG/README PDL-2.4.3/Lib/GSL/SF/README PDL-2.4.3/Lib/Transform/Proj4/README PDL-2.4.3/Lib/Transform/Proj4/TODO PDL-2.4.3/t/README PDL-2.4.3/win32/Readme
Found examples: Graphics/TriD/OpenGL/examples/* PDL-2.4.3/Graphics/TriD/OpenGL/examples/*
The directory /home/mlaks/install-pdl-dicom/PDL-2.4.3/debian is already present and I won't overwrite it: remove it y
Now I clearly have these requirements
mlaks@Rashi:~/install-pdl-dicom$ dpkg -l |grep libextutils-f77-perl
ii libextutils-f77-perl 1.16-2 Simple interface to F77 libs
mlaks@Rashi:~/install-pdl-dicom$ dpkg -l |grep libastro-fits-header-perl
ii libastro-fits-header-perl 2.8.1-2 Perl tools for reading, modifying and writing
mlaks@Rashi:~/install-pdl-dicom$ dpkg -l |grep libinline-perl
ii libinline-perl 0.44-5 Write Perl subroutines in other programming la
mlaks@Rashi:~/install-pdl-dicom$
so I dont see the .deb created in my directory.
what does this mean and how to solve it?
Thanks,
Mitchell Laks
Reply to: