Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 14:21:44 +0700, budsz wrote:
 Hi,
 
 I was compile mutt-1.5.1i in FreeBSD box, I got some patching for
 compress folder too, So I followed the the instruction for to do that.
 but I got some error message like this:
 
 ---cut
 /usr/include/stdlib.h:108: warning: ANSI C does not support `long long'
 /usr/include/stdlib.h:112: warning: ANSI C does not support `long long'
 ---cut
 
 I think the problem is my version GCC to old, so I did to upgrade my
 GCC and compile again, it was nothing get solution. How about this..?
 

Which FreeBSD version do you use? Is it FreeBSD-5.0-current?

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 16:42:56 +0700, budsz wrote:
 
 This problem appeared in FreeBSD 4.6 STABLE.  
 

Not reproducable here (on 4.7-STABLE). The best way on FreeBSD is to use
the port /usr/ports/mail/mutt-devel; to use compressed folders do:

cd /usr/ports/mail/mutt-devel; make -DWITH_MUTT_COMPRESSED_FOLDERS

You need of course an up to date ports tree for this.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 12:39:44 +0200, Holger Weiss wrote:
 Not for me either when compiling your `mutt-devel' port, but same thing
 when compiling mutt 1.4 (and other ports):
 

My mail/mutt-devel port deletes -pedantic from the CFLAGS in the configure.in,
which the mail/mutt port does not.

 As I said, this can be ignored.

Yes.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: FreeBSD compile errors

2002-06-02 Thread Udo Schweigert

On Sat, Jun 01, 2002 at 21:58:11 +0200, Rocco Rutte wrote:
 Hi,
 
 * Will Yardley [06/01/02 20:27:28 CEST] wrote:
 
 [ errors building 1.4 on FreeBSD ]
 
 sorry - thought i wrote that.  it was 1.4
 
 i believe libiconv is installed, and i did a second install with
 some of the arguments that the port uses:
 
 CC=cc -I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
 --enable-exact-address --enable-flock --disable-fcntl
 --with-libiconv-prefix=/usr/local
 
 and got the same error.
 
 1.5 builds fine here, but 1.4 makes problems.
 
 i do get:
 checking for iconv... no, consider installing GNU libiconv
 configure: warning: Unable to find an iconv function. See INSTALL for help
 
 but configure doesn't fail as it used to.
 
 Here too. That's stupid. Even more weired is this:
 
 ,-
|| pdmef@klaus:/tmp/mutt-1.4$ ./prepare --with-libiconv-prefix=/usr/local 
|--with-iconv=/usr/local
|| checking for iconv.h... yes
|| checking whether iconv.h defines iconv_t... yes
|| configure: warning: Unable to find an iconv function. See INSTALL for help
|| [...]
|| The mutt source code was successfully prepared.
|| Type make  make install to build and install mutt.
 `-
 
 ...which then runs into the same trouble. And /usr/local is
 correct:
 
 ,-
|| pdmef@klaus:~$ pkg_info -L iconv-2.0_1
|| Information for iconv-2.0_1:
|| /usr/local/include/iconv.h
|| /usr/local/lib/libiconv.so
|| /usr/local/lib/libiconv.so.2
 `-
 

The iconv port is now at 2.0_3 and no longer installs a libiconv.so,
instead it is called libbiconv.so. This library is a way not standard and did
not work for mutt-1.3.x.

 or...
 
 ,-
|| pdmef@klaus:~$ pkg_info -L libiconv-1.7_1
|| Information for libiconv-1.7_1:
|| /usr/local/include/giconv.h
|| /usr/local/lib/libgiconv.so
|| /usr/local/lib/libgiconv.so.2
 `-

This library is not used by mutt, since it is called libgiconv.so and not
libiconv.so. Also the libiconv port is at version 1.7.0.1 which fixes
that. 

Please update both ports and try again.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: Mutt dumps core...

2002-01-12 Thread Udo Schweigert

On Fri, Jan 11, 2002 at 23:22:54 +0100, Nils Holland wrote:
 Hi folks,
 I've been using Mutt for quite some time, and now I have a problem. My
 current mutt (1.2.5i on FreeBSD 4.5-PRERELEASE) seems to have some
 problems:
 
 I have set up mutt so that it accesses new mail that has been filtered into
 my various inboxes and, once I have read these new messages, moves them to
 other folders for later review by me.
 
 Now, my archive folders have always worked fine, i.e. I could always
 successfully access them when I wanted to look at some old message.
 However, today I noticed that when accessing a few (but not all) of these
 folders, mutt dumps core.
 
 I have tried several things, but I don't know what's wrong. Therefore, I
 uploaded one of my mbox files which triggers a core dump. It can be found
 at http://www.tisys.org/misc/xpert (it's a folder containing XFree86
 mailing list messages, about 3.3 MB in size). I'd appreciate if someone
 could try downloading and opening it it mutt, preferrably also in 1.2.5i,
 but probably also in the latest beta.
 
 If you try that and it also crashed your mutt, my mailbox file(s) must have
 gotten corrupt (although I could not find any sign for that). If it works
 for you, something must be wrong with my configuration ;-)
 
 So, I'd be glad if some folks would try this out and report the results to
 me. I've already tried opening the mailbox file(s) on all of my machines
 without success, so the only thing left to do is probably call others for a
 test...
 

I downloaded it and it works without any problem here (FreeBSD 4.5-RC, Mutt
1.3.25i). Have you compiled mutt youself? Maybe you should try the port from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/mail/mutt-devel-1.3.25_2.tgz.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: mutt configure --with-sasl

2001-11-26 Thread Udo Schweigert

On Mon, Nov 26, 2001 at 20:20:01 +0100, Volker Jahns wrote:
 I would like to configure mutt compile to include imap support w/ sasl
 authentication:
 
 
 configure --enable-pop --enable-imap --with-sasl
 terminates w/ error message:
 snip
 checking for sasl_client_init in -lsasl... no
 configure: error: could not find libsasl
 pegasus# ./configure --help
 snap
 
 what are the correct options for configure to finish w/o errors?
 
 I also tried:
 configure --enable-imap --with-sasl=/usr/local/lib
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so.8
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.a
 

This all is not sufficient, because the security/cyrus-sasl port installs
the header files in /usr/local/include/sasl, so we need a little change
to configure.in.

I emailed Volker a patch, if it works it will get committed.

(By the way: configure --enable-imap --with-sasl=/usr/local would have been
 the next best try ;-)

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: mutt configure --with-sasl

2001-11-26 Thread Udo Schweigert

 I emailed Volker a patch, if it works it will get committed.


To clarify that: I mean by this the FreeBSD port (no change in mutt's cvs tree
is required, since this is a pure FreeBSD problem related to its ports tree)

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]