LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to open CHM file in Fedora 4 64bit?? (https://www.linuxquestions.org/questions/linux-software-2/how-to-open-chm-file-in-fedora-4-64bit-435628/)

pro_chandan 04-16-2006 06:07 AM

How to open CHM file in Fedora 4 64bit??
 
Hi,

I want to open CHM file in Fedora 4. I downloaded "kchmviewer-2.5" and run configure. However, I am not able to open CHM file. When I run kchmviewer filename.chm it gives command not found.


PLEASE HELP!!!

How can I open CHM file??

Thanks,
Chandan K.

David the H. 04-16-2006 06:26 AM

Looks like your system can't find the kchmviewer program. Probably it installed itself to a place that's not in your PATH. You need to find the file kchmviewer and create a symlink to it in your /usr/bin or some other directory in your PATH.

futhark 04-16-2006 10:29 AM

Running ./configure && make does not install the software. "make install" does. It generally installs in /usr/local/bin. You may not have a path to that location. If you want to run kchmviewer from the src directory, you must type ./kchmviewer. The ./ means to take the binary from the current directory, else the binary will be looked up from your path. You could add ./ to your path to avoid typing it, but I don't necessarily advise to do that since its not a standard practice.

pro_chandan 04-16-2006 10:45 AM

Thank you so much for reply. However, when I do "./configure make install" I receive "checking for Qt... configure: error: Qt (>= Qt 3.3) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!"

Please help what do I do to get it.

futhark 04-16-2006 12:52 PM

Before you can compile stuff, you need to have development libraries around. In this case, you are probably missing the qt-devel package (and you'll probably be missing other kde devel packages too). Solving this type of dependancy problem is very easy with programs like yum. When you hit compilation problem, google for the rpm containing the missing files (with experience, you will be able to guess what package is missing). Once you know what's missing, you simply fetch the package with yum:

yum install qt-devel
yum install kdelibs-devel (example)
etc

Until compile passes.

I am skipping the details of setting up yum. You should be able to figure that out.

HTH

David the H. 04-16-2006 03:22 PM

By the way, have you checked to see if your distros software repository already has a packaged version of kchmviewer that you can install without the hassle of compiling? I found it in Debian's apt repository, installed it in seconds with apt-get, and it worked fine with some .chm files I have. It is an older version, 1.3, but it does the job. Could save you a lot of trouble if it's there.

sc425000 04-17-2006 03:52 AM

please try xchm for open chm files

Just Have Fun

futhark 04-17-2006 09:24 AM

xchm, gnochm, kchmview all are available through rpmforge repository. I tried all of them and kchmviewer is the nicer and faster of all. My eval is based on how fast I could open and browse the 36MB JDK142 reference.

pro_chandan 04-23-2006 04:25 AM

Hi Futhark,

Sorry for the delay in replying.......
I am confused here. I am new to this field. Please help!!

I have downloaded kchmviewer-2.5 and extracted on Desktop. There are 27 files and folders in extracted folder.

From here what do I do??

I also have kio-msits folder in extracted folder. When I open kio-msits I found KchmViewer.
However, when I open it says "There was an error launching the application.There was an error launching the application."

Please help what do I do from here.

I appreciate your help!!

Chandan K.

pro_chandan 04-23-2006 05:27 AM

Hi,

My problem is solved now. I can open CHM file........................

BINGO............

Thanks to all.
Special thanks to Futharak.


Chandan K.


All times are GMT -5. The time now is 01:52 PM.