Closed onedrawingperday closed 3 years ago
Basically the best explanation I have found so far for the failed installation is described in this pull request.
Apparently MacPorts require specific versions of the MacOSX sdk. In 2.6.4 there is a requirement for a non-existing version of the MacOSX11.2.sdk
As per this comment re-installing Perl 5.28 from source fixed the issue for them.
However I would like to note that I am encountering this error with net-snmp 5.9
and not 5.8
as mentioned in the issues that I linked to above at my first post.
This is not how things should be.
I am unwilling to manually install Perl from source as I do not want to mess with the default Xcode installation. Also I really do not have the time to be bothered with MacPorts any further.
@SimulPiscator
Feel free to close this issue if you wish, however potential users should be warned that installation on Big Sur with the M1 processor is currently not possible unless one manages to wade through the MacPorts mess.
Please consider providing compiled binaries for your project, to save users the above pain.
I will not be using AirSane I am afraid. I already spent too much time trying to.
It did seem promising though.
EDIT
This is the exact problem I'm seeing in the log when trying to build net-snmp
:
Hello,
The dependency
net-snmp
fails to build with MacPorts 2.6.4 on MacOS Big Sur with M1 processor.Seems like a known issue mentioned here and here.
Click for console error message
``` Error: Failed to build net-snmp: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port sane-backends failed ```