help-octave
[Top][All Lists]
Advanced

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

Re: Dicom package on Mac OS X


From: Miloslav
Subject: Re: Dicom package on Mac OS X
Date: Mon, 2 Jun 2014 04:51:16 -0700 (PDT)

Thanks again! This definitely got me closer, because now it starts the 
installation and prints several pages of info about the process. However, it 
ends with an error again:

har> >&, int, unsigned long, unsigned long) in libgdcmDSED.a(gdcmReader.cxx.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [dicominfo.oct] Error 1
mkoctfile -c -I/usr/local/include -g dicominfo.cpp
mkoctfile -c -I/usr/local/include -g dicomdict.cpp
mkoctfile -I/usr/local/include -L/usr/local/lib -lgdcmcharls  -lgdcmjpeg8 
-lgdcmjpeg12 -lgdcmjpeg16 -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD 
-lgdcmMSFF   -g dicominfo.o dicomdict.o -o dicominfo.oct

pkg: error running `make' for the dicom package.
error: called from 'configure_make' in file 
/usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m near 
line 82, column 9
error: called from:
error:   /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m at 
line 199, column 5
error:   /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line 394, 
column 9


Miloslav

On May 30, 2014, at 5:53 PM, Sebastian Schöps [via Octave] <address@hidden> 
wrote:

> Carlo is of course right regarding DYLD_LIBRARY_PATH. However, I checked the 
> package in more detail:  some paths were hardcoded in the Makefile. The 
> following worked for me: 
> 
> #extract package 
> tar -zxvf dicom-0.1.1.tar.gz 
> #add correct include and libdirs 
> perl -pi -e 's/INCDIRFLAGS =.*/INCDIRFLAGS =\t-I\/usr\/local\/include/' 
> dicom/src/Makefile 
> perl -pi -e 's/LIBDIRFLAGS =.*/LIBDIRFLAGS =\t-L\/usr\/local\/lib/' 
> dicom/src/Makefile 
> #if you are using version gdcm 2.4 instead of 2.0 
> perl -pi -e 's/gdcm-2.0/gdcm-2.4/' dicom/src/*.cpp 
> # repack 
> tar -zcvf dicom-0.1.1patched.tar.gz dicom 
> 
> ...and now installation was successful (export DYLD_LIBRARY_PATH!). 
> I did not try to work with the package! 
> 
> Seb. 
> 
> andy buckle wrote
> On 30 May 2014 04:10, c. <[hidden email]> wrote: 
> 
> > 
> > On 29 May 2014, at 11:23, Sebastian Schöps <[hidden email]> wrote: 
> > 
> > > You can check this by entering 'echo 
> > > $LD_LIBRARY_PATH"' 
> > 
> > LD_LIBRARY_PATH is not used in OSX. 
> > it's calle DYLD_LIBRARY_PATH. 
> > 
> > c. 
> > _______________________________________________ 
> > Help-octave mailing list 
> > [hidden email]
> > https://lists.gnu.org/mailman/listinfo/help-octave
> > 
> 
> I don't think I will be able to help, as I don't have any apple stuff. 
> However, if you do get it working, I think you may the first person using 
> the dicom package on OS X. Please add notes here 
> 
> http://wiki.octave.org/Dicom_package
> 
> -- 
> /* andy buckle */ 
> 
> _______________________________________________ 
> Help-octave mailing list 
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/help-octave
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://octave.1599824.n4.nabble.com/Dicom-package-on-Mac-OS-X-tp4664365p4664393.html
> To unsubscribe from Dicom package on Mac OS X, click here.
> NAML





--
View this message in context: 
http://octave.1599824.n4.nabble.com/Dicom-package-on-Mac-OS-X-tp4664365p4664421.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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