You are not logged in.

#1 2009-07-15 18:30:03

adamlau
Member
Registered: 2009-01-30
Posts: 418

[SOLVED] Xsane Build Errors

xsane: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

Prompted me to rebuild sane-backends-1.0.20 against libjpeg 7-1 (no problems there) and xsane (with build errors):

--disable-gimp --disable-nls --disable-sanetest --disable-gimptest --disable-gtktest --prefix=/usr/local
xsane-back-gtk.c: In function 'xsane_back_gtk_range_display_value_right_callback':
xsane-back-gtk.c:1966: warning: cast from pointer to integer of different size
xsane-back-gtk.c: In function 'xsane_back_gtk_range_new':
xsane-back-gtk.c:2016: warning: cast to pointer from integer of different size
xsane-back-gtk.c: In function 'xsane_back_gtk_set_sensitivity':
xsane-back-gtk.c:2615: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared (first use in this function)
xsane-back-gtk.c:2615: error: (Each undeclared identifier is reported only once
xsane-back-gtk.c:2615: error: for each function it appears in.)
make[1]: *** [xsane-back-gtk.o] Error 1

Is there a known resolution/workaround for this?

Last edited by adamlau (2009-07-15 18:38:39)


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

#2 2009-07-15 18:36:04

adamlau
Member
Registered: 2009-01-30
Posts: 418

Re: [SOLVED] Xsane Build Errors

Just noticed the MissingCapsFlag.patch, build went without a hitch, xsane works as expected...

Last edited by adamlau (2009-07-15 19:18:39)


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

Board footer

Powered by FluxBB