Update: I made a lot of progress, but now it seems I've got a quite serious 
stopper. Julia depends on libunwind, which seems not to be supported under 
OpenBSD. This seems in turn to be due to a 9-year-old OpenBSD bug 
(http://marc.info/?l=openbsd-bugs&m=114670090311718).

Unless there is a simple way to remove the libunwind dependency, I guess 
this is the best I can do at the moment.

If anybody volunteers to continue this effort, the (possibly incomplete) 
list of packages I had to install before compiling Julia is: bash, blas, 
cblas, coreutils, fftw, g++, g95, gmake, gmp, lapack, libf2c, pcre. After a 
bit of tweaking (mainly to force the Makefile to use the latest commit from 
Rjulia-math and to extend some FreeBSD-related cases to OpenBSD as well), 
the following command compiles the most of Julia (devel branch):

    gmake CC=egcc CXX=eg++ FC=egfortran LDFLAGS="-lm -lg2c" \
        USE_SYSTEM_BLAS=1 \
        USE_SYSTEM_FFTW=1 \
        USE_SYSTEM_GMP=1 \
        USE_SYSTEM_LAPACK=1 \
        USE_SYSTEM_LIBM=1 \
        USE_SYSTEM_PCRE=1

Cheers,
  Maurizio.

Reply via email to