General foo2qpdl :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Install PPD files error
Posted by: sambit ()
Date: April 28, 2013 11:26AM

Hi

Having problems with printing on my Samsung clp-365w on a new installed Linux Mint 14.1 Mate, I found openprinting and http://foo2qpdl.rkkda.com/, so I tried to install foo2qpdl. It went fine until the end of the make install:

Quote
terminal
# Install PPD files for CUPS
#
export PATH=$PATH:`pwd`:; \
if [ -x /usr/sbin/ppdmgr -a -s /var/lp/ppd/ppdcache ]; then \
install -glp -d /var/lp/ppd/user; \
cd PPD; \
for ppd in *.ppd; do \
manuf=`echo "$ppd" | sed 's/-.*//'`; \
install -glp -d /var/lp/ppd/user/$manuf; \
modify-ppd <$ppd | gzip > /var/lp/ppd/user/$manuf/$ppd.gz; \
chmod 664 /var/lp/ppd/user/$manuf/$ppd.gz; \
done; \
ppdmgr -u; \
elif [ -d /usr/share/ppd ]; then \
find /usr/share/ppd -name '*foo2zjs*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hp*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2xqx*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2lava*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2qpdl*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2slx*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hiperc*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hbpl*' | xargs rm -rf; \
[ -d /usr/share/ppd/foo2zjs ] || mkdir /usr/share/ppd/foo2zjs; \
cd PPD; \
for ppd in *.ppd; do \
modify-ppd <$ppd | gzip > /usr/share/ppd/foo2zjs/$ppd.gz; \
chmod 664 /usr/share/ppd/foo2zjs/$ppd.gz; \
done; \
fi
/bin/sh: 1: export: filer/clp-365/foo2zjs:: bad variable name
make: *** [install-ppd] Error 2
What do I do - or can I do anything about it?
Any help will be most appreciated.

Options: ReplyQuote
Re: Install PPD files error
Posted by: rickrich ()
Date: April 28, 2013 01:12PM

Did you use bash?

What does this say?

$ sh --version
GNU bash, version 4.2.39(1)-release (i686-redhat-linux-gnu)

$ echo "$PATH"
/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin

$ export PATH=$PATH:`pwd`

$ echo "$PATH"
/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/rick/proj/foo2zjs



Edited 3 time(s). Last edit at 04/28/2013 01:22PM by rickrich.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.