Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, thanks for spoonfeeding me.. ;-) but this is taken so much time..
I have been able to install all the packages. I had to install python2.4. However, python2.4-devel (sources) cannot find it. I have the rpm, but the message i get is the following:
[root@localhost gnochm-0.9.7]# /usr/bin/gnochm You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.
libchm.so.0: cannot open shared object file: No such file or directory
[root@localhost gnochm-0.9.7]#
This is weird... after executing again ./configure, make, and make install for gnochm after running installation script for pychm, I get the following:
Quote:
[root@localhost gnochm-0.9.7]# gnochm
You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.
No module named chm
[root@localhost gnochm-0.9.7]#
It appears that you installed gnochm without making sure that pychm has been installed. Anyway it doesn't matter, we will focus on getting pychm installed and if successful gnochm will work. The way you are installing rpms can cause a lot of problems with dependencies. Fedora Core uses a package manager called yum which gets packages from Fedora internet sources and resolves dependencies automatically. So what you should do now, is make sure that python-devel is installed by doing
Code:
#rpm -qa | grep -i python-devel
If nothing is printed on your screen after you run this command and you are dropped to the prompt it means that you do not have python devel. To install it do
Code:
#yum install python-devel
Once thats done proceed with installing pychm. Pychm is not installed the same way as other packages. Instead of doing ./configure, make and make install, you have to switch to root and do
I didn't want to use rpm because of the problems I thought it may cause. As I understand, there is nothing better than compiling and linking the dist. directly. That or using yum, but yum didnt work. I ended up with the rpm because i couldnt find the pyhton-devel as a tar file.. Anyway, first thing i am doing this morning (still with my coffee) is the following:
Anyway It seems like pychm is now installed fine so hopefully gnochm should run now. I am not sure why your pychm was installed in /usr/local so if gnochm still can't find it, you may have to install pychm to /usr e.g.
So how come you ended up with two versions of python? Pychm is certainly installed fine from the output but I think you are causing some sort of conflict by having two versions of python on your machine. One version is installed in /usr and I guess thats the one that shipped with your distro and the other is in /usr/local meaning that it was installed by you or someone else who uses your system. We need to remove the version in /usr/local. What is the output of running
Ok, from the output, it seems like someone compiled python from source and it ended up in /usr/local. You will have to figure out how to uninstall that because it will keep interfering with some python packages. Usually you can use two or more versions of python, but its better to put them in their own special prefix e.g. /usr/local/python242 so that they don't clash with the version shipped by your distro.
Lots of dependencies showed up and 131 elements where removed. Now, when i open a terminal, the whole graphic environment has changed..more like text terminal.. it looks like graphic libraries are not in the system anymore
For instamce, i use eclipse cdt, and this package has been removed when removing python.. No big deal since i can install python again. The result here:
In my post above, I mentioned that someone installed python from source into /usr/local. This will not show up in the rpm database so there is no point trying to remove it via rpm. If you look at the error4 link you posted above you will note that there are versions of python in /usr and /usr/local. If you then query python using rpm, it only shows one version as being installed via rpm, so this means that the other version was compiled from source.
[fbarsoba@localhost ~]$ gnochm
You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.
libchm.so.0: cannot open shared object file: No such file or directory
[fbarsoba@localhost ~]$
which I guess is the problem referred in the web page as:
Quote:
Default install path for this bindings are in /usr/local/lib.
GnoCHM is picky about paths, so we need to set up a soft link to the library libchm.so.0. This is done by issuing the following command:
So does gnochm work after creating the symlinks? If it does, then all is well. I am actually in the process of creating gnochm, pychm and libchm rpms for FC5. I have successfully completed libchm and pychm but hit a little snag in the build process of gnochm so I won't be finished until I manage to patch gnochm so that the build process works. I will post a link to the rpms once I have finished.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.