dagargo / overwitch

JACK client for Overbridge devices
GNU General Public License v3.0
139 stars 18 forks source link

Setup issues #7

Closed malparty closed 3 years ago

malparty commented 3 years ago

Hi, I just moved to Linux so I'm still not fluent with compilation ~ I'm running on Pop OS (generally quite working with Debian builds).

I've try to follow the installation instructions, but these did not install jackd2. So I manualy run sudo apt install jackd2.

This was 1 step forward, as I got in the step where I can select yes for the real time priority. Let me know if I can submit a small PR to add this in the readme :)

But now I'm stuck at the ./configure part~

Here is the cmd response:

╰─❯ ./configure                                                                                                                                                                      ─╯
./configure: line 2125: LT_INIT: command not found
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for library containing sqrt... -lm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for pkg-config... /home/linuxbrew/.linuxbrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusb... no
checking for jack >= 0.100.0... no
configure: error: Package requirements (jack >= 0.100.0) were not met:

No package 'jack' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JACK_CFLAGS
and JACK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Do you have an idea on how I could make it work? :)

Thanks !! :)

dagargo commented 3 years ago

A fresh Pop!_OS installation worked for me but I had to install libtool. I'll document this.

Also, the error you're getting here is caused by the absence of this package too.

LT_INIT: command not found

Could you install this and try again?

malparty commented 3 years ago

Thanks a lot for your answer :) This indeed helped me moving 1 step further.

After installing libtool, no more initial error, but still No package 'jack' found error. As 'apt' could not find jack, I did use brew install jack. --> The ./configure step seems all good now.

Then moving to the make. No package 'libusb-1.0' found --> Same, did not work with apt/apt-get, so I used brew.

Now overwitch is well installed ;-) Thanks a lot

I'll try it later this week~