hean01 / iscan

Fixes for iscan and epkowa sane backend
GNU General Public License v2.0
6 stars 4 forks source link

Building on Debian wheezy fails with error #1

Open fmitha opened 10 years ago

fmitha commented 10 years ago

I'm seeing the following error when attempting to build using the master branch on Debian wheezy. I start with:

faheem@orwell:/usr/local/src/iscan/iscan$ git branch 
* (detached from origin/master)
  iscan-2.29.1-5
faheem@orwell:/usr/local/src/iscan/iscan$ git status
# HEAD detached at origin/master
nothing to commit, working directory clean
faheem@orwell:/usr/local/src/iscan/iscan$ debuild -uc -us
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of iscan_2.29.3.orig.tar.gz, iscan_2.29.3.orig.tar.bz2,
iscan_2.29.3.orig.tar.lzma,  iscan_2.29.3.orig.tar.xz or iscan.orig)
continue anyway? (y/n)

The error is

make[1]: Entering directory `/usr/local/src/iscan/iscan'
cd . && /bin/bash /usr/local/src/iscan/iscan/missing --run aclocal-1.10 -I m4
configure.ac:273: error: unknown libltdl build type: _LTDL_TYPE
/usr/share/aclocal/ltdl.m4:226: LTDL_INIT is expanded from...
/usr/share/aclocal/ltdl.m4:352: AC_LIB_LTDL is expanded from...
configure.ac:273: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
make[1]: *** [aclocal.m4] Error 1
make[1]: Leaving directory `/usr/local/src/iscan/iscan'

Suggestions for fixing or even a confirmation this can be reproduced would be helpful.

Regards, Faheem

fmitha commented 10 years ago

I can add a build log if you want. I'll need to put it somewhere else, because github does not seem to allow attaching files.

hean01 commented 10 years ago

Hi, Put it on http://pastebin.com and share the link... and ill take a look at it

hean01 commented 10 years ago

Im not a debian user, but it looks like you need a tarball of the source, create one with make dist.

fmitha commented 10 years ago

Hi Henrik,

Thank you for the quick reply, Here is the build log. I don't think that not having a tarball is the problem, but I'll experiment and report back. Incidentally, is this an unofficial fork of the Epson code? I've also posted on this problem on unix.sx. I might also try the autotools list. The problem should be easy to reproduce on Debian, if you have a virtual machine or something.

Regards, Faheem

fmitha commented 10 years ago

Running make dist from a clean checkout gives

faheem@orwell:/usr/local/src/iscan/iscan$ make dist
make: *** No rule to make target `dist'.  Stop.

If I attempt to run that after debuild -uc -us has exited with the error above, I just get the same error.

hean01 commented 10 years ago

Yes this is unofficial fork of iscan with some fixes for scanning 16bit at high resolution, see commit log for more info..

fmitha commented 10 years ago

BTW, where are you getting the sources from? Epson does not make it easy.to find the sources.