Compiling libcdio-paranoia, gcc found - C compiler doesnt work


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Compiling libcdio-paranoia, gcc found - C compiler doesnt work
# 1  
Old 04-06-2015
Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas

I'm currently trying to make a fresh build from scratch/source of FFMPEG.
This said, it brings quite a tail with it, so the use of a script was very obvious.

Anyway, i'm currently stuck at named package.

Lets ignore the tarball/download line, as the error is after.
Commands executed:
Code:
PKG_CONFIG_PATH=/home/sea/ffmpeg_chroot/lib/pkgconfig \
 	./configure \
 		--prefix="/home/sea/ffmpeg_chroot/usr" \
 		--disable-static 
make V=1
sudo make install

Log:
Code:
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking for gcc... /bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

Any ideas how to get around this?
Thank you in advance.

PS: For completness:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libcdio-paranoia configure 10.2+0.93+1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/home/sea/ffmpeg_chroot/usr --disable-static 

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

hostname = p50.ocean
uname -m = x86_64
uname -r = 3.19.2-201.fc21.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Mar 24 03:08:23 UTC 2015

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

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

PATH: /usr/lib/qtchooser
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/sea/bin
PATH: /home/sea/.local/bin
PATH: /home/sea/.local/bin
PATH: /home/sea/bin
PATH: /home/sea/bin
PATH: /home/sea/.local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/sbin


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

configure:2450: checking for a BSD-compatible install
configure:2518: result: /bin/install -c
configure:2529: checking whether build environment is sane
configure:2584: result: yes
configure:2735: checking for a thread-safe mkdir -p
configure:2774: result: /bin/mkdir -p
configure:2781: checking for gawk
configure:2797: found /bin/gawk
configure:2808: result: gawk
configure:2819: checking whether make sets $(MAKE)
configure:2841: result: yes
configure:2870: checking whether make supports nested variables
configure:2887: result: yes
configure:3017: checking build system type
configure:3031: result: x86_64-unknown-linux-gnu
configure:3051: checking host system type
configure:3064: result: x86_64-unknown-linux-gnu
configure:3095: checking whether to enable maintainer-specific portions of Makefiles
configure:3104: result: no
configure:3118: checking whether build environment is sane
configure:3173: result: yes
configure:3311: checking for gcc
configure:3338: result: /bin/gcc
configure:3567: checking for C compiler version
configure:3576: /bin/gcc --version >&5
gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
Copyright (C) 2014 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:3587: $? = 0
configure:3576: /bin/gcc -v >&5
Using built-in specs.
COLLECT_GCC=/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) 
configure:3587: $? = 0
configure:3576: /bin/gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3587: $? = 4
configure:3576: /bin/gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3587: $? = 4
configure:3607: checking whether the C compiler works
configure:3629: /bin/gcc   /home/sea/ffmpeg_chroot/lib conftest.c  >&5
/home/sea/ffmpeg_chroot/lib: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
configure:3633: $? = 1
configure:3671: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libcdio-paranoia"
| #define PACKAGE_TARNAME "libcdio-paranoia"
| #define PACKAGE_VERSION "10.2+0.93+1"
| #define PACKAGE_STRING "libcdio-paranoia 10.2+0.93+1"
| #define PACKAGE_BUGREPORT "libcdio-help@gnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "libcdio-paranoia"
| #define VERSION "10.2+0.93+1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3676: error: in `/home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1':
configure:3678: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/bin/gcc
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=set
ac_cv_env_LDFLAGS_value=/home/sea/ffmpeg_chroot/lib
ac_cv_env_LIBCDIO_CFLAGS_set=
ac_cv_env_LIBCDIO_CFLAGS_value=
ac_cv_env_LIBCDIO_LIBS_set=set
ac_cv_env_LIBCDIO_LIBS_value=/home/sea/ffmpeg_chroot/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=/bin/gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing aclocal-1.14'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
AUTOCONF='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing autoconf'
AUTOHEADER='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing autoheader'
AUTOMAKE='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing automake-1.14'
AWK='gawk'
BUILD_EXAMPLES_FALSE='#'
BUILD_EXAMPLES_TRUE=''
BUILD_VERSIONED_LIBS_FALSE='#'
BUILD_VERSIONED_LIBS_TRUE=''
CC='/bin/gcc'
CCDEPMODE=''
CDPARANOIA_NAME='cd-paranoia'
CFLAGS=''
CMP=''
COS_LIB=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE=''
DARWIN_PKG_LIB_HACK=''
DEFS=''
DEPDIR=''
DIFF=''
DIFF_OPTS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_CPP_FALSE=''
ENABLE_CPP_TRUE='#'
ENABLE_CXX_BINDINGS_FALSE='#'
ENABLE_CXX_BINDINGS_TRUE=''
EXEEXT=''
FGREP=''
GIT2CL='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing git2cl'
GREP=''
HAVE_PERL_FALSE=''
HAVE_PERL_TRUE=''
HELP2MAN='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing help2man'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='/home/sea/ffmpeg_chroot/lib'
LIBCDIO_CDDA_LIBS=''
LIBCDIO_CFLAGS=''
LIBCDIO_LIBS='/home/sea/ffmpeg_chroot/lib'
LIBCDIO_PARANOIA_CFLAGS=''
LIBCDIO_PARANOIA_LIBS=''
LIBCDIO_PARANOIA_SOURCE_PATH=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_NO_UNDEFINED=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OLD_CDPARANOIA=''
OTOOL64=''
OTOOL=''
PACKAGE='libcdio-paranoia'
PACKAGE_BUGREPORT='libcdio-help@gnu.org'
PACKAGE_NAME='libcdio-paranoia'
PACKAGE_STRING='libcdio-paranoia 10.2+0.93+1'
PACKAGE_TARNAME='libcdio-paranoia'
PACKAGE_URL=''
PACKAGE_VERSION='10.2+0.93+1'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
RANLIB=''
SBPCD_H=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TYPESIZES=''
VERSION='10.2+0.93+1'
ac_ct_AR=''
ac_ct_CC='/bin/gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/sea/net/dls/ffmpeg_sources/libcdio-paranoia-10.2+0.93+1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
native_abs_top_srcdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/sea/ffmpeg_chroot/usr'
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 "libcdio-paranoia"
#define PACKAGE_TARNAME "libcdio-paranoia"
#define PACKAGE_VERSION "10.2+0.93+1"
#define PACKAGE_STRING "libcdio-paranoia 10.2+0.93+1"
#define PACKAGE_BUGREPORT "libcdio-help@gnu.org"
#define PACKAGE_URL ""
#define PACKAGE "libcdio-paranoia"
#define VERSION "10.2+0.93+1"

