Esn
(:";
I figure I should make a single thread for some basic newbie questions that I have.
I'm trying to port a few programs and roughly following the steps of mcobit's tutorial while using Stuckie's new Lenny Dev Extend.
1) With Solfege, I did everything up to "make install", but when I tried to run it, I got a bunch of gtk/gdk display errors. What's wrong here?
2) The readme of one program tells me that it uses some other programs and that these should be "on the executable path". What does that mean, exactly, in this context?
3) When configuring one program, I get the message "Searching font files ... TrueType font-spec not found". What exactly do I do here? I searched the Debian repo for various "ttf" packages, but I'm not sure that that's what it means... there are very many of them. I installed a few, but nothing changed.
4) I configured "eatuner" and then did "make", but got a whole lot of errors that I'm not sure what to make of:
I'm trying to port a few programs and roughly following the steps of mcobit's tutorial while using Stuckie's new Lenny Dev Extend.
1) With Solfege, I did everything up to "make install", but when I tried to run it, I got a bunch of gtk/gdk display errors. What's wrong here?
Code:
esn-openpandora:~/solfege-3.18.8$ cd /mnt/utmp/solfege
esn-openpandora:/mnt/utmp/solfege$ ./bin/solfege
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/mnt/utmp/solfege/share/solfege/solfege/esel.py:135: GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed
max_exercise_label_width = int(gtk.gdk.screen_width() * 0.90)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:28: Warning: invalid (NULL) pointer instance
gtk.Dialog.__init__(self)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:28: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
gtk.Dialog.__init__(self)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:38: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
scrollwin = gtk.ScrolledWindow()
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
scrollwin.add(self.g_text)
/mnt/utmp/solfege/share/solfege/solfege/tracebackwindow.py:42: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
scrollwin.add(self.g_text)
Segmentation fault
esn-openpandora:/mnt/utmp/solfege$
2) The readme of one program tells me that it uses some other programs and that these should be "on the executable path". What does that mean, exactly, in this context?
3) When configuring one program, I get the message "Searching font files ... TrueType font-spec not found". What exactly do I do here? I searched the Debian repo for various "ttf" packages, but I'm not sure that that's what it means... there are very many of them. I installed a few, but nothing changed.
4) I configured "eatuner" and then did "make", but got a whole lot of errors that I'm not sure what to make of:
Code:
esn-openpandora:~/eatuner$ make
make all-recursive
make[1]: Entering directory `/home/esn/eatuner'
Making all in po
make[2]: Entering directory `/home/esn/eatuner/po'
make[2]: Leaving directory `/home/esn/eatuner/po'
Making all in intl
make[2]: Entering directory `/home/esn/eatuner/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/esn/eatuner/intl'
Making all in src
make[2]: Entering directory `/home/esn/eatuner/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I../intl -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOCALEDIR=\"/mnt/utmp/eatuner/share/locale\" -g -O2 -MT analyser.o -MD -MP -MF .deps/analyser.Tpo -c -o analyser.o analyser.cc
analyser.cc:21:19: error: fftw3.h: No such file or directory
In file included from analyser.h:27,
from analyser.cc:24:
tunerconfig.h: In member function 'void config::settatype(tuner_audio_type)':
tunerconfig.h:132: error: 'NULL' was not declared in this scope
tunerconfig.h: In member function 'tuneraudio& config::getaudio()':
tunerconfig.h:136: error: 'NULL' was not declared in this scope
tunerconfig.h: In member function 'void config::resettaudio()':
tunerconfig.h:167: error: 'NULL' was not declared in this scope
In file included from analyser.cc:24:
analyser.h: At global scope:
analyser.h:61: error: ISO C++ forbids declaration of 'fftw_complex' with no type
analyser.h:61: error: expected ';' before '*' token
analyser.cc: In constructor 'analyser::analyser()':
analyser.cc:30: error: 'NULL' was not declared in this scope
analyser.cc:30: error: class 'analyser' does not have any field named 'out'
analyser.cc: In destructor 'analyser::~analyser()':
analyser.cc:35: error: 'NULL' was not declared in this scope
analyser.cc:36: error: 'fftw_free' was not declared in this scope
analyser.cc:37: error: 'out' was not declared in this scope
analyser.cc:37: error: 'NULL' was not declared in this scope
analyser.cc:38: error: 'fftw_free' was not declared in this scope
analyser.cc: In member function 'bool analyser::calc(smpl_seq&)':
analyser.cc:42: error: 'fftw_plan' was not declared in this scope
analyser.cc:42: error: expected `;' before 'p'
analyser.cc:50: error: 'fftw_free' was not declared in this scope
analyser.cc:51: error: 'out' was not declared in this scope
analyser.cc:52: error: 'fftw_free' was not declared in this scope
analyser.cc:53: error: 'fftw_malloc' was not declared in this scope
analyser.cc:54: error: 'out' was not declared in this scope
analyser.cc:54: error: 'fftw_complex' was not declared in this scope
analyser.cc:54: error: expected primary-expression before ')' token
analyser.cc:54: error: expected `;' before 'fftw_malloc'
analyser.cc:67: error: 'p' was not declared in this scope
analyser.cc:67: error: 'out' was not declared in this scope
analyser.cc:67: error: 'FFTW_FORWARD' was not declared in this scope
analyser.cc:67: error: 'fftw_plan_dft_r2c_1d' was not declared in this scope
analyser.cc:68: error: 'fftw_execute' was not declared in this scope
analyser.cc:69: error: 'fftw_destroy_plan' was not declared in this scope
analyser.cc: In member function 'double analyser::calcAmpl(int)':
analyser.cc:166: error: 'out' was not declared in this scope
make[2]: *** [analyser.o] Error 1
make[2]: Leaving directory `/home/esn/eatuner/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/esn/eatuner'
make: *** [all] Error 2
Last edited by a moderator: