On Thu, May 05, 2022 at 11:58:32AM +0100, Andrew Watkins wrote: > > Hello, > > Before I start searching or looking at rustup website, has anyone compiled > 0.105.0 on Solaris yet? > > Solaris does have rustc and cargo but the rustup command does not like SunOS.
Solaris support for Rust is non-existent. I managed to use the Solaris provided 1.53 version to compile 1.56 (which is required for ClamAV). It was painstakingly long process. I literally had to incrementally compile all versions sequentially up to 1.56, skipping any would result in all sorts of Rust errors. Basically repeated this for each 1.54, 1.55, 1.56 sources: export PATH=/usr/local/rust:$PATH ./configure --prefix=/usr/local/rust --enable-local-rust --enable-extended python x.py build python x.py install # ... as a final slap in the face, of course the installer fails, so have to # manually find and copy bin+lib stuff into /usr/local/rust After that 0.105.1 compiled fine and seems to work. _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat