ayyi / samplecat

SampleCat is a a program for cataloguing and auditioning audio samples.
http://ayyi.github.io/samplecat/
GNU General Public License v3.0
54 stars 5 forks source link

Cant compile on Ubuntu Studio 20.04 #64

Open fasteddy13 opened 2 years ago

fasteddy13 commented 2 years ago

Hi.. Attempted to install this a year or two back, with the help of my son who understands coding, unlike me.. Nevertheless, if I can get this installed and working with my vast library of samples, it will simplify my music making hugely. I have little understanding of coding, but can follow instructions well enough. I have looked at every post for clues at what is going wrong but I cant make out what the problems are. On ./configure, I get;

configure: running /bin/bash ./configure '--prefix=/usr/local' --disable-option-checking '--enable-test=false' '--srcdir=.' --cache-file= checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for clang++... no checking whether the C++ compiler works... no configure: error: in /home/fasteddy/Documents/samplecat-0.3.2/lib/waveform/gtkglext-1.0': configure: error: C++ compiler cannot create executables Seeconfig.log' for more details configure: error: ./configure failed for gtkglext-1.0 configure: error: ./configure failed for lib/waveform

ayyi commented 2 years ago

Hi It looks like you don't have a compiler on your system. Can you try installing the gcc package if it is not already installed? For testing, the list of packages used with Ubuntu 20 can be seen in https://github.com/ayyi/samplecat/blob/master/test/ubuntu-20/dependencies Regards

fasteddy13 commented 2 years ago

Hi.. gcc seems to already be installed, have installed all the dependencies on the list except gtk+2.0-dev which does not appear in my Synaptic software manager. There are a lot of gtk entries, but not the specific one from that list. ./configure looks better now, the last entries are; checking for GTK... no configure: error: in /home/fasteddy/Documents/samplecat-0.3.2/lib/waveform/gtkglext-1.0': configure: error: GTK+ 2.20 or newer is required. Seeconfig.log' for more details configure: error: ./configure failed for gtkglext-1.0 configure: error: ./configure failed for lib/waveform

fasteddy13 commented 2 years ago

Had a search for how to get gtk2 into my system, lots of differing solutions out there, I did try;

sudo apt-get install build-essential gnome-devel

which is supposed to install everything to do with gtk (big install), but I still get the same /configure error;

checking for GTK... no configure: error: in /home/fasteddy/Documents/samplecat-0.3.2/lib/waveform/gtkglext-1.0': configure: error: GTK+ 2.20 or newer is required. Seeconfig.log' for more details configure: error: ./configure failed for gtkglext-1.0 configure: error: ./configure failed for lib/waveform

ayyi commented 2 years ago

Glad you are making progress!

The link above mentions the package gtk+2.0-dev - did you try that one? When compiling from source, it is nearly always the '-dev' version you need.

Cheers

fasteddy13 commented 2 years ago

Sorry, cant see a link anywhere..

fasteddy13 commented 2 years ago

Could you point me in the direction of how to get gtk+2.0-dev? The link above shows me a list of dependencies but I cant see how to get any of them, I have little experience of how to navigate and use github links. Would love to get samplcat installed, keep thinking that Ubuntu Studio would be hugely improved if samplecat was part of it by default, perhaps you guys could get together on this?