LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2010, 01:32 AM   #1
igxz
Member
 
Registered: Mar 2009
Distribution: Slackware 13.37 - Stable
Posts: 61

Rep: Reputation: 0
Question has anyone made kchmviewer worked on slackware13.0 64bit ever??


hi there, tried install kchmviewer (5.1) from slackBuilds, but it seems like it's not compatible with slackware13.0 64bit. Also tried to install firefox chm reader add on, but its also 32bit available only! Has anyone installed any kinda of chm reader on slackware 13.0 64bit or any advise will be appreciated! thanks in advance!
 
Old 06-06-2010, 02:14 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
To use 32bit only binaries on a 64 bits Slackware go multilib, see this page on AlienBOB's wiki.
 
Old 06-06-2010, 06:22 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Pretty sure okular can read CHM files
 
Old 06-06-2010, 06:25 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I use chmlib:
http://www.jedrea.com/chmlib/

Extract the chm into html files, then use FF to view them. Works fine.

Ok, I'll be more specific:

Code:
./configure --enable-examples
make
su
make install
extract_chmLib input.chm output_dir
then just click on one of the html files, there might be an index.

Last edited by H_TeXMeX_H; 06-06-2010 at 06:32 AM.
 
Old 06-06-2010, 10:53 AM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by igxz View Post
hi there, tried install kchmviewer (5.1) from slackBuilds, but it seems like it's not compatible with slackware13.0 64bit.
The Slackbuild worked fine for me on 13.0 64. Did you set ARCH=x86_64 as per the Slackbuilds FAQ?
 
Old 06-07-2010, 04:20 AM   #6
igxz
Member
 
Registered: Mar 2009
Distribution: Slackware 13.37 - Stable
Posts: 61

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gezley View Post
The Slackbuild worked fine for me on 13.0 64. Did you set ARCH=x86_64 as per the Slackbuilds FAQ?

worked after set ARCH=x86_64 in "kchmviewer.slackBuild". thanks in bundle!
 
Old 06-07-2010, 03:44 PM   #7
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: Slackware64
Posts: 366

Rep: Reputation: 143Reputation: 143
I am using kchmviewer in Slack 13.1 64 bit - I've compiled it with slackbuilds.org. But Okular can also read your CHM files pretty well.
 
Old 06-07-2010, 04:20 PM   #8
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by igxz View Post
worked after set ARCH=x86_64 in "kchmviewer.slackBuild". thanks in bundle!
I could be wrong but I don't think you're supposed to change ARCH in the Slackbuild itself. Read Slackbuild FAQ 18 again!
 
Old 06-07-2010, 04:37 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
In recent SlackBuilds available @ slackbuilds.org ARCH setting is done automatically in most cases, e.g. in kchmviewer.SlackBuild for Slackware 13.1:

Code:
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i486 ;;
    arm*) ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
       *) ARCH=$( uname -m ) ;;
  esac
fi
Thus setting manually ARCH is no more useful, unless architectures of the building system and the target system differ (in which case the ARCH manually set up externally will be preserved by the script).

Anyhow editing the script to do that, though may be inelegant, have never been forbidden AFAIK

Last edited by Didier Spaier; 06-07-2010 at 04:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot boot slackware13, even with the slackware13 created flashdrive yanfaun Slackware 59 02-13-2011 06:40 PM
problem with mouse and Keyboard with X in slackware13 64bit trademark91 Slackware 56 03-06-2010 08:32 PM
slackware13 (64bit), X11 freeze until mouse does not move alto555 Linux - Hardware 2 02-09-2010 08:01 AM
Help installing an home made program (that once worked) yabha Linux - Software 2 12-03-2006 08:55 AM
Any chm file viewer in MAndriva (kchmviewer) ? wearetheborg Mandriva 3 04-12-2006 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration