[mira_talk] Compiling v 4.9.5 from source

  • From: Pedro Barbosa <pedro.barbosa@xxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Fri, 5 Jun 2015 12:19:55 +0100

I'm having problems with the instalation of the last mira version. It
appears that configuration went well, but then an error is thrown on the
make stage. I checked the g++ and gcc versions (they are the same) and also
disabled the FLAGS as suggested here
<https://www.freelists.org/post/mira_talk/Help-with-the-Mira-3916-installation-with-Boost-library-on-Mac-osx,6>.
Any help on this ? I believe this problem has happened before to more
users.

I'm also sending attached the log of the configure step.
Thanks in advance.

Summary of MIRA configuration
--------------------------------------------------------------------------------

Building version .................................
4.9.5_2_linux-gnu_x86_64_dynamic

We are building on ............................... Linux
CPU supports 64 bit? ............................. yes
Compiler family .................................. gcc
Compiler optimisation flags used ................. -O3 -funroll-loops
Do we compile in 64 bit? ......................... yes
Building completely static? ...................... no
BOOST expected to compile and link? .............. yes
Linking with TCmalloc library? ................... no
Have complete zlib support? ...................... yes

Can MIRA be built on this system? ................ yes

Using CFLAGS : -O3 -funroll-loops -I/usr/include -Werror=uninitialized
-Werror=return-type
Using CXXFLAGS : -DPUBLICQUIET -DAJ_Linux64 -O3 -funroll-loops -pthread
-I/usr/local/include -I/usr/include -Werror=uninitialized
-Werror=return-type -Werror=parentheses -Werror=unused-value -std=c++14
Using LDFLAGS : -L/usr/local/lib -L/usr/lib
Using LIBS : -lboost_thread -lboost_regex -lboost_system
-lboost_filesystem -lboost_iostreams -lrt -lexpat -lm -lz -lbz2

Looks good, we do not expect compilation problems.


pbarbosa@cebal:/opt/tools/mira-4.9.5$ sudo make
make all-recursive
make[1]: Entering directory `/opt/tools/mira-4.9.5'
Making all in src
make[2]: Entering directory `/opt/tools/mira-4.9.5/src'
make all-recursive
make[3]: Entering directory `/opt/tools/mira-4.9.5/src'
Making all in debuggersupport
make[4]: Entering directory `/opt/tools/mira-4.9.5/src/debuggersupport'
g++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\"
-DPACKAGE_VERSION=\"4.9.5\" -DPACKAGE_STRING=\"mira\ 4.9.5\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\"
-DVERSION=\"4.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DENABLE64=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1
-DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1
-DHAVE_FSEEKO=1 -DHAVE_ISBLANK=1 -DHAVE_BOOST=/\*\*/
-DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/
-DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/
-DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_GZOFFSET=1
-DBOUNDTRACKFLAG=1 -DBUGTRACKFLAG=1 -I. -I../../src -DPUBLICQUIET
-DAJ_Linux64 -O3 -funroll-loops -pthread -I/usr/local/include
-I/usr/include -Werror=uninitialized -Werror=return-type
-Werror=parentheses -Werror=unused-value -std=c++14 -MT dbgsupport.o -MD
-MP -MF .deps/dbgsupport.Tpo -c -o dbgsupport.o dbgsupport.C
cc1plus: error: unrecognised command line option ‘-std=c++14’
make[4]: *** [dbgsupport.o] Error 1
make[4]: Leaving directory `/opt/tools/mira-4.9.5/src/debuggersupport'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/tools/mira-4.9.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/tools/mira-4.9.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tools/mira-4.9.5'
make: *** [all] Error 2


Pedro Barbosa

Attachment: config.log
Description: Binary data

Other related posts: