Compilation error (gutenprint-5.1.3)

Asked by ErinMae-77

I have an Epson Stylus CX4800 printer/scanner...but it is not one of the supported printers listed...I have the gutenprint-5.1.3 driver, which has worked in the past, but it will not install/configure. Whe i try, i get the follwing:

erin@erin-laptop:~/gutenprint-5.1.3$ 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... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
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.

But the config.log means squat to me! It is posted below, if anyine can help, i would greatly appreciate it. This is the first distro of linux that is pretty much full compatible with mt Toshiba Satellite P100-JR1 laptop!! And I am sooo excited!!

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

It was created by gutenprint configure 5.1.3, which was
generated by GNU Autoconf 2.60. Invocation command line was

  $ ./configure

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

hostname = erin-laptop
uname -m = i686
uname -r = 2.6.22-7-generic
uname -s = Linux
uname -v = #1 SMP Mon Jun 25 17:33:14 GMT 2007

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

/bin/arch = i686
/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/X11R6/bin

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

configure:2239: checking for a BSD-compatible install
configure:2295: result: /usr/bin/install -c
configure:2306: checking whether build environment is sane
configure:2349: result: yes
configure:2414: checking for gawk
configure:2444: result: no
configure:2414: checking for mawk
configure:2430: found /usr/bin/mawk
configure:2441: result: mawk
configure:2452: checking whether make sets $(MAKE)
configure:2473: result: yes
configure:2652: checking how to create a ustar tar archive
configure:2665: tar --version
tar (GNU tar) 1.16.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:2668: $? = 0
configure:2708: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:2711: $? = 0
configure:2715: tar -xf - <conftest.tar
configure:2718: $? = 0
configure:2731: result: gnutar
configure:2839: checking build system type
configure:2857: result: i686-pc-linux-gnulibc1
configure:2879: checking host system type
configure:2894: result: i686-pc-linux-gnulibc1
configure:2928: checking for style of include used by make
configure:2956: result: GNU
configure:3029: checking for gcc
configure:3045: found /usr/bin/gcc
configure:3056: result: gcc
configure:3294: checking for C compiler version
configure:3301: gcc --version >&5
gcc (GCC) 4.1.3 20070629 (prerelease) (Ubuntu 4.1.2-13ubuntu2)
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:3304: $? = 0
configure:3311: 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.1.3 --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.3 20070629 (prerelease) (Ubuntu 4.1.2-13ubuntu2)
configure:3314: $? = 0
configure:3321: gcc -V >&5
gcc: '-V' option must have argument
configure:3324: $? = 1
configure:3347: checking for C compiler default output file name
configure:3374: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3377: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "gutenprint"
| #define PACKAGE_TARNAME "gutenprint"
| #define PACKAGE_VERSION "5.1.3"
| #define PACKAGE_STRING "gutenprint 5.1.3"
| #define PACKAGE_BUGREPORT "<email address hidden>"
| #define PACKAGE "gutenprint"
| #define VERSION "5.1.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3416: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnulibc1
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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_GIMP2_CFLAGS_set=
ac_cv_env_GIMP2_CFLAGS_value=
ac_cv_env_GIMP2_LIBS_set=
ac_cv_env_GIMP2_LIBS_value=
ac_cv_env_GTK2_CFLAGS_set=
ac_cv_env_GTK2_CFLAGS_value=
ac_cv_env_GTK2_LIBS_set=
ac_cv_env_GTK2_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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_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
am_cv_prog_tar_ustar=gnutar

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

