problems with building "unalz"
running.cz at gmail.com
Tue Apr 21 06:00:36 PDT 2009
I wanted to build unalz to decompress one file with this stupid format
(.alz). The only way to do it is through Unalz program.
But, when trying to install (on intel mac), all I get is this:
---> Building unalz
Error: Target org.macports.build returned: shell command " cd
&& make posix-utf8 " returned error 2
Command output: g++ -c UnAlz.cpp -c UnAlzUtils.cpp -c main.cpp
-D_UNALZ_ICONV -D_UNALZ_UTF8 -D_LARGEFILE64_SOURCE
UnAlz.cpp: In member function 'BOOL UNALZ::CUnAlz::ReadLocalFileheader()':
UnAlz.cpp:462: error: invalid conversion from 'const char**' to 'char**'
UnAlz.cpp:462: error: initializing argument 2 of 'size_t
iconv(void*, char**, size_t*, char**, size_t*)'
UnAlz.cpp:466: error: 'errno' was not declared in this scope
UnAlz.cpp:466: error: 'EILSEQ' was not declared in this scope
UnAlz.cpp:468: error: 'EINVAL' was not declared in this scope
UnAlz.cpp:470: error: 'E2BIG' was not declared in this scope
make: *** [posix-utf8] Error 1
Error: Status 1 encountered during processing.
I think there is an error somewhere in the c++ file, but I have no
clue what to do. I have the newest macports installed. Is there
something I can do?
More information about the macports-users