Closed cwfoo closed 1 year ago
Hi @cwfoo,
I happy to hear that ipp-usb
is about to become UNIX-wide, not Linux-only solution.
The build succeeds after this line is removed:
The correct line, which includes FreeBSD would probably look like:
// +build freebsd linux
If you test it and it works, you probably could create a PR, I will accept it.
Another issue: gmake PREFIX=/usr/local/ install will fail because there is no -t option in FreeBSD's install
I would appreciate if you could try to find a solution that works equally well on both Linux and BSD (I can help with testing on Linux)
ipp-usb is now in the FreeBSD ports tree. https://www.freshports.org/print/ipp-usb/
I tried to build ipp-usb on FreeBSD 13.1-RELEASE using the following steps:
pkg install avahi-app gmake go pkgconf
(The avahi-app package provides libavahi-common.so and libavahi-client.so).gmake
However, this error appears:
The build succeeds after this line is removed:
https://github.com/OpenPrinting/ipp-usb/blob/5d0719d595a2438dfc0e56a62b90a1bde82f6577/dnssd_avahi.go#L1
I'm happy to report that I managed to print and scan via ipp-usb on FreeBSD.
Another issue:
gmake PREFIX=/usr/local/ install
will fail because there is no-t
option in FreeBSD'sinstall
.https://github.com/OpenPrinting/ipp-usb/blob/5d0719d595a2438dfc0e56a62b90a1bde82f6577/Makefile#L20-L27
Are there any plans to add official support for FreeBSD? Or is this project supposed to be Linux-only?