Re: [gentoo-user] foo2zjs make install error

2014-04-16 Thread Stroller

On Tue, 15 April 2014, at 1:06 pm, Dutch Ingraham s...@gmx.us wrote:
 ...
 I should have included this in my first post:  locate foomatic-rip
 returns, on both installations:
 
 /usr/libexec/cups/filter/foomatic-rip
 /usr/share/man/man1/foomatic-rip.1.bz2
 
 I cannot run foomatic-rip manually.

This is perhaps a nitpick, but `locate` doesn't show us that foomatic-rip is 
installed on your system, only that it was installed last time updatedb was run.

I'm not actually familiar with foomatic-rip, but I'd assume that it's an 
executable of some sort. Don't you get an error message if you try running 
`/usr/libexec/cups/filter/foomatic-rip`? What are the permissions on the file? 
In another post you've stated that you have 2 other machines which are not 
showing the same problem - compare with them.

Stroller.




Re: [gentoo-user] foo2zjs make install error

2014-04-16 Thread Dutch Ingraham
On 04/16/2014 09:14 AM, Stroller wrote:
 
 On Tue, 15 April 2014, at 1:06 pm, Dutch Ingraham s...@gmx.us wrote:
 ...
 I should have included this in my first post:  locate foomatic-rip
 returns, on both installations:

 /usr/libexec/cups/filter/foomatic-rip
 /usr/share/man/man1/foomatic-rip.1.bz2

 I cannot run foomatic-rip manually.
 
 This is perhaps a nitpick, but `locate` doesn't show us that foomatic-rip is 
 installed on your system, only that it was installed last time updatedb was 
 run.
 
 I'm not actually familiar with foomatic-rip, but I'd assume that it's an 
 executable of some sort. Don't you get an error message if you try running 
 `/usr/libexec/cups/filter/foomatic-rip`? What are the permissions on the 
 file? In another post you've stated that you have 2 other machines which are 
 not showing the same problem - compare with them.
 
 Stroller.
 
 
 
Good point, but updatedb is run after every update, so daily or
thereabouts.  I can execute foomatic-rip (but only with the full path -
there is no separate command, which makes sense since it is not located
in a /bin dir, I suppose).  No errors on any of the three installs.
(Note it is not really completing its job on the subject machine, as
without the foo2zjs driver and accompanying firmware, I can't print.
But it is responding with appropriate questions about whether my printer
is configured or not.)  The permission for foomatic-rip is -rwxr-xr-x 1
root root, so shouldn't be a problem - user is in the lp group anyway.

And you're correct, comparing the three is what I've been trying to do.
 I've re-build a few packages to make sure all cups- and
foomatic-related packages have the same USE flags.  Also have run all
clean-up scripts, like perl-cleaner, python-updater, revdep-rebuild, etc.

foo2zjs (either from source or the gentoo package) still refuses to make
install.  I guess I'll keep playing.  Thanks for your help.



Re: [gentoo-user] foo2zjs make install error

2014-04-15 Thread Stroller

On Tue, 15 April 2014, at 2:06 am, Dutch Ingraham s...@gmx.us wrote:

 …  The error message I'm getting at the make install
 command is:
 
 Error - foomatic-rip is not installed!
 Install foomatic packages for your OS
 make [install test] Error 1
 
 …
 To stay out of TL;DR territory, a short list of what I have checked so far:
 
 - re-installed cups, cups-filters, foomatic-db, and foomatic-db-engine,
 with the same use flags on both working and non-working installs;
 
 - removed the foo2zjs package and re-downloaded and compiled from scratch;


I assume that one of these foo* packages supplies the foomatic-rip command, and 
that you can run foomatic-rip manually?

A quick grep of /usr/portage/net-print/ suggests the foomatic-filters package 
may be the one, but I wouldn't swear to it.

Stroller.




Re: [gentoo-user] foo2zjs make install error