configure: exit 77

---------- Post updated at 13:57 ---------- Previous update was at 13:27 ----------

Addendum:
2 of the missings seem to be not available on Fedora.
Code:
sudo yum install git2cl help2man makeinfo autoconf autoheader automake 

Loaded plugins: langpacks
Package git2cl-2.0-0.8.git8373c9f.fc21.noarch already installed and latest version
Package help2man-1.46.5-1.fc21.noarch already installed and latest version
No package makeinfo available.
Package autoconf-2.69-17.fc21.noarch already installed and latest version
No package autoheader available.
Package automake-1.14.1-5.fc21.noarch already installed and latest version
Nothing to do

Regardless, none is found.
Might that be because of the 'chroot' i'm using, as in, ~/ffmpeg_chroot, while PREFIX is $chroot/usr and dir_bin=$chroot/bin.

Is there a way to tell to 'make' the binaries to bindir1 while it uses all the bins from bindir2?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why doesnt it work?

I am trying to print out two fields in a file using awk. So, I have got awk -F '\t' 'NF = 2 {print $1 $2 "]"}' two.txt in a script called what.awk When i run this version like this - ./what.awk then it runs however I want to run the program like this awk -f what.awk two.txt. When I... (8 Replies)
Discussion started by: The undertaker
8 Replies

2. AIX

Vi doesnt work

Hi Guys, I have a strange problem.( AIX 6.1) "vi" is not working at all..Whenever i #vi <anythin> ,, it returns the prompt back. Any clues folks?? (14 Replies)
Discussion started by: muzahed
14 Replies

3. Shell Programming and Scripting

compiler doesnt work

this is my file I have written. // My first C++ program #include <iostream> int main() { std::cout << "Hi there!" << std::endl"; std::cout << "This is my first C++ program" << std::endl"; return(0); } This is the error I get, why? $ g++ first.cpp ksh: g++: not found (1 Reply)
Discussion started by: gustave
1 Replies

4. Shell Programming and Scripting

loop doesnt work

It just does the break...even though the files are not the same... # Compare extracts #========================================== count=0 while (( count < 5 )) do (( count+=1 )) echo "Try $count" file1=$(ls -l /tmp/psjava.xml|... (5 Replies)
Discussion started by: sigh2010
5 Replies

5. Red Hat

ldapsearch doesnt work.

Hii All, I am using openldap v2.3 on redhat El-4. When i run ldapsearch it returns all the entries. The command runs successfully. But when I run the ldapsearch with following filter option it doesnt work and immediately returns to the shell. ldapsearch uidNumber>=2000 I've started slapd... (0 Replies)
Discussion started by: shamik
0 Replies

6. UNIX for Dummies Questions & Answers

cp doesnt work - Help

When trying to copy a file in Solaris 8 it doesnt copy file or give a error. This worked 100% until the 29th. I've checked the rights and everything seems fine: drwxrwxrwx 2 bmuser bmgroup 11776 Jan 3 10:32 spool This is the file I want to copy: -rwxrwxrwx 1 bmuser bmgroup ... (26 Replies)
Discussion started by: rudi.okelly
26 Replies

7. HP-UX

ls command doesnt work

Good Day I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002 I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Discussion started by: shawnbishop
2 Replies

8. UNIX for Dummies Questions & Answers

cd.. doesnt work

hi when i want to go to previous directory by typing cd.. i get the following message $ cd.. ksh: cd..: not found Please help rintingtong (2 Replies)
Discussion started by: rintingtong
2 Replies

9. Shell Programming and Scripting

why doesnt my script work!!!

Is there a utility or command I can use to tell the number of decimal places a number has. For instance, if the number is 432, it will give hundred as the number of decimal places. (7 Replies)
Discussion started by: Heedunk
7 Replies
Login or Register to Ask a Question