I know very few things about low level stuff (or high level
) but if you post the error message you are getting and what are you trying to accomplish surely someone will help you.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The package I'm attempting to install is a package from SourceForge (libusb). The aim of the LIBUSB project.is to create a library for use by user level applications to access USB devices regardless of OS. libusb is an open source project licensed under the GNU Lesser General Public License version 2.1.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
My hope! is this package will allow me to use the scanner part of the hp 1400 series printer All-in-One now printing via cups. I've had no luck in with various other methods.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>>>>>>>>>>> Here is what is in the extracted libusb tar package:
vector://home/wayne/Desktop/libusb-0.1.12
root:# ls
AUTHORS Makefile.in config.guess* doc/ linux.h
COPYING NEWS config.h.in error.c ltmain.sh
ChangeLog README config.log error.h missing*
Doxyfile README.in config.sub* install-sh* tests/
Doxyfile.in acinclude.m4 configure* libusb-config.in usb.c
INSTALL.libusb aclocal.m4 configure.in libusb.pc.in usb.h.in
INSTALL.libusb.in apidocs/ darwin.c libusb.spec usbi.h
LICENSE bsd.c depcomp* libusb.spec.in usbpp.cpp
Makefile.am compile* descriptors.c linux.c usbpp.h
>>>>>>>>>>>>>>>>>>>>>>Here is what occurs when I attempt to configure the extracted tar package.
vector:/~/Desktop/libusb-0.1.12
root:# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... none
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.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>Here is the config.log generated using ./configure
vector:/~/Desktop/libusb-0.1.12
root:# cat 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 = vector.linux.net
uname -m = i686
uname -r = 2.6.22.14
uname -s = Linux
uname -v = #1 SMP PREEMPT Sun Nov 25 19:27:11 MST 2007
/usr/bin/uname -p = Pentium III (Katmai)
/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: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/X11/bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /opt/Adobe/Reader8/bin/
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /usr/lib/qt/bin
PATH: /opt/seamonkey/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1559: checking for a BSD-compatible install
configure:1614: result: /usr/bin/ginstall -c
configure:1625: checking whether build environment is sane
configure:1668: result: yes
configure:1725: checking for gawk
configure:1741: found /usr/bin/gawk
configure:1751: result: gawk
configure:1761: checking whether make sets $(MAKE)
configure:1785: result: no
configure:2090: checking build system type
configure:2108: result: i686-pc-linux-gnuoldld
configure:2116: checking host system type
configure:2130: result: i686-pc-linux-gnuoldld
configure:2150: checking for style of include used by make
configure:2178: result: none
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
Copyright (C) 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
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.1.2/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.1.2
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 -march=i586 -mtune=i686 conftest.c >&5
gcc: error trying to exec 'as': execvp: No such file or directory
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-gnuoldld
ac_cv_build_alias=i686-pc-linux-gnuoldld
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i586 -mtune=i686'
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=set
ac_cv_env_CXXFLAGS_value='-march=i586 -mtune=i686'
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-gnuoldld
ac_cv_host_alias=i686-pc-linux-gnuoldld
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/Desktop/libusb-0.1.12/missing --run aclocal-1.8'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/Desktop/libusb-0.1.12/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/Desktop/libusb-0.1.12/missing --run autoconf'
AUTOHEADER='${SHELL} /root/Desktop/libusb-0.1.12/missing --run autoheader'
AUTOMAKE='${SHELL} /root/Desktop/libusb-0.1.12/missing --run automake-1.8'
AWK='gawk'
BIGENDIAN=''
BSD_API=''
BSD_API_FALSE=''
BSD_API_TRUE=''
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=i586 -mtune=i686'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=i586 -mtune=i686'
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} /root/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='MAKE=make'
SHELL='/bin/sh'
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='#'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnuoldld'
build_alias=''
build_cpu='i686'
build_os='linux-gnuoldld'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnuoldld'
host_alias=''
host_cpu='i686'
host_os='linux-gnuoldld'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/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
vector:/~/Desktop/libusb-0.1.12
root:#
