LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-20-2010, 07:37 AM   #1
username1
LQ Newbie
 
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Amide installation problem


I have installed Centos 64bit

i am trying to install Amide, but without seccess
http://sourceforge.net/projects/amide/

Firs i try to run amide-0.9.2-1.x86_64.rpm, and i have error:
Error resolving dependencies

Second i try rpm -Uvh --nodeps amide-0.9.2-1.x86_64.rpm and get:
error: unpacking of archive failed: cpio: Bad magic

Then i try rpm -Uvh amide-0.9.2-1.x86_64.rpm and have this:

error: Failed dependencies:
dcmtk >= 3.5.4 is needed by amide-0.9.2-1.x86_64
ffmpeg-libs >= 0.4.9 is needed by amide-0.9.2-1.x86_64
gsl is needed by amide-0.9.2-1.x86_64
libavcodec.so.52()(64bit) is needed by amide-0.9.2-1.x86_64
libavutil.so.50()(64bit) is needed by amide-0.9.2-1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by amide-0.9.2-1.x86_64
libdcmdata.so()(64bit) is needed by amide-0.9.2-1.x86_64
libgio-2.0.so.0()(64bit) is needed by amide-0.9.2-1.x86_64
libgsl.so.0()(64bit) is needed by amide-0.9.2-1.x86_64
libgslcblas.so.0()(64bit) is needed by amide-0.9.2-1.x86_64
libmdc.so.2()(64bit) is needed by amide-0.9.2-1.x86_64
libofstd.so()(64bit) is needed by amide-0.9.2-1.x86_64
libvolpack.so.1()(64bit) is needed by amide-0.9.2-1.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by amide-0.9.2-1.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by amide-0.9.2-1.x86_64
volpack is needed by amide-0.9.2-1.x86_64
xmedcon >= 0.10.0 is needed by amide-0.9.2-1.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by amide-0.9.2-1.x86_64


So, what would be sollution for this?

thanks
 
Old 05-20-2010, 07:48 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Error resolving dependencies
get the dependencies and try again. The command gave you a big list of packages you need to install or update.
 
Old 05-20-2010, 07:51 AM   #3
username1
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Where is best to find these dependencies?
 
Old 05-20-2010, 08:28 AM   #4
username1
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
For example, i download ffmpeg from this site:

http://dag.wieers.com/rpm/packages/ffmpeg/

this version for 64bit Centos:
ffmpeg-0.4.9-0.7.20061215.el4.rf.x86_64.rpm

and when try to install it sais that i need dependencies!

So, how to know what file to downloaded, or which is proper file?

thanks
 
Old 05-20-2010, 03:37 PM   #5
username1
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
any comment?
 
Old 05-21-2010, 04:34 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
"" any comment? "" ....... Yes :

1) A package depending on glibc-2.7 can not
be installed to CentOS. Never.
CentOS 5 has glibc-2.5, which cannot be changed.

2) Dependencies are not supposed to be downloaded !
An alien package (that fits the OS) can be installled
with : # yum localinstall <package>.rpm
Then the dependencies are installed automatically too.
( Or : # yum --nogpgcheck localinstall <package>.rpm )

3) Did you read the other 'amide' tagged LQ thread ?
http://www.linuxquestions.org/questi...-linux-771431/

The three other "amide packages" : xmedcon, volpack, dcmtk :
I will find or create packages for CentOS 5 - 64 Bits.
( The 32 Bits packages available, are/were CentOS 4 packages,
and work perfect on CentOS 5, so it's just bad luck,
that the 64 Bits amide version is created on Fedora 8 ( 12 ? ).)

4) Amide for 64 Bits CentOS can be rebuild from the SRC RPM.
Or wait a couple of days, I can probable then mail you one.
..

Last edited by knudfl; 05-22-2010 at 05:38 PM.
 
Old 05-21-2010, 10:00 AM   #7
username1
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, i will wait.

thanks for help
 
