Package Details: modglue 1.19-2

Git Clone URL: https://aur.archlinux.org/modglue.git (read-only)
Package Base: modglue
Description: Modglue library for Cadabra computer algebra system (CAS)
Upstream URL: http://cadabra.phi-sci.com/
Licenses: GPL
Submitter: cmrm
Maintainer: None
Last Packager: yitzi
Votes: 0
Popularity: 0.000000
First Submitted: 2015-09-07 06:40
Last Updated: 2016-03-01 19:07

Latest Comments

yitzi commented on 2016-01-31 17:35

Configure doesn't check for required C++11 support. Fixing by overriding CXXFLAGS does not work since Makefile.in uses CFLAGS instead. Furthermore some calls to g++ do not use CFLAGS at all. Adding the following lines to build() in PKGBUILD to following works for me (after cd).

sed -i "s/@CXX@ -c \${TIMESTAMP}/@CXX@ -c @CFLAGS@ \${TIMESTAMP}/" src/Makefile.in
export CFLAGS="-std=c++11"

bulkilol commented on 2015-10-21 13:17

Fails at
config.status: creating examples/Makefile
echo /lib
/lib
( cd src && make );
make[1]: Entering directory 'path/to/folder/modglue-1.19/src'
libtool --tag=CXX --mode=compile g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" -I../include `pkg-config sigc++-2.0 --cflags` process.cc
libtool: compile: g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong "-DDATETIME=\"Wed 21 Oct 15:16:22 CEST 2015\"" -DHOSTNAME=\"bulkilol\" -I../include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include process.cc -fPIC -DPIC -o .libs/process.o
In file included from /usr/include/c++/5.2.0/type_traits:35:0,
from /usr/include/sigc++-2.0/sigc++/visit_each.h:22,
from /usr/include/sigc++-2.0/sigc++/functors/slot.h:6,
from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
from /usr/include/sigc++-2.0/sigc++/signal.h:8,
from /usr/include/sigc++-2.0/sigc++/sigc++.h:86,
from ../include/modglue/process.hh:32,
from process.cc:29:
/usr/include/c++/5.2.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the


I have an up to date version libsigc++