Mesos build error - mesos

I'm begginer on Ubuntu and i'm trying to install Mesos. During the "make" I have this error:
../3rdparty/libprocess/3rdparty/glog-0.3.3/.libs/libglog.a(libglog_la-logging.o):(.data.rel.ro._ZTCN6google10LogMessage9LogStreamE0_So[_ZTVN6google10LogMessage9LogStreamE]+0x48): undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
collect2: error: ld returned 1 exit status
make[2]: *** [libmesos.la] Error 1
make[2]: Leaving directory `/home/MyName/mesos-0.20.1/build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/MyName/mesos-0.20.1/build/src'
make: *** [all-recursive] Error 1
please help me with the start programming in mesos.
Thanks!

Is there a particular reason you want to compile mesos yourself?
There are packages available for download here:
http://mesos.apache.org/gettingstarted/
or the mesosphere packages allowing you sudo apt-get -y install mesos.
Secondly, is there another reason you are trying the 0.20.1 version?
The issue looks like as if there is an issue with the c++ stdlib library. Which compiler/stdlib are you using? Did ./configure finish successful?
Cheers,
Joerg

Try to run:
/home/MyName/mesos-0.20.1/configure
And then:
making install

Related

VLC 3.0.12/3.0.14 once command source build fails on macOS

Running mac osx 10.14.6 and have previously successfully built 3.0.10 and 3.0.11. Trying to build VLC 3.0.12 & 3.0.14 from source downloaded from here: http://www.videolan.org/vlc/download-sources.html
and using recommended build from here: https://wiki.videolan.org/MacOSCompile/ AND using the recommended:
../extras/package/macosx/build.sh -c
Build runs for about 20 minutes and then stops here (snip of output):
CCLD libprefetch_plugin.la
CCLD libhds_plugin.la
CCLD librecord_plugin.la
ld: library not found for -lzstd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libarchive_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
mysystem:build xx$
What am I missing or doing wrong?
Note: in previous builds I could find a cmake/Utilities/cmzstd/lib directory in vlc-3.0.x/extras/tools that had various zstd files however it is not there in either 3.0.12 or 3.0.14 - only a cmake-enable-ALPN-support-on-macOS-109.14.patch file.
Where do I find zstd? Thanks.
Seems the issue is related to how macOS and packagers (homebrew, etc.) load components. macOS provides a compiled version of libarchive but no headers, so you are unable in trying to compile. You will either need to pass the location of your libarchive respository with headers via your build script or set an environment variable telling the compiler or linker where to look for them. Perhaps someone more familiar with your VLC package can weigh in.

make [2]: **** [Makefile:44: envi_slc_decode] Error 1, while installing gmtsar in fedora 32

This is my first question in stack overflow and hope I make it clear.
I am trying to install a program (gmtsar) in fedora 32. However, the compilation was not complete and two errors return at the end.
I ran the following commands:
sudo -i
cd /usr/local
git clone --branch 6.0 https://github.com/gmtsar/gmtsar GMTSAR
cd GMTSAR
autoconf
./configure --with-orbits-dir=/usr/local/orbits
make
make install
after make and mak install the following errors return:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: envi_slc_decode] Error 1
make[2]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc/ENVI_SLC_decode'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc'
make: *** [Makefile:37: preprocess] Error 2
I followed the same procedures in ubuntu 16.04 and the compilation was complete without errors.
Can anyone help me understand why I got these errors and how to fix them, please?

Apache Thrift make err with libthrift-0.10.0.dylib

I am using macOS 10.12.3.
Yesterday I successfully installed thrift but it could not work correctly with python. So I re-make it today and get this err. Could someone tell me what's wrong. Thx
Making all in perl
../../compiler/cpp/thrift --gen perl ../../test/ThriftTest.thrift
dyld: Symbol not found: _GENERAL_NAME_free
Referenced from: /Users/sara/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.dylib
Expected in: flat namespace
in /Users/sara/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.dylib
make[3]: *** [gen-perl/ThriftTest/Constants.pm] Abort trap: 6
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I have had the same problem, but now I solve it. when you had the error, I think /usr/local/bin/thrift is already existed in you macOS. Then run
$ sudo chmod -R 777 /usr/local/include/thrift/
$ brew link --overwrite thrift
then you will find the command /usr/local/bin/thrift is ok.

Compiling mcrypt fails (gaa: Command not found)

I have to compile PHP with mcrypt, but for some reason i cannot compile mcrypt using the make command. I´m getting the following error:
gaa -o gaaout.c -i gaa.h mcrypt.gaa
make[2]: gaa: Command not found
make[2]: *** [gaaout.c] Error 127
make[2]: Leaving directory `/usr/local/src/mcrypt-2.6.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mcrypt-2.6.7'
make: *** [all] Error 2
I´m compiling it on Centos 6.6, and the mcrypt version is 2.6.7
Before i compiled i installed the Development Tools packaged via yum.
yum groupinstall "Development Tools"
Also installed: mhash (v 0.9.9.9), libmcrypt (v 2.5.8)
What is the gaa command, and how do i make i available?
FWIW: don't know gaa either, but since src/gaaout.c exists:
touch src/gaaout.c
did the trick for me.

couchDB RHEL4 Install Error

I'm currently trying to install couchDB on a Red Hat 4 machine
Linux version 2.6.32-220.el6.x86_64 (mockbuild#c6b18n3.bsys.dev.centos.org) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Tue Dec 6 19:48:22 GMT 2011
following the instructions on the Apache Wiki: http://wiki.apache.org/couchdb/Installing_on_RHEL4. The install runs fine right up until the line
make && sudo make install
when i get the following error:
/usr/local/bin/erlc couch_key_tree.erl;
./couch_key_tree.erl:78: type boolean() undefined
./couch_key_tree.erl:79: type boolean() undefined
./couch_key_tree.erl:93: type boolean() undefined
./couch_key_tree.erl:136: type boolean() undefined
make[4]: *** [couch_key_tree.beam] Error 1
make[4]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acarter/couchdb/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acarter/couchdb'
make: *** [all] Error 2
I've looked around online and seen the problem mentioned once or twice but never a solution. Does anyone know a solution or a good place to start looking?
Thanks
I ran into this same issue. The problem is that the version of Erlang is outdated(12B in my case). The solution was to upgrade to a newer version.
Source:
https://github.com/cloudant/bigcouch/issues/13

Resources