Hello,
I can not compile this software.
Please, can you help me ?
I am on Ubuntu
tymop@tymop-MS-7596:~/Téléchargements/gspeakers-0.11$ uname -a Linux tymop-MS-7596 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
This is the resul of ./configure
tymop@tymop-MS-7596:~/Téléchargements/gspeakers-0.11$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking for gtkmm-2.4 libxml-2.0... yes
checking DEPS_CFLAGS... -std=c++11 -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2
checking DEPS_LIBS... -lgtkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... sv
checking how to run the C++ preprocessor... g++ -E
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking map usability... yes
checking map presence... yes
checking for map... yes
checking iterator usability... yes
checking iterator presence... yes
checking for iterator... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking strstream usability... yes
checking strstream presence... yes
checking for strstream... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating xml/Makefile
config.status: creating pixmaps/Makefile
config.status: creating gspeakers.desktop
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
and the result of make :
tymop@tymop-MS-7596:~/Téléchargements/gspeakers-0.11$ make make all-recursive make[1] : on entre dans le répertoire « /home/tymop/Téléchargements/gspeakers-0.11 » Making all in src make[2] : on entre dans le répertoire « /home/tymop/Téléchargements/gspeakers-0.11/src » if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -std=c++11 -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -Wall -O0 -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cc' || echo './'`main.cc; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi In file included from box.h:30:0, from boxeditor.h:30, from enclosurepaned.h:24, from mainwindow.h:27, from main.cc:9: gspeakersobject.h:21:27: fatal error: sigc++/object.h: Aucun fichier ou dossier de ce type compilation terminated. Makefile:336 : la recette pour la cible « main.o » a échouée make[2]: *** [main.o] Erreur 1 make[2] : on quitte le répertoire « /home/tymop/Téléchargements/gspeakers-0.11/src » Makefile:249 : la recette pour la cible « all-recursive » a échouée make[1]: *** [all-recursive] Erreur 1 make[1] : on quitte le répertoire « /home/tymop/Téléchargements/gspeakers-0.11 » Makefile:166 : la recette pour la cible « all » a échouée make: *** [all] Erreur 2
Ok, last time I touched this piece of code was 13 years ago. I wouldn't expect it to compile out of the box today.
From your error message my best guess is that you would have to install development package for libsigc++-2 (sigc++/object.h seems to be missing). However, I doubt that it will make it all the way through.
OK,
Sorry to wake up a so old topic, but I am very interested by your software.
It is the only one I found which is able to this work on linux.
Thank you for your help. I will try what you said.
Last edit: tymop 2017-02-15
I tried what yuo said, but it was already installed. So, I forced to reinstall this library, but it did not changed anything.
So I searched this sigc++ and I found it in /usr/include/sigc++-2.0/
And then, i see the file sigc++/object.h does not exist.
Do you know how I can repare this ?
I corrected this problem (sigc++/object.h), but then, there were a lot of glib include. I also repared these, but now, there are others problems which are not including library. (like returning 'void')
Here, it is too complicated for me.
Yes, you've the flag "-std=c++11", the c++11 standard was released 7 years after I wrote that code.
It probably wouldn't be that hard to correct all errors but get it to build with automake/autoconf, that would be a challange.
Someone built a package some years ago, you might try to download that. However, I doubt it will work. Sorry, no time to work on this thing these days...
Sorry, forgot to paste the link:
https://sites.google.com/site/rastafazz/
Thank you for the link.
But I do not find the compiled file.
The compiled file is in gspeakers-0.11\src. However, I don't have access to a Linux machine where I can test this. I doubt it will work. I would like to get this to compile on a modern linux but I doubt I'll find enough time to do that...
OK, I tried, and as you said, it do not work. (error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory).
So much the worse, we will have tried.
Thank again.