Aller au contenu

probleme sous ubuntu 7.04....


vegeta n1

Messages recommandés

voila, je suis nouveau dans le monde qu'est linux j'essai d'installer la librairie "libusb-0.1.12" depuis un moment sans succé voici ce que sa me fait :

 

*******@*******-desktop:~/Desktop/libusb-0.1.12$ ./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... mawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnulibc1

checking host system type... i686-pc-linux-gnulibc1

checking for style of include used by make... GNU

checking for gcc... gcc

checking for C compiler default output file name... configure: error: C compiler cannot create executables

See `config.log' for more details.

 

voici le "config.log"

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

It was created by libusb configure 0.1.12, which was

generated by GNU Autoconf 2.59. Invocation command line was

 

$ ./configure

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = *******-desktop

uname -m = i686

uname -r = 2.6.20-16-generic

uname -s = Linux

uname -v = #2 SMP Sun Sep 23 19:50:39 UTC 2007

 

/usr/bin/uname -p = unknown

/bin/uname -X = unknown

 

/bin/arch = i686

/usr/bin/arch -k = unknown

/usr/convex/getsysinfo = unknown

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:1559: checking for a BSD-compatible install

configure:1614: result: /usr/bin/install -c

configure:1625: checking whether build environment is sane

configure:1668: result: yes

configure:1725: checking for gawk

configure:1754: result: no

configure:1725: checking for mawk

configure:1741: found /usr/bin/mawk

configure:1751: result: mawk

configure:1761: checking whether make sets $(MAKE)

configure:1781: result: yes

configure:2090: checking build system type

configure:2108: result: i686-pc-linux-gnulibc1

configure:2116: checking host system type

configure:2130: result: i686-pc-linux-gnulibc1

configure:2150: checking for style of include used by make

configure:2178: result: GNU

configure:2249: checking for gcc

configure:2265: found /usr/bin/gcc

configure:2275: result: gcc

configure:2519: checking for C compiler version

configure:2522: gcc --version </dev/null >&5

gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

Copyright © 2006 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:2525: $? = 0

configure:2527: gcc -v </dev/null >&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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu

Thread model: posix

gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

configure:2530: $? = 0

configure:2532: gcc -V </dev/null >&5

gcc: '-V' option must have argument

configure:2535: $? = 1

configure:2558: checking for C compiler default output file name

configure:2561: gcc conftest.c >&5

/usr/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

configure:2564: $? = 1

configure: failed program was:

| /* confdefs.h. */

|

| #define PACKAGE_NAME "libusb"

| #define PACKAGE_TARNAME "libusb"

| #define PACKAGE_VERSION "0.1.12"

| #define PACKAGE_STRING "libusb 0.1.12"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE "libusb"

| #define VERSION "0.1.12"

| #define LIBUSB_MAJOR_VERSION 0

| #define LIBUSB_MINOR_VERSION 1

| #define LIBUSB_MICRO_VERSION 12

| #define LIBUSB_INTERFACE_AGE 4

| #define LIBUSB_BINARY_AGE 8

| /* end confdefs.h. */

|

| int

| main ()

| {

|

| ;

| return 0;

| }

configure:2603: error: C compiler cannot create executables

See `config.log' for more details.

 

## ---------------- ##

## Cache variables. ##

## ---------------- ##

 

ac_cv_build=i686-pc-linux-gnulibc1

ac_cv_build_alias=i686-pc-linux-gnulibc1

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_F77_set=

ac_cv_env_F77_value=

ac_cv_env_FFLAGS_set=

ac_cv_env_FFLAGS_value=

ac_cv_env_LDFLAGS_set=

ac_cv_env_LDFLAGS_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_host=i686-pc-linux-gnulibc1

ac_cv_host_alias=i686-pc-linux-gnulibc1

ac_cv_path_install='/usr/bin/install -c'

ac_cv_prog_AWK=mawk

ac_cv_prog_ac_ct_CC=gcc

ac_cv_prog_make_make_set=yes

 

## ----------------- ##

## Output variables. ##

## ----------------- ##

 

ACLOCAL='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run aclocal-1.8'

AMDEPBACKSLASH='\'

AMDEP_FALSE='#'

AMDEP_TRUE=''

AMTAR='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run tar'

AR=''

AUTOCONF='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run autoconf'

AUTOHEADER='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run autoheader'

AUTOMAKE='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run automake-1.8'

AWK='mawk'

BIGENDIAN=''

BSD_API=''

BSD_API_FALSE=''

BSD_API_TRUE=''

BUILD_DOCS_FALSE=''

BUILD_DOCS_TRUE=''

CC='gcc'

CCDEPMODE=''

CFLAGS=''

CPP=''

CPPFLAGS=''

CXX=''

CXXCPP=''

CXXDEPMODE=''

CXXFLAGS=''

CYGPATH_W='echo'

DARWIN_API=''

DARWIN_API_FALSE=''

DARWIN_API_TRUE=''

DEFS=''

DEPDIR='.deps'

DOXYGEN=''

DOXYGEN_PROJECT_NAME=''

DOXYGEN_PROJECT_NUMBER=''

ECHO='echo'

ECHO_C=''

ECHO_N='-n'

ECHO_T=''

EGREP=''

EXEEXT=''

