[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dicom package on Mac OS X
From: |
Sebastian Schöps |
Subject: |
Re: Dicom package on Mac OS X |
Date: |
Fri, 30 May 2014 08:51:14 -0700 (PDT) |
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. <
> carlo.defalco@
> > wrote:
>
>>
>> On 29 May 2014, at 11:23, Sebastian Schöps <
> sesc@
> > 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
>>
> Help-octave@
>> 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
> Help-octave@
> https://lists.gnu.org/mailman/listinfo/help-octave
--
View this message in context:
http://octave.1599824.n4.nabble.com/Dicom-package-on-Mac-OS-X-tp4664365p4664393.html
Sent from the Octave - General mailing list archive at Nabble.com.