2014-04-15 Thread Dutch Ingraham
On 04/15/2014 07:42 AM, Stroller wrote:
 
 On Tue, 15 April 2014, at 2:06 am, Dutch Ingraham s...@gmx.us wrote:
 
 …  The error message I'm getting at the make install
 command is:

 Error - foomatic-rip is not installed!
 Install foomatic packages for your OS
 make [install test] Error 1

 …
 To stay out of TL;DR territory, a short list of what I have checked so far:

 - re-installed cups, cups-filters, foomatic-db, and foomatic-db-engine,
 with the same use flags on both working and non-working installs;

 - removed the foo2zjs package and re-downloaded and compiled from scratch;
 
 
 I assume that one of these foo* packages supplies the foomatic-rip command, 
 and that you can run foomatic-rip manually?
 
 A quick grep of /usr/portage/net-print/ suggests the foomatic-filters package 
 may be the one, but I wouldn't swear to it.
 
 Stroller.
 
 
 
Thanks, Stroller.

I should have included this in my first post:  locate foomatic-rip
returns, on both installations:

/usr/libexec/cups/filter/foomatic-rip
/usr/share/man/man1/foomatic-rip.1.bz2

I cannot run foomatic-rip manually.

I haven't been able to determine exactly what package supplies
foomatic-rip, but the man page states:

foomatic-rip  is  a  universal  print filter which can be used as CUPS
filter or stand-alone for spooler-less, direct printing. It has the
following features:

   It translates PostScript and PDF from standard input or a file to
the printer's native  language  on  standard output.

   The  translation  is  done with an external renderer, usually
Ghostscript (gs(1)). If no translation is needed (PostScript printer)
the renderer's command line reduces to cat(1). The way how this
translation  is  done  is described in a PPD file.

   Printer  capabilities,  how  to  handle  user  options,  and  how
to build the renderer command line is always described by PPD files,
these PPD files usually come from Foomatic or can be the ones supplied
by the manufacturers of PostScript printers. The PPD files are the same
for both CUPS and direct printing.

   foomatic-rip  works  with  CUPS  (and for direct printing without
spooler). The mode is selected by the command line options and
environment variables which are supplied to foomatic-rip.

   foomatic-rip does not only apply option settings supplied by the
user through the command line of the printing command,  but  also
searches the entire job for embedded option settings (only PostScript
jobs). Here not only settings which affect the whole job are taken into
account, but also settings in the page headers,  which  are only  valid
 for  the page where they were found, so applications which produce
PostScript code with page-specific printer option settings are fully
supported.

Thanks for your help.  Ideas anyone?



Re: [gentoo-user] foo2zjs make install error

2014-04-15 Thread Neil Bothwick
On Mon, 14 Apr 2014 21:06:12 -0400, Dutch Ingraham wrote:

 I'm having a problem installing a print driver, foo2zjs, downloaded and
 compiled from source.

There is an ebuild for foo2zjs.

 This is a driver for a HP P1505n printer. (hplip
 is not an option as this printer needs further firmware that is not
 generally available).  The error message I'm getting at the make install
 command is:
 
 Error - foomatic-rip is not installed!
 Install foomatic packages for your OS
 make [install test] Error 1

https://bugs.gentoo.org/show_bug.cgi?id=503578

The file is on your system but not where foo2zjs is looking.


-- 
Neil Bothwick

Windows will never cease.


signature.asc
Description: PGP signature


Re: [gentoo-user] foo2zjs make install error

2014-04-15 Thread Dutch Ingraham
On 04/15/2014 08:12 AM, Neil Bothwick wrote:
 On Mon, 14 Apr 2014 21:06:12 -0400, Dutch Ingraham wrote:
 
 I'm having a problem installing a print driver, foo2zjs, downloaded and
 compiled from source.
 
 There is an ebuild for foo2zjs.
 
 This is a driver for a HP P1505n printer. (hplip
 is not an option as this printer needs further firmware that is not
 generally available).  The error message I'm getting at the make install
 command is:

 Error - foomatic-rip is not installed!
 Install foomatic packages for your OS
 make [install test] Error 1
 
 https://bugs.gentoo.org/show_bug.cgi?id=503578
 
 The file is on your system but not where foo2zjs is looking.
 
 
Thanks, Neil.  I wasn't aware of the bug report.  I'm not sure whether
it is an actual bug, though, since I have three boxes with the same
vanilla Gentoo install (no LVM, no RAID, simple MBR, old 4-5 year old
Dells) and on the other two, the install worked perfectly.  I haven't
been able to detect any difference in the installs, yet.  There must be
one, but I can't find it.  I'd like to help the other folks and find the
bug if possible.