Version LPRng-3.8.3 - Sat Dec 8 09:21:45 PST 2001
lpc flush now cleans out status as it should have done...
GRRR... user pointed this out at LISA 2001...
Fixed up a problem with global variable Name.
From: Rick Cochran <[EMAIL PROTECTED]>
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.
(Patch by: Rick Cochran <[EMAIL PROTECTED]>)
> From [EMAIL PROTECTED] Fri Dec 7 08:56:12 2001
> Date: Fri, 07 Dec 2001 10:44:30 -0500
> To: [EMAIL PROTECTED]
> From: Rick Cochran <[EMAIL PROTECTED]>
> Subject: LPRng: LPRng seems to work under MacOS X
>
> 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.
-----------------------------------------------------------------------------