On Thu, Feb 23, 2012 at 9:01 PM, Atte André Jensen wrote:
Hi
I'm trying to install sineshaper on arch, but fail. It might be something
obvious, sorry if I'm just being stupid. Any help towards a running
sineshaper would be greatly appreciated.
[...]
And through yaourt:
In file included from /usr/include/glib-2.0/glib/gtypes.h:34:0,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glibmm-2.4/glibmm/unicode.h:27,
from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
from
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:24,
from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
from /usr/include/glibmm-2.4/glibmm.h:84,
from /usr/include/libglademm-2.4/libglademm/xml.h:7,
from /usr/include/libglademm-2.4/libglademm.h:29,
from sineshapergui.hpp:4,
from sineshapergui.cpp:7:
/usr/lib/glib-2.0/include/glibconfig.h:52:18: warning: ISO C++ 1998 does not
support ‘long long’ [-Wlong-long]
/usr/lib/glib-2.0/include/glibconfig.h:53:18: warning: ISO C++ 1998 does not
support ‘long long’ [-Wlong-long]
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O3 -fomit-frame-pointer
-fstrength-reduce -funroll-loops -ffast-math -DNDEBUG -Wall -ansi -pedantic
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o
sineshaper_gtk sineshaper_gtk-main.o sineshaper_gtk-presetmanager.o
sineshaper_gtk-skindial_gtkmm.o sineshaper_gtk-sineshapergui.o -pthread
-lglademm-2.4 -lglade-2.0 -lxml2 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4
-lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0
-lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -llo -lpthread
../common/libdssi_ui.la ../common/libdssi_common.la
g++ -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math
-DNDEBUG -Wall -ansi -pedantic -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
-Wl,-z -Wl,relro -Wl,--hash-style=gnu -o sineshaper_gtk
sineshaper_gtk-main.o sineshaper_gtk-presetmanager.o
sineshaper_gtk-skindial_gtkmm.o sineshaper_gtk-sineshapergui.o -pthread
-lglademm-2.4 -lglade-2.0 -lxml2 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4
-lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0
-lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -llo -lpthread
../common/.libs/libdssi_ui.a ../common/.libs/libdssi_common.a
/usr/bin/ld: ../common/.libs/libdssi_ui.a(dssiuiclient.o): undefined
reference to symbol 'g_thread_init'
/usr/bin/ld: note: 'g_thread_init' is defined in DSO
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../libgthread-2.0.so so try
adding it to the linker command line
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../libgthread-2.0.so: could not
read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [sineshaper_gtk] Error 1
make[2]: Leaving directory
`/tmp/yaourt-tmp-atte/aur-sineshaper/src/sineshaper-0.4.2/src/sineshaper'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/yaourt-tmp-atte/aur-sineshaper/src/sineshaper-0.4.2/src'
make: *** [all-recursive] Error 1
Hi Atte,
the same here. Adding the line
LDFLAGS="/usr/lib/libgthread-2.0.so"
before ./configure (in the PKGBUILD) did it for me.
best,
david