SimulPiscator / AirSane

Publish SANE scanners to MacOS, Android, and Windows via Apple AirScan.
GNU General Public License v3.0
243 stars 26 forks source link

No such file or directory issue #121

Closed SerJoG closed 4 months ago

SerJoG commented 4 months ago

Hello, @SimulPiscator I'm using the latest release of airsane and sane on a Raspberry pi 3 model B+. When I run the make command the following error appear: image

SimulPiscator commented 4 months ago

Hi,

you need to install the libsane-dev packet so you have the SANE header available in your system.

SerJoG commented 4 months ago

I jumped a command. Now I try again and inform you.

SerJoG commented 4 months ago

The make is working but I want to tell you that this show up: image And also other. I don't know why, 'cause on a rpi 5 it doesn't appear.

SimulPiscator commented 4 months ago

It's a warning about a change within gcc that will affect sharing compiled C++ code with others. Regarding the AirSane executable, it may be ignored. (See https://stackoverflow.com/questions/48149323/what-does-the-gcc-warning-project-parameter-passing-for-x-changed-in-gcc-7-1-m)

But thanks for the heads-up anyway.

SerJoG commented 4 months ago

@SimulPiscator now I can acces to the web page but sudo -u saned scanimage -L doesn't show airscan device but only xerox.

SerJoG commented 4 months ago

I also have installed cups, it may 'cause problem?

SimulPiscator commented 4 months ago

@SimulPiscator now I can acces to the web page but sudo -u saned scanimage -L doesn't show airscan device but only xerox.

On the Linux client side, you need to install and enable sane-airscan if you want to see scanners published by AirSane. It's described in the readme file.

SerJoG commented 4 months ago

But I have this: image Also I wanted to use Windows as client.

SimulPiscator commented 4 months ago

So I guess you want to publish your Xerox scanner to Windows?

SerJoG commented 4 months ago

yes

SimulPiscator commented 4 months ago

Which user account are you running AirSane under?

SerJoG commented 4 months ago

How could I find which?

SimulPiscator commented 4 months ago

When you are logged in to the machine, what exact command are you executing to run AirSane?

SerJoG commented 4 months ago

I just started the service on systemctl, I didn't use other command. I know that's airsaned but I thought its for change settings only.

SimulPiscator commented 4 months ago

OK, if it runs from systemctl, it will will run as saned. So if you run scanimage -Las saned, it sees the Xerox scanner, but if you run AirSane as saned, it doesn't see it?

SimulPiscator commented 4 months ago

If you stop airsaned through systemctl, you can do the following: sudo -u saned /usr/local/bin/airsaned --debug=true --local_scanners_only=false

Edit: correct airsaned path for future readers

SerJoG commented 4 months ago

@SimulPiscator Hi, there no airsaned in /usr/sbin. But I today I found that stopping and starting again airsaned solved the issue.