Downloading RxSwift.framework binary at "Hashimoto.1" - carthage

Quick question. Just did:
carthage update --platform iOS
Then this shows in the console:
*** Cloning RxSwift
*** Downloading RxSwift.framework binary at "Hashimoto.1"
I can not find any information on what Hashimoto.1 is, but maybe you know what Carthage is doing when it prints Downloading <NameOfFramework>.framework binary at
Thanks

It's a release name from GitHub. https://github.com/ReactiveX/RxSwift/releases/tag/3.3.1

Related

Install MPFR 3.X on Apple M1

I am on Apple M1. I tried to install a special package (Vienna RNA Package, precompiled binary package, https://www.tbi.univie.ac.at/RNA/#pack_macosx).
Installation is finished, but when I type the following
$ RNAduplex
I get the following:
dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
Referenced from: /usr/local/bin/RNAfold
Reason: image not found
Abort trap: 6
Mpfr is installed via homebrew, but only the most recent version (4.1.0). I guess I need to install the previous version (3.1.6), but I don't get it work.
I tried to install it from https://www.mpfr.org/mpfr-3.1.6/ downloaded from https://www.mpfr.org/mpfr-3.1.6/.
When I do
./configure
I get
configure: error: gmp.h can't be found, or is unusable.
even though gmp is already installed via homebrew (present at /opt/homebrew/Cellar/gmp/).
Any advice on this?
Looking forward to any comments!
Best,
Stefanie
The config.log file may give more information about the error, but I suppose that gmp.h isn't in the include search path. You can try something similar, by compiling:
#include <gmp.h>
int main (void) { return 0; }
You will probably get an error as well.
So you may need to add the directory where gmp.h has been installed to the CPATH or C_INCLUDE_PATH environment variable. You will need to do something similar for the library. Another solution is to use the --with-gmp=... configure option with the GMP installation directory. See the INSTALL file for more information.

Unable to install rJava 3.3.0 on RHEL 6.7

Recently we have downgraded R(latest) to 3.3.0 to RHEL.
Which requires to install xlsx and other rJava dependent packages, though I have deep dived into every possible duplicate and tried all options.
Details:
Command Executed
R CMD javareconf
Error:
.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/R/lib64/R/lib/libR.a(CommandLineArgs.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libjri.so] Error 1
make[2]: Leaving directory /tmp/RtmpH1WhQR/R.INSTALL4a1266bbb309/rJava/jri/src'
`
Net search: I searched and found following link
https://github.com/BVLC/caffe/issues/2171 suggests to use
export CXXFLAGS=-fPIC
but no luck also I do not see CMakeCache.txt in the R folder, still not clear which piece I am missing and any help will be highly appreciated.
NOTE: This might seem to be a duplicate, but seriously I have already tried all the related/relevant posts on stackoverflow.
I resolved this, by manually placing the rJava folder(which I had in a different environment while we used R latest version), while entering into R add this following command before installing rJava dependant libraries:
.libPaths("/usr/lib64/R/library")
Change the path to the path where R is installed.
Hope this helps.

How to install rword2vec package

Please provide me the steps how to install rword2vec. I referred to the previous posts and followed installation steps and got the error:
library(devtools)
install_github("mukul13/rword2vec")
Downloading GitHub repo mukul13/rword2vec#master
from URL https://api.github.com/repos/mukul13/rword2vec/zipball/master
Installation failed: Could not find build tools necessary to build rword2vec
I also tried to follow the steps regarding build tool provided in this link, but no success (I am using macOS).
Try installing Rtools (3.4 latest), mine showed similar error and automatically installed it. Hope it helps

R 3.2, GCC, and homebrew

I recently needed to install R 3.2 to get a package from Bioconductor working, but after I installed, I get the following error:
[16:16:11 20] $ r
dyld: Library not loaded: /usr/local/lib/gcc/4.9/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.2.0/R.framework/Versions/3.2/Resources/lib/libR.dylib
Reason: image not found
Trace/BPT trap: 5
Sure enough, brew was set to use gcc 5, so I told brew to use the 4.9 version
brew switch gcc 4.9
which got R running, but then R would fail in the middle of a package install (specifically when I ran biocLite('DESeq2').
Since then, I have tried a number of things, including trying to install gcc 4.8 (but I can't seem to get R to use it, even via ~/.R/Makevars). Even if 4.9 is not installed, R insists on calling the path shown above.
The windows version of R seems to say 4.9 does not work with 3.2:
R-devel temporarily used a new toolchain based on 4.9.2 gcc, put together by Duncan Murdoch using build scripts written by a contractor. However, there were too many incompatibilities with existing code, and this toolchain will not be used for R 3.2.0. See notes for details on building and testing the new toolchain.
Any help would be greatly appreciated!
Edit:
I tried installing from source, as suggested by #lmw., but it fails:
[11:27:55 2] $ brew install r --build-from-source
==> Installing r from homebrew/homebrew-science
==> Installing r dependency: gcc
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-5.1.0/gcc-5.1.0.tar.bz2
######################################################################## 100.0%
curl: (28) Resolving timed out after 5542 milliseconds
Trying a mirror...
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-5.1.0/gcc-5.1.0.tar.bz2
######################################################################## 100.0%
==> Patching
patching file gcc/jit/Make-lang.in
==> ../configure --build=x86_64-apple-darwin14.3.0 --prefix=/usr/local/Cellar/gcc/5.1.0 --libdir=/usr/local/Cellar/gc
==> make bootstrap
==> make install
==> Caveats
GCC has been built with multilib support. Notably, OpenMP may not work:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
If you need OpenMP support you may want to
brew reinstall gcc --without-multilib
==> Summary
🍺 /usr/local/Cellar/gcc/5.1.0: 1351 files, 248M, built in 32.5 minutes
==> Installing r
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://cran.rstudio.com/src/base/R-3/R-3.2.0.tar.gz
######################################################################## 100.0%
==> Patching
patching file src/modules/lapack/vecLibg95c.c
==> ./configure --prefix=/usr/local/Cellar/r/3.2.0_1 --with-libintl-prefix=/usr/local/opt/gettext --enable-memory-pro
==> make
** installing vignettes
** testing if installed package can be loaded
* DONE (survival)
make[1]: *** [recommended-packages] Error 2
make: *** [stamp-recommended] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-science/issues
Edit 2:
Just for the fun of it, I tried installing r without the --build-from-source option, and it worked. See my solution below. (I think building from source may have fixed the issue with the gcc 5 upgrade, which got things working. I am not going to try it (things are finally working again...why screw with it?), but I wonder if I could remove the variables I set in ~/.R/Makevars (again, see solution below).
Rebuilding R from source fixes the same problem for me.
brew reinstall r --build-from-source
This was resolved by this commit, with new bottles for R. Make sure you brew update and brew upgrade r.
This is not a complete fix (it uses an older gcc version), but it get's me running again:
brew tap homebrew/homebrew-versions
brew install gcc48
brew install r
NOTE: I ran brew install r --build-from-source (reinstall did not work), which rebuilt something, but not r (it failed). It may be partially responsible for this working. Please let me know if it is! I'd like to give #lmw credit if his answer is the reason this worked.
Edit ~/.R/Makevars and add the following lines (edit paths as necessary):
CC=/usr/local/Cellar/gcc48/4.8.4/bin/gcc-4.8
CXX=/usr/local/Cellar/gcc48/4.8.4/bin/g++-4.8
CFLAGS=-std=c99
Run r.
(If you're trying to install bioconductor)
source("http://bioconductor.org/biocLite.R")
biocLite()

Qt is not available error while compiling a wireshark plugin

I am trying to built a wireshark plugin code on my RHEL5 Virtual machine and while I am trying to compile it, I am getting the below error.
On ./configure command , below is the error message I receive and the make file is not being generated.
checking for Qt5Core - version >= 4.6.0... no
checking for QtCore - version >= 4.6.0... no
configure: error: Qt is not available
Please advise on how to go about this error. I have looked up for various rpm files and tried installing them but none works!
Try installing below packages as stated in this answer. Worked for me.
libqt4-dev (4:4.8.2+dfsg-11)
libqt4-dev-bin (4:4.8.2+dfsg-11)
libqt4-opengl-dev (4:4.8.2+dfsg-11)
libqtwebkit-dev (2.2.1-5)
qt4-linguist-tools (4:4.8.2+dfsg-11)
qt4-qmake (4:4.8.2+dfsg-11)
The error message you post is telling you that you need a version of Qt greater than or equal to 4.6.0. Since you are building software against Qt you will need the developer version of the package. There seems to be packages named qt47-devel that should be suitable.

Resources