Giter Site home page Giter Site logo

Comments (14)

ararslan avatar ararslan commented on June 12, 2024

Is this on Linux? Seems to work fine for me on macOS.

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

yes -- I cannot get it to be made

from rmath.jl.

tkelman avatar tkelman commented on June 12, 2024

could you include more of the error? do you have compilers installed?

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

I have v5.4 of gcc, g++, gfortran installed and working.

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024
julia> Pkg.add("Rmath")
INFO: No packages to install, update or remove
INFO: Package database updated

julia> Pkg.build("Rmath")
INFO: Building Rmath
INFO: Attempting to Create directory /--/jas/julia-06/packages/v0.6/Rmath/deps/downloads
INFO: Directory /--/jas/julia-06/packages/v0.6/Rmath/deps/downloads already created
INFO: Downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz
INFO: Done downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz
INFO: Attempting to Create directory /--/jas/julia-06/packages/v0.6/Rmath/deps/src
INFO: Directory /--/jas/julia-06/packages/v0.6/Rmath/deps/src already created
INFO: Attempting to Create directory /--)/jas/julia-06/packages/v0.6/Rmath/deps
INFO: Directory /--/jas/julia-06/packages/v0.6/Rmath/deps already created
INFO: Path /--/jas/julia-06/packages/v0.6/Rmath/deps/src/Rmath-julia-0.1 already created
INFO: Attempting to Create directory /--/jas/julia-06/packages/v0.6/Rmath/deps/usr/lib
INFO: Directory /--jas/julia-06/packages/v0.6/Rmath/deps/usr/lib already created
INFO: Changing Directory to /--/jas/julia-06/packages/v0.6/Rmath/deps/src/Rmath-julia-0.1
/bin/sh: 1: Syntax error: "(" unexpected
make[1]: *** [bd0.o] Error 2
make: *** [all] Error 2
========================================[ ERROR: Rmath ]========================================

LoadError: failed process: Process(`make USE_DSFMT=1 'DSFMT_includedir=/--/jas/julia-06/packages/v0.6/Rmath/deps/dSFMT' 'DSFMT_libdir=/--/jas/julia-06/bin/../lib/julia'`, ProcessExited(2)) [2]
while loading /--/jas/julia-06/packages/v0.6/Rmath/deps/build.jl, in expression starting on line 43

================================================================================================

========================================[ BUILD ERRORS ]========================================

WARNING: Rmath had build errors.

 - packages with build errors remain installed in /media/jas/Shared Data(960 Pro)/jas/julia-06/packages/v0.6
 - build the package(s) and all dependencies with `Pkg.build("Rmath")`
 - build a single package by running its `deps/build.jl` script

================================================================================================

julia> 

from rmath.jl.

ararslan avatar ararslan commented on June 12, 2024

I wonder if it doesn't like that the path has -- in it?

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

that is not really there /lots of subpath/ --> /--/

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

I have v0.1.tar.gz in v0.6/Rmath/deps/downloads, and I can compile it to make libRmath-julia.so. What should I do with that file?

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

I was able to narrow the event:

in /v0.6/Rmath/deps/src/Rmath-julia-0.1/src  

gcc  -Wall -O3 -fPIC -DMATHLIB_STANDALONE -I/jas/julia-06/packages/v0.6/Rmath/deps/dSFMT
      -std=gnu99 -I../include -DNDEBUG -c librandom.c -o librandom.o

bash: syntax error near unexpected token `('

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

It appears that librandom.c is the only source file that does not compile to filename.o

from rmath.jl.

ararslan avatar ararslan commented on June 12, 2024

In some other directory, if you do

git clone https://github.com/JuliaLang/Rmath-julia.git
cd Rmath-julia
make

does it compile?

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

yes .. and the problem may be with my path .. there is /jas/Shared Data (960 Pro)/jas within.

someone thought that a good idea when my computer was configured
arrrgh

from rmath.jl.

ararslan avatar ararslan commented on June 12, 2024

Ah yeah, that's likely it then, given the specific error.

from rmath.jl.

JeffreySarnoff avatar JeffreySarnoff commented on June 12, 2024

from rmath.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.