F77=''

FFLAGS=''

INSTALL_DATA='${INSTALL} -m 644'

INSTALL_PROGRAM='${INSTALL}'

INSTALL_SCRIPT='${INSTALL}'

INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'

JADE=''

LDFLAGS=''

LIBOBJS=''

LIBS=''

LIBTOOL=''

LIBUSB_BINARY_AGE='8'

LIBUSB_HAS_DOXYGEN=''

LIBUSB_HAVE_DOT=''

LIBUSB_INTERFACE_AGE='4'

LIBUSB_MAJOR_VERSION='0'

LIBUSB_MICRO_VERSION='12'

LIBUSB_MINOR_VERSION='1'

LIBUSB_VERSION='0.1.12'

LINUX_API=''

LINUX_API_FALSE=''

LINUX_API_TRUE=''

LN_S=''

LTLIBOBJS=''

LT_AGE='4'

LT_CURRENT='8'

LT_RELEASE='0.1'

LT_REVISION='4'

MAKEINFO='${SHELL} /home/*******/Desktop/libusb-0.1.12/missing --run makeinfo'

OBJEXT=''

OSLIBS=''

PACKAGE='libusb'

PACKAGE_BUGREPORT=''

PACKAGE_NAME='libusb'

PACKAGE_STRING='libusb 0.1.12'

PACKAGE_TARNAME='libusb'

PACKAGE_VERSION='0.1.12'

PATH_SEPARATOR=':'

PKG_CONFIG=''

RANLIB=''

SET_MAKE=''

SHELL='/bin/bash'

STRIP=''

VERSION='0.1.12'

ac_ct_AR=''

ac_ct_CC='gcc'

ac_ct_CXX=''

ac_ct_F77=''

ac_ct_RANLIB=''

ac_ct_STRIP=''

am__fastdepCC_FALSE=''

am__fastdepCC_TRUE=''

am__fastdepCXX_FALSE=''

am__fastdepCXX_TRUE=''

am__include='include'

am__leading_dot='.'

am__quote=''

bindir='${exec_prefix}/bin'

build='i686-pc-linux-gnulibc1'

build_alias=''

build_cpu='i686'

build_os='linux-gnulibc1'

build_vendor='pc'

datadir='${prefix}/share'

exec_prefix='NONE'

host='i686-pc-linux-gnulibc1'

host_alias=''

host_cpu='i686'

host_os='linux-gnulibc1'

host_vendor='pc'

includedir='${prefix}/include'

infodir='${prefix}/info'

install_sh='/home/*******/Desktop/libusb-0.1.12/install-sh'

libdir='${exec_prefix}/lib'

libexecdir='${exec_prefix}/libexec'

localstatedir='${prefix}/var'

mandir='${prefix}/man'

mkdir_p='mkdir -p -- .'

oldincludedir='/usr/include'

pkgconfigdir=''

prefix='NONE'

program_transform_name='s,x,x,'

sbindir='${exec_prefix}/sbin'

sharedstatedir='${prefix}/com'

sysconfdir='${prefix}/etc'

target_alias=''

 

## ----------- ##

## confdefs.h. ##

## ----------- ##

 

#define LIBUSB_BINARY_AGE 8

#define LIBUSB_INTERFACE_AGE 4

#define LIBUSB_MAJOR_VERSION 0

#define LIBUSB_MICRO_VERSION 12

#define LIBUSB_MINOR_VERSION 1

#define PACKAGE "libusb"

#define PACKAGE_BUGREPORT ""

#define PACKAGE_NAME "libusb"

#define PACKAGE_STRING "libusb 0.1.12"

#define PACKAGE_TARNAME "libusb"

#define PACKAGE_VERSION "0.1.12"

#define VERSION "0.1.12"

 

configure: exit 77

les * a plusieur endroit son volontaire et vienne de moi evidment ^^

alors si quelqun pourrai m'aider a partir de sa, se serai vraiment bien et je le remercie d'avance :jap:

Lien vers le commentaire
Partager sur d’autres sites

Bon je me lance :D :

 

T'as essayé d'installer "gawk" ?

Sinon passe un lien pour le code src et j'essaie moi-même de le compiler

 

Tu t'es familiarisé avec apt-get ? Car me semble bien que libusb est présente en .deb sur le repository universe :D

 

Euh oui c'est vrai ça, il existe dans les depots...

Lien vers le commentaire
Partager sur d’autres sites

Citation même du tuto :

 

Vous trouverez libusb et libusb-devel dans Synaptic avec Ubuntu 6.10 Edgy Eft.

 

Synaptic >> en gros l'installeur automatique apt-get en mode graphique et en mieux :D

 

Donc pas besoin de prendre les source quoi ... le usbhostfs suffira ... il devrait pas etre complexe a compiler lui ...

Lien vers le commentaire
Partager sur d’autres sites

Veuillez vous connecter pour commenter

Vous pourrez laisser un commentaire après vous êtes connecté.



Connectez-vous maintenant
  • Statistiques des membres

    23 028
    Total des membres
    1 033
    Maximum en ligne
    Subaru
    Membre le plus récent
    Subaru
    Inscription
  • Statistiques des forums

    128,1 k
    Total des sujets
    1,7 M
    Total des messages
×
×
  • Créer...