Unable to install epson scanner software

Asked by David McBride

I am installing iscan from www.epkowa in an attempt to get my epson 3170 scanner to work. The rpm method of install did not work. plan B was to install the source code. I was able to unzip the file and navigate to that directory. when I went to configure this happened.

themac1964@themac1964-desktop:/media/bigdrive/iscan-2.10.0$ ./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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

HELP! this is the only thing I can not get to work that is causing me stress.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
David McBride
Solved:
Last query:
Last reply:
Revision history for this message
Nicolas DERIVE (kalon33) said :
#1

Hello David,

In order to compile the source code, you need a compiler. I advise you to install the metapackage "build-essential" (using synaptic package manager or in a terminal by typing "apt-get install build-essential") which should install the base utils to compile your code. I advise you to check the build dependencies of your code too (because if you don't, you may have messages like "foolibs >= x.y.z missing") and install appropriate *-dev packages to build it (according to your build dependencies).

If you have other problems compiling this code, don't hesitate to continue asking help under this question.

Hope that it helps you.

--kalon33

Revision history for this message
David McBride (themac1964) said :
#2

I installed the build-essential with no problems. No I get the error

themac1964@themac1964-desktop:/media/bigdrive/iscan-2.10.0$ ./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 for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking C++ ABI version... 1002
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... no
checking for GTK... yes
checking for GDK_IMLIB... configure: error: Package requirements (imlibgdk) were not met:

No package 'imlibgdk' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GDK_IMLIB_CFLAGS
and GDK_IMLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Revision history for this message
oeolartep (oeolartep) said :
#3

type,

sudo apt-get install gdk-imlib11-dev

Revision history for this message
oeolartep (oeolartep) said :
#4

Try converting iscan-2.10.0-1.c2.i386.rpm to .deb:

sudo apt-get install alien
sudo alien iscan-2.10.0-1.c2.i386.rpm

then

sudo dpkg -i iscan-2.10.0-1.c2.i386.deb

to install the package.

I am not sure, but I think you need also the plugin file to make your scanner work,

iscan-plugin-gt-9400-1.0.0-1.c2.i386.rpm

of course you have to convert it to .deb.

Revision history for this message
Nicolas DERIVE (kalon33) said :
#5

Hello David,

As it's not a really easy task to do when you're a beginner in compiling, I took the liberty to send some help about this directly to your email address.

Hope that it helps you.

--kalon33

Revision history for this message
David McBride (themac1964) said :
#6

Thanks kalon33 and Omar Olarte

I can scan

Does any body have a suggestion about a beginner type book to learn how to work in Linux?

Revision history for this message
Nicolas DERIVE (kalon33) said :
#7

Hello David,

You can read the Official Ubuntu Book, which was written by Ubuntu developers : http://www.amazon.com/Official-Ubuntu-Book-Benjamin-Mako/dp/0132435942

Or simply read the system help (System > Help and Support) or go and read some of the docs at https://help.ubuntu.com/.

If you want live support of ask questions directly, you can go in #ubuntu on irc.freenode.net (using pidgin for example).

You can also wait for the next UbuntuOpenWeek, when you have sessions about packaging and various other things. (check the updates of the https://wiki.ubuntu.com/UbuntuOpenWeek page)

We of course remain at your disposition for any question on Ubuntu or Linux.

--kalon33

Revision history for this message
David McBride (themac1964) said :
#8

I was fearful of leaving my safe XP world for Ubuntu. Now I am not.
The level of service I received here is impressive. I have paid for hardware and software and received little or no competent help.

Revision history for this message
thebcds (thebcds) said :
#9

I had the same problem installing an Epson Stylus DX 7450 and, following the preceding procedure, was able to successfully run the ./configure from the source dir. However, I had the following problem when I tried to run the 'make' command from the same dir.

root@bryan-laptop:/home/bryan/Desktop/iscan-2.11.0# make
make all-recursive
make[1]: Entering directory `/home/bryan/Desktop/iscan-2.11.0'
Making all in include
make[2]: Entering directory `/home/bryan/Desktop/iscan-2.11.0/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bryan/Desktop/iscan-2.11.0/include'
Making all in libltdl
make[2]: Entering directory `/home/bryan/Desktop/iscan-2.11.0/libltdl'
make all-am
make[3]: Entering directory `/home/bryan/Desktop/iscan-2.11.0/libltdl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bryan/Desktop/iscan-2.11.0/libltdl'
make[2]: Leaving directory `/home/bryan/Desktop/iscan-2.11.0/libltdl'
Making all in lib
make[2]: Entering directory `/home/bryan/Desktop/iscan-2.11.0/lib'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/sane -I../include -g -O2 -MT libimage_stream_la-imgstream.lo -MD -MP -MF ".deps/libimage_stream_la-imgstream.Tpo" -c -o libimage_stream_la-imgstream.lo `test -f 'imgstream.cc' || echo './'`imgstream.cc; \
        then mv -f ".deps/libimage_stream_la-imgstream.Tpo" ".deps/libimage_stream_la-imgstream.Plo"; else rm -f ".deps/libimage_stream_la-imgstream.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/sane -I../include -g -O2 -MT libimage_stream_la-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-imgstream.Tpo -c imgstream.cc -fPIC -DPIC -o .libs/libimage_stream_la-imgstream.o
In file included from imgstream.cc:33:
imgstream.hh:46:18: error: ltdl.h: No such file or directory
In file included from imgstream.cc:33:
imgstream.hh:115: error: 'lt_dlhandle' does not name a type
imgstream.hh:116: error: 'lt_ptr' does not name a type
imgstream.hh:118: error: 'dl_handle' does not name a type
imgstream.hh:120: error: 'dl_ptr' does not name a type
imgstream.hh:121: error: 'dl_handle' has not been declared
imgstream.hh:124: error: 'dl_handle' does not name a type
imgstream.cc:157: error: 'dl_handle' in class 'iscan::imgstream' does not name a type
imgstream.cc:176: error: 'dl_ptr' in class 'iscan::imgstream' does not name a type
imgstream.cc:183: error: 'int iscan::imgstream::dlclose' is not a static member of 'class iscan::imgstream'
imgstream.cc:183: error: 'dl_handle' was not declared in this scope
imgstream.cc:184: error: expected ',' or ';' before '{' token
imgstream.cc:213: error: 'dl_handle' in class 'iscan::imgstream' does not name a type
make[2]: *** [libimage_stream_la-imgstream.lo] Error 1
make[2]: Leaving directory `/home/bryan/Desktop/iscan-2.11.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bryan/Desktop/iscan-2.11.0'
make: *** [all] Error 2

What is up with these errors?! Can anyone help me?

Thanks

Revision history for this message
Olaf Meeuwissen (olaf.meeuwissen) said :
#10

You're missing the libltdl7-dev (or libltdl3-dev for pre-jaunty releases) package.

You can get the list of packages needed to build you own Debian package from the debian/control file included in the sources. This list should also cover the compiled from source case.

  $ grep ^Build-Depends: debian/control
  Build-Depends: cdbs, debhelper (>= 5.0.42), libsane-dev, libltdl3-dev | libltdl7-dev, libgtk2.0-dev, libpng-dev, libjpeg-dev, libgimp2.0-dev, libtiff4-dev