ACLOCAL='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run aclocal-1.9'
ALL_LINGUAS='cs da de el en_GB es fr hu ja nb nl pl pt sk sv zh_TW'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run autoconf'
AUTOHEADER='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run autoheader'
AUTOMAKE='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run automake-1.9'
AWK='mawk'
BUILD_CUPS_1_2_FALSE=''
BUILD_CUPS_1_2_TRUE=''
BUILD_CUPS_FALSE=''
BUILD_CUPS_PPDS=''
BUILD_CUPS_PPDS_FALSE=''
BUILD_CUPS_PPDS_TRUE=''
BUILD_CUPS_TRUE=''
BUILD_ESCPUTIL_FALSE=''
BUILD_ESCPUTIL_TRUE=''
BUILD_FOOMATIC_3_FALSE=''
BUILD_FOOMATIC_3_TRUE=''
BUILD_FOOMATIC_FALSE=''
BUILD_FOOMATIC_TRUE=''
BUILD_GENPPD_STATIC_FALSE=''
BUILD_GENPPD_STATIC_TRUE=''
BUILD_GHOSTSCRIPT_FALSE=''
BUILD_GHOSTSCRIPT_TRUE=''
BUILD_GIMP2_AS_GUTENPRINT_FALSE=''
BUILD_GIMP2_AS_GUTENPRINT_TRUE=''
BUILD_GIMP2_FALSE=''
BUILD_GIMP2_TRUE=''
BUILD_LIBGUTENPRINTUI2_FALSE=''
BUILD_LIBGUTENPRINTUI2_TRUE=''
BUILD_MODULES_FALSE=''
BUILD_MODULES_TRUE=''
BUILD_SIMPLIFIED_CUPS_PPDS_FALSE=''
BUILD_SIMPLIFIED_CUPS_PPDS_TRUE=''
BUILD_TESTPATTERN_FALSE=''
BUILD_TESTPATTERN_TRUE=''
BUILD_TEST_FALSE=''
BUILD_TEST_TRUE=''
BUILD_TRANSLATED_CUPS_PPDS_FALSE=''
BUILD_TRANSLATED_CUPS_PPDS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CONVERT=''
CPP=''
CPPFLAGS=''
CUPS_CFLAGS=''
CUPS_CONFIG=''
CUPS_LIBS=''
CUPS_PPDS_AT_TOP_LEVEL_FALSE=''
CUPS_PPDS_AT_TOP_LEVEL_TRUE=''
CUPS_PPD_PS_LEVEL=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DB2HTML=''
DB2PDF=''
DB2PS=''
DEFS=''
DEPDIR='.deps'
DIALOG=''
DOXYGEN=''
DVIPDF=''
DVIPS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FIND=''
FOOMATIC_CONFIGURE=''
FOOMATIC_KITLOAD=''
FOOMATIC_PPDFILE=''
GENPPD_LIBS=''
GIMP2_CFLAGS=''
GIMP2_LIBS=''
GIMPTOOL2_CHECK=''
GLIB_MKENUMS=''
GMSGFMT=''
GNUCFLAGS=''
GREP=''
GTK2_CFLAGS=''
GTK2_LIBS=''
GUTENPRINTUI2_BINARY_AGE='0'
GUTENPRINTUI2_CFLAGS=''
GUTENPRINTUI2_CURRENT_INTERFACE='1'
GUTENPRINTUI2_INTERFACE_AGE='0'
GUTENPRINTUI2_LIBDEPS=' $(GUTENPRINT_LIBS)'
GUTENPRINTUI2_LIBS='-lgutenprintui2'
GUTENPRINTUI2_VERSION=''
GUTENPRINT_BINARY_AGE='0'
GUTENPRINT_CFLAGS=''
GUTENPRINT_CURRENT_INTERFACE='2'
GUTENPRINT_INTERFACE_AGE='0'
GUTENPRINT_LIBDEPS=''
GUTENPRINT_LIBS='-lgutenprint'
GUTENPRINT_MAJOR_VERSION='5'
GUTENPRINT_MICRO_VERSION='3'
GUTENPRINT_MINOR_VERSION='1'
GUTENPRINT_VERSION='5.1.3'
IJS_CFLAGS=''
IJS_CONFIG=''
IJS_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SAMPLES_FALSE=''
INSTALL_SAMPLES_TRUE=''
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTALL_USER_GUIDE_FALSE=''
INSTALL_USER_GUIDE_TRUE=''
INTLLIBS=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBREADLINE_DEPS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LN_S=''
LTALLOCA=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_CFLAGS=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/erin/gutenprint-5.1.3/scripts/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
PACKAGE='gutenprint'
<email address hidden>'
PACKAGE_NAME='gutenprint'
PACKAGE_STRING='gutenprint 5.1.3'
PACKAGE_TARNAME='gutenprint'
PACKAGE_VERSION='5.1.3'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PLUG_IN_PATH=''
POSUB=''
RANLIB=''
RELEASE_DATE=''
RM=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TEXI2HTML=''
USE_LEVEL3_PS_FALSE=''
USE_LEVEL3_PS_TRUE=''
USE_NLS=''
USE_NLS_FALSE=''
USE_NLS_TRUE=''
VERSION='5.1.3'
WHICH_PPDS=''
XGETTEXT=''
YACC=''
YFLAGS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
cups_bindir=''
cups_conf_datadir=''
cups_conf_serverbin=''
cups_conf_serverroot=''
cups_exec_prefix=''
cups_prefix=''
cups_sbindir=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gimp2_plug_indir=''
gutenprint_cflags=''
gutenprint_libdeps=''
gutenprint_libs=''
gutenprintui2_cflags=''
gutenprintui2_libdeps=''
gutenprintui2_libs=''
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/erin/gutenprint-5.1.3/scripts/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='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 "gutenprint"
#define PACKAGE_TARNAME "gutenprint"
#define PACKAGE_VERSION "5.1.3"
#define PACKAGE_STRING "gutenprint 5.1.3"
#define PACKAGE_BUGREPORT "<email address hidden>"
#define PACKAGE "gutenprint"
#define VERSION "5.1.3"

configure: exit 77

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

This question ended up in the launchpad-answers project and not the Ubuntu project which I think is correct.

I think I've seen this issue before though, so I may be able to help. Your gcc/tools chain is either missing, broken, or (upsettingly) incompatible with the lastest sourcepackage. You can try this for a quick and hopefully final fix:
$ sudo apt-get remove build-essential
$ sudo apt-get install build-essential
That will fix and/or install the tool chain.

Revision history for this message
ErinMae-77 (e-miller) said :
#2

thanx, but this is what i got when i did those commands:

erin@erin-laptop:~$ sudo apt-get remove build-essential
[sudo] password for erin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
erin@erin-laptop:~$ sudo apt-get install build essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build

On Wed, 2007-07-11 at 17:31 +0000, Curtis Hovey wrote:
> Your question #9535 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/9535
>
> Status: Open => Answered
>
> Curtis Hovey proposed the following answer:
> This question ended up in the launchpad-answers project and not the
> Ubuntu project which I think is correct.
>
> I think I've seen this issue before though, so I may be able to help. Your gcc/tools chain is either missing, broken, or (upsettingly) incompatible with the lastest sourcepackage. You can try this for a quick and hopefully final fix:
> $ sudo apt-get remove build-essential
> $ sudo apt-get install build-essential
> That will fix and/or install the tool chain.
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

Its build-essentials (note tha dash in between).

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

BTW, to explain the error. In config.log you find this:

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

The linker is complaining because it is missing a (core) object file. Indeed, crt1.o is part of the libc6-dev package.
You can install it self-standing, but installing build-essential (which is just a meta-package) will also install it, amongst what are considered tha essential components to be able to build debian packages:

dpkg-dev Package building tools for Debian
g++ The GNU C++ compiler
gcc The GNU C compiler
libc6-dev GNU C Library: Development Libraries and Header Files
make The GNU version of the "make" utility

Revision history for this message
ErinMae-77 (e-miller) said :
#5

did it again, got the same thing...says:
E: Couldn't find package build-essentials

On Wed, 2007-07-11 at 21:00 +0000, Cesare Tirabassi wrote:
> Your question #9535 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/9535
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Its build-essentials (note tha dash in between).
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#6

Yes, my typing mistake this time, its build-essential

Cesare-Erin 1-1, ball back to the center.....

Revision history for this message
ErinMae-77 (e-miller) said :
#7

well, now the printer is listed, but it doesnt actually work!! "TEST"
page doesnt even print...
On Wed, 2007-07-11 at 21:14 +0000, Cesare Tirabassi wrote:
> Your question #9535 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/9535
>
> Cesare Tirabassi proposed the following answer:
> BTW, to explain the error. In config.log you find this:
>
> /usr/bin/ld: crt1.o: No such file: No such file or directory
>
> The linker is complaining because it is missing a (core) object file. Indeed, crt1.o is part of the libc6-dev package.
> You can install it self-standing, but installing build-essential (which is just a meta-package) will also install it, amongst what are considered tha essential components to be able to build debian packages:
>
> dpkg-dev Package building tools for Debian
> g++ The GNU C++ compiler
> gcc The GNU C compiler
> libc6-dev GNU C Library: Development Libraries and Header Files
> make The GNU version of the "make" utility
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#8

Restart and retry. Don't forget that Gutsy Tribe 2 is still a long way to be a stable release and is NOT to be used unless for debugging.

Revision history for this message
GopalaKrishnan (amiablekrishna) said :
#9

In function ‘open’,
    inlined from ‘collect_execute’ at ../../gcc-4.0.1/gcc/collect2.c:1580:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/gopalakrishnan/Desktop/gcc-obj/gcc'
make: *** [all-gcc] Error 2

Revision history for this message
GopalaKrishnan (amiablekrishna) said :
#10

In function ‘open’,
    inlined from ‘collect_execute’ at ../../gcc-4.0.1/gcc/collect2.c:1580:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/gopalakrishnan/Desktop/gcc-obj/gcc'
make: *** [all-gcc] Error 2

Can you help with this problem?

Provide an answer of your own, or ask ErinMae-77 for more information if necessary.

To post a message you must log in.