[imp] problem with newest CVS

Ranger Fox rangerfox@rangerfox.net
Thu, 02 Nov 2000 17:42:00 -0500


Nope...directly connected to the net...no proxies....imp 2.2.2 works fine 
for me, but I wanted to upgrade my horde and imp

At 04:50 PM 11/2/2000 -0500, you wrote:
>Quoting Ranger Fox <rangerfox@rangerfox.net>:
>
> > When I'm trying to use the new CVS version of IMP, I get the following 
> errors
> >
> > Warning: Undefined index: HTTP_USER_AGENT in ../lib/Browser.php on line 79
>
>Are you using a proxy or other tool to suppress your user agent?
>
>-chuck
>
>--
>"You see this steel-toed work boot? It is NOT CUTE!" - Julia
>
>--
>IMP mailing list: http://horde.org/imp/
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org



>From  Thu Nov 2 17:02:05 2000
Return-Path: <ccrowley@tulane.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 58858 invoked from network); 2 Nov 2000 23:03:20 -0000
Received: from majestic.tcs.tulane.edu (HELO tulane.edu) (129.81.224.6)
  by horde.org with SMTP; 2 Nov 2000 23:03:20 -0000
Received: from operationsnt (syshelp.tcs.tulane.edu [129.81.118.186])
	by tulane.edu (8.10.1/8.10.1) with SMTP id eA2N3DB29329
	for <imp@lists.horde.org>; Thu, 2 Nov 2000 17:03:14 -0600 (CST)
Message-ID: <038d01c04520$eb7c0f20$ba765181@tcs.tulane.edu>
From: "Chris Crowley" <ccrowley@tulane.edu>
To: <imp@lists.horde.org>
References: <Pine.LNX.4.21.0011010906480.31589-100000@kepler.acns.bethel.edu>
Date: Thu, 2 Nov 2000 17:02:05 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Subject: Re: [imp] php imap problem


----- Original Message -----
From: "Brent J. Nordquist" <bjn@horde.org>
>
> Second, the way I do UW-IMAP with Solaris is to compile it, and then I do
> what amounts to an IMAP c-client install, as follows:
>

An additional note: I had problems compiling c-client, too. I got this info
from Mark Crispin:

----- Original Message -----
From: "Mark Crispin"
To:"Chris Crowley"
>> When I attempt the compile, I run into this:
>>
>> gcc -g -O2    -c mbx.c -o mbx.o
>> mbx.c: In function `mbx_hdrpos':
>> mbx.c:1371: internal error--unrecognizable insn:
>> (insn 78 76 80 (set (reg:SI 129)
>>         (minus:SI (const_int 4 [0x4])
>>             (const_int -4096 [0xfffff000]))) -1 (nil)
>>     (expr_list:REG_EQUAL (const_int 4100 [0x1004])
>>         (nil)))
>> make[3]: *** [mbx.o] Error 1

> This is a known problem with GCC 2.95 on Solaris.  It's a compiler bug.
> The problem does not happen with earlier versions of GCC (e.g. 2.8 or
> 2.7).

> I just received an email claiming that a successful workaround is to
> change line 1336 of mbx.c from
>    LOCAL->buf = (char *) fs_get ((LOCAL->buflen = HDRBUFLEN) + SLOP);
> to
>    LOCAL->buflen = HDRBUFLEN;
 >   LOCAL->buf = (char *) fs_get (LOCAL->buflen + SLOP);

The fix works.
--Chris