help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't install dicom package (0.1.1 and 0.1.2 (user version)) in octa


From: Pablo Fernández Bustamante
Subject: Re: Can't install dicom package (0.1.1 and 0.1.2 (user version)) in octave 4.0.2 and ubuntu 14.0
Date: Sat, 28 Jan 2017 11:02:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0



El 28/01/17 a las 07:47, Andy Buckle escribió:


On 27 Jan 2017 11:27 p.m., "Mario Briseño" <address@hidden
<mailto:address@hidden>> wrote:


    I've been trying a lot of things, even changing from w10 to ubuntu
    asa virtual
    machine. So, I'm not a Linux user.
    NO problem installing octave, but when I try to install dicom at
    octave CLI i
    have this errors:

    pkg install dicom-0.1.1.tar.gz
    dicominfo.cpp:45:33: fatal error: gdcm-2.0/gdcmReader.h: No such file or
    directory
    compilation terminated.
    make: *** [dicominfo.o] Error 1
    make: *** Waiting for unfinished jobs....
    dicomdict.cpp:30:31: fatal error: gdcm-2.0/gdcmDict.h: No such file or
    directory
    compilation terminated.
    make: *** [dicomdict.o] Error 1
    dicomread.cpp:27:38: fatal error: gdcm-2.0/gdcmImageReader.h: No
    such file or
    directory
    compilation terminated.
    make: *** [dicomread.oct] Error 1
    make: Entering directory '/tmp/oct-gASVrN/dicom/src'
    mkoctfile -c  -g dicominfo.cpp
    mkoctfile -c  -g dicomdict.cpp
    mkoctfile  -L/usr/local/lib -lgdcmcharls  -lgdcmjpeg8 -lgdcmjpeg12
    -lgdcmjpeg16 -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD
    -lgdcmMSFF   -g
    dicomread.cpp
    Makefile:51: recipe for target 'dicominfo.o' failed
    Makefile:57: recipe for target 'dicomdict.o' failed
    Makefile:44: recipe for target 'dicomread.oct' failed
    make: Leaving directory '/tmp/oct-gASVrN/dicom/src'

    pkg: error running `make' for the dicom package.
    error: called from 'configure_make' in file
    /usr/share/octave/4.0.2/m/pkg/private/configure_make.m near line 96,
    column 9

    I've installed the latest versions of cmake, installed the gdcm 2.6
    package
    and followed this page:
    http://gdcm.sourceforge.net/wiki/index.php/Compilation
    <http://gdcm.sourceforge.net/wiki/index.php/Compilation>

    As I've said, I have just 5 hours using Ubuntu for the first time.

    I'd appreciate your help!

    _______________________________________________
    Help-octave mailing list
    address@hidden <mailto:address@hidden>
    https://lists.gnu.org/mailman/listinfo/help-octave
    <https://lists.gnu.org/mailman/listinfo/help-octave>



Find you install the dependency, gdcm?


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


I am not a dicom user but I am trying to help to diagnose the problem.
I have recently installed ubuntu 16.04 and I have just installed octave from the ubuntu repositories:

octave:3> ver
----------------------------------------------------------------------
GNU Octave Version: 4.0.0
GNU Octave License: GNU General Public License
Operating System: Linux 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64
----------------------------------------------------------------------
no packages installed.
octave:4> ls
dicom-0.1.1.tar.gz
octave:5> pkg install dicom-0.1.1.tar.gz
dicomlookup.cpp:23:31: fatal error: gdcm-2.0/gdcmDict.h: No such file or directory
compilation terminated.
dicominfo.cpp:45:33: fatal error: gdcm-2.0/gdcmReader.h: No such file or directory
compilation terminated.
dicomdict.cpp:30:31: fatal error: gdcm-2.0/gdcmDict.h: No such file or directory
compilation terminated.
dicomread.cpp:27:38: fatal error: gdcm-2.0/gdcmImageReader.h: No such file or directory

So, I need gdcm. I search in the ubuntu repositories:

~$ sudo apt-cache search gdcm
libgdcm2.6 - Grassroots DICOM runtime libraries
libvtkgdcm-java - Grassroots DICOM VTK Java bindings
libvtkgdcm-tools - Utilidades y herramientas Grassroots DICOM VTK
gdcm-doc - Grassroots DICOM documentation
libgdcm-cil - Grassroots DICOM CLI bindings
libgdcm-java - Grassroots DICOM Java bindings
libgdcm-tools - Grassroots DICOM tools and utilities
libgdcm2-dev - Grassroots DICOM development libraries and headers
libgdcm2.6-dbg - Grassroots DICOM runtime libraries, debug version
libvtkgdcm-cil - Grassroots DICOM VTK CLI bindings
libvtkgdcm2-dev - Grassroots DICOM VTK development libraries and headers
libvtkgdcm2.6 - Grassroots DICOM VTK runtime libraries
python-gdcm - Grassroots DICOM Python bindings
python-vtkgdcm - Grassroots DICOM VTK/Python bindings


I install libgdcm2.6 and libgdcm2-dev:

~$ sudo apt install libgdcm2.6 libgdcm2-dev

I try again in Octave, same errors:

octave:5> pkg install dicom-0.1.1.tar.gz
dicominfo.cpp:45:33: fatal error: gdcm-2.0/gdcmReader.h: No such file or directory
compilation terminated.
dicomlookup.cpp:23:31: fatal error: gdcm-2.0/gdcmDict.h: No such file or directory
compilation terminated.
dicomread.cpp:27:38: fatal error: gdcm-2.0/gdcmImageReader.h: No such file or directory
compilation terminated.
dicomdict.cpp:30:31: fatal error: gdcm-2.0/gdcmDict.h: No such file or directory


I try to locate gdcmDict.h and yes, it is in my system

~$ sudo updatedb
~$ locate gdcmDict.h
/usr/include/gdcm-2.6/gdcmDict.h

So, gdcmDict.h is there, but not under gdcm-2.0 but gdcm-2.6

Regards,
Pablo






reply via email to

[Prev in Thread] Current Thread [Next in Thread]