Boost logo

Boost :

Subject: [boost] [Locale] On Mac OS X 10.6 fails to find iconv
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2011-07-18 08:12:51


Hello,

I need a help from Mac OS X users, I have many
faults on Darwin:
http://beta.boost.org/development/tests/trunk/developer/locale.html

Where all GCC's are related to inability to find iconv for some reason.

On my darwin 8.01 x86 I have no problems to
compile this simple program:

has_iconv.cpp

    #include <iconv.h>
    
    int main()
    {
        iconv_t d = iconv_open(0,0);
        (void)(d);
    }

With

    g++ has_iconv.cpp -liconv

Also BBv2 script of Boost.Locale finds the iconv without
a problem, so I'm quite lost.

So if anybody that uses Boost from svn-trunk can check why
has_iconv test fails (if it is on their machines) and see if

./bjam libs/locale/test prints

.......
    - iconv (libc) : no
    - iconv (separate) : no
.......

And for what reason (if the sample code above
compiles)

I would be grateful.

Because I have no idea what happens there and
I don't have Mac only Darwin 8 which handles it
properly.

 Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.sf.net/
CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk