LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   jbig.h? (https://www.linuxquestions.org/questions/slackware-14/jbig-h-4175460376/)

skippy1729 05-01-2013 10:47 PM

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?

Speek 05-02-2013 01:36 AM

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?

skippy1729 05-02-2013 01:46 AM

Quote:

Originally Posted by Speek (Post 4943164)
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.

pan64 05-02-2013 02:01 AM

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.

Speek 05-02-2013 02:06 AM

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!

ponce 05-02-2013 02:06 AM

Quote:

Originally Posted by skippy1729 (Post 4943165)
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 :)


All times are GMT -5. The time now is 08:26 AM.