Lawrence D’Oliveiro wrote:
> On Wed, 28 Oct 2026 13:21:02 +0800, Woozy Song wrote:
>
>> I have a package that was written about 25 years ago. It uses fftw
>> and mpich3, which are built with autotools (configure/make/install).
>> They would end up in directory target/lib in Centos/Debian/Arch and
>> the oddball independent distros, but with Suse to target/lib64. This
>> happened with enterprise/Leap/Tumbleweed. So the build scripts had
>> to be kludged for Suse.
>
> Stuff you’re building from source, without going through the distro
> package management, shouldn’t go in /lib or /bin or /usr/lib or
> /usr/bin etc: they should go in /usr/local/lib or /usr/local/bin etc.
>
Yes you define a build directory like /usr/local or /opt
that is what I meant by 'target' in the original post.