Como compilar uma nova versão do cheese?

Iniciado por Allan Spindola, 01 de Outubro de 2008, 20:28

tópico anterior - próximo tópico

Allan Spindola

Pessoal confesso não ser tão novato assim no Linux, mas uma coisa que não aprendi direito é compilar os programas com os comandos make, make install simplesmente, "faço" mas se algo der errado...ferrou, não consigo instalar os programas jamais conseguir contornar a situação, acabei ficando mal acostumados com esses repositórios deb ou rpm que nunca fui atrás de realmente aprender essa parada de compilar os arquivos para instalação. O último que estou testando e não consegui é uma nova versão do cheese a 2.24.0, as instruções de instalação são ./configure, depois make e makeinstall, quando executo eles o console mostra as seguintes informações:

root@allan-ubuntu:/home/allan/cheese-2.24.0# ./configure
checking for a BSD-compatible install... /usr/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 to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/allan/cheese-2.24.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@allan-ubuntu:/home/allan/cheese-2.24.0# make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.
root@allan-ubuntu:/home/allan/cheese-2.24.0# make install
make: *** Sem regra para processar o alvo `install'.  Pare.

Olhando o o Arquivo Config.log:
CitarThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by cheese configure 2.24.0, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure

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

hostname = allan-ubuntu
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008

/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


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

configure:2168: checking for a BSD-compatible install
configure:2236: result: /usr/bin/install -c
configure:2247: checking whether build environment is sane
configure:2290: result: yes
configure:2315: checking for a thread-safe mkdir -p
configure:2354: result: /bin/mkdir -p
configure:2367: checking for gawk
configure:2383: found /usr/bin/gawk
configure:2394: result: gawk
configure:2405: checking whether make sets $(MAKE)
configure:2427: result: yes
configure:2613: checking whether to enable maintainer-specific portions of Makefiles
configure:2622: result: no
configure:2651: checking for style of include used by make
configure:2679: result: GNU
configure:2749: checking for gcc
configure:2765: found /usr/bin/gcc
configure:2776: result: gcc
configure:3008: checking for C compiler version
configure:3016: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 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:3020: $? = 0
configure:3027: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:3031: $? = 0
configure:3038: gcc -V >&5
gcc: '-V' option must have argument
configure:3042: $? = 1
configure:3065: checking for C compiler default output file name
configure:3087: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3091: $? = 1
configure:3129: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "cheese"
| #define PACKAGE_TARNAME "cheese"
| #define PACKAGE_VERSION "2.24.0"
| #define PACKAGE_STRING "cheese 2.24.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cheese"
| #define VERSION "2.24.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3135: error: in `/home/allan/cheese-2.24.0':
configure:3138: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CHEESE_CFLAGS_set=
ac_cv_env_CHEESE_CFLAGS_value=
ac_cv_env_CHEESE_LIBS_set=
ac_cv_env_CHEESE_LIBS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_HILDON_CFLAGS_set=
ac_cv_env_HILDON_CFLAGS_value=
ac_cv_env_HILDON_LIBS_set=
ac_cv_env_HILDON_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
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=
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_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /home/allan/cheese-2.24.0/missing --run aclocal-1.10'
ACLOCAL_AMFLAGS='${ACLOCAL_FLAGS}'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/allan/cheese-2.24.0/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/allan/cheese-2.24.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/allan/cheese-2.24.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/allan/cheese-2.24.0/missing --run automake-1.10'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CHEESE_CFLAGS=''
CHEESE_LIBS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DISABLE_DEPRECATED=''
DISTCHECK_CONFIGURE_FLAGS=''
DOC_USER_FORMATS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SK_FALSE=''
ENABLE_SK_TRUE=''
EXEEXT=''
FGREP=''
FULL_LIBEXECDIR=''
GCONFTOOL=''
GCONF_SCHEMAS_INSTALL_FALSE=''
GCONF_SCHEMAS_INSTALL_TRUE=''
GCONF_SCHEMA_CONFIG_SOURCE=''
GCONF_SCHEMA_FILE_DIR=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GREP=''
HAVE_GNOME_DOC_UTILS_FALSE=''
HAVE_GNOME_DOC_UTILS_TRUE=''
HELP_DIR=''
HILDON_CFLAGS=''
HILDON_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/allan/cheese-2.24.0/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OMF_DIR=''
OTOOL64=''
OTOOL=''
PACKAGE='cheese'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='cheese'
PACKAGE_STRING='cheese 2.24.0'
PACKAGE_TARNAME='cheese'
PACKAGE_VERSION='2.24.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_NLS=''
VERSION='2.24.0'
WARN_CFLAGS=''
WITH_HILDON_FALSE=''
WITH_HILDON_TRUE=''
XGETTEXT=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
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='$(SHELL) /home/allan/cheese-2.24.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
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. ##
## ----------- ##

#define PACKAGE_NAME "cheese"
#define PACKAGE_TARNAME "cheese"
#define PACKAGE_VERSION "2.24.0"
#define PACKAGE_STRING "cheese 2.24.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "cheese"
#define VERSION "2.24.0"

configure: exit 77

Alguém pode me dar uma dica pra instalar esse programa? o que falta? oque eu fiz errado?
Abraço!!

Kamei Hyoga

Instale o build-essential e tente novamente.

Copie e cole no seu firefox: apt:build-essential