Compiling LPRNG 3.7.4

Alexander Henkel henkela at
Thu Jan 11 14:12:11 PST 2001

Thomas Lohmueller wrote:

> I start "./configure --prefix=/usr --sysconfdir=/etc". this works good.
> But "make" wan't work. I always receive this messages....
> make[1]: Entering directory `/usr/src/LPRng-3.7.4/src'
> gcc -O3 -march=i686 -Wall -Werror -DHAVE_CONFIG_H -I.. -I./include -I./common
> -DCHOWN=\"/bin/chown\" -DCHGRP=\"/bin/chgrp\"
> -DPRINTCAP_PATH=\"/etc/printcapcc1: warnings being treated as errors


> make[1]: *** [linksupport.o] Error 1
> make[1]: Leaving directory `/usr/src/LPRng-3.7.4/src'
> make: *** [src] Error 2

I got the same error the other day. It's the '-Werror' option which turns
warnings into errors. I got LPRng to compile/link/install properly using
following script which, as a first action, removes the '-Werror' option from
the 'configure' script:

 mv configure &&
 sed "s/\-Wall \-Werror/-Wall/g" > configure &&
 chmod +x configure &&
 ./configure --prefix=/usr --sysconfdir=/etc &&
 make clean all &&
 make install

Hope this helps.

Alexander Henkel
<henkela at>

Unsubscribe: send email to lfs-apps-request at
and put unsubscribe in the subject header of the message

More information about the blfs-support mailing list