[solved] Can't compile libgig :(

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
ciembor
Newbie
Posts: 4
Joined: Mon Nov 03, 2008 6:23 pm

[solved] Can't compile libgig :(

Post by ciembor » Mon Nov 03, 2008 6:49 pm

Hi. I'm Archlinux user with 64bit processor and I can't compile this library. I have all needed depencies (gcc 4.3.2, libtool, libsndfile 1.0.17). Here is log:

Code: Select all

[ciembor@peace libgig-3.2.1]$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1'
Making all in doc
make[2]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1/doc'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1/doc'
Making all in man
make[2]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1/man'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1/man'
Making all in src
make[2]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src'
Making all in testcases
make[3]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src/testcases'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src/testcases'
make[3]: Wejście do katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    -pedantic -Wreturn-type -g -O2 -MT RIFF.lo -MD -MP -MF ".deps/RIFF.Tpo" -c -o RIFF.lo RIFF.cpp; \
	then mv -f ".deps/RIFF.Tpo" ".deps/RIFF.Plo"; else rm -f ".deps/RIFF.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -Wreturn-type -g -O2 -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c RIFF.cpp  -fPIC -DPIC -o .libs/RIFF.o
RIFF.cpp: In member function 'void RIFF::List::MoveSubChunk(RIFF::Chunk*, RIFF::Chunk*)':
RIFF.cpp:1172: error: no matching function for call to 'find(std::_List_iterator<RIFF::Chunk*>, std::_List_iterator<RIFF::Chunk*>, RIFF::Chunk*&)'
make[3]: *** [RIFF.lo] Błąd 1
make[3]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/ciembor/clam/ls/libgig-3.2.1'
make: *** [all] Błąd 2
[ciembor@peace libgig-3.2.1]$ 
What am I doing wrong?
Last edited by ciembor on Fri Nov 07, 2008 5:52 pm, edited 1 time in total.

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

Re: Can't compile libgig :(

Post by Andreas » Mon Nov 03, 2008 8:30 pm

You need the latest CVS version of libgig to be able to compile with gcc 4.3.

ciembor
Newbie
Posts: 4
Joined: Mon Nov 03, 2008 6:23 pm

Re: Can't compile libgig :(

Post by ciembor » Wed Nov 05, 2008 12:13 am

hmm... But how to compile source from CVS? I mean there is no configure.

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

Re: Can't compile libgig :(

Post by grishata » Wed Nov 05, 2008 12:45 pm

Code: Select all

cd SOURCEDIR
make -f Makefile.cvs
./configure
make
su
make install

ciembor
Newbie
Posts: 4
Joined: Mon Nov 03, 2008 6:23 pm

Re: Can't compile libgig :(

Post by ciembor » Thu Nov 06, 2008 12:52 pm

Yeah, that's it... but I have next problem. I can't ./configure linuxsampler

Code: Select all

checking for GIG... no
Required libgig version not found!
You need to have libgig version 3.2.1 installed!
:cry:

here is whereis libgig

Code: Select all

bash-3.2# whereis libgig
libgig: /usr/local/lib/libgig.so /usr/local/lib/libgig.a /usr/local/lib/libgig.la
here is ld.so.conf

Code: Select all

# /etc/ld.so.conf
#
# End of file
/usr/lib/libfakeroot
/opt/qt/lib
/opt/kde/lib
/opt/lib32/lib
/opt/lib32/usr/lib
/usr/local/lib

ciembor
Newbie
Posts: 4
Joined: Mon Nov 03, 2008 6:23 pm

Re: Can't compile libgig :(

Post by ciembor » Fri Nov 07, 2008 5:51 pm

solved.

Code: Select all

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

Post Reply