Goldendict is not a Macport, is it? So you should contact Goldendict developers 
for help on compiling under OS X.

The error below is caused by not having Phonon installed. The fact that you 
didn't recognize that makes me think you're getting in way over your head and 
should look for someone who can sit with you and help you along, starting with 
setting up all the prerequisites.

Davor


On 2012-08-31, at 1:13 PM, Gustavo Benedito Reis Costa wrote:

> Hi everybody,
> 
> I finished compiling and installing qt4-mac and I could quake, but when I 
> compiled Goldendict, it got many errors:
> 
> /usr/bin/llvm-g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 
> -mmacosx-version-min=10.8 -Wall -W -DPROGRAM_VERSION=\"1.0.1+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/opt/local/share/qt4/mkspecs/macx-g++ -I. -Ibuild -Imaclibs/include 
> -Iqtsingleapplication/src -I/opt/local/include/QtWebKit 
> -I/opt/local/include/phonon_compat -I/opt/local/include/phonon 
> -I/opt/local/include/QtXml -I/opt/local/include/QtGui 
> -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore 
> -I/opt/local/include -Ibuild -o build/articleview.o articleview.cc
> articleview.cc:33:32: error: phonon/audiooutput.h: No such file or directory
> articleview.cc:34:32: error: phonon/mediaobject.h: No such file or directory
> articleview.cc:43: error: ‘Phonon’ has not been declared
> articleview.cc:43: error: ISO C++ forbids declaration of ‘AudioOutput’ with 
> no type
> articleview.cc:43: error: expected ‘;’ before ‘output’
> articleview.cc:44: error: ‘Phonon’ has not been declared
> articleview.cc:44: error: ISO C++ forbids declaration of ‘MediaObject’ with 
> no type
> articleview.cc:44: error: expected ‘;’ before ‘object’
> articleview.cc: In constructor ‘AudioPlayer::AudioPlayer()’:
> articleview.cc:54: error: class ‘AudioPlayer’ does not have any field named 
> ‘output’
> articleview.cc:54: error: ‘Phonon’ has not been declared
> articleview.cc:56: error: ‘Phonon’ has not been declared
> articleview.cc:56: error: ‘object’ was not declared in this scope
> articleview.cc:56: error: ‘output’ was not declared in this scope
> articleview.cc: In member function ‘void 
> ArticleView::resourceDownloadFinished()’:
> articleview.cc:1189: error: ‘Phonon’ has not been declared
> articleview.cc:1189: error: expected `;' before ‘source’
> articleview.cc:1190: error: ‘source’ was not declared in this scope
> articleview.cc:1192: error: ‘struct AudioPlayer’ has no member named ‘object’
> articleview.cc:1193: error: ‘struct AudioPlayer’ has no member named ‘object’
> articleview.cc:1194: error: ‘struct AudioPlayer’ has no member named ‘object’
> articleview.cc:1195: error: ‘struct AudioPlayer’ has no member named ‘object’
> articleview.cc:1226: warning: comparison between signed and unsigned integer 
> expressions
> make: *** [build/articleview.o] Error 1
> 
> I have no idea with what happened with it. I saw the existence of 
> Goldendict.app on the folder "goldendict", but it was forbidden app to be 
> runned by being damaged.
> 
> Gustavo
> _______________________________________________
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to