LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems installing chmlib + pychm + gnochm (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-chmlib-pychm-gnochm-428504/)

fbarsoba 03-21-2006 09:24 AM

yum to install software
 
Hi,

I have a question regarding yum as a tool to install software... I understand that it is used to install Linux modules (if I say it correctly..), however, can be yum used to install any software...? For instance, I try to use:

% yum install wxGTK-2.6.2

I thought yum access to a general repository library from where it can obtain the appropiate software..

Any comment?

Thanks,
Fernando

weibullguy 03-21-2006 10:07 AM

YUM is the Yellow Dog Update Manager. It will install, update, remove, etc. packages (software) on RPM compatible Linux systems. If wxGTK-2.6.2 has a .rpm extension and is found at one of the repositories in the yum configuration files, then YUM will determine dependencies, download necessary packages, and install.

YUM home page is found here -> http://linux.duke.edu/projects/yum/
YUM MAN page is found here -> http://wiki.linux.duke.edu/ManYum

fbarsoba 03-21-2006 10:11 AM

Thanks for your answer... it seems I can install any package. Why do I get the following when running yum then?

[root@localhost ~]# yum install gnochm
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gnochm
Nothing to do

[root@localhost ~]# yum install xchm
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: xchm
Nothing to do

tnx,
Fernando

wpg9210 03-21-2006 10:18 AM

That means that the query (gnochm) is not listed like that in the repository. Try this yum --list-all | grep gnochm and see if anything catches...then you can do the yum install with the correct package name.

reddazz 03-21-2006 10:23 AM

The packages you are trying to install are not in your configured repos thats why you are getting the "No match arguement error".

fbarsoba 03-21-2006 10:23 AM

Hi,

I tried:

[root@localhost ~]# yum list-all | grep gnochm
[root@localhost ~]# yum list-all | grep xchm

As you see, the result is blank. What does this mean? Can it be fixed?

tnx,
fbm

weibullguy 03-21-2006 10:30 AM

It means these packages aren't available on any of the repositories you've got setup.

For the gnochm package try this.

Create a file /etc/yum.repos.d/dries.repo with the following lines:

[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS
gpgcheck=1
enabled=0

Then issue the following command:
# rpm --import http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt

Then issue the following command:
# yum --enablerepo=dries install gnochm

reddazz 03-21-2006 10:34 AM

Quote:

Originally Posted by fbarsoba
Hi,

I tried:

[root@localhost ~]# yum list-all | grep gnochm
[root@localhost ~]# yum list-all | grep xchm

As you see, the result is blank. What does this mean? Can it be fixed?

tnx,
fbm

See my post above for an explanation.

fbarsoba 03-21-2006 01:25 PM

yum problems
 
Quote:

Originally Posted by Arow
It means these packages aren't available on any of the repositories you've got setup.

For the gnochm package try this.

Create a file /etc/yum.repos.d/dries.repo with the following lines:

[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS
gpgcheck=1
enabled=0

Then issue the following command:
# rpm --import http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt

Then issue the following command:
# yum --enablerepo=dries install gnochm

I have done as said, but:
Quote:

[root@localhost yum.repos.d]# rpm --import http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt
[root@localhost yum.repos.d]# yum --enablerepo=dries install gnochm
Setting up Install Process
Setting up repositories
dries 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
http://klid.dk/homeftp/fedora/linux/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 403: Date: Tue, 21 Mar 2006 19:20:33 GMT
Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3.4.92mdk) PHP/4.3.3
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
updates-released 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 745 kB 00:02
dries : ################################################## 3160/3160
Added 3160 new packages, deleted 0 old in 11.47 seconds
primary.xml.gz 100% |=========================| 385 kB 00:09
updates-re: ################################################## 1105/1105
Added 9 new packages, deleted 4 old in 3.72 seconds
Parsing package install arguments
No Match for argument: gnochm
Nothing to do
[root@localhost yum.repos.d]# whereis gnochm
gnochm:
[root@localhost yum.repos.d]#

weibullguy 03-21-2006 04:48 PM

HTTP Error 403 means you're forbidden from accessing the server with the package! I am too when I try, I don't know why. Probably some server at Area 51.

I've poked around the WWW a little bit looking for a different repo to use for gnochm. Can't find one. I can find the rpm which you could download and install without using YUM. Do you have your heart set on using YUM to install this package? If not, not you can get the rpm from the GnomeFiles website and use the rpm command to install.

reddazz 03-21-2006 05:21 PM

If you are having difficulties getting a prebuilt package, why don't you compile it from source. The packages you need to install in order, are chmlib, pychm and gnochm. For chmlib and gnochm, you do
Code:

$./configure --prefix=/usr
$make
#make install

For pychm, switch to root and do
Code:

#python setup.py install
It shouldn't take more than 5 minutes to build and install all 3 packages.

fbarsoba 03-21-2006 09:59 PM

Thanks a lot to both for your help... I tried 'reddazz' advice. However, I didnt quite succeeded. It seems that I have problems with the chmlib part.

Here's the dump:

http://www4.ncsu.edu/~fbarsob/error.txt

thanks a lot,
Fernando

reddazz 03-22-2006 04:42 AM

Quote:

Originally Posted by fbarsoba
Thanks a lot to both for your help... I tried 'reddazz' advice. However, I didnt quite succeeded. It seems that I have problems with the chmlib part.

Here's the dump:

http://www4.ncsu.edu/~fbarsob/error.txt

thanks a lot,
Fernando

It seems like you did not follow the instructions above correctly. I mentioned that you should install chmlib first, then pychm and then gnochm in that order. I also showed you exactly how to run ./configure and how to install pychm but you did not follow the instructions as their shown in my example.

As it is chmlib is installed in /usr/local and GNOME apps can be fussy about stuff thats not installed in /usr. So uninstall chmlib and gnochm using "make uninstall" and follow the steps exactly as they are presented above without any deviation. One thing I forgot to mention is that you need python-devel installed for pychm to build properly. Cheers.

fbarsoba 03-25-2006 07:49 PM

problems installing chmlib + pychm + gnochm
 
Quote:

Originally Posted by reddazz
It seems like you did not follow the instructions above correctly. I mentioned that you should install chmlib first, then pychm and then gnochm in that order. I also showed you exactly how to run ./configure and how to install pychm but you did not follow the instructions as their shown in my example.

As it is chmlib is installed in /usr/local and GNOME apps can be fussy about stuff thats not installed in /usr. So uninstall chmlib and gnochm using "make uninstall" and follow the steps exactly as they are presented above without any deviation. One thing I forgot to mention is that you need python-devel installed for pychm to build properly. Cheers.

Hi there,

I am trying to install gnochm. I followed reddazz instructions as in "http://www.linuxquestions.org/questions/showthread.php?t=426922", even as he indicated the first time, but I had the same problems either way. I decided to initiate new thread, and post the what I think are the problems in chmlib installation.

The chmlib installation does not seem to work. Please take a look to the process at:

http://www4.ncsu.edu/~fbarsob/error2.txt

The files are supposed to be installed somewhere on /usr/ ... but I cannot find them. Also, the make does nothing, which I think is the problem the gnochm installation does not go further.

tnx,
Fernando

reddazz 03-25-2006 08:05 PM

From the output it appears that chmlib was sucessfully installed when you did "make install". The package is called chmlib but the files it installs are called libchm.* which are in /usr/lib. You now need to install pychm and then gnochm using the instrustions I posted previously.


All times are GMT -5. The time now is 04:15 AM.