Modify

Ticket #196 (new defect)

Opened 3 years ago

Last modified 3 years ago

Problem determining iconv() input type

Reported by: benke Owned by: lbponey
Priority: major Milestone: Release 0.3
Component: museek_general Version: 0.2
Keywords: Cc:

Description

Just installed libiconv 1.12 but cmake fails to determine iconv() input type:

benke:$ cmake -DPREFIX=/usr/local -DCMAKE_REQUIRED_INCLUDES=/usr/local/include -DNO_PYMUCIPHER=1 -DBINDINGS=0 -DMURMUR=0 -DMUCOUS=0 -DCLIENTS=0 DECLARATIONS: PREFIX (/usr), MANDIR (PREFIX/man) Package options: EVERYTHING, NO_MUSEEKD, NO_MUSCAN, NO_SETUP, NO_MUSEEQ, NO_PYMUCIPHER, BINDINGS, MURMUR, MUCOUS, CLIENTS Museeq options: BINRELOC, DATADIR (PREFIX/share), RELOAD_TRANSLATIONS Prefix these declarations with -D and set them with either 1, 0 or a path. Set -DEVERYTHING=1 if you want it all CMake Error at CMakeLists.txt:199 (message):

Problem with iconv: could not determine iconv() input type.

-- Configuring incomplete, errors occurred!

I have same iconv.h in both /usr/include and /usr/local/include. Let me know if you need more details...

Attachments

Change History

comment:1 Changed 3 years ago by lbponey

Can you give the result of this command please?:

cat /usr/include/iconv.h | grep "size_t iconv" -A 4

thanks

comment:2 Changed 3 years ago by benke

Sure:

benke:$ cat /usr/include/iconv.h | grep "size_t iconv" -A 4 extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);

/* Frees resources allocated for conversion descriptor `cd'. */ #ifndef LIBICONV_PLUG #define iconv_close libiconv_close

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.