salsaman / LiVES

LiVES is a feature rich application which combines elements of VJ and video editing software. The current version runs on Linux / BSD. Check_out_the_new_discussion_area https://github.com/salsaman/LiVES/discussions
http://lives-video.com
GNU General Public License v3.0
89 stars 11 forks source link

Makefile isn't recognized when trying to compile git version of LiVES under Xubuntu 20.04 #14

Closed Guybrush88 closed 3 years ago

Guybrush88 commented 3 years ago

I was trying to compile the git version of LiVES under Xubuntu 20.04 by following the instructions in this page: http://lives-video.com/index.php?do=code When launching the "make" command, I get this error:

make: *** Nessun obiettivo specificato e nessun makefile trovato. Arresto.

which means that there's no specified target and no makefile is found, so the operation stopped. I checked and the LiVES folder contains the makefile called "Makefile.am"

This is a full trace of the process I executed:

~/LiVES$ ./autogen.sh --verbose && ./configure --prefix=~/.lives && make
Verbose output enabled
Found a configure template: ./configure.ac
Preparing the LiVES build system...please wait

Checking autoreconf version: autoreconf --version
Checking autoconf version: autoconf --version
Found GNU Autoconf version 2.69
Checking if 2.69.0 is greater than 2.52.0
Checking automake version: automake --version
Found GNU Automake version 1.16.1
Checking if 1.16.1 is greater than 1.6.0
Checking libtoolize version: libtoolize --version
Found GNU Libtool version 2.4.6
Checking if 2.4.6 is greater than 1.4.2
Checking aclocal version: aclocal --version
Checking autoheader version: autoheader --version
Checking whether to only output version information
Backing up COPYING in /home/user/LiVES
cp -p COPYING COPYING.13858.protect_from_automake.backup
Backing up INSTALL in /home/user/LiVES
cp -p INSTALL INSTALL.13858.protect_from_automake.backup
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
mv -f "./config.guess" "./config.guess.backup"
mv -f "./config.sub" "./config.sub.backup"
mv -f "./ltmain.sh" "./ltmain.sh.backup"
Found extra aclocal search directory: m4

Automatically preparing build ... autoreconf -v  -I m4 -i -f
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Can't exec "autopoint": File o directory non esistente at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... aclocal -I mk/autoconf  -I m4 
configure.ac:108: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:109: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
Searching for AC_PROG_LIBTOOL in ./configure.ac
libtoolize --automake -c -f

aclocal -I mk/autoconf  -I m4 
configure.ac:108: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:109: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
Checking for command wget
Found wget 1.20.3
Running wget "http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/config.guess;hb=HEAD" -O "config.guess.13858.download"

autoconf -f
configure.ac:108: error: possibly undefined macro: AM_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:109: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
Searching for AC_C_RESTRICT in ./configure.ac
Searching for AC_INCLUDES_DEFAULT in ./configure.ac
Searching for AC_LANG_ASSERT in ./configure.ac
Searching for AC_LANG_WERROR in ./configure.ac
Searching for AS_SET_CATFILE in ./configure.ac
Searching for AC_COMPILER_IFELSE in ./configure.ac
Searching for AC_FUNC_MBRTOWC in ./configure.ac
Searching for AC_HEADER_STDBOOL in ./configure.ac
Searching for AC_LANG_CONFTEST in ./configure.ac
Searching for AC_LANG_SOURCE in ./configure.ac
Searching for AC_LANG_PROGRAM in ./configure.ac
Searching for AC_LANG_CALL in ./configure.ac
Searching for AC_LANG_FUNC_TRY_LINK in ./configure.ac
Searching for AC_MSG_FAILURE in ./configure.ac
Searching for AC_PREPROC_IFELSE in ./configure.ac
Searching for AC_C_BACKSLASH_A in ./configure.ac
Searching for AC_CONFIG_LIBOBJ_DIR in ./configure.ac
Searching for AC_GNU_SOURCE in ./configure.ac
Searching for AC_PROG_EGREP in ./configure.ac
Searching for AC_PROG_FGREP in ./configure.ac
Searching for AC_REPLACE_FNMATCH in ./configure.ac
Searching for AC_FUNC_FNMATCH_GNU in ./configure.ac
Searching for AC_FUNC_REALLOC in ./configure.ac
Searching for AC_TYPE_MBSTATE_T in ./configure.ac

