Building guitarix from source code
Moderators: MattKingUSA, khz
Building guitarix from source code
I am trying to build guitarix from source code.
The install manual wants me to fulfill the dependencies http://guitarix.org/#install
I can find the following packages in debian package list https://packages.debian.org/en/buster/a ... mat=txt.gz
- ladspa-sdk
- zita-resampler
- jackd
- libjack: 7 different packages available. which is the one I need?
libjack-0.116, libjack-0.125, libjack-dev, libjack-dev, libjack-dev-session, libjack-jackd2-0, libjack-jackd2-dev
- jack (jackd, libjack, and dev) >= 0.109.1: what does dev mean? There is no package called dev
these packages are not available
- gtk+-2.0
- gtkmm-2.0
- gthread-2.0
- sigc++-2.0
- zita-convolver
- sndfile (but sndfile-programs and sndfile-tools is available)
- boost library: the package list contains 164 entries with boost. which is the correct one?
- libwebkit-dev
The install manual wants me to fulfill the dependencies http://guitarix.org/#install
I can find the following packages in debian package list https://packages.debian.org/en/buster/a ... mat=txt.gz
- ladspa-sdk
- zita-resampler
- jackd
- libjack: 7 different packages available. which is the one I need?
libjack-0.116, libjack-0.125, libjack-dev, libjack-dev, libjack-dev-session, libjack-jackd2-0, libjack-jackd2-dev
- jack (jackd, libjack, and dev) >= 0.109.1: what does dev mean? There is no package called dev
these packages are not available
- gtk+-2.0
- gtkmm-2.0
- gthread-2.0
- sigc++-2.0
- zita-convolver
- sndfile (but sndfile-programs and sndfile-tools is available)
- boost library: the package list contains 164 entries with boost. which is the correct one?
- libwebkit-dev
OS: Debian 10 DAW: Ardour 6.2
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Building guitarix from source code
Those are the build dependents:
were in the master branch currently python2 is needed.
dev -> means the development packages, which includes the header files of the specific packages.
the libjack-dev package, depends on which jack you use, could be libjack-dev (jackd1) or libjack-jackd2-dev (jackd2)
libwebkit isn't needed any-more.
Code: Select all
intltool,
ladspa-sdk,
libavahi-gobject-dev,
libbluetooth-dev ,
libboost-dev ,
libboost-system-dev ,
libboost-thread-dev ,
libboost-iostreams-dev,
libcurl4-gnutls-dev,
libeigen3-dev,
libgtk2.0-dev,
libgtkmm-2.4-dev,
libjack-dev,
liblilv-dev,
liblrdf0-dev,
libsndfile1-dev,
libzita-convolver-dev,
libzita-resampler-dev,
lv2-dev,
python,
dev -> means the development packages, which includes the header files of the specific packages.
the libjack-dev package, depends on which jack you use, could be libjack-dev (jackd1) or libjack-jackd2-dev (jackd2)
libwebkit isn't needed any-more.
On the road again.
Re: Building guitarix from source code
Some more were needed:
=>
I couldn't find all these dependents in the manual. Where did you find it?
After that I downloaded the latest version: https://sourceforge.net/projects/guitarix/files/
and ran
then
Is this .deb package adapted to my system or can it be used form any other computer with debian 10?
The installation of all the dependencies and the package-building takes a lot of time. Wouldn't it be easier to provide a ready built package download?
Seemed to work, but an error occurs when starting guitarix:
Code: Select all
dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package guitarix2
dpkg-buildpackage: info: source version 0.38.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by brummer <brummer-@web.de>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: libavcodec-dev libavutil-dev gperf
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
Code: Select all
apt-get install libavcodec-dev libavutil-dev gperf
After that I downloaded the latest version: https://sourceforge.net/projects/guitarix/files/
and ran
Code: Select all
dpkg-buildpackage -rfakeroot -b
Code: Select all
dpkg -i guitarix2_0.38.0_amd64.deb
The installation of all the dependencies and the package-building takes a lot of time. Wouldn't it be easier to provide a ready built package download?
Seemed to work, but an error occurs when starting guitarix:
The logging window shows:[15:32:33] system init *** mlockall failed:
[15:32:34] PitchTracker *** error creating realtime thread - tuner not started
[15:32:33] system init *** mlockall failed:
[15:32:34] loaded state *** from file /home/olush/.config/guitarix/gx_head_rc
[15:32:34] Jack init *** The jack sample rate is 48000/sec
[15:32:34] Jack init *** The jack buffer size is 1024/frames ...
[15:32:34] PitchTracker *** error creating realtime thread - tuner not started
[15:32:34] loaded state *** from file /home/olush/.config/guitarix/gx_head_rc
[15:33:18] Jack XRun *** delay of at least -4.94514e+09 microsecs
[15:34:05] Jack XRun *** delay of at least -4.99212e+09 microsecs
OS: Debian 10 DAW: Ardour 6.2
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Building guitarix from source code
Well, I'm the founder and current maintainer of the guitarix project.
Please forgive me that I forget some stuff, as I do it now for nearly 12 Years.
Beside that I've a couple of other projects I founded and maintain, so sometimes I may mix-up some stuff in my head.
However, download the latest release wouldn't help you much here, what I talk about is that you need to check out our git repository in order to get what you after. You need to get rid of your current guitarix install by un-install it with your package manager (synaptic?)
The command to check out the git repository is:
after checkout is finish, enter the directory "trunk"
then run
then run:
then:
you could get rid of this installation by run:
To run guitarix jackd needs at least a priority of 20, better 70 - 90.
All below 15 isn't enough.
I wonder if you didn't get those messages before with the version comes with your distribution.
Please forgive me that I forget some stuff, as I do it now for nearly 12 Years.
Beside that I've a couple of other projects I founded and maintain, so sometimes I may mix-up some stuff in my head.
However, download the latest release wouldn't help you much here, what I talk about is that you need to check out our git repository in order to get what you after. You need to get rid of your current guitarix install by un-install it with your package manager (synaptic?)
The command to check out the git repository is:
Code: Select all
git clone https://git.code.sf.net/p/guitarix/git guitarix-git
Code: Select all
cd guitarix-git/trunk
Code: Select all
python3 ./waf configure --prefix=/usr --includeresampler --includeconvolver --optimization
Code: Select all
python3 ./waf build
Code: Select all
sudo python3 ./waf install
Code: Select all
sudo python3 ./waf uninstall
This looks like you didn't run jackd with realtime privileges enabled.hdr wrote:Seemed to work, but an error occurs when starting guitarix:
To run guitarix jackd needs at least a priority of 20, better 70 - 90.
All below 15 isn't enough.
I wonder if you didn't get those messages before with the version comes with your distribution.
On the road again.
Re: Building guitarix from source code
Thanks a lot for that great work!tramp wrote:Well, I'm the founder and current maintainer of the guitarix project.
Please forgive me that I forget some stuff, as I do it now for nearly 12 Years.
Forgive me all the questions I have
You are right. Now the message disappeared.tramp wrote:This looks like you didn't run jackd with realtime privileges enabled.
I'm trying this first on a virtual machine before I do it on my host. So there was no beforetramp wrote:I wonder if you didn't get those messages before with the version comes with your distribution.
I'm confused, Why does that not help and whats the difference to your git repository?tramp wrote:However, download the latest release wouldn't help you much here, what I talk about is that you need to check out our git repository in order to get what you after.
OS: Debian 10 DAW: Ardour 6.2
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Building guitarix from source code
You are welcome.hdr wrote:Thanks a lot for that great work!
Forgive me all the questions I have
Our git repository contain the latest development, were the last release is just a snapshot of it from some time ago. I really didn't remember if the latest release contain already the options -D and -E.hdr wrote:I'm confused, Why does that not help and whats the difference to your git repository?
If so, then all good and you are ready to go to make some music. If not, you may check out our git repository, as, all you need to build guitarix from source is now on your computer anyway.
On the road again.
Re: Building guitarix from source code
Yes it does.tramp wrote:Our git repository contain the latest development, were the last release is just a snapshot of it from some time ago. I really didn't remember if the latest release contain already the options -D and -E.
Will guitarix be updated automatically by apt-get update and apt-get upgrade If I use the repository?
OS: Debian 10 DAW: Ardour 6.2
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Building guitarix from source code
No. If you use our git repository, you've to do ahdr wrote:Will guitarix be updated automatically by apt-get update and apt-get upgrade If I use the repository?
Code: Select all
git pull
When you use debian stable, this is the only way to get a recent guitarix version.
On the road again.
-
- Established Member
- Posts: 821
- Joined: Thu Mar 21, 2013 12:55 am
- Location: Vladivostok
- Has thanked: 65 times
- Been thanked: 124 times
Re: Building guitarix from source code
Hi,
tramp, what is the difference between compiling with bundled faust generated code and using system-wide installed faust?
tramp, what is the difference between compiling with bundled faust generated code and using system-wide installed faust?
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Building guitarix from source code
When using faust to build guitarix, all faust generated files will be re-generated. It barely makes a difference.
It's more a developers then a users option. We need to rebuild those files when we update to a newer faust release, for example, or when we modify our build scripts.
It's more a developers then a users option. We need to rebuild those files when we update to a newer faust release, for example, or when we modify our build scripts.
On the road again.