Re: iconv stuff on solaris still unresolved

2002-10-15 Thread Alain Bench

Hello Sven,

 On Sunday, October 13, 2002 at 12:52:14 AM +0200, Sven Guckes wrote:

> this iconv stuff just doesn't work on solaris.

I don't understand the problem: Quick scanning your mails here since
July shows you sometimes quote and write accented chars correctly, and
sometimes not. Noted that's never good in your attribution lines, appart
this one for Ren‚ (hand typed e acute?). You use different builds of
Mutt, or different setups, right?


> i downloaded the latest iconv lib and installed it, recompiled mutt
> --with-iconv=$HOME

That's not always enough on systems having their own integrated
iconv functions. Can you confirm it's linked with
$HOME/lib/libiconv.so.2 using something equivalent to ldd or chatr for
Solaris? Otherwise you could try to play with
"export LDFLAGS=-L$HOME/lib" before configure.

| $ ldd /usr/local/bin/mutt
|   libncurses.so.5 => /usr/local/lib/libncurses.so.5
|   libiconv.so.2 => /usr/local/lib/libiconv.so.2
|   libc.so.5 => /lib/libc.so.5


> but no go. this *really* bugs me, too... *grr*

What's your terminal, it's charset, your $charset and locale?

Here is a test CP-850 n tilde (164 A4): "¤"

Please describe what you see in pager, and when piped to less. And
quote it back.


 On Sunday, October 13, 2002 at 1:12:59 AM +0200, Sven Guckes wrote:

> the solaris admin chose to install only the language stuff for "C" -
> and no others...

You mean locale C/POSIX? This would be a problem too... But you can
install a private locale in $HOME: find source files (locales and
charsets), build a choosen one giving a destination in $HOME, and use it
in $LANG/$LC_* with absolute path. Like:

| $ localedef -i de_DE -f ISO-8859-1 $HOME/de_DE
| Computing table size for character classes might take a while... done
| Computing table size for collation information might take a while... done
|
| $ ls -ld $HOME/de_DE
| drwxr-xr-x   2 alainalain1024 Oct 15 02:21 /home/alain/de_DE/
|
| $ LC_ALL=$HOME/de_DE checklocale
|   [...]
| current settings:
| LC_ALL  = "/home/alain/de_DE"
| LANG= "fr_FR.cp-1252@euro"
| LC_MESSAGES = "C"
| LC_COLLATE  = "C"
|
| Overriding all locale categories with LC_ALL succeeded.
|   [...snip perfect ISO isprint() table...]

Note I cheated: A bug here (libc5) makes this doesn't work as
standard say. I had to use the relative path "../../..$HOME/de_DE"
really (3 levels up from /usr/share/locale).


Bye!Alain.



RE: iconv stuff on solaris still unresolved

2002-10-14 Thread John Haviland

I recently installed mutt (1.4) on a number of solaris machines: sol7 and
sol8. I needed libiconv and I certainly had to be root, regardless of my
target. It was not a simple install but it did work reliably once I did the
configure correctly per below:

I first set LD_RUN_PATH and LD_LIBRARY_PATH to /usr/local/lib

./configure --disable-nls --enable-buffy --enable-locales-fix --enable-pop -
-with-regex --prefix=.

I guess the with-regex is sort of critical for solaris.

Hope this helps.

john

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David Champion
Sent: Tuesday, 15 October 2002 02:34
To: [EMAIL PROTECTED]
Subject: Re: iconv stuff on solaris still unresolved


* On 2002.10.13, in <[EMAIL PROTECTED]>,
*   "Sven Dogbert Guckes" <[EMAIL PROTECTED]> wrote:
>
> so - what *is* required then?

I don't know: I install Solaris (with all the language options), I
compile mutt. Mutt works.


> well - +HAVE_ICONV, for sure.
> but is +ICONV_NONTRANS? what?

I don't know. Do you want me to find out what ICONV_NONTRANS is and
report back? I only pasted it because you did, and I figured you'd be
irritated if I didn't include mine. You don't really have room to be
snotty today. Today it's *your* problem that someone else is trying to
contribute information to.


> besides, you did not specify
> the kind of solaris you use.

No, I didn't. I probably should have, but neglected to because I've
had success on all recent revs -- some minor issues on 7, but it works
perfectly on 8, which is what you use. No trouble along these lines on 9
beta, either. I haven't upgraded to 9 FCS yet.


I'll add that I don't have any particularly strange libraries linked.
The usual Sun base and networking libraries, libgen for regexes. I
suppose you might not have libintl (mine does, of course), but that
would be very strange on your side.


Sven, if you have a question, please ask. But don't get irritable
because I didn't dissect my installation to find out why yours doesn't
work. Perhaps you should post your configure output, or mail it to me
directly. I'd be glad to look over it, if you like.

--
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special
coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE!
NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.




Re: iconv stuff on solaris still unresolved

2002-10-14 Thread David Champion

* On 2002.10.13, in <[EMAIL PROTECTED]>,
*   "Sven Dogbert Guckes" <[EMAIL PROTECTED]> wrote:
> 
> so - what *is* required then?

I don't know: I install Solaris (with all the language options), I
compile mutt. Mutt works.


> well - +HAVE_ICONV, for sure.
> but is +ICONV_NONTRANS? what?

I don't know. Do you want me to find out what ICONV_NONTRANS is and
report back? I only pasted it because you did, and I figured you'd be
irritated if I didn't include mine. You don't really have room to be
snotty today. Today it's *your* problem that someone else is trying to
contribute information to.


