I have been trying to get polyml working on Alpine Linux 32-bit

Since there is't yet a package to install it, I tried getting the source
from github

When doing make, I first got error about missing libffi directory.

I thought I may bypass that by configuring with option to use system libffi
i.e.
apk add libffi-dev
./configure --with-system-libffi --with-x

Here is result:

----------------
make  all-recursive
make[1]: Entering directory '/root/vfpub/polyml-master'
Making all in libpolyml
make[2]: Entering directory '/root/vfpub/polyml-master/libpolyml'
make[3]: Entering directory '/root/vfpub/polyml-master/libpolyml'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I..  -O3   -Wall -DMODULEDIR=\"/usr/local/lib/polyml/modules\"   -O3 -MT
arb.lo -MD -MP -MF .deps/arb.Tpo -c -o arb.lo arb.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -O3 -Wall
"-DMODULEDIR=\"/usr/local/lib/polyml/modules\"" -O3 -MT arb.lo -MD -MP -MF
.deps/arb.Tpo -c arb.cpp  -fPIC -DPIC -o .libs/arb.o
arb.cpp:87:10: fatal error: globals.h: No such file or directory
   87 | #include "globals.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:800: arb.lo] Error 1
make[3]: Leaving directory '/root/vfpub/polyml-master/libpolyml'
make[2]: *** [Makefile:840: all-recursive] Error 1
make[2]: Leaving directory '/root/vfpub/polyml-master/libpolyml'
make[1]: *** [Makefile:729: all-recursive] Error 1
make[1]: Leaving directory '/root/vfpub/polyml-master'
make: *** [Makefile:488: all] Error 2
---------------------------

Has anyone had luck building on Alpine?
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to