Old 05-21-2010, 09:26 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Amide .. .. EL5 , CentOS 5.x , Scientific SL55

FFMPEG etc. :
1) su
2) rpm -Uvh http://download.fedora.redhat.com/pu...5-3.noarch.rpm
3) rpm -Uvh http://download1.rpmfusion.org/free/...0.1.noarch.rpm http://download1.rpmfusion.org/nonfr...0.1.noarch.rpm
4) yum install \
ffmpeg.x86_64 gsl.x86_64 perl-XML-Parser.x86_64 volpack.x86_64

-------

Sample Data Sets → →
http://sourceforge.net/projects/amide/files/
-------

Packages were created ( and libfame downloaded.)
Click my name >>> "Send email to knudfl" and the packages
will be attached to a return mail ...
amide-0.9.1-2el5.x86_64.rpm
dcmtk-3.5.4-1el5.x86_64.rpm
libfame-0.9.1-12.el5.rf.x86_64.rpm
xmedcon-0.10.5-1.x86_64.rpm
...... Please tell, if you will need libecat, etc.
......

Last edited by knudfl; 05-22-2010 at 02:39 AM.
 
Old 05-22-2010, 02:26 AM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 13,518

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
i take it this is a cent 5.5 64 bit OS ??? or still 5.4 ?

your best bet might to build the source "amide-0.9.2.tgz "
that 64 bit rpm STATES IT IS FOR
Quote:
fedora 12 x86_64 binary rpm
and will NEVER work on cent

read the README in the tgz file
Code:
=====
AMIDE
=====

AMIDE stands for: AMIDE's a Medical Image Data Examiner

AMIDE is intended for viewing and analyzing 3D medical imaging data
sets.  For more information on AMIDE, check out the AMIDE web page at:
	http://amide.sourceforge.net

AMIDE is licensed under the terms of the GNU GPL included in the file
COPYING.



Requirements
------------


1) Compiler: 

I currently use gcc-4.1.  The later 3.* series (e.g. 3.3) should work
as well, along with version 2.95.  Early 3.* Versions of gcc will
quite likely generate compilation errors (and make AMIDE unstable) if
optimizations are used when compiling.  The 2.96 versions of gcc
(which are not official releases!) are particularly notorious.



2) GTK+:

The current series of AMIDE requires GTK+-2, at least version 2.10.
I'm currently developing on a Fedora Core 7 system, although other
distributions of Linux with equivalent library support should work.

Very old distributions (e.g. Redhat <= 7.2, the previous Debian
release) will require a large number of new packages to be installed
to get the current version of AMIDE to compile and run.  If you want
to run AMIDE on such a system, you might try the (ancient) AMIDE 0.6.*
series, which depends on GTK+-1.2/Gnome-1.4.

Scrollkeeper is required for generating the help documentation.  If
you don't care about that, it's not needed.

3) Additional libraries:
   libgnomecanvas
   libxml-2
   libgnomeui-2 (not needed on win32)

These are various other libraries are needed for installation, most of
which you will most likely already have installed if you have GTK+.

Optional Packages
-----------------


1) (X)MedCon/libmdc

(X)MedCon includes a library (libmdc) which allows AMIDE to import the
following formats; Acr/Nema 2.0, Analyze (SPM), Concorde microPET,
DICOM 3.0, ECAT/Matrix 6/7, InterFile3.3 and Gif87a/89a.

(X)MedCon can be obtained from: 
	http://xmedcon.sourceforge.net

2) DCMTK - DICOM Toolkit

DCMTK provides expanded support for DICOM files, allowing the reading
in of many clinical format DICOM datasets that (X)MedCon doesn't
support.  It can be downloaded at:
	http://dicom.offis.de/dcmtk.php.en


3) z_matrix_70/libecat

This library can be used as an alternative for importing ECAT 6/7
files, and is released under a fairly restrictive license.  It can be
found on the AMIDE sourceforge website, or at it's original site:

	ftp://dormeur.topo.ucl.ac.be/pub/ecat/z_matrix_70/ecat.tar.gz

