error compiling your foo2zjs.tar.gz [solved]
Posted by: robertdaleweir ()
Date: September 05, 2016 06:33PM

I ran a make and all appeared. Then I ran a 'make install' and it errored out with the following messages:

---->
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: line 21: cd: PPD: No such file or directory
/bin/sh: line 23: *.ppd: No such file or directory
#
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
export PATH=$PATH:`pwd`:; \
if [ -d /usr/share/cups/model ]; then \
rm -f /usr/share/cups/model/KonicaMinolta*; \
cd PPD; \
for ppd in *.ppd; do \
modify-ppd <$ppd | gzip > /usr/share/cups/model/$ppd.gz; \
chmod 664 /usr/share/cups/model/$ppd.gz; \
done; \
elif [ -d /usr/local/share/cups/model ]; then \
rm -f /usr/local/share/cups/model/KonicaMinolta*; \
cd PPD; \
for ppd in *.ppd; do \
modify-ppd <$ppd | gzip > /usr/local/share/cups/model/$ppd.gz; \
chmod 664 /usr/local/share/cups/model/$ppd.gz; \
done; \
elif [ -d /Library/Printers/PPDs/Contents/Resources ]; then \
rm -f /Library/Printers/PPDs/Contents/Resources/KonicaMinolta*; \
cd PPD; \
for ppd in *.ppd; do \
modify-ppd <$ppd | gzip > /Library/Printers/PPDs/Contents/Resources/$ppd.gz; \
chmod 664 /Library/Printers/PPDs/Contents/Resources/$ppd.gz; \
done; \
fi
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/bin/sh: line 3: cd: PPD: No such file or directory
/bin/sh: line 5: *.ppd: No such file or directory
#
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
# Install GUI
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
#
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
install -c -m 644 hplj1020_icon.gif /usr/share/foo2zjs
install: cannot stat 'hplj1020_icon.gif': No such file or directory
Makefile:923: recipe for target 'install-gui' failed
make: *** [install-gui] Error 1
[root@ACER foo2zjs]# ls -d

<---
How do I get by this problem?



Edited 1 time(s). Last edit at 09/06/2016 03:51AM by rickrich.

Re: error compiling your foo2zjs.tar.gz
Posted by: rickrich ()
Date: September 05, 2016 07:09PM

What does

$ cd foo2jzs
$ ls -l PPD

say?

Re: error compiling your foo2zjs.tar.gz
Posted by: robertdaleweir ()
Date: September 05, 2016 11:11PM

rickrich Wrote:
-------------------------------------------------------
> What does
>
> $ cd foo2jzs
> $ ls -l PPD
>
> say?

Hi rickrich

Perhaps I should post what I did to get the file which I uswed.

As root I ran --->
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
and then
tar zxf foo2zjs.tar.gz
<---
I am not sure a 'foo2zjs' directory was created. Maybe I should try again or should my download have worked OK? I am trying, unsuccessfully, to get something that will allow my HP P1102w to work on Fedora 24, in both wireless and USB connected mode.

Re: error compiling your foo2zjs.tar.gz
Posted by: robertdaleweir ()
Date: September 05, 2016 11:46PM

robertdaleweir Wrote:
-------------------------------------------------------
> rickrich Wrote:
> --------------------------------------------------
> -----
> > What does
> >
> > $ cd foo2jzs
> > $ ls -l PPD
> >
> > say?
>
> Hi rickrich
>
> Perhaps I should post what I did to get the file
> which I uswed.
>
> As root I ran --->
> wget -O foo2zjs.tar.gz
> http://foo2zjs.rkkda.com/foo2zjs.tar.gz
> and then
> tar zxf foo2zjs.tar.gz
> <---
> I am not sure a 'foo2zjs' directory was created.
> Maybe I should try again or should my download
> have worked OK? I am trying, unsuccessfully, to
> get something that will allow my HP P1102w to work
> on Fedora 24, in both wireless and USB connected
> mode.

Update: I went at it again and somehow I managed to get the foo2zjs directory and the PPD directory. I found the LaserJetPro 'ppd' for my printer and I am a happy camper. It works great. Thank you so much for your assistance rickrich. Great process you guys have here. I have spent hours trying to get this printer working.

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