[plug] Trying to compile Iscan

Mark marks at omninet.net.au
Wed Jun 28 17:05:17 WST 2006


laurie anderson wrote:

>Good evening,
>
>Today I started to compile the latest version of 'iscan'
>Not being a programmer I have come unglued
>As long as someone can advise me on what is required I believe I can resolve the
>situation.
>
>Tim recommended a build in preference to using the .rpm files.
>
><<
>/bin/sh ./libtool --mode=link --tag=CC gcc  -g -O2   -o libltdlc.la   ltdl.lo -ldl
>rm -fr  .libs/libltdlc.a .libs/libltdlc.la
>ar cru .libs/libltdlc.a .libs/ltdl.o
>ranlib .libs/libltdlc.a
>creating libltdlc.la
>(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
>make[3]: Leaving directory `/home/jlnlaurie/iscan-2.1.0/libltdl'
>make[2]: Leaving directory `/home/jlnlaurie/iscan-2.1.0/libltdl'
>Making all in lib
>make[2]: Entering directory `/home/jlnlaurie/iscan-2.1.0/lib'
>if /bin/sh ../libtool --mode=compile --tag=CXX 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:31:
>imgstream.hh:46:18: error: ltdl.h: No such file or directory
>  
>
It needs the file ltdl.h part of the Libtool or Libtool-devel  package. 
Libtool is either not installed
or the package your compiling is looking for ltdl.h in the wrong place.

Check you have Libtool installed.


>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
>james:/home/jlnlaurie/iscan-2.1.0#
>imgstream.cc:155: error: 'dl_handle' in class 'iscan::imgstream' does not name a type
>imgstream.cc:174: error: 'dl_ptr' in class 'iscan::imgstream' does not name a type
>imgstream.cc:181: error: 'int iscan::imgstream::dlclose' is not a static member of 'class iscan::imgstream'
>imgstream.cc:181: error: 'dl_handle' was not declared in this scope
>imgstream.cc:182: error: expected ',' or ';' before '{' token
>imgstream.cc:211: 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/jlnlaurie/iscan-2.1.0/lib'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/jlnlaurie/iscan-2.1.0'
>make: *** [all] Error 2
>
>  
>
>
>The OS will be Debian Sid & or Ubuntu 6.06
>
>Hope the info is adequate.
>
>Recommendations as how to resolve thing's please.
>
>Thank's
>
>Laurie 
>_______________________________________________
>PLUG discussion list: plug at plug.org.au
>http://www.plug.org.au/mailman/listinfo/plug
>Committee e-mail: committee at plug.linux.org.au
>
>
>  
>




More information about the plug mailing list