Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
 I am trying to install mutt on sunos box but I get this error:
 
 checking whether iconv.h defines iconv_t... yes
 checking whether this iconv is good enough... no
 configure: error: Try using libiconv instead
 bash-2.05b$

config.log should have the details. Try looking for checking whether
this iconv is good enough and some errors around.

-- 
Vlad


pgpqkL4TkRkEZ.pgp
Description: PGP signature


Re: mutt-users@mutt.org

2008-04-24 Thread Ravi Uday
Hi Vlad,

Here it is:
Seems like configure couldn't find the SO.


configure:18489: checking whether this iconv is good enough
configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
-liconv 5
configure:18530: $? = 0
configure:18536: ./conftest
ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 1: 23577 Killed  ./conftest$ac_exeext
configure:18539: $? = 137
configure: program exited with status 137


Ravi

 On Thu, Apr 24, 2008 at 11:19 AM, Vladimir Marek [EMAIL PROTECTED] wrote:

 
   I am trying to install mutt on sunos box but I get this error:
  
   checking whether iconv.h defines iconv_t... yes
   checking whether this iconv is good enough... no
   configure: error: Try using libiconv instead
   bash-2.05b$
 
  config.log should have the details. Try looking for checking whether
  this iconv is good enough and some errors around.
 
  --
 Vlad
 




Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek

 I am trying to install mutt on sunos box but I get this error:

 Seems like configure couldn't find the SO.
 
 configure:18489: checking whether this iconv is good enough
 configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
 -liconv 5
 configure:18530: $? = 0
 configure:18536: ./conftest
 ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or 
 directory
 ./configure: line 1: 23577 Killed  ./conftest$ac_exeext
 configure:18539: $? = 137
 configure: program exited with status 137

You haven't specified which sunos you are running. Locate the iconv
library by

$ cat /var/sadm/install/contents | grep libiconv.so

You will have to set LD_LIBRARY_PATH appropriately. Chances are that
it's in /opt/csw/lib . If you don't have one, you can get one from
companion (sunfreeware.com).

-- 
Vlad


pgpAQAPyuVXiD.pgp
Description: PGP signature


Re: mutt-users@mutt.org

2008-04-24 Thread Ravi Uday
Thanks Vlad,

Here are more o/p:

bash-2.05b$ uname -a
SunOS 11 5.8 Generic_117350-34 sun4u sparc SUNW,Netra-T12

bash-2.05b$ cat /var/sadm/install/contents | grep libiconv.so
bash-2.05b$
nothing

But we hvae iconv dir under lib intact -

bash-2.05b$ cat /var/sadm/install/contents | grep iconv | more
/usr/bin/geniconvtbl f none 0555 root bin 123520 27123 947116526 SUNWcsu
/usr/bin/iconv f none 0555 root bin 11996 42547 947116534 SUNWcsu
/usr/include/iconv.h f none 0644 root bin 566 46749 947110181 SUNWhea
/usr/lib/iconv d none 0755 root bin SUNWkiu8x SUNWhiu8x SUNWcsu SUNWuiu8x SUNW
uiu8 SUNWciu8x SUNWtiu8x SUNWloc SUNWislcc SUNWislcx SUNWisolc SUNWisolx SUNWj
iu8x SUNWlocx
/usr/lib/iconv/646%8859.so f none 0755 bin bin 5520 34564 940251623 SUNWislcc
/usr/lib/iconv/646%ISO8859-1.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-2.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-4.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-5.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-7.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-9.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%UCS-2.so f none 0555 root bin 7116 54099 1042853349 SUNWuiu
8
/usr/lib/iconv/646%UCS-2BE.so f none 0555 root bin 7136 48707 1042853349 SUNWu
iu8

and

bash-2.05b$ ls  /opt/csw/lib
/opt/csw/lib: No such file or directory
bash-2.05b$

So sunfreeware.com is the way to go ?

Ravi


On Thu, Apr 24, 2008 at 12:02 PM, Vladimir Marek [EMAIL PROTECTED] wrote:

  I am trying to install mutt on sunos box but I get this error:
 
  Seems like configure couldn't find the SO.
 
  configure:18489: checking whether this iconv is good enough
  configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
  -liconv 5
  configure:18530: $? = 0
  configure:18536: ./conftest
  ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or 
  directory
  ./configure: line 1: 23577 Killed  ./conftest$ac_exeext
  configure:18539: $? = 137
  configure: program exited with status 137

 You haven't specified which sunos you are running. Locate the iconv
 library by

 $ cat /var/sadm/install/contents | grep libiconv.so

 You will have to set LD_LIBRARY_PATH appropriately. Chances are that
 it's in /opt/csw/lib . If you don't have one, you can get one from
 companion (sunfreeware.com).

 --
Vlad



Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
 bash-2.05b$ uname -a
 SunOS 11 5.8 Generic_117350-34 sun4u sparc SUNW,Netra-T12

Nice, telco machine (Netra).


 bash-2.05b$ cat /var/sadm/install/contents | grep libiconv.so
 bash-2.05b$
 nothing
 
 But we hvae iconv dir under lib intact -
 
 /usr/bin/iconv f none 0555 root bin 11996 42547 947116534 SUNWcsu
[...]

That's just the binary. Solaris is not supplied by default with
libiconv.

 bash-2.05b$ ls  /opt/csw/lib
 /opt/csw/lib: No such file or directory
 bash-2.05b$
 
 So sunfreeware.com is the way to go ?

One possible way. Personally I built GNU libiconv and linked mutt
statically with it. But that's just me.

It should be enough for you to install
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libiconv-1.11-sol8-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libintl-3.4.0-sol8-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libgcc-3.4.6-sol8-sparc-local.gz

after that

LD_LIBRARY_PATH=/usr/local/lib; export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib; export LD_RUN_PATH

I'm writing this without any testing, sorry if I missed something.

-- 
Vlad


pgpOo8cj2AGAA.pgp
Description: PGP signature