artiya4u / alchemy-2

Automatically exported from code.google.com/p/alchemy-2
Other
0 stars 0 forks source link

Installation errors #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

SOLUTIONS:
make the replacefoly* perl files executable in the repository. 

In liftedinfer/common/src/queryupdater.cpp:511:62: 
Add the -fpermissive flag for g++ to compile it,  

But you should really be allocating this vector on the heap.... Otherwise 
you'll segfault at some point.

-santiago perez 

#########################

Linux wild-eyes 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux

#########################

../src/liftedinfer/common/src/queryupdater.cpp:511:62: error: taking address of 
temporary [-fpermissive]

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs 
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.7 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin 
--with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl 
--disable-cloog-version-check --disable-ppl-version-check --enable-multiarch 
--disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

Original issue reported on code.google.com by santiago...@gmail.com on 21 Jul 2014 at 9:45