LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-01-2013, 11:47 PM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 33

Rep: Reputation: 0
jbig.h?


Trying to get my Samsung ML-1630 printer going under Slackware 14.0 CUPS didn't do it. Tried to install Splix which worked with this printer and SUSE 12.1. Splix would not install due to missing file jbig.h. Installed jbigkit-2.0 with no errors. Still no trace of the jbig.h header. What to do?
 
Old 05-02-2013, 02:36 AM   #2
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 103

Rep: Reputation: 31
The jbig.h header file should be installed when you install jbigkit. How did you install jbigkit? Did you use the SlackBuild from slackbuilds.org?
 
1 members found this post helpful.
Old 05-02-2013, 02:46 AM   #3
skippy1729
Member
 
Registered: Oct 2008
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Speek View Post
The jbig.h header file should be installed when you install jbigkit. How did you install jbigkit? Did you use the SlackBuild from slackbuilds.org?
I used make and make install which reported no errors. I used the file found at http://www.cl.cam.ac.uk/~mgk25/jbigkit/

I will try the one from slackbuilds.org tomorrow.
 
Old 05-02-2013, 03:01 AM   #4
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,013

Rep: Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323
jbig.h is available in the tar.gz from that site, so probably you will need a -I <dir> flag in your build environment. I do not know how it will be installed.
 
Old 05-02-2013, 03:06 AM   #5
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 103

Rep: Reputation: 31
There is no "install" target in the Makefile, so "make install" doesn't work. The SlackBuild will work though. It's best to also use the SlackBuild for splix. Good luck!
 
Old 05-02-2013, 03:06 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,476

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
Quote:
Originally Posted by skippy1729 View Post
I used make and make install which reported no errors. I used the file found at http://www.cl.cam.ac.uk/~mgk25/jbigkit/
that's strange: this is the Makefile
Code:
# Unix makefile for JBIG-KIT
# $Id: Makefile 1303 2008-08-30 20:16:20Z mgk25 $

# Select an ANSI/ISO C compiler here, GNU gcc is recommended
CC = gcc

# Options for the compiler: A high optimization level is suggested
CCFLAGS = -O2 -W
#CCFLAGS = -O -g -W -Wall -ansi -pedantic #-DDEBUG  # developer only

CFLAGS = $(CCFLAGS) -I../libjbig

VERSION=2.0

all: lib pbm
        @echo "Enter 'make test' in order to start some automatic tests."

lib:
        (cd libjbig;  make "CC=$(CC)" "CFLAGS=$(CFLAGS)")

pbm: lib
        (cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")

test: lib pbm
        (cd libjbig;  make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)
        (cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)

clean:
        rm -f *~ core
        (cd libjbig; make clean)
        (cd pbmtools; make clean)

distribution: clean
        rm -f libjbig/libjbig*.a
        (cd ..; tar -c -v --exclude .svn -f jbigkit-$(VERSION).tar jbigkit ; \
          gzip -9f jbigkit-$(VERSION).tar )
        scp ../jbigkit-$(VERSION).tar.gz slogin-serv1.cl.cam.ac.uk:public_html/download/
        scp CHANGES slogin-serv1.cl.cam.ac.uk:public_html/jbigkit/
as you can see, there's no "install" target, as said in the slackbuild from SBo, that takes care to copy the files where needed...

EDIT: ups, speek beated me by seconds

Last edited by ponce; 05-02-2013 at 03:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



All times are GMT -5. The time now is 10:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration