LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DICOM in Linux (https://www.linuxquestions.org/questions/linux-software-2/dicom-in-linux-771431/)

prs700 11-25-2009 05:14 AM

DICOM in Linux
 
Hi,

although I installed several packages into my fedora 11 , I stand confused in installing this software

http://amide.sourceforge.net/installation_linux.html

will need your help (in newbie terms) in installing it

thanks all

PRS700

kbp 11-25-2009 07:49 AM

You should be fine to follow the "Building from Source RPMs" instructions, you'll need to set up your machine for rpm building first though:

Code:

yum install rpm-build gcc cpp glibc-devel rpmdevtools
.. there will be a few dependencies added.

Then as a normal user (please do NOT build rpm's as root):
Code:

rpmdev-setuptree

cheers

knudfl 11-25-2009 09:25 AM

Fedora 11 , issue : the AMIDE Dicom viewer.

Is your Fedora 11 x86 or x86_64 ? ?

....

knudfl 11-25-2009 12:55 PM

DICOM viewer AMIDE
 
Building amide on Fedora 11 fails.
The source is too tightly created for Fedora 7 files.

A couple of rebuilt src.rpm packages, fc7
( GConf2, gnome-vfs2 ) made it possible to create
amide-0.9.1-1.i386.rpm on the Fedora 6 based
Scientific Linux SL 53 ( = Redhat EL 5 ).
Amide displays perfect on Fedora 11 ...

If you can use i386, then click my name, send an
email and get a copy.
.....

knudfl 11-25-2009 06:48 PM

2 Attachment(s)
@ kbp , @ prs700 :
I prefer this method for setting up the rpm build environment
in /home/'user' :
http://www.linuxquestions.org/questi...5.1-766486/#13

.....

@ prs700 : Seems you will need these three packages too :
1) ... dcmtk-3.5.4-1 ...
(( http://sourceforge.net/projects/amid...c.rpm/download ))
EDIT : The package is missing from sourceforge ?
( I still have it. .. And also: The special files,
spec + patch, are attached.
( A similar faulty src.rpm exists too, at rpmfind,
same name, same version ! )) > > dcmtk-3.5.4-1.src.rpm
rpm -Uvh dcmtk-3.5.4-1.src.rpm

# yum install libfame-devel gsl-devel openssl-devel rpm-build

cd rpms/SPECS/
rpmbuild -bb dcmtk.spec
1a)
# rpm -Uvh dcmtk-3.5.4-1.i586.rpm
.. the package is in rpms/RPMS/i586/

2)
http://xmedcon.sourceforge.net/Main/Download
xmedcon-0.10.5-1.i386.rpm
3)
http://sourceforge.net/projects/amid...6.rpm/download
> volpack-1.0c4-1.i386.rpm
.....

prs700 11-25-2009 09:11 PM

thanks,
I received your email,

if this works it will be the first time I bring DICOM to my linux

Having issues with dcmtk-3.5.4-1.src.rpm it refuses to install, I guess this is the only thing that is prevenitng from working

cheers

Quote:

Originally Posted by knudfl (Post 3769802)
@ kbp , @ prs700 :
I prefer this method for setting up the rpm build environment
in /home/'user' :
http://www.linuxquestions.org/questi...5.1-766486/#13

.....

@ prs700 : Seems you will need these three packages too :
1)
http://sourceforge.net/projects/amid...c.rpm/download
> > dcmtk-3.5.4-1.src.rpm
rpm -Uvh dcmtk-3.5.4-1.src.rpm

# yum install libfame-devel gsl-devel openssl-devel rpm-build

cd rpms/SPECS/
rpmbuild -bb dcmtk.spec
1a)
# rpm -Uvh dcmtk-3.5.4-1.i586.rpm
.. the package is in rpms/RPMS/i586/

2)
http://xmedcon.sourceforge.net/Main/Download
xmedcon-0.10.5-1.i386.rpm
3)
http://sourceforge.net/projects/amid...6.rpm/download
> volpack-1.0c4-1.i386.rpm
.....


kbp 11-25-2009 11:33 PM

I recently built dcmtk on CentOS 5.3 ... didn't have any problems. Can you post the rpmbuild output ?

knudfl 11-26-2009 02:08 AM

'dcmtk' :
No problems on Fedora 11. ( Or SL53 = CentOS 5.3 ).
You could miss out a package ?
The spec file says :
Requires: openssl-devel libtiff-devel libpng-devel
But it can be something else, I have
a lot of -devel packages installed.

I will pass the dcmtk-3.5.4-1fc11.i586.rpm by ' gmail '.
And may be the dcmtk-3.5.4-1sl53.i386.rpm later.
Who knows, which works best.
Did not test any files in amide. Can you provide a link
to a good test study for amide ?
.....

knudfl 11-26-2009 05:34 PM

Quote:

dcmtk-3.5.4-1.src.rpm it refuses to install
A lot of src.rpm packages cannot be installed with
rpm -Uvh <package> . I guess the rpm versions are
incompatible, changed style in April this year.

Most src.rpms can just be unpacked with rpm2cpio :
1) Move the package to /home/'user'/rpms/SOURCES/
2) cd /home/'user'/rpms/SOURCES/
3) rpm2cpio <package.src.rpm> | cpio -idmv
4) mv 'name'.spec ../SPECS/
cd ../SPECS/
rpmbuild -bb 'name'.spec
.....

prs700 12-16-2009 12:41 PM

Thanks everybody,
I noticed that ubuntu has DICOM software in its installer,

prs700


All times are GMT -5. The time now is 09:46 PM.