Well,  simple for some. (Unix is friendly....to some ;)
I am trying to take advantage of the filtering to HP-GL files provided
by this program,

Download
http://pldaniels.com/hpgl-distiller
hpgl-distiller-0.9.1.tar.gz


I have done this several months before, and all went as expected, now a
refresh of the system from an EMC/UbuntuISO disc has me putting things
back again.

However,  after tar -zxvf hpgl-distiller-0.9.1.tar.gz, and cd
hpgl-distiller-0.9.1.  The request to "make" results in a long list of
all sorts of warnings (The attached file gives the command line
progression and a few lines of the error message) Subsequent "Sudo make
install repeats the warnings etc.  A No-Go situation for me. This is
unfamiliar ground and I have spent hours with no light seen.  I
"thought" a ./configure command was required, but when called, bash
replies "No such file or directory"   Perhaps a path adjustment?

  Would  someone care to step a bit out of EMC and into basic Linux and
offer comment? A useful how to pointer would be great. The on-line
references simplify to ",make,make install." So Simple!  A cave man
could do it ;-))  Just not me ;-(    

Thanks in advance 

Cal in rainy VT

c...@cal-desktop:~/download$ ls
hpgl-distiller-0.9.1  hpgl-distiller-0.9.1.tar.gz
c...@cal-desktop:~/download$ cd hpgl-distiller-0.9.1
c...@cal-desktop:~/download/hpgl-distiller-0.9.1$ ls
CHANGELOG  hpgl-distiller.c  LICENCE  Makefile  print-to-cutter.sh
c...@cal-desktop:~/download/hpgl-distiller-0.9.1$ make
gcc -Wall hpgl-distiller.c -o hpgl-distiller
hpgl-distiller.c:29:19: error: stdio.h: No such file or directory
hpgl-distiller.c:30:20: error: stdlib.h: No such file or directory
hpgl-distiller.c:31:20: error: string.h: No such file or directory
hpgl-distiller.c:32:23: error: sys/types.h: No such file or directory
hpgl-distiller.c:33:22: error: sys/stat.h: No such file or directory
hpgl-distiller.c:34:20: error: unistd.h: No such file or directory
hpgl-distiller.c:35:19: error: errno.h: No such file or directory
hpgl-distiller.c: In function ‘HPGLD_show_version’:
hpgl-distiller.c:70: warning: implicit declaration of function ‘fprintf’
hpgl-distiller.c:70: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:70: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c:70: error: (Each undeclared identifier is reported only once
hpgl-distiller.c:70: error: for each function it appears in.)
hpgl-distiller.c: In function ‘HPGLD_show_help’:
hpgl-distiller.c:81: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:81: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘HPGLD_init’:
hpgl-distiller.c:98: error: ‘NULL’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘HPGLD_parse_parameters’:
hpgl-distiller.c:116: warning: implicit declaration of function ‘getopt’
hpgl-distiller.c:118: error: ‘EOF’ undeclared (first use in this function)
hpgl-distiller.c:122: warning: implicit declaration of function ‘strdup’
hpgl-distiller.c:122: warning: incompatible implicit declaration of built-in 
function ‘strdup’
hpgl-distiller.c:122: error: ‘optarg’ undeclared (first use in this function)
hpgl-distiller.c:139: warning: implicit declaration of function ‘exit’
hpgl-distiller.c:139: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:151: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:151: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘main’:
hpgl-distiller.c:176: error: ‘FILE’ undeclared (first use in this function)
hpgl-distiller.c:176: error: ‘fi’ undeclared (first use in this function)
hpgl-distiller.c:176: error: ‘fo’ undeclared (first use in this function)
hpgl-distiller.c:176: warning: left-hand operand of comma expression has no 
effect
hpgl-distiller.c:178: error: storage size of ‘st’ isn’t known
hpgl-distiller.c:180: error: ‘size_t’ undeclared (first use in this function)
hpgl-distiller.c:180: error: expected ‘;’ before ‘file_size’
hpgl-distiller.c:181: error: expected ‘;’ before ‘read_size’
hpgl-distiller.c:196: error: ‘NULL’ undeclared (first use in this function)
hpgl-distiller.c:197: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:197: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c:198: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:201: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:202: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:213: warning: implicit declaration of function ‘stat’
hpgl-distiller.c:215: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:215: warning: implicit declaration of function ‘strerror’
hpgl-distiller.c:215: error: ‘errno’ undeclared (first use in this function)
hpgl-distiller.c:215: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:222: error: ‘file_size’ undeclared (first use in this function)
hpgl-distiller.c:223: warning: implicit declaration of function ‘malloc’
hpgl-distiller.c:223: warning: incompatible implicit declaration of built-in 
function ‘malloc’
hpgl-distiller.c:225: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:225: warning: format ‘%s’ expects type ‘char *’, but argument 
5 has type ‘int’
hpgl-distiller.c:231: warning: implicit declaration of function ‘fopen’
hpgl-distiller.c:233: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:233: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:243: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:243: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:251: error: ‘read_size’ undeclared (first use in this function)
hpgl-distiller.c:251: warning: implicit declaration of function ‘fread’
hpgl-distiller.c:252: warning: implicit declaration of function ‘fclose’
hpgl-distiller.c:254: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:268: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:274: warning: implicit declaration of function ‘strtok’
hpgl-distiller.c:274: warning: assignment makes pointer from integer without a 
cast
hpgl-distiller.c:277: warning: implicit declaration of function ‘printf’
hpgl-distiller.c:277: warning: incompatible implicit declaration of built-in 
function ‘printf’
hpgl-distiller.c:286: warning: implicit declaration of function ‘strncmp’
hpgl-distiller.c:308: warning: assignment makes pointer from integer without a 
cast
hpgl-distiller.c:317: warning: implicit declaration of function ‘free’
hpgl-distiller.c:178: warning: unused variable ‘st’
make: *** [hpgl-distiller] Error 1
c...@cal-desktop:~/download/hpgl-distiller-0.9.1$ sudo make install
[sudo] password for cal: 
gcc -Wall hpgl-distiller.c -o hpgl-distiller
hpgl-distiller.c:29:19: error: stdio.h: No such file or directory
hpgl-distiller.c:30:20: error: stdlib.h: No such file or directory
hpgl-distiller.c:31:20: error: string.h: No such file or directory
hpgl-distiller.c:32:23: error: sys/types.h: No such file or directory
hpgl-distiller.c:33:22: error: sys/stat.h: No such file or directory
hpgl-distiller.c:34:20: error: unistd.h: No such file or directory
hpgl-distiller.c:35:19: error: errno.h: No such file or directory
hpgl-distiller.c: In function ‘HPGLD_show_version’:
hpgl-distiller.c:70: warning: implicit declaration of function ‘fprintf’
hpgl-distiller.c:70: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:70: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c:70: error: (Each undeclared identifier is reported only once
hpgl-distiller.c:70: error: for each function it appears in.)
hpgl-distiller.c: In function ‘HPGLD_show_help’:
hpgl-distiller.c:81: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:81: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘HPGLD_init’:
hpgl-distiller.c:98: error: ‘NULL’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘HPGLD_parse_parameters’:
hpgl-distiller.c:116: warning: implicit declaration of function ‘getopt’
hpgl-distiller.c:118: error: ‘EOF’ undeclared (first use in this function)
hpgl-distiller.c:122: warning: implicit declaration of function ‘strdup’
hpgl-distiller.c:122: warning: incompatible implicit declaration of built-in 
function ‘strdup’
hpgl-distiller.c:122: error: ‘optarg’ undeclared (first use in this function)
hpgl-distiller.c:139: warning: implicit declaration of function ‘exit’
hpgl-distiller.c:139: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:151: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:151: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c: In function ‘main’:
hpgl-distiller.c:176: error: ‘FILE’ undeclared (first use in this function)
hpgl-distiller.c:176: error: ‘fi’ undeclared (first use in this function)
hpgl-distiller.c:176: error: ‘fo’ undeclared (first use in this function)
hpgl-distiller.c:176: warning: left-hand operand of comma expression has no 
effect
hpgl-distiller.c:178: error: storage size of ‘st’ isn’t known
hpgl-distiller.c:180: error: ‘size_t’ undeclared (first use in this function)
hpgl-distiller.c:180: error: expected ‘;’ before ‘file_size’
hpgl-distiller.c:181: error: expected ‘;’ before ‘read_size’
hpgl-distiller.c:196: error: ‘NULL’ undeclared (first use in this function)
hpgl-distiller.c:197: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:197: error: ‘stderr’ undeclared (first use in this function)
hpgl-distiller.c:198: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:201: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:202: warning: incompatible implicit declaration of built-in 
function ‘exit’
hpgl-distiller.c:213: warning: implicit declaration of function ‘stat’
hpgl-distiller.c:215: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:215: warning: implicit declaration of function ‘strerror’
hpgl-distiller.c:215: error: ‘errno’ undeclared (first use in this function)
hpgl-distiller.c:215: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:222: error: ‘file_size’ undeclared (first use in this function)
hpgl-distiller.c:223: warning: implicit declaration of function ‘malloc’
hpgl-distiller.c:223: warning: incompatible implicit declaration of built-in 
function ‘malloc’
hpgl-distiller.c:225: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:225: warning: format ‘%s’ expects type ‘char *’, but argument 
5 has type ‘int’
hpgl-distiller.c:231: warning: implicit declaration of function ‘fopen’
hpgl-distiller.c:233: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:233: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:243: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:243: warning: format ‘%s’ expects type ‘char *’, but argument 
4 has type ‘int’
hpgl-distiller.c:251: error: ‘read_size’ undeclared (first use in this function)
hpgl-distiller.c:251: warning: implicit declaration of function ‘fread’
hpgl-distiller.c:252: warning: implicit declaration of function ‘fclose’
hpgl-distiller.c:254: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:268: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
hpgl-distiller.c:274: warning: implicit declaration of function ‘strtok’
hpgl-distiller.c:274: warning: assignment makes pointer from integer without a 
cast
hpgl-distiller.c:277: warning: implicit declaration of function ‘printf’
hpgl-distiller.c:277: warning: incompatible implicit declaration of built-in 
function ‘printf’
hpgl-distiller.c:286: warning: implicit declaration of function ‘strncmp’
hpgl-distiller.c:308: warning: assignment makes pointer from integer without a 
cast
hpgl-distiller.c:317: warning: implicit declaration of function ‘free’
hpgl-distiller.c:178: warning: unused variable ‘st’
make: *** [hpgl-distiller] Error 1

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to