[plug] lj2ps compiling problem

Randal Adamson ranz at devdata.net
Wed May 12 13:57:01 WST 2004


Hi Ryan,

I just tried it on my machine and get the same problem.

Looking at the Makefile in the source tree, the author explains that he
uses "cake" instead of "make" to build it from source. 

Perhaps email him for the cake recipe.

Also you may want to change the CFLAGS to -DDEBUG or DVERBOSE_WARNINGS
to see what else it's saying as these messages are not very friendly.

Other than this - the culprit line is:

@make -f $(MAKEFILE) DEST=$(DEST) install

Underneath this line is some "includes" - perhaps also check to see if
they exist on your system where his Makefile is looking for them.

Cheers,

Ranz

-----Original Message-----
From: plug-bounces at plug.linux.org.au
[mailto:plug-bounces at plug.linux.org.au] On Behalf Of Ryan
Sent: Wednesday, 12 May 2004 12:19 PM
To: plug at plug.linux.org.au
Subject: [plug] lj2ps compiling problem

Hi PLUG,

I'm trying to compile this:

http://www-wisconsin.cern.ch/~lishka/progs/lj2ps/lj2ps_intro.html

It gives me the error: 

ryan at vaio:~/lj2ps$ make
Makefile:95: warning: overriding commands for target `lj2ps'
Makefile:72: warning: ignoring old commands for target `lj2ps'
cc -O   -c -o errors.o errors.c
cc -O   -c -o lj.o lj.c
cc -O   -c -o lj2ps.o lj2ps.c
cc -O   -c -o ljcmds.o ljcmds.c
cc -O   -c -o ljfonts.o ljfonts.c
cc -O   -c -o scan.o scan.c
cc -O   -c -o trans.o trans.c
make[1]: Entering directory `/home/ryan/lj2ps'
Makefile:95: warning: overriding commands for target `lj2ps'
Makefile:72: warning: ignoring old commands for target `lj2ps'
make[2]: Entering directory `/home/ryan/lj2ps'
Makefile:95: warning: overriding commands for target `lj2ps'
Makefile:72: warning: ignoring old commands for target `lj2ps'

make keep recursing as long as you leave it and never finishes, it just
increments make[3] make[4] etc with the same error.

Does anyone have any idea what might be doing this?  It is beyond me,
however I realise it is extremely old software.

Alternatively, does anyone know of another way to convert PCL to
Postscript?  I have the need to make an application which will only talk
PCL print to a Postscript only printer.  I was going to use this lj2ps
tool via a CUPS backend to do the conversion.  I have also tried groff
after reading some bits about it on the web and have not had any luck
getting legible PS output from it.

Thanks,

Ryan

_______________________________________________
PLUG discussion list: plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au







More information about the plug mailing list