On 2015-05-06 17:10Z, Tom Chandler wrote:
> Thank you to all who responded. I have learned a lot about this process.
>
> A message when trying to compile gcc45 is:
> /sbin/sysctl not found.
>
> What am I missing in the system?
sysctl(8) is the standard interface to system function on *BSD systems.
So my wild guess is that:
- the package is thinking it is running on NetBSD (unlike the more
correct MINIX3.3-is-like-NetBSD-but-not-exactly)
- based on the above, the package assumes sysctl(8) is available and
makes use of it, which causes the failure
- sysctl(8) has not been ported to MINIX (yet, or won't be, that I do
not know)
The two obvious solutions are:
a) porting sysctl(8) to MINIX 3.3, or at least the part of it which is
needed here (certainly a big job)
b) finding (within the source) where sysctl is invoked in the said
package, patching it to makes the correct thing on MINIX, rebuilding and
checking that it indeed works, and then either:
- propose it to be applied upstream (as "make it work under MINIX3.3)
- format it as a pkgsrc patch
This is the theory.
I realize the mere size of GCC will make it difficult.
Antoine