Page 1 of 1

Compiling in SUSE

Posted: Thu Apr 24, 2008 8:09 am
by Alex
I compiled LS in UBStudio with Flags specific to that architecture, with a lot of help from the LS team.
But how do i do that in Suse? Where's the equivalent of the 'Rules' file for another architecture, outside of Debian? (in this case, Suse 10.3 64bit) Or will the compile read this file and adjust for other arch?


Alex.

Re: compiling in suse

Posted: Fri Apr 25, 2008 7:13 am
by Alex
I got it figured out, and LS is installed with compilation changes.

Alex.

Re: compiling in suse

Posted: Sat Aug 30, 2008 10:38 pm
by Eddy G
Hi Alex and others,

I installed suse 11.0. Should that work, or would you advise to get back to 10.0.

At least I tried to use the precompiled .rpm 's from: http://download.linuxsampler.org/packages/rpms/
But somehow I didn't manage to install it yet.

This one installed: liblscp-0.5.5-1.rncbc.suse103.i586.rpm
But if I try e.g. libgig-3.2.1-2.rncbc.suse103.src.rpm it will give an error, that libsndfile.so.1 is needed, and libuuid.so.1 is needed.

Can someone help me out?

Thanks & Regards,
Eddy

Re: Compiling in SUSE

Posted: Fri Sep 05, 2008 5:17 pm
by Alex
Eddy,
I went back to UBStudio a short time ago, but I will ask, have you installed these in the right order?

Alex.

Libgig goes first.

Re: Compiling in SUSE

Posted: Fri Sep 05, 2008 7:03 pm
by Eddy G
Hi Alex,

I had Ubuntu first, but had problems to boot from the SSD and therefore tried OpenSuse, also after reading positive stuff about it.
So I'm not eager to go back (yet).

I removed the liblscp-0.5.5-1.rncbc.suse103.i586.rpm
But still if I try e.g. libgig-3.2.1-2.rncbc.suse103.i586.rpm it will give an error, that libsndfile.so.1 is needed, and libuuid.so.1 is needed.

Is suse103 fine for 11.0? Or should I recompile maybe?

I'm on 64bits.

Thanks & Regards,
Eddy

Re: Compiling in SUSE

Posted: Fri Sep 05, 2008 8:08 pm
by grishata
Eddy G wrote:But still if I try e.g. libgig-3.2.1-2.rncbc.suse103.i586.rpm it will give an error, that libsndfile.so.1 is needed, and libuuid.so.1 is needed.
Do you have the dev files of libsndfile and libuuidd installed on your system?

Re: Compiling in SUSE

Posted: Fri Sep 05, 2008 8:18 pm
by grishata
In fact, if you are installing from rpms you might not need the development packages, just install those two libraries - libsndfile and libuuid.

Re: Compiling in SUSE

Posted: Mon Sep 08, 2008 9:26 pm
by Eddy G
hmm... where do I get them? (I'm a linux-beginner..)
I got me one on http://rpm.pbone.net

But ohooh.. that requires libFLAC.so.8
And when I download that, and try to install it says it is already installed... :(

I think the libgig on the linuxsampler ftp site is not 64 bits, but 32 and therefore it checks for required 32 bits libraries where only the 64 bits ones are present?
So I have to compile myself...
Am I right?

Doing so, I downloaded from linuxsampler site the libgig-3.2.1.tar.bz2, and unpacked it, and then ran ./configure && make.
However this stopped with:
checking for SNDFILE... no
checking for AUDIOFILE... no
No audio file library found!
Sorry, you need either libsndfile or libaudiofile to compile libgig.
This is needed for the gigextract utility to write audio files.

However, in YaST I do see installed: libsndfile : 1.0.17-141.1 (x86_64)
And at the commandline I see it:
eddy@linux-j3d6:/usr/lib64> ls -al libsnd*
lrwxrwxrwx 1 root root 20 aug 16 19:29 libsndfile.so.1 -> libsndfile.so.1.0.17
-rwxr-xr-x 1 root root 353296 jun 7 00:50 libsndfile.so.1.0.17

It seems pkg-config is used to check if that is installed.
I do see many .pc files in several ../pkgconfig/ dirs, but indeed not the sndfile.pc.

Maybe YaST does not create these files when installing packages..?

Help is appreciated..!
Thanks, Eddy