Najoua
Najoua

Reputation: 79

Math::Random::MT compilation failed

I've been trying to compile Math::Random::MT module on my macos but I get the following error

In file included from MT.xs:2:
/Users/imac/opt/anaconda3/lib/5.26.2/darwin-thread-multi-2level/CORE/perl.h:694:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
         ^~~~~~~~~~~~~
1 error generated.
make: *** [MT.o] Error 1
  FANGLY/Math-Random-MT-1.17.tar.gz
  /usr/bin/make -- NOT OK

I tried forcing the installation but to no avail.

Any help is much appreciated.

Najoua

Upvotes: 2

Views: 172

Answers (0)

Related Questions