I'm now one of freebsd users switching from archlinux.When I was an archlinux user, goldendict-git was my favorite dict program,and now I just wanna use it on FB.I tried to compile it from git,while it complained:
- Code: Select all
[justin@YZMSQ /usr/home/justin/pkg/goldendict]$ qmake-qt4
[justin@YZMSQ /usr/home/justin/pkg/goldendict]$ make
g++ -c -pipe -rdynamic -O2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/hunspell -Wall -W -DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\" -DPROGRAM_VERSION=\"0.9.0+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../../local/include/qt4/QtCore -I../../../../local/include/qt4/QtNetwork -I../../../../local/include/qt4/QtGui -I../../../../local/include/qt4/QtXml -I../../../../local/kde4/include/phonon -I../../../../local/include/qt4/QtWebKit -I../../../../local/include/qt4 -I. -I/usr/local/include/qt4/phonon_compat -Ibuild -Ibuild -I../../../../local/include -o build/bgl_babylon.o bgl_babylon.cc
bgl_babylon.cc: In member function 'void Babylon::convertToUtf8(std::string&, unsigned int)':
bgl_babylon.cc:662: error: invalid conversion from 'char**' to 'const char**'
bgl_babylon.cc:662: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
*** Error code 1
Stop in /usr/home/justin/pkg/goldendict.
I've installed all the dependency goldendict needs.So,what's wrong with my way?Hopefully you might help me,thank you.
- Code: Select all
[justin@YZMSQ /usr/home/justin/pkg/goldendict]$ pkg_info|grep qt4
qt4-4.6.3 Multiplatform C++ application framework (metaport)
qt4-accessible-4.6.3 Qt accessibility widgets
qt4-assistant-4.6.3 Qt documentation browser
qt4-assistant-adp-4.6.3 Qt documentation browser, adp compat version
qt4-clucene-4.6.3 QtCLucene full text search library wrapper
qt4-corelib-4.6.3_1 Qt core library
qt4-dbus-4.6.3 Qt4 bindings for the D-BUS messaging system
qt4-designer-4.6.3 Qt ui editor
qt4-doc-4.6.3 Multiplatform C++ application framework
qt4-gui-4.6.3 Qt graphical user interface library
qt4-help-4.6.3 QtHelp module provides QHelpEngine API and is used by Assis
qt4-iconengines-4.6.3 Qt SVG icon engine plugin
qt4-imageformats-4.6.3 Qt imageformat plugins for GIF, JPEG, MNG and SVG
qt4-inputmethods-4.6.3 Qt input method plugins
qt4-l10n-4.6.3 Qt translations messages
qt4-libQtAssistantClient-4.6.3 Qt documentation browser integration library
qt4-linguist-4.6.3 Qt localisation tool
qt4-moc-4.6.3 Qt meta object compiler
qt4-multimedia-4.6.3 Qt4 low-level multimedia API
qt4-network-4.6.3 Qt network library
qt4-opengl-4.6.3 Qt OpenGL library
qt4-qdbusviewer-4.6.3 Qt4 D-BUS viewer
qt4-qmake-4.6.3 The build utility of the Qt project
qt4-qt3support-4.6.3_1 Qt3 compatibility library
qt4-qtconfig-4.6.3 Qt graphical configuration utility
qt4-qtestlib-4.6.3 Qt unit testing library
qt4-qvfb-4.6.3 Qt virtual framebuffer utility
qt4-rcc-4.6.3 Qt resource compiler
qt4-script-4.6.3 Qt script
qt4-scripttools-4.6.3 Qt script
qt4-sql-4.6.3 Qt SQL library
qt4-sqlite-plugin-4.6.3 Qt SQLite 3.x database plugin
qt4-svg-4.6.3 Qt SVG library
qt4-uic-4.6.3 Qt user interface compiler
qt4-webkit-4.6.3 Qt4 WebKit engine
qt4-xml-4.6.3 Qt XML library
qt4-xmlpatterns-4.6.3 XQuery 1.0 and XPath 2.0 support for Qt4
qt4-xmlpatterns-tool-4.6.3 Qt4 command line utility for running XQueries