Warning:  Unsupported macros were found in ./configure.ac

The configure.ac file was scanned in order to determine if any
unsupported macros are used that exceed the minimum version
settings specified within this file.  As such, the following macros
should be removed from configure.ac or the version numbers in this
file should be increased:

AC_GNU_SOURCE

Ignorantly continuing build preparation ... 
autoconf

Warning: autoconf seems to have succeeded by removing the following options:
    AUTOCONF_OPTIONS="-f"

Removing those options should not be necessary and indicate some other
problem with the build system.  The build preparation is highly suspect
and may result in configuration or compilation errors.  Consider
reviewing the minimum GNU Autotools version settings contained in
this script along with the macros being used in your configure.ac file.

Continuing build preparation ... Searching for AM_CONFIG_HEADER in ./configure.ac
Searching for AC_CONFIG_HEADER in ./configure.ac
Searching for AM_INIT_AUTOMAKE in ./configure.ac
automake -a -c -f
configure.ac:19: installing './compile'
configure.ac:10: installing './config.sub'
configure.ac:14: installing './missing'
configure.ac:992: error: required file 'intl/Makefile.in' not found
Makefile.am:35: error: required directory ./intl does not exist
libOSC/Makefile.am: installing './depcomp'

automake -a -c
configure.ac:992: error: required file 'intl/Makefile.in' not found
Makefile.am:35: error: required directory ./intl does not exist
configure.ac:992: error: required file 'intl/Makefile.in' not found
Makefile.am:35: error: required directory ./intl does not exist
ERROR: automake failed
rm -f COPYING.13858.protect_from_automake.backup

Restoring INSTALL from backup (automake -f likely clobbered it)
rm -f INSTALL
mv INSTALL.13858.protect_from_automake.backup INSTALL
rm -f INSTALL.13858.protect_from_automake.backup
rm -f "./config.guess.backup"
rm -f "./config.sub.backup"
rm -f "./ltmain.sh.backup"
salsaman commented 3 years ago

Seems like you are missing some required dependencies: autopoint gettext

you will also need libtk+3.0-dev

highly recommended: libpulse-dev libavcodec-dev libavformat-dev libswscale-dev libgl-dev youtube-dl

optional extras: jackd jackd2 projectm projectm-data frie0r-plugins-dev libunicap2-dev fftw3f-dev (from launchpad)

salsaman commented 3 years ago

Build deps: autotools-dev autoconf autopoint libtool libgtk-3-dev libpulse-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev glee-dev libglu1-mesa-dev libogg-dev libtheora-dev libtheora-bin libvorbis-dev libunicap2-dev libfftw3-dev libmjpegtools-dev libavc1394-dev libdv4-dev libbz2-dev

Runtime deps: perl python mplayer ffprobe sox imagemagick ffmpeg libgtk-3 libav-tools-links libpulse libavcodec libavformat libavutil libswscale libglee libglu1-mesa libogg libtheora libtheora-bin libvorbis libunicap2 libfftw3 libmjpegtools libavc1394 libdv4 libbz2 jackd dvgrab icedax youtube-dl

Extra effects:

Build deps: libopencv-dev ladspa-sdk frei0r-plugins-dev libvisual-0.4-dev libsdl1.2-dev libprojectm-dev projectm-data

Runtime deps: libopencv ladspa-sdk frei0r-plugins libvisual-0.4 libprojectm2v5 projectm-data libsdl1.2

Extra encoders:

Build deps: libmatroska-dev libschroedinger-dev

Runtime deps: libmatroska libschroedinger ogmtools mkvtoolnix vorbis-tools lame x264 gpac mencoder

Guybrush88 commented 3 years ago

I'm installing everything now, so I guess this ticket can be closed. Thanks