#2110: LPRng does not compile with recent make/gcc --------------------+------------------------------------------------------- Reporter: Moody | Owner: [email protected] Type: defect | Status: new Priority: normal | Milestone: 6.2 Component: BOOK | Version: SVN Severity: normal | Keywords: --------------------+------------------------------------------------------- i found a problem compiling lprng with make version 3.81 and gcc-4.1.1
First, make crashes on the main Makefile with an error msg like in [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356048]. I solved it with a sed {{{ sed -i "s/^SHELL=/#&/" Makefile }}} after configure. Second, a compile error message "./common/lpq.c:452: warning: not enough variable arguments to fit a sentinel" which caused compile stop. I removed the -Werror switch using a {{{ sed -i "s;-Werror ; ;g" src/Makefile }}} after the configure but i don't know whether this would be the prefered solution. With this two seds, LPRng-3.8.28 compiles/installs fine. -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2110> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
