WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ecasound-2.9.1 fails to compile on piCore-9.0.3  (Read 2797 times)

Offline skyp

  • Newbie
  • *
  • Posts: 11
ecasound-2.9.1 fails to compile on piCore-9.0.3
« on: September 11, 2017, 10:36:22 PM »
Hi

I tried to compile ecasound-2.9.1, but it dies around the bend :o  But why? The strange thing is:
checking for gcc... gcc
checking whether the C compiler works... no

This is the full cli:

Code: [Select]
tc@box:/mnt/sda1/ecasound-2.9.1$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
------------------------------------------------------------------
1. Section: Basic setup
------------------------------------------------------------------
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/mnt/sda1/ecasound-2.9.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
tc@box:/mnt/sda1/ecasound-2.9.1$


And here comes the config.log:


Code: [Select]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ecasound configure 2.9.1, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = box
uname -m = armv7l
uname -r = 4.9.22-piCore-v7
uname -s = Linux
uname -v = #1 SMP Sat Apr 15 12:27:07 UTC 2017

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/tc/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /apps/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /etc/sysconfig/tcedir/ondemand


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2909: checking for a BSD-compatible install
configure:2977: result: /usr/bin/install -c
configure:2988: checking whether build environment is sane
configure:3025: result: yes
configure:3087: checking for gawk
configure:3117: result: no
configure:3087: checking for mawk
configure:3117: result: no
configure:3087: checking for nawk
configure:3117: result: no
configure:3087: checking for awk
configure:3103: found /usr/bin/awk
configure:3114: result: awk
configure:3125: checking whether make sets $(MAKE)
configure:3151: result: no
configure:3424: checking for gcc
configure:3440: found /usr/local/bin/gcc
configure:3451: result: gcc
configure:3680: checking for C compiler version
configure:3689: gcc --version >&5
gcc (piCore) 7.1.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3700: $? = 0
configure:3689: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/armv7l-unknown-linux-gnueabihf/7.1.0/lto-wrapper
Target: armv7l-unknown-linux-gnueabihf
Configured with: ../gcc-7.1.0/configure --libdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-clocale=gnu --enable-languages=c,c++,fortran,go --disable-multilib --disable-libstdcxx-pch --enable-cloog-backend=isl --with-isl=/usr --with-system-zlib --enable-frame-pointer --disable-bootstrap --enable-lto --with-pkgversion=piCore --with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-gxx-include-dir=/usr/include/c++/7.1.0
Thread model: posix
gcc version 7.1.0 (piCore)
configure:3700: $? = 0
configure:3689: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3700: $? = 1
configure:3689: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3700: $? = 1
configure:3720: checking whether the C compiler works
configure:3742: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:3746: $? = 1
configure:3784: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ecasound"
| #define PACKAGE_TARNAME "ecasound"
| #define PACKAGE_VERSION "2.9.1"
| #define PACKAGE_STRING "ecasound 2.9.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ecasound"
| #define VERSION "2.9.1"
| #define LIBECASOUND_VERSION 24
| #define LIBECASOUND_VERSION_AGE 0
| #define LIBECASOUNDC_VERSION 2
| #define LIBKVUTILS_VERSION 10
| #define LIBKVUTILS_VERSION_AGE 0
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3789: error: in `/mnt/sda1/ecasound-2.9.1':
configure:3792: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=''
ac_cv_env_CCC_value=''
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBLILV_CFLAGS_set=''
ac_cv_env_LIBLILV_CFLAGS_value=''
ac_cv_env_LIBLILV_LIBS_set=''
ac_cv_env_LIBLILV_LIBS_value=''
ac_cv_env_LIBLO_CFLAGS_set=''
ac_cv_env_LIBLO_CFLAGS_value=''
ac_cv_env_LIBLO_LIBS_set=''
ac_cv_env_LIBLO_LIBS_value=''
ac_cv_env_LIBOIL_CFLAGS_set=''
ac_cv_env_LIBOIL_CFLAGS_value=''
ac_cv_env_LIBOIL_LIBS_set=''
ac_cv_env_LIBOIL_LIBS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK='awk'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_make_make_set='no'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run tar'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_CXXFLAGS=''
AM_LDFLAGS=''
AR=''
ARTSC_CONFIG=''
AUTOCONF='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run autoconf'
AUTOHEADER='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run autoheader'
AUTOMAKE='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run automake-1.9'
AWK='awk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECA_AM_ALL_STATIC_FALSE=''
ECA_AM_ALL_STATIC_TRUE=''
ECA_AM_COMPILE_ALSA_FALSE=''
ECA_AM_COMPILE_ALSA_TRUE=''
ECA_AM_COMPILE_ARTS_FALSE=''
ECA_AM_COMPILE_ARTS_TRUE=''
ECA_AM_COMPILE_AUDIOFILE_FALSE=''
ECA_AM_COMPILE_AUDIOFILE_TRUE=''
ECA_AM_COMPILE_JACK_FALSE=''
ECA_AM_COMPILE_JACK_TRUE=''
ECA_AM_COMPILE_OSS_FALSE=''
ECA_AM_COMPILE_OSS_TRUE=''
ECA_AM_COMPILE_SAMPLERATE_FALSE=''
ECA_AM_COMPILE_SAMPLERATE_TRUE=''
ECA_AM_COMPILE_SNDFILE_FALSE=''
ECA_AM_COMPILE_SNDFILE_TRUE=''
ECA_AM_DEBUG_MODE_FALSE=''
ECA_AM_DEBUG_MODE_TRUE=''
ECA_AM_DISABLE_EFFECTS_FALSE=''
ECA_AM_DISABLE_EFFECTS_TRUE=''
ECA_AM_FEELING_EXPERIMENTAL_FALSE=''
ECA_AM_FEELING_EXPERIMENTAL_TRUE=''
ECA_AM_KVUTILS_INSTALLED_FALSE=''
ECA_AM_KVUTILS_INSTALLED_TRUE=''
ECA_AM_PYECASOUND_CEXT_FALSE=''
ECA_AM_PYECASOUND_CEXT_TRUE=''
ECA_AM_PYECASOUND_INSTALL_FALSE=''
ECA_AM_PYECASOUND_INSTALL_TRUE=''
ECA_AM_RUBYECASOUND_INSTALL_FALSE=''
ECA_AM_RUBYECASOUND_INSTALL_TRUE=''
ECA_AM_SYSTEM_READLINE_FALSE=''
ECA_AM_SYSTEM_READLINE_TRUE=''
ECA_AM_USE_NCURSES_FALSE=''
ECA_AM_USE_NCURSES_TRUE=''
ECA_AM_USE_TERMCAP_FALSE=''
ECA_AM_USE_TERMCAP_TRUE=''
ECA_S_EXTRA_CPPFLAGS=''
ECA_S_EXTRA_LIBS=''
ECA_S_JACK_INCLUDES=''
ECA_S_JACK_LIBS=''
ECA_S_PREFIX=''
ECA_S_PYTHON_DLMODULES=''
ECA_S_PYTHON_INCLUDES=''
ECA_S_PYTHON_MODULES=''
ECA_S_READLINE_INCLUDES=''
ECA_S_READLINE_LIBS=''
ECA_S_RUBY_SITEDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBECASOUNDC_VERSION='2'
LIBECASOUNDC_VERSION_AGE='1'
LIBECASOUND_VERSION='24'
LIBECASOUND_VERSION_AGE='0'
LIBKVUTILS_VERSION='10'
LIBKVUTILS_VERSION_AGE='0'
LIBLILV_CFLAGS=''
LIBLILV_LIBS=''
LIBLO_CFLAGS=''
LIBLO_LIBS=''
LIBOBJS=''
LIBOIL_CFLAGS=''
LIBOIL_LIBS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /mnt/sda1/ecasound-2.9.1/missing --run makeinfo'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='ecasound'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ecasound'
PACKAGE_STRING='ecasound 2.9.1'
PACKAGE_TARNAME='ecasound'
PACKAGE_URL=''
PACKAGE_VERSION='2.9.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PYTHONPATH=''
RANLIB=''
RUBYPATH=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
VERSION='2.9.1'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/mnt/sda1/ecasound-2.9.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ecasound"
#define PACKAGE_TARNAME "ecasound"
#define PACKAGE_VERSION "2.9.1"
#define PACKAGE_STRING "ecasound 2.9.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "ecasound"
#define VERSION "2.9.1"
#define LIBECASOUND_VERSION 24
#define LIBECASOUND_VERSION_AGE 0
#define LIBECASOUNDC_VERSION 2
#define LIBKVUTILS_VERSION 10
#define LIBKVUTILS_VERSION_AGE 0

configure: exit 77


Any suggestions...?



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11590
Re: ecasound-2.9.1 fails to compile on piCore-9.0.3
« Reply #1 on: September 11, 2017, 10:54:22 PM »
Hi skyp
Did you install  compiletc.tcz?

Online polikuo

  • Hero Member
  • *****
  • Posts: 718
Re: ecasound-2.9.1 fails to compile on piCore-9.0.3
« Reply #2 on: September 11, 2017, 11:39:34 PM »
Also you shouldn't run ./configure with sudo

BTW, TC's default prefix is /usr/local, you'll need
Code: [Select]
./configure --prefix=/usr/local
You can find the instructions here.

Offline skyp

  • Newbie
  • *
  • Posts: 11
Re: ecasound-2.9.1 fails to compile on piCore-9.0.3
« Reply #3 on: September 12, 2017, 05:49:51 AM »
Thanks Rich and polikuo!

unfortunately libncurses5-dev is missing from piCore repo so it still not compile :(

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: ecasound-2.9.1 fails to compile on piCore-9.0.3
« Reply #4 on: September 12, 2017, 05:59:31 AM »
does it work with ncurses-dev?

Offline skyp

  • Newbie
  • *
  • Posts: 11
Re: ecasound-2.9.1 fails to compile on piCore-9.0.3
« Reply #5 on: September 12, 2017, 06:13:23 AM »
Thanks it's worked!  ::) sorry