I got LPRng to build under OSX.  It required only one patch which seems to 
be due to the fact that "Name" is declared "extern" all over the place, but 
is only defined in getopt.c.  Since lpstat doesn't use getopt, ld 
complains.  I'm not sure why GNU ld should complain under OSX and not on 
other platforms.

The lpd daemon runs and lpc can talk with it.  I haven't done any testing 
beyond that yet.

The reason I'm interested in this is so that I can perhaps use Kerberized 
lpr to print from the Mac.  Any tips about how to accomplish this in an 
esthetically pleasing fashion would be appreciated.

-Rick


|Rick Cochran                                   phone: 607-255-7618|
|Cornell CIT - Systems & Operations - Net-Print   FAX: 607-255-8521|
|730 Rhodes Hall, Ithaca, N.Y. 14853        email: [EMAIL PROTECTED]|


*** src/common/lpstat.c.orig    Tue Nov 20 18:55:04 2001
--- src/common/lpstat.c Fri Nov 30 17:04:07 2001
***************
*** 71,76 ****
--- 71,78 ----
    struct line_list Lpq_options;
    int Rawformat;

+  char *Name;                                  /* Name of program */
+
   #define MAX_SHORT_STATUS 6

   /***************************************************************************


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to