amaurea / enlib

5 stars 12 forks source link

swig is a dependency #2

Closed msyriac closed 7 years ago

msyriac commented 7 years ago

I'm trying it out on what is pretty much a fresh system.

$ make
make -C iers
make[1]: Entering directory '/home/msyriac/repos/enlib/iers'
gcc -o iers2struct iers2struct.c
curl -o finals.all "https://datacenter.iers.org/eop/-/somos/5Rgv/latest/9"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3032k  100 3032k    0     0  88540      0  0:00:35  0:00:35 --:--:--  169k
./iers2struct < finals.all > iers.c
swig -python iers.i
make[1]: swig: Command not found
make[1]: *** [Makefile:7: iers.py] Error 127
make[1]: Leaving directory '/home/msyriac/repos/enlib/iers'
make: *** [Makefile:10: iers] Error 2

So the first possible point of failure is that the user doesn't have swig installed.