LinuxQuestions.org
Help answer threads with 0 replies.
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, 10:47 PM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

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, 01:36 AM   #2
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
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, 01:46 AM   #3
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

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, 02:01 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,791

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
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, 02:06 AM   #5
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
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, 02:06 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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 02: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



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

All times are GMT -5. The time now is 09:07 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