Page 1 of 1

Generic compiling linuxsampler & friends from SVN (Gentoo)

Posted: Sun Jun 22, 2014 10:18 am
by mcc01
Hi,

since compiling linuxsampler "the gentoo way" (emerge/ebuild) does not include the sfz engine
for an unknown reason I want to compile linuxsampler and friends from svn.

This works fine for libgig and liblscp (installed under /usr/local/.) but the configuration of
linuxsampler fails with:

> Required libgig version not found!
> You need to have libgig version 3.3.0 installed!

Under /usr/local/lib/ I found:

/usr/local/lib/libgig
/usr/local/lib/libgig/libgig.so.6
/usr/local/lib/libgig/libakai.so
/usr/local/lib/libgig/libgig.so
/usr/local/lib/libgig/libakai.so.0
/usr/local/lib/libgig/libakai.la
/usr/local/lib/libgig/libgig.la
/usr/local/lib/libgig/libakai.so.0.0.0
/usr/local/lib/libgig/libgig.so.6.4.0

Before trying to configure linuxsampler I did a
> sudo ldconfig

How can I fix that?

Best regards,
mcc

Re: Generic compiling linuxsampler & friends from SVN (Gento

Posted: Tue Jul 08, 2014 9:53 am
by nils_tonnaett
ldconfig is ignoring your subdirectories in /usr/local/lib/. I created a file /etc/ld.so.conf.d/libgig-x86_64.conf with /usr/lib64/libgig in it. Depends on where your libgig directory is.

Re: Generic compiling linuxsampler & friends from SVN (Gento

Posted: Sun Aug 03, 2014 3:08 pm
by janflorijn
Hi,

Did you install the f.e. .deb packages liblscp and libgig first? Only compiling is not enough. If you compilie a new version, but have an previous version installed, your installed verion is not up to date and you will see libgig files.

Kind regards,

JanFlorijn

Re: Generic compiling linuxsampler & friends from SVN (Gento

Posted: Thu Aug 28, 2014 5:58 pm
by bpier
I work on Gentoo and I have exactly the same problem that have had mcc01. With the same message. I'm searching an issue... Without success !

Re: Generic compiling linuxsampler & friends from SVN (Gento

Posted: Fri Aug 29, 2014 1:52 pm
by janflorijn
Hi,

I have installed Gentoo live dvd to a usb stick.
Then I used kdesvn
Then loaded liblscp,libgig,linuxsampler and gigedit from svn.

The next steps are commandline added tot the end of this post:
Then I used porthole to complete the independencies, as far as they are found there.

Then I did commandline compile and install. ./configure make make install etc.
Compiling installing Linuxsampler does not complain about libgig.

Running Linuxsampler does recognize sfz

Now is the question how did you do it with emerge?

Kind regards,

JanFlorijn
-------------------
sudo emerge g++ debhelper pkg-config automake1.1 automake1.4 automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison(does not work, search in porthole)
sudo emerge intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3(does not work, search in porthole)
sudo emerge install ant qt4-dev-tools libjack-jackd2-dev libx11-dev x11proto-core-dev docbook-xsl(does not work, search in porthole)
cd liblscp
chmod a+x configure
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-march=athlon-fx -mtune=athlon-fx"
make -f Makefile.svn
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info && make
sudo make install
cd ..
cd libgig
chmod a+x configure
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-march=athlon-fx -mtune=athlon-fx"
make -f Makefile.cvs
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info && make
sudo make install


cd ..
cd gigedit
chmod a+x configure
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-march=athlon-fx -mtune=athlon-fx"
make -f Makefile.cvs
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info && make
sudo make install