[sane-devel] Compiling sane-backends on FC8 64bit

Chris chris at cenolan.com
Wed Jan 16 08:08:46 UTC 2008


The reason I'm not using the source rpm for f-8 is that I'm trying to 
build the hp3900 libraries which aren't included in sane as standard (yet).

Also, the hp3900 installer script only includes the 32bit libraries so 
that doesn't work either. As a result I'm following this guide here: 
http://sourceforge.net/forum/message.php?msg_id=4250316

So, any ideas how I can get this thing to build? I know others have 
managed to build it on 64bit systems. I am pretty sure I'm missing 
something from the required libraries?

Thanks
Chris

Martin Kho wrote:
> Why don't you use a source rpm specific for f-8? You can also see which 
> patches the fedora folks have made. Maybe the spec-file gives you some more 
> clues.
>
> Martin 
>
>
> On Wednesday 16 January 2008, Chris wrote:
>   
>> Hi folks, I am struggling to compile sane-backends on FC8 x86_64
>>
>> I've googled and searched the lists but the only similar problem I could
>> find was back in June 2004 and the noted solution didn't work for me.
>> Please can anyone help? The output of make is below. Please let me know
>> if I need to provide any other information.
>>
>> Many thanks
>> Chris
>>
>>
>> making depend in include
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/include' make[1]: Nothing to be
>> done for `depend'.
>> make[1]: Leaving directory
>> `/home/cnolan/Download/sane-backends-1.0.18/include' making depend in lib
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/lib' makedepend -I.
>> -I../include *.c 2>/dev/null
>> make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
>> making depend in sanei
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/sanei' makedepend -I.
>> -I../include *.c 2>/dev/null
>> make[1]: Leaving directory
>> `/home/cnolan/Download/sane-backends-1.0.18/sanei' making depend in backend
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/backend' makedepend -I. -I.
>> -I../include -I../include *.c 2>/dev/null
>> makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2>/dev/null
>> make[1]: Leaving directory
>> `/home/cnolan/Download/sane-backends-1.0.18/backend' making depend in
>> frontend
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/frontend' makedepend -I. -I.
>> -I../include -I../include -I/usr/local/include *.c 2>/dev/null make[1]:
>> Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/frontend'
>> making depend in tools
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/tools' makedepend -I. -I.
>> -I../include -I../include *.c 2>/dev/null
>> make[1]: Leaving directory
>> `/home/cnolan/Download/sane-backends-1.0.18/tools' making depend in doc
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/doc' make[1]: Nothing to be
>> done for `depend'.
>> make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
>> making depend in po
>> make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/po'
>> make[1]: Nothing to be done for `depend'.
>> make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/po'
>> making all in include
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/include' make[1]: Nothing to be
>> done for `all'.
>> make[1]: Leaving directory
>> `/home/cnolan/Download/sane-backends-1.0.18/include' making all in lib
>> make[1]: Entering directory
>> `/home/cnolan/Download/sane-backends-1.0.18/lib' gcc -c -DHAVE_CONFIG_H -I.
>> -I. -I../include/sane -I../include
>> -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d        
>> -DPATH_SANE_DATA_DIR=/usr/local/share           -DPATH_SANE_LOCK_DIR=   
>> -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall getenv.c getenv.c:13:4: error:
>> #error "Missing getenv() on this platform.  Please implement." getenv.c: In
>> function ‘getenv’:
>> getenv.c:6: warning: unused parameter ‘name’
>> make[1]: *** [getenv.o] Error 1
>> make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
>> make: *** [all-recursive] Error 1
>>     
>
>
>
>   




More information about the sane-devel mailing list