LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-19-2005, 09:11 AM   #1
crapper
Member
 
Registered: Jul 2004
Posts: 48

Rep: Reputation: 15
Error on make


Anyone know why i get this when i try to make pxscan ?

root@system:/home/scotland/pxscan # make
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
make: gcc: Command not found
make: *** [pxscan.o] Error 127
 
Old 02-19-2005, 09:20 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yeah -- you don't have gcc or it ain't in your path. it's a c compiler.
 
Old 02-19-2005, 09:21 AM   #3
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
did you do ./configure
?

it shoulda crapped during that process
 
Old 02-19-2005, 09:29 AM   #4
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
The readme/install file just said it needed make no ./confiugure though i did try this. i will go check gcc.
 
Old 02-19-2005, 09:32 AM   #5
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Ok got gcc and now i got this lol

gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
pxscan.c:102:20: tiffio.h: No such file or directory
In file included from pxscan.c:108:
pxscan.h:178: error: parse error before '*' token
pxscan.h:180: error: parse error before '*' token
pxscan.c:266: error: parse error before '*' token
pxscan.c: In function `tiff_open':
pxscan.c:268: error: `tiffile' undeclared (first use in this function)
pxscan.c:268: error: (Each undeclared identifier is reported only once
pxscan.c:268: error: for each function it appears in.)
pxscan.c:268: warning: implicit declaration of function `TIFFOpen'
pxscan.c:268: error: `image' undeclared (first use in this function)
pxscan.c:274: warning: implicit declaration of function `TIFFSetField'
pxscan.c:274: error: `TIFFTAG_IMAGEWIDTH' undeclared (first use in this function)
pxscan.c:275: error: `TIFFTAG_IMAGELENGTH' undeclared (first use in this function)
pxscan.c:276: error: `TIFFTAG_ORIENTATION' undeclared (first use in this function)
pxscan.c:276: error: `ORIENTATION_TOPLEFT' undeclared (first use in this function)
pxscan.c:277: error: `TIFFTAG_PLANARCONFIG' undeclared (first use in this function)
pxscan.c:277: error: `PLANARCONFIG_CONTIG' undeclared (first use in this function)
pxscan.c:278: error: `TIFFTAG_ROWSPERSTRIP' undeclared (first use in this function)
pxscan.c:279: warning: implicit declaration of function `TIFFDefaultStripSize'
pxscan.c:285: error: `TIFFTAG_PHOTOMETRIC' undeclared (first use in this function)
pxscan.c:285: error: `PHOTOMETRIC_RGB' undeclared (first use in this function)
pxscan.c:286: error: `TIFFTAG_SAMPLESPERPIXEL' undeclared (first use in this function)
pxscan.c:287: error: `TIFFTAG_BITSPERSAMPLE' undeclared (first use in this function)
pxscan.c:288: error: `TIFFTAG_COMPRESSION' undeclared (first use in this function)
pxscan.c:288: error: `COMPRESSION_NONE' undeclared (first use in this function)
pxscan.c: At top level:
pxscan.c:322: error: parse error before '*' token
pxscan.c: In function `tiff_close':
pxscan.c:324: warning: implicit declaration of function `TIFFClose'
pxscan.c:324: error: `tiffile' undeclared (first use in this function)
pxscan.c: In function `readscandata':
pxscan.c:723: error: `TIFF' undeclared (first use in this function)
pxscan.c:723: error: `tiffile' undeclared (first use in this function)
pxscan.c:837: warning: implicit declaration of function `TIFFWriteScanline'
pxscan.c: In function `scan':
pxscan.c:1130: warning: comparison is always false due to limited range of data type
make: *** [pxscan.o] Error 1

Answer may be basic but im not a linux pro lol

Thanks in advance
crapper....
 
Old 02-19-2005, 09:33 AM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
good for you for reading the included documentation. guess they cheated, and expected you'd have certain things. look where it got them!
 
Old 02-19-2005, 09:37 AM   #7
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
root@system:/home/scotland/pxscan # ./configure
bash: ./configure: No such file or directory

Thats all i get from ./configure anyway.
 
Old 02-19-2005, 12:24 PM   #8
JurajPsycho
Member
 
Registered: Sep 2004
Distribution: Debian, kernel 2.6.10
Posts: 50

Rep: Reputation: 15
try to install libtiff, apt-cache search libtiff returned some possibilities...
J.
 
Old 02-19-2005, 12:45 PM   #9
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Have allready got the latest libtiff installed

But thanks for the reply

crapper
 
Old 02-19-2005, 06:26 PM   #10
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Checked all my libtiff stuff and ran make and i get the info posted below.

gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
pxscan.c: In function `scan':
pxscan.c:1130: warning: comparison is always false due to limited range of data type
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ probe_lp.c
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ portio.c
portio.c: In function `epp_off':
portio.c:42: warning: implicit declaration of function `ioperm'
portio.c:43: warning: implicit declaration of function `iopl'
cc -ltiff -lm -O -g pxscan.o probe_lp.o portio.o -o pxscan

and if i do cp pxscan.1 /usr/locan/man/man1 as the readme info says i still cant get xsane to show the scanner it keeps giving "No devices available".

Last edited by crapper; 02-19-2005 at 06:28 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
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 12:05 PM
xprobe2 "make" error make[1]: *** [config_set.o] Error 1 rsharma2000 Linux - Security 1 11-24-2004 04:10 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

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

All times are GMT -5. The time now is 10:43 PM.

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