Subject: PINE 4.41 build error

From: "Mike A. Harris" <[email-masked]>
Date: Sat, 17 Nov 2001 02:54:17 -0500 (EST)

Just snagged 4.41 to toss into RPM's.  The build fails when 
trying to compile pine.c

I was just building it before heading to bed, so I thought I 
would report the problem.

=================================================================
cc -O2 -march=i386 -mcpu=i686   -DIGNORE_LOCK_EACCES_ERRORS 
-DENABLE_LDAP -I../ldap/include -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   
-c -o other.o other.c
cc -O2 -march=i386 -mcpu=i686   -DIGNORE_LOCK_EACCES_ERRORS 
-DENABLE_LDAP -I../ldap/include -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   
-c -o pine.o pine.c
pine.c: In function `main':
pine.c:357: `init_pinerc_debugging' undeclared (first use in this 
function)
pine.c:357: (Each undeclared identifier is reported only once
pine.c:357: for each function it appears in.)
pine.c:667: structure has no member named `debug_imap'
pine.c:667: `debug' undeclared (first use in this function)
make: *** [pine.o] Error 1
=================================================================

Here is the command used to build:

./build DEBUG="" OPTIMIZE="$RPM_OPT_FLAGS" \
        EXTRACFLAGS="-DIGNORE_LOCK_EACCES_ERRORS" \
	EXTRAAUTHENTICATORS=gss \
	SPECIALAUTHENTICATORS=ssl \
        lnp

This is when building on Red Hat Linux 7.1.  The previous 4.40 
package built ok.  I'll look into it tomorrow if nobody else has 
found the problem already.

Thanks.
TTYL

-- 
----------------------------------------------------------------------
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.                    Phone: (705)949-2136
http://www.redhat.com           ftp://people.redhat.com/mharris
Red Hat XFree86 mailing list:   [email-masked]
General open IRC discussion:    #xfree86 on irc.openprojects.net
----------------------------------------------------------------------

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 17 Nov 2001 00:49:48 -0800 (PST)

*** Mike A. Harris ([email-masked]) wrote in the pine-info list today:

:) Just snagged 4.41 to toss into RPM's.  The build fails when
:) trying to compile pine.c
[snip]
:) Here is the command used to build:
:) ./build DEBUG="" OPTIMIZE="$RPM_OPT_FLAGS" \
[snip]

Ouch!, the problem is that you are compiling with DEBUG="". The variables
that pine complains about are not defined in this case, and that's where
your compilation error comes from. Get a patch from my web page, look
under "Bug Fixes".

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Kenneth Crudup <[email-masked]>
Date: Sat, 17 Nov 2001 08:59:35 -0800 (PST)

> would report the problem.

FWIW, "build lnp" (linux, with PAM) worked flawlessly for me. I'm using
it now.

	-Kenny

-- 
Kenneth R. Crudup   Sr. SW Engineer, Scott County Consulting, Washington, D.C.
Home1: PO Box 914         Silver Spring, MD 20910-0914         [email-masked]
Home2: 38010 Village Cmn. #217  Fremont, CA 94536-7525          (510) 745-0101
Work: 5141 California Suite 200, Irvine, CA 92612               (949) 737-2785