The source file off of amide.sourceforge.net is preferable, as it
includes a Makefile which will make a shared library, and a small
patch.  Since the license for libecat is non-GPL compatible, you
really should only link to it as a shared library.  A README file is
included with the tarball that explains how to configure/compile the
library.  RPM packages are also available off the AMIDE web site.



4) volpack/libvolpack

Volpack includes a library (libvolpack) which is used for the optional
volume rendering component of AMIDE.  

The original version can be found at:
	http://graphics.stanford.edu/software/volpack/

The version available on the AMIDE web site is preferable, as it's
been updated to compile cleanly under Linux.  RPM packages are also
available.



5) ffmpeg (libavcodec) [alternatively libfame]

Another optional package, the ffmpeg library is used for generating
MPEG-1 movies from series of rendered images and for generating
fly-through movies.

Information, code, and binaries for ffmpeg can be found at;
	     http://ffmpeg.mplayerhq.hu

and Linux RPM binaries are available at:
      http://rpm.livna.org/rlowiki/


If for whatever reasons you do not want to use the ffmpeg package for
generating MPEG-1 movies, there is still code in AMIDE for using the
libfame package for doing this. Information, code, and binaries for
libfame can be found at: 
	http://fame.sourceforge.net

and Linux RPM binaries are available at:
	http://atrpms.net/name/libfame/



Building
--------

See the file INSTALL for info on compiling and installing.  If you
don't feel like reading that, try:

	./configure
	make 
	make install         (as root)


If you're wondering about configuration options, a lot of information
can be obtained by running:

	./configure --help



Building gtk-doc files
----------------------

The majority of the source code for AMIDE is structured as a library
extension of GTK, called AMITK. Documentation for this library can be
built using gtk-doc as follows:
      ./configure --enable-libdcmdata=no --enable-gtk-doc=yes
      make
 
Old 05-22-2010, 02:54 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Post # 9, @John VV
Quote:
Your best bet might to build the source "amide-0.9.2.tgz"
Sorry, but the version for CentOS 5.x is 'amide-0.9.1'.
The difference between the two versions :
0.9.1 builds with gtk-2.10 and 0.9.2 with gtk-2.18.

