Hi,
When I run fink install qt4-x11 I get a compile error:

codecs/qiconvcodec.cpp:107: error: invalid conversion from 'const char**' to
'char**'

I tried running fink -l build qt4-x11-core-shlibs but get the same error. I
have to admit to having previously installed the mac os version of qt4 -
could this have anything to do with it. 

thanks, more info below:

g++-4.0 -c -include .pch/release-shared/QtCore -pipe
-I/sw/src/fink.build/qt4-x11-4.3.2-1021/qt-copy/include
-I/sw/src/fink.build/qt4-x11-4.3.2-1021/qt-copy/include/Qt
-I/sw/src/fink.build/qt4-x11-4.3.2-1021/qt-copy/include/QtCore
-I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2
-I/sw/lib/fontconfig2/include -I/sw/lib/fontconfig2/include
-I/usr/X11R6/include -I/sw/include -fno-exceptions -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -Os -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -D__USE_WS_X11__
-DQT_DBUS_INIT_DEFAULT=1 -D__USE_WS_X11__=1 -DQT_BUILD_CORE_LIB
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH
-DQT3_SUPPORT -DQT_MOC_COMPAT -DGNU_LIBICONV -DQT_NO_DEBUG
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/darwin-g++ -I.
-I../../include -I../../include/QtCore -Iglobal -I.moc/release-shared
-I.uic/release-shared -o .obj/release-shared/qiconvcodec.o
codecs/qiconvcodec.cpp
codecs/qiconvcodec.cpp: In member function 'virtual QString
QIconvCodec::convertToUnicode(const char*, int, QTextCodec::ConverterState*)
const':
codecs/qiconvcodec.cpp:107: error: invalid conversion from 'const char**' to
'char**'
codecs/qiconvcodec.cpp:107: error:   initializing argument 2 of 'size_t
libiconv(void*, char**, size_t*, char**, size_t*)'
codecs/qiconvcodec.cpp: In member function 'virtual QByteArray
QIconvCodec::convertFromUnicode(const QChar*, int,
QTextCodec::ConverterState*) const':
codecs/qiconvcodec.cpp:175: error: invalid conversion from 'const char**' to
'char**'
codecs/qiconvcodec.cpp:175: error:   initializing argument 2 of 'size_t
libiconv(void*, char**, size_t*, char**, size_t*)'
codecs/qiconvcodec.cpp:191: error: invalid conversion from 'const char**' to
'char**'
codecs/qiconvcodec.cpp:191: error:   initializing argument 2 of 'size_t
libiconv(void*, char**, size_t*, char**, size_t*)'
make[1]: *** [.obj/release-shared/qiconvcodec.o] Error 1
make: *** [sub-corelib-make_default-ordered] Error 2
### execution of /var/tmp/tmp.1.wVfDYl failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-qt4-x11-4.3.2-1021
(Reading database ... 7401 files and directories currently installed.)
Removing fink-buildlock-qt4-x11-4.3.2-1021 ...
Failed: phase compiling: qt4-x11-4.3.2-1021 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        Benjamin Reed <[EMAIL PROTECTED]>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


-- 
View this message in context: 
http://www.nabble.com/Problem-with-qt4-x11-from-mac-newcomer-tp14554179p14554179.html
Sent from the fink-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to