Can not install libgig

Asked by alecjcook

I have a problem trying to install libgig.
I have used the following code to attempt to compile the file:

mkdir /usr/src/libgig
cd /usr/src/libgig
wget http://download.linuxsampler.org/packages/libgig-3.2.1.tar.bz2
tar xjf libgig-3.2.1.tar.bz2
cd libgig-3.2.1.tar.bz2
./configure && make

The ./configure goes well, but the "make" results in the following error

    make[1]: Entering directory `/usr/src/libgig-source/libgig-3.2.1'
    Making all in doc
    make[2]: Entering directory `/usr/src/libgig-source/libgig-3.2.1/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1/doc'
    Making all in man
    make[2]: Entering directory `/usr/src/libgig-source/libgig-3.2.1/man'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1/man'
    Making all in src
    make[2]: Entering directory `/usr/src/libgig-source/libgig-3.2.1/src'
    Making all in testcases
    make[3]: Entering directory `/usr/src/libgig-source/libgig-3.2.1/src/testcases'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1/src/testcases'
    make[3]: Entering directory `/usr/src/libgig-source/libgig-3.2.1/src'
    if /bin/bash ../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
    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::Chunk::ReadHeader(long unsigned int)':
    RIFF.cpp:102: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result
    RIFF.cpp:103: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result
    RIFF.cpp: In member function 'void RIFF::Chunk::WriteHeader(long unsigned int)':
    RIFF.cpp:154: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
    RIFF.cpp:155: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
    RIFF.cpp: In member function 'virtual long unsigned int RIFF::Chunk::WriteChunk(long unsigned int, long unsigned int)':
    RIFF.cpp:891: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
    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*&)'
    RIFF.cpp: In member function 'void RIFF::List::ReadHeader(long unsigned int)':
    RIFF.cpp:1229: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result
    RIFF.cpp: In member function 'void RIFF::List::WriteHeader(long unsigned int)':
    RIFF.cpp:1253: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
    make[3]: *** [RIFF.lo] Error 1
    make[3]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/libgig-source/libgig-3.2.1'
    make: *** [all] Error 2

I read somewhere that I should try this following line:
    make -f Makefile.cvs

Although when trying to do this i see the following error:
    make: Makefile.cvs: No such file or directory
    make: *** No rule to make target `Makefile.cvs'. Stop.

Can someone please help, I'm not sure what else to do!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libgig Edit question
Assignee:
No assignee Edit question
Solved by:
Joker Wild
Solved:
Last query:
Last reply:
Revision history for this message
Joker Wild (lajjr-deactivatedaccount) said :
#1

it is in the repo...
type sudo apt-get install libgig6
and if you want the dev to
sudo apt-get install libgig-dev

or synaptic package manager
System>Administration>Synaptic Package Manager
click search tool bar on top in search text box type libgig and it will come up with two the normal lib and the dev lib.

Revision history for this message
alecjcook (alecjcook-gmail) said :
#2

I am trying to install linuxsampler. It needs libgig, not libgig6. (I beleive)

Revision history for this message
Joker Wild (lajjr-deactivatedaccount) said :
#3

libgig6=libgig-3.2.1

Revision history for this message
alecjcook (alecjcook-gmail) said :
#4

OK, I have libgig6 installer, but when I attempt to install liblinuxsampler do I get the message:
Error: Dependancy is not satisfiable: libgig

http://download.linuxsampler.org/packages/debian/liblinuxsampler_0.5.1-1_i386.deb

any clues? :(

Revision history for this message
Joker Wild (lajjr-deactivatedaccount) said :
#5

to compile it did you install libtool before compiling libgig

Revision history for this message
alecjcook (alecjcook-gmail) said :
#6

yes, libtool is installed...
compiling the downloaded source code for linuxsampler spat out the following message: (bear in mind I now have libgig6 installed)
     Required libgig version not found!
     You need to have libgig version 3.2.1 installed!

Revision history for this message
Joker Wild (lajjr-deactivatedaccount) said :
#7

sudo apt-get remove libgig6

Revision history for this message
Joker Wild (lajjr-deactivatedaccount) said :
#8
Revision history for this message
Best Joker Wild (lajjr-deactivatedaccount) said :
#9
Revision history for this message
alecjcook (alecjcook-gmail) said :
#10

Thanks Leo Albert Jackson Jr, that solved my question.