'amide-0.9.2' will fail to build. Is already tested.
(Would require all new extra hidden glib-atk-cairo-pango-gtk.)
And as you can see ( # 8 ), all the packages are already built.
..
 
Old 05-22-2010, 02:58 AM   #11
John VV
Guru
 
Registered: Aug 2005
Posts: 13,518

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
oops
this is why i run Arch as my everyday and Cent 5.5 for the programs that NEED it .
 
Old 05-23-2010, 08:43 AM   #12
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Focus:
Quote:
Where is best to find these dependencies?
Best practise - look to your repos first. In fact, look for the app you want - amide 9.1 is in my repos but I don't know about CentOS - knudfl has already replied on this.
 
Old 05-24-2010, 04:00 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Message from @ username1 :
"" Thanks for your time, for building this package.
I install, libfame, xmedcon, dcmtk successfully, but when I try
to install amide-0.9.1-2el5.x86_64.rpm it said missing dependency:
libmdc.so.2() (64bit) is needed by package amide-0.9.1-2el5.x86_64
So, how to solve this problem?
thanks ""

... Yes, that's strange, xmedcon, which you already
installed, has /usr/lib64/libmdc.so.2
So the only thing to suggest is :
rpm -Uvh --nodeps amide-0.9.1-2el5.x86_64.rpm
..
And next : please try out the 'amide' command.
..
Good luck !
..

Last edited by knudfl; 05-24-2010 at 04:01 AM.
 
Old 07-24-2010, 10:28 PM   #14
deskartez
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Message from @ username1 :
"" Thanks for your time, for building this package.
I install, libfame, xmedcon, dcmtk successfully, but when I try
to install amide-0.9.1-2el5.x86_64.rpm it said missing dependency:
libmdc.so.2() (64bit) is needed by package amide-0.9.1-2el5.x86_64
So, how to solve this problem?
thanks ""

... Yes, that's strange, xmedcon, which you already
installed, has /usr/lib64/libmdc.so.2
So the only thing to suggest is :
rpm -Uvh --nodeps amide-0.9.1-2el5.x86_64.rpm
..
And next : please try out the 'amide' command.
..
Good luck !
..
I'm using Fedora 12 x64. I have installed all of the dependencies and i have this same issue with libmdc.so.2()(64bit) not working

here is the out put from my terminal :

Quote:

sudo yum install amide-0.9.2-1.x86_64.rpm
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Examining amide-0.9.2-1.x86_64.rpm: amide-0.9.2-1.x86_64
Marking amide-0.9.2-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package amide.x86_64 0:0.9.2-1 set to be updated
--> Processing Dependency: libmdc.so.2()(64bit) for package: amide-0.9.2-1.x86_64
--> Finished Dependency Resolution
Error: Package: amide-0.9.2-1.x86_64 (/amide-0.9.2-1.x86_64)
Requires: libmdc.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[xxxx@xxxxxx mri_ct_imaging]$ sudo yum install amide-0.9.2-1.x86_64.rpm --skip-broken
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Examining amide-0.9.2-1.x86_64.rpm: amide-0.9.2-1.x86_64
Marking amide-0.9.2-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package amide.x86_64 0:0.9.2-1 set to be updated
--> Processing Dependency: libmdc.so.2()(64bit) for package: amide-0.9.2-1.x86_64
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
amide-0.9.2-1.x86_64 from /amide-0.9.2-1.x86_64
[xxxx@xxxxxx mri_ct_imaging]$ sudo rpm -Uvh --nodeps amide-0.9.2-1.x86_64.rpm
Preparing... ########################################### [100%]
1:amide ########################################### [100%]
[xxxx@xxxxxx mri_ct_imaging]$ amide
amide: error while loading shared libraries: libmdc.so.2: cannot open shared object file: No such file or directory
I think it might be that even though i have installed

xmedcon-0.10.5-1.i386.rpm

the library 'libmdc.so.2' might need to be placed in the x64 bit folder librarys for it to be located ...maybe this might be a hack to fix it
however i tried compiling from source

xmedcon-0.10.5.tar.bz2

it looked like everything went well through the .configure ...make...make install...process but nothing works ? maybe i ned to add it to the path and manually add the libraries the the right locations. Running make install as root user did not seem to install xmedcon from source correctly. Any how i just wanted to post this so that others know that fedora 12 x64 (AMD) computers also have problems installing amide
 
Old 07-25-2010, 07:39 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
'amide' .. Fedora 12 - 64

@ deskartez , welcome to LQ. .. ..
xmedcon-0.10.5-1.i386.rpm will of course not do for x86_64.
You will need : rpm -Uvh xmedcon-0.10.5-1fc12.x86_64.rpm
.. from rpmbuild --rebuild xmedcon-0.10.5-1.src.rpm
http://prdownloads.sourceforge.net/x...10.5-1.src.rpm

Or : cd xmedcon-0.10.5/ && ./configure --prefix=/usr/ && make

# yum install volpack.x86_64

http://sourceforge.net/projects/amid...4.rpm/download
yum localinstall --nogpgcheck dcmtk-3.5.4-2.fc12.x86_64.rpm
http://sourceforge.net/projects/amid...4.rpm/download
yum localinstall --nogpgcheck amide-0.9.2-1.x86_64.rpm

And 'amide' will display the usual nice GUI.
..
Attached Files
File Type: txt xmedcon.spec.txt (2.6 KB, 1 views)

Last edited by knudfl; 07-25-2010 at 12:08 PM.
 
  


Reply

Tags
dicom


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 03:15 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 08:40 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 05:56 AM


All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration