Menu

#303 iconv problem on FreeBSD

2.0 Series
closed-fixed
2
2005-04-19
2004-12-15
Anonymous
No

I'm currently using NSIS-2.0.1

compiling on FreeBSD still requires some manual tweaks
since the iconv library is not part of the c library
(added -liconv to LIBS, -I/usr/local/include and -L/usr/local/lib
where required etc.)

creating an installer on FreeBSD fails on unicode conversion.

As fas as I have been able to deternine this is a byte order mark
problem.

I Changed the UCS-2 to UCS-2LE in DialogTemplate.cpp
to get it going, bu I'm not sure this is the correct solution.

I'm not sure this is due to differences in libiconv in glibc
and the libiconv on FreeBSD or something else.

Discussion

  • Amir Szekely

    Amir Szekely - 2004-12-16
    • assigned_to: nobody --> kichik
     
  • Amir Szekely

    Amir Szekely - 2004-12-16

    Logged In: YES
    user_id=584402

    There were a couple of fixed bugs in Unicode conversion code
    lines. Some were fixed after 2.03. The latest CVS version
    should be free of Unicode conversion bugs on POSIX.

    I'll take a look how libiconv can be automatically included
    in the makefile without causing an error on systems where
    libiconv is part of libc.

     
  • Amir Szekely

    Amir Szekely - 2005-01-29
    • priority: 5 --> 2
     
  • Amir Szekely

    Amir Szekely - 2005-04-19
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2005-04-19

    Logged In: YES
    user_id=584402

    The new SCons based build system will now search for the
    correct iconv library to link to. Please open a new bug
    report if you have any other problems with the new build system.

     
  • Amir Szekely

    Amir Szekely - 2005-04-19
    • labels: --> Build System
     

Log in to post a comment.