dirkvdb / gejengel

Automatically exported from code.google.com/p/gejengel
GNU General Public License v2.0
2 stars 1 forks source link

error compiling Gejengel #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi:
I am trying to compile the last Gejengel version 0.1.2. (using Ubuntu 9.04
+ openbox )
But I always have an error:

pepe@pepe:~/Desktop/gejengel-0.1.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.40.6 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  nl es
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... yes
checking for GLIBMM... yes
checking for PANGOMM... yes
checking for SEXYMM... yes
checking for SQLITE3... yes
checking for TAGLIB... yes
checking for IMAGEMAGICK... yes
checking for XDGBASEDIR... yes
checking for LIBNOTIFY... yes
checking for DBUS... yes
checking for LASTFM... no
checking for FLAC... no
checking for MAD... no
checking for FFMPEG... no
checking for ALSA... no
checking for OPENAL... yes
checking for PULSE... no
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: creating ./config.status
config.status: creating data/gejengel.desktop
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
configure: error: WARNING: You didn't enable any audio decoders
pepe@pepe:~/Desktop/gejengel-0.1.2$ 

pepe@pepe:~/Desktop/gejengel-0.1.2$ make
make  all-recursive
make[1]: se ingresa al directorio `/home/pepe/Desktop/gejengel-0.1.2'
Making all in po
make[2]: se ingresa al directorio `/home/pepe/Desktop/gejengel-0.1.2/po'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/pepe/Desktop/gejengel-0.1.2/po'
make[2]: se ingresa al directorio `/home/pepe/Desktop/gejengel-0.1.2'
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   
-I./src -DGEJENGEL_LOCALEDIR=\"/usr/local/share/locale\"
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -D_REENTRANT
-MT libutils_la-fileoperations.lo -MD -MP -MF
.deps/libutils_la-fileoperations.Tpo -c -o libutils_la-fileoperations.lo
`test -f 'src/Utils/fileoperations.cpp' || echo
'./'`src/Utils/fileoperations.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src
-DGEJENGEL_LOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -D_REENTRANT -MT
libutils_la-fileoperations.lo -MD -MP -MF
.deps/libutils_la-fileoperations.Tpo -c src/Utils/fileoperations.cpp  -fPIC
-DPIC -o .libs/libutils_la-fileoperations.o
src/Utils/fileoperations.cpp: In function ‘std::string
FileOperations::getConfigDirectory()’:
src/Utils/fileoperations.cpp:368: error: ‘xdgInitHandle’ no se declaró en
este ámbito
src/Utils/fileoperations.cpp:373: error: no se puede convertir ‘<anonymous
struct>**’ a ‘<anonymous struct>*’ para el argumento ‘1’ para 
‘const char*
xdgConfigHome(<anonymous struct>*)’
src/Utils/fileoperations.cpp:374: error: ‘xdgWipeHandle’ no se declaró en
este ámbito
src/Utils/fileoperations.cpp: In function ‘std::string
FileOperations::getDataDirectory()’:
src/Utils/fileoperations.cpp:382: error: ‘xdgInitHandle’ no se declaró en
este ámbito
src/Utils/fileoperations.cpp:387: error: no se puede convertir ‘<anonymous
struct>**’ a ‘<anonymous struct>*’ para el argumento ‘1’ para 
‘const char*
xdgDataHome(<anonymous struct>*)’
src/Utils/fileoperations.cpp:388: error: ‘xdgWipeHandle’ no se declaró en
este ámbito
make[2]: *** [libutils_la-fileoperations.lo] Error 1
make[2]: se sale del directorio `/home/pepe/Desktop/gejengel-0.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/pepe/Desktop/gejengel-0.1.2'
make: *** [all] Error 2
pepe@pepe:~/Desktop/gejengel-0.1.2$ 

Could you make a deb to people like me please.
Thanks a lot.
Sorry about my english

Original issue reported on code.google.com by ppkomb...@gmail.com on 2 Dec 2009 at 1:34

GoogleCodeExporter commented 9 years ago
What's your version of libxdg-basedir?

Original comment by dirk.vdb on 2 Dec 2009 at 9:24

GoogleCodeExporter commented 9 years ago
Hi:
Thanks for the answer.
My version is 0.2.0-1.
I could compile the 0.1.1 version but with this messege:

configure: error: WARNING: You didn't enable any audio decoders.

I maked a deb package with checkinstall,everything is working but not the sound.

Original comment by ppkomb...@gmail.com on 3 Dec 2009 at 11:16

GoogleCodeExporter commented 9 years ago
You need to install the devlopment packages of mad, flac and ffmpeg to be able 
to 
decode audio.

Original comment by dirk.vdb on 4 Dec 2009 at 8:21

GoogleCodeExporter commented 9 years ago
And the latest version of libxdg-basedir is 1.0.2 so I don't think you have 
version 
0.2.0-1. Can you tell me your libxdg-basedir version?

Run this command: dpkg -l libxdg-basedir*

Original comment by dirk.vdb on 4 Dec 2009 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 14 Jan 2010 at 9:25