> besides, you did not specify
> the kind of solaris you use.

No, I didn't. I probably should have, but neglected to because I've
had success on all recent revs -- some minor issues on 7, but it works
perfectly on 8, which is what you use. No trouble along these lines on 9
beta, either. I haven't upgraded to 9 FCS yet.


I'll add that I don't have any particularly strange libraries linked.
The usual Sun base and networking libraries, libgen for regexes. I
suppose you might not have libintl (mine does, of course), but that
would be very strange on your side.


Sven, if you have a question, please ask. But don't get irritable
because I didn't dissect my installation to find out why yours doesn't
work. Perhaps you should post your configure output, or mail it to me
directly. I'd be glad to look over it, if you like.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Sven Guckes

* David Champion <[EMAIL PROTECTED]> [2002-10-13 19:32]:
> * On 2002.10.12, in <[EMAIL PROTECTED]>,
> * "Sven Dogbert Guckes" <[EMAIL PROTECTED]> wrote:
> >
> > so - is anyone using mutt 1.4 with iconv on solaris successfully?
> > mind you - i am not root, so all my stuff resides in my $HOME.
>
> I'm using 1.5.1 on Solaris, and before that I used 1.3.x on
> Solaris, all successfully. I use the native iconv, though, not
> libiconv. I didn't do anything special; it "just worked".
>
> +HAVE_ICONV  +ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
>
> I've built 1.4 on Solaris with no trouble, but I don't regularly use it.
>
>
> > i once tried to resolve this but i think the bottom line was
> > that it all is of no use because the solaris admin chose to
> > install only the language stuff for "C" - and no others...
>
> Well, that would be a problem. But it's not fair or correct
> to say that this iconv stuff just doesn't work on Solaris.

so - what *is* required then?
well - +HAVE_ICONV, for sure.
but is +ICONV_NONTRANS? what?

besides, you did not specify
the kind of solaris you use.

Sven



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread David Champion

* On 2002.10.12, in <[EMAIL PROTECTED]>,
*   "Sven Dogbert Guckes" <[EMAIL PROTECTED]> wrote:
> 
> so - is anyone using mutt 1.4 with iconv on solaris successfully?
> mind you - i am not root, so all my stuff resides in my $HOME.

I'm using 1.5.1 on Solaris, and before that I used 1.3.x on Solaris, all
successfully. I use the native iconv, though, not libiconv. I didn't do
anything special; it "just worked".

+HAVE_ICONV  +ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  

I've built 1.4 on Solaris with no trouble, but I don't regularly use it.


> i once tried to resolve this but i think the bottom line was
> that it all is of no use because the solaris admin chose to
> install only the language stuff for "C" - and no others...

Well, that would be a problem. But it's not fair or correct to say that
this iconv stuff just doesn't work on Solaris.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Sven Guckes

* Piotr Kasztelowicz <[EMAIL PROTECTED]> [2002-10-12 23:04]:
> On Sun, 13 Oct 2002, Sven Guckes wrote:
> > and installed it, recompiled mutt --with-iconv=$HOME -
> it can be. I have like you experiences with
> mutt, iconv, Solaris 7, gcc 3.2 and gnumake

so that makes two of us.

well, i suppose i might be related because
technically we use different versions:

  system:   SunOS 5.8 Generic_108528-13 sun4u sparc
  programs: libiconv 1.8, gcc 2.95.3, GNU make 3.77,
  mutt 1.4 + ncurses 5.2 + +HAVE_ICONV -ICONV_NONTRANS

so - is anyone using mutt 1.4 with iconv on solaris successfully?
mind you - i am not root, so all my stuff resides in my $HOME.

i once tried to resolve this but i think the bottom line was
that it all is of no use because the solaris admin chose to
install only the language stuff for "C" - and no others...

Sven

===
$ ls -l libiconv-1.8.tar.gz
.. 3514117 May 29 19:46 libiconv-1.8.tar.gz

$ gcc --version
2.95.3

$ make --version
GNU Make version 3.77..

$ mutt -v
Mutt 1.4i (2002-05-29) ...
System: SunOS 5.8 (sun4u) [using ncurses 5.2]
Compile options: ...  +HAVE_ICONV  -ICONV_NONTRANS

$ uname -a
SunOS ritz 5.8 Generic_108528-13 sun4u sparc



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Sven Guckes

* René Clerc <[EMAIL PROTECTED]> [2002-10-12 16:46]:
> * Sven Guckes <[EMAIL PROTECTED]> [11-10-2002 20:25]:
>
> [all context]
>
> > * Ren Clerc <[EMAIL PROTECTED]> [2002-10-11 16:01]:
>
>   ^^
>
> This grieves me, Sven...

sorry, man.  this iconv stuff
just doesn't work on solaris.

i downloaded the latest iconv lib
and installed it, recompiled
mutt --with-iconv=$HOME -
but no go.  this *really*
bugs me, too...  *grr*

Sven



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Piotr Kasztelowicz

On Sun, 13 Oct 2002, Sven Guckes wrote:

> and installed it, recompiled
> mutt --with-iconv=$HOME -

it can be. I have like you experiences with mutt, iconv,
Solaris 7, gcc 3.2 and gnumake

Piotr
--
Piotr Kasztelowicz  [EMAIL PROTECTED]
http://www.am.torun.pl/~pekasz