Error while Configuring a Software - c++

I get the following error while trying to configure a software :
checking for vector... yes
checking for malloc in -ljemalloc... no
configure: error: Need jemalloc
The solutions on the web haven't worked. I tried installing the jemalloc-devel package, jemalloc, libjemalloc package but they won't install.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libjemalloc
Installing libjemalloc1 didn't help. I still get the same error.
checking for vector... yes
checking for malloc in -ljemalloc... no
configure: error: Need jemalloc
Machine is Ubuntu 15.04, with gcc 4.9.2 . Thanks.

The package jemalloc is missing form your system.

Related

How I install wxWidgets in msys2 correctly?

I'm having trouble installing wxWidgets in msys2, I used pacman to install the library
pacman -S mingw-w64-clang-x86_64-wxwidgets3.0-msw
But when I try to execute a test file it gives me this error
fatal error: wx/wx.h: No such file or directory
Reading online I see that are in another methods of installing the library you have to compile it, but I can't find any information in regards to installing it with pacman.
I also tried to compile it myself with Cmake following the instructions in the wxwidgets page but I failed and I want to see what should I do now.
What I need to do to get this to work?

Alignment trap , not handling instruction error when trying to build c++ library with arm processor

I'm trying to build the AWS SDK for C++ library on a cubietruck board.
My current software configuration is the following:
gcc 4.9.2
cmake 3.8.2
OS: Armbian_5.20_Cubietruck_Debian_jessie_3.4.112
kernel 3.4.112.sun7i
curl : 7.38
aws cpp SDK version :(1.1.46)
I tried to build the above c++ library by giving :
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="config;core;kinesis"
However the build fails and I receive the following error messages:
alignment trap: not handling instruction e8de677f at []
Unhandled fault :alignment exception (0x001) at 0x00bb674c
Bus error
I also tried the following:
1) I tried to build different versions of the library
2) I updated the curl from 7.38 to 7.51
3) I upgraded the os with sudo apt-get update, sudo apt-get upgrade
But the problem persisted. It seems to be a memory issue either leak or a bad dereferencing but could not find any useful info.
I checked the in /var/log/syslog but didn't get any new info.
Has anyone come across a similar issue. Since it'a library what can I do to get more info regarding the problem?

boost: command not found on mac OS 10.10

I have been trying to install caffe Deep learning framework on my MAC OS 10.10, but there is a command which needs to be executed in this process.
boost snappy leveldb protobuf gflags glog szip lmdb homebrew/science/opencv
I installed boost library version 1.55.0 , still it gives this error.
-bash: boost: command not found
Also in this command: make pycaffe
I get this error:
fatal error: 'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make: *** [.build_release/src/caffe/layers/absval_layer.cuo] Error 1
Where am I getting wrong?
Are environment variable needed to be set for this command to run.
Also,
What is meant by changing homebrew formula?
I am newbie in python. Before posting this on stack overflow, I tried a lot to figure our this error, but it is almost a week, I am not able to overcome. If possible, some step by step guide of caffe installation on mac 10.10 will be helpful.
Thanks a lot in advance.

CMake error when compiling out of tree model in gnu radio

I have a problem and I can't seem to find a solution to it. I am building a project using gnuradio and in the process of building an OOT module i always get the following error after $cmake ../ (I followed the instruction from the GNU site though)
$ cmake ../
-- Build type not specified: defaulting to release.
-- Could NOT find Boost
CMake Error at CMakeLists.txt:63 (message):
Boost required to compile trial
-- Configuring incomplete, errors occurred!
Please any help will be deeply appreciated (And please I am a noob so kindly have it easy on me).
Enable the debug output for the FindBoost module when invoking cmake, it'll help you pinpoint which packages are missing:
$ cmake -DBoost_DEBUG=ON ../
Here's a similar problem on kubuntu 14.04: https://github.com/antoinet/gr-acars2/issues/2.
The solution was to install the missing libboost-filesystem-dev and libboost-system-dev packages.
The basic issue is that 1 or more Boost components (e.g., system, threads, filesystem) is/are not being found, so you need to get it/them installed. How you do the install depends on your OS. So ... what OS are you trying to do this on?
Also, how did you install GNU Radio in the first place? Any package manager with its salt will make sure dependencies are installed correctly along with the actual package. If you used MacPorts or apt-get or yum to install GNU Radio, Boost should have been installed.
Related: Have you considered signing up for the GNU Radio discussion email list? This question would be quickly answered there. https://lists.gnu.org/mailman/listinfo/discuss-gnuradiosome

Trouble installing TMV library

I am currently attempting to install the necessary software to run the GalSim, including the TMV libraries. I am currently in the process of following the instructions here to install the software on Windows 7: GalSim Installation
When I run scons SHARED=false install, it makes it a long way through the process before the following message appears and the installation fails:
scons: Building targets ...
rm -f share\tmv-link; echo -ltmv > share\tmv-link
rm: unknown option -- l
Try `rm --help' for more information.
scons: *** [share\tmv-link] Error 1
scons: building terminated because of errors.
I am rather inexperienced and have no idea how to proceed.
According to the installation instructions that you linked to: "System requirements: GalSim currently only supports Linux and Mac OSX."
I don't think any of the developers use Windows, but you could certainly open an issue requesting that Windows be added to the list of supported systems.