LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installed iscan successfully but bad. Now problem compiling from source. (https://www.linuxquestions.org/questions/linux-software-2/installed-iscan-successfully-but-bad-now-problem-compiling-from-source-929943/)

SharpyWarpy 02-17-2012 02:59 PM

Installed iscan successfully but bad. Now problem compiling from source.
 
Iscan for Epson Perfection flatbed scanned installed okay but the bottom of the window extends down past the bottom of the screen. I can't find the "Scan" button, although I can "tab", guessing how many and hit enter and it scans fine. How can I fix this GUI problem? I can scan on the command line if I have to, not a problem. But I'd like to get the GUI geometry adjusted properly so I can use that. Is there some GTK package I might be missing that is responsible for these settings? I should mention here I'm using Fedora 16 64 bit and Iscan is a 32 bit program as are the dependencies -- 32 bit. Does that make a difference? I have the source for Iscan. If I compile it will it come out 64 bit and work properly or is that not a viable alternative? I don't know any programming languages other than HTML and a fair amount of bash scripting. I've been using Linux for 9 years so I'm fairly knowledgeable about installing missing dependencies for installing packages and for compiling. Anybody have experience with this kind of GUI geometry problem? Thanks in advance for any clues to point me in the right direction.
UPDATE:
I have been trying to compile iscan from source and ran into a few missing development packages and installed those. But now I'm having a problem I don't know how to handle. I thought it might have something to do with the sane-backends-devel package but I'm not sure. Here are some of the last few lines from running "make":
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/sane -I../include -g -O2 -MT libimage_stream_la-cfilebuf.lo -MD -MP -MF .deps/libimage_stream_la-cfilebuf.Tpo -c cfilebuf.cc -fPIC -DPIC -o .libs/libimage_stream_la-cfilebuf.o
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/sane -I../include -g -O2 -MT libimage_stream_la-cfilebuf.lo -MD -MP -MF .deps/libimage_stream_la-cfilebuf.Tpo -c cfilebuf.cc -o libimage_stream_la-cfilebuf.o >/dev/null 2>&1
if /bin/sh ../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
imgstream.cc: In static member function 'static lt__handle* iscan::imgstream::find_dlopen(const char*)':
imgstream.cc:262:69: error: invalid conversion from 'int (*)(const void*, const void*)' to 'int (*)(const dirent**, const dirent**)' [-fpermissive]
/usr/include/dirent.h:256:12: error: initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))' [-fpermissive]
imgstream.cc: In function 'int iscan::reversionsort(const void*, const void*)':
imgstream.cc:313:27: error: invalid conversion from 'const void*' to 'const dirent**' [-fpermissive]
/usr/include/dirent.h:381:12: error: initializing argument 1 of 'int versionsort(const dirent**, const dirent**)' [-fpermissive]
imgstream.cc:313:27: error: invalid conversion from 'const void*' to 'const dirent**' [-fpermissive]
/usr/include/dirent.h:381:12: error: initializing argument 2 of 'int versionsort(const dirent**, const dirent**)' [-fpermissive]
make[2]: *** [libimage_stream_la-imgstream.lo] Error 1
make[2]: Leaving directory `/rbandmb/iscan-2.10.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rbandmb/iscan-2.10.0'
make: *** [all] Error 2
EDIT:
Well I had to give up on Gnome3. I didn't want to, I've used it from way back when I had a much slower computer. I installed KDE from the Installation DVD and have begun using that. Iscan loads and looks fine with KDE. I'm not a programmer -- except for HTML -- but it seems like Gnome3 is not for me. It's just too hard to keep it from crashing and displaying windows properly. Like it has been changed so to access the window options I had to do "Alt-right click" on the title bar. I finally found that on an individual's blog, I forget now. But after stuff like that for a week now I don't know if I'll ever use Gnome again. Sad. I'm marking this thread SOLVED and maybe it will help somebody.


All times are GMT -5. The time now is 09:25 PM.