But when I try to install gem I get this.
apt-get install gem
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gem : Depends: pd
Depends: libavifile-0.7c2 (>= 1:0.7.48~20090503.ds) but it is not going to be installed
Depends: libftgl2 (>= 2.1.3~rc5) but it is not going to be installed
Depends: libglu1-mesa but it is not going to be installed or
libglu1
Depends: libmagick++3 (>= 7:6.6.0.4) but it is not going to be installed
Depends: libmagickcore3 (>= 7:6.6.0.4) but it is not going to be installed
Depends: libmpeg3-1 (>= 1.5.4) but it is not going to be installed
Depends: libquicktime1 (>= 2:1.1.1+debian) but it is not going to be installed
Depends: libv4l-0 (>= 0.5.0) but it is not going to be installed
libspe2-dev : Depends: libspe2-2 (= 2.2.80-95-1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Because I need to this to install net-http-persistent.
gem install net-http-persistent
Am I doing something wrong here?
I don't know why I'm having so much trouble installing these packages.
Gem is included in the ruby package and you can use it with
gem 1.9.1; there's no need to install another package.
Apt is complaining because you haven't installed
libspe2-2 which is a dependency of
libspe2-dev. You will need both these packages to run cellminer. The reason you're having trouble is that you're probably running either the stable or the testing branches of Debian, whereas these two packages are only available for the oldstable and unstable branches. However, the packages built for the unstable branch work (at least for me) on
testing.
Long story short:
wget http://ftp.us.debian.org/debian/pool/main/libs/libspe2/libspe2-2_2.2.80-95-3.1_powerpc.deb
dpkg -i ./libspe2-2_2.2.80-95-3.1_powerpc.deb
gem1.9.1 install net-http-persistent
And everything should work.