Comments (8)
The configure
script has #!/bin/bash
.
Download the tarball, adjust accordingly (ie pick a different shell, or install bash, or whatever) and then install from the updated sources.
I'd recommend having #!/bin/bash
. We're hardly the only ones using that.
from rcpparmadillo.
Thanks. I have downloaded the source code and change the #!/bin/bash
in configure
to #!/usr/local/bin/bash
, and then it works.
from rcpparmadillo.
Nice. I had a look at the script, and I do use some bashisms there so it would be a pain to change.
One intermediate step would be #!/usr/bin/env bash
(using the env foo
trick common with Python). Can you check if that works too? I could make that change, it should work on all systems where bash is native anyway and also on those like yours where it needs to be added.
from rcpparmadillo.
Thanks a lot for pointing to #!/usr/bin/env bash
trick. I have checked that, and it works like a charm.
from rcpparmadillo.
I'll make the change, and keep it in mind. Sorry to be enforcing bash on you, but it is a pretty common shell out here (though the *BSDs and other have their own of course).
from rcpparmadillo.
There is another way, that is to a symbolic link named /bin/bash
and
point it to /usr/local/bin/bash
ln -s /usr/local/bin/bash /bin/bash
On FreeBSD, bash could be installed as a package.
from rcpparmadillo.
Yes, of course, but you have to do that. I cannot rely on it being present. Had you done that before you would not have noticed this.
(And I'd do it, as much as I hate messing with system directories which your package installer owns.)
from rcpparmadillo.
Thank you for making the change. Frankly, I also hate to add symbolic to /bin/.
from rcpparmadillo.
Related Issues (20)
- Is `ARMA_64BIT_WORD` supported in RcppArmadillo? HOT 4
- NaN output from arma::uvec compared to arma::vec HOT 4
- Planning to potentially (re)move some legacy internal header files
- Deprecating old stderr stream setting code in packages using RcppArmadillo HOT 12
- Fails to compile vs HOT 3
- Question about SIMD Optimization HOT 3
- package compilation failure HOT 20
- Two failures in test_cube.R on PowerPC HOT 33
- Armadillo 12.0.0 regressions HOT 2
- `RCPP_ARMADILLO_RETURN_ANYVEC_AS_VECTOR` in an R package? HOT 2
- using namespace arma; HOT 1
- Issue on call by reference with a NA matrix HOT 1
- Update indMatrix->arma::SpMat and pMatrix->arma::SpMat for Matrix 1.5-5 HOT 2
- install issue HOT 3
- [DOCS] - Review DESCRIPTION's Date HOT 2
- Failed to install RcppArmadillo on Linux Hyper Cluster HOT 4
- compilation on fedora39 raise error: cannot run C++ compiled programs HOT 6
- Install issue HOT 10
- Platform dependent output for sample()? HOT 9
- RcppArmadillo not available for R 4.3.2 + compilation errors HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcpparmadillo.