[clamav-users] ClamAV 0.105.0 and Solaris no rustup
Henrik K
hege at hege.li
Tue Aug 16 12:04:00 UTC 2022
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.
More information about the clamav-users
mailing list