Results 1 to 8 of 8
i am using Fedora 16 32-bit. To install gnochm i am using this command
"yum install gnochm" .but it is showing this error message on screen
Setting up Install Process
...
- 12-03-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
install gnochm on fedora 16
i am using Fedora 16 32-bit. To install gnochm i am using this command
"yum install gnochm" .but it is showing this error message on screen
Setting up Install Process
No package gnochm available.
Error: Nothing to do
What should i do to install it?? Thanks
- 12-04-2011 #2
Sorry, that's one of the risks of going to a new Fedora release early on. Many packages, like this one, take a few days to a few weeks to a few months to get repackaged for the new release. You could try to install the F15 package, or use chmsee, which is in the repos.
- 12-04-2011 #3Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Wonder what the hold-up is for that package? I see that the current version of the package itself (0.9.11) is current in the Fedora 15 repos. If you really want ithe package for your Fedora 16 box and don't feel like waiting for it, you can rebuild the RPM for F16 yourself from the F15 source RPM. This is obviously not the "proper" thing to do, but if the program you are waiting on is not interwoven too deeply with other programs, or too complicated itself, it can be worth a shot. Besides, if it works and you do install it, you can always replace it with the official package later, once it arrives in the repos. If you're interested in trying, you can do this:
If that 2nd command fails b/c it can't find rpmbuild, you'll have to install it (as root)Code:# as regular user, download the source RPM from the F15 repo wget http://download.fedora.redhat.com/pub/fedora/linux/releases/15/Everything/source/SRPMS/gnochm-0.9.11-6.fc15.src.rpm # rebuild it rpmbuild --rebuild gnochm-0.9.11-6.fc15.src.rpm
BTW, you might need some other packages installed in order to build gnochm, too. I had to do:Code:yum install rpm-build
When you run the above rpmbuild command, it'll recompile the package from source (so you'll need gcc, make, binutils, etc.), applying any patches that are included with the source (so you'll need patch, etc.) for your system. Once you've recompiled it, it will write the new binary RPM to some location that is based upon your _topdir (an RPM macro definition - you can define it in ~/.rpmmacros). The RPM output path is usually something like /home/$USER/rpmbuild/RPMS/$ARCH/. Look in the output of the rpmbuild command for where it is written. You will see a line something like:Code:yum install gettext perl-XML-Parser scrollkeeper
Then to install it you can do (as root):Code:Wrote: /home/$USER/rpmbuild/RPMS/noarch/gnochm-0.9.11-6.fc16.noarch.rpm
I know that sounds like a lot, and it's true, this is not for the casual user maybe, but once you do it a few zillion times, it's a piece of cake. I recompile packages that are off a version or two (plus or minus) from the original source fairly often, and usually don't have many problems.Code:yum localinstall --nogpgcheck /home/$USER/rpmbuild/RPMS/noarch/gnochm-0.9.11-6.fc16.noarch.rpm
- 12-05-2011 #4Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
thanks atreyu .It worked smoothly upto step 3 but in step 4 when i executed this command :
"yum localinstall --nogpgcheck /home/$USER/rpmbuild/RPMS/noarch/gnochm-0.9.11-6.fc16.noarch.rpm"
i got this dependency error.
Error: Package: gnochm-0.9.11-6.fc16.noarch (/gnochm-0.9.11-6.fc16.noarch)
Requires: gnome-python2-gtkhtml2
You could try using --skip-broken to work around the problem
I tried this option " --skip-broken" but it not worked. should i install that package( gnome-python2-gtkhtml2 ) explicitly?? Because it is not in repo .Last edited by shrek1; 12-05-2011 at 08:21 AM.
- 12-05-2011 #5
You're going down a dead end street. Turns out gnochm is retired in F16, upstream no longer exists. gnome-python2-gtkhtml2 is likewise retired, because a build dependency is retired.
gnome-python2-gtkhtml2 and gnome-python2-gtkmozembed removed
Try chmsee, xchm, or kchmviewer-qt alternatives.
- 12-05-2011 #6Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
That's a drag, looks like Mudgen is right about it getting killed off. I hate when my favorite app gets retired.
- 12-05-2011 #7Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
thanks
I installed xchm and its working fine.
- 12-05-2011 #8Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
That's good, usually the easiest solution is the best one!


Reply With Quote