[Rivet] Rivet configure does not run through

Andy Buckley andy.buckley at ed.ac.uk
Wed Jan 11 10:54:19 GMT 2012


Hi Juergen,

How annoying! It's the first time I've seen this error, and I suspect 
you might have an old version of Boost, but in fact we're not even using 
the Boost random numbers at the moment -- this include is a hangover 
from an attempt that I made about 2 years ago to use them, and I gave up 
because it was too much pain for too little gain!

There is only one file in which references to Boost.random appear (and 
I've now commented them out in the trunk):

andy at duality:~/proj/hep/rivet$ codegrep random.hpp include/Rivet/ src
include/Rivet/RivetBoost.hh:11:#include <boost/random.hpp>

So if you edit include/Rivet/RivetBoost.hh to remove that #include, and 
also the typedefs for random number stuff at the bottom of the file, at 
least this particular problem should go away.

Cheers,
Andy


On 11/01/12 10:07, Juergen Reuter wrote:
> On Wednesday 11 January 2012 10:34:22 you wrote:
>>> Am 1/11/12 10:12 AM, schrieb David Grellscheid:
>>>> CXXFLAGS='-O2 -g -fpermissive'
>>>
>>> Hm, no improvement, sry. That is really awful.
>>
>> Do you still get the -fpermissive error, too, or is it stumbling over
>> something else now?
>>
>>     David
>>
>
> This is the error now (which was already present before):
> configure:15524: /afs/desy.de/group/theorie/software/ELF64/bin/g++ -c -O2 -g -
> fpermissive  -I/afs/desy.de/group/theorie/software/ELF64/include conftest.cpp
>> &5
> In file included from
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random.hpp:40:0,
>                   from conftest.cpp:61:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:123:46:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:123:55:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:155:64:
> error: 'SeeqSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:155:73:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:
> In member function 'int boost::random::mersenne_twister_engine<UIntType, w, n,
> m, r, a, u, d, s, b, t, c, l,
> f>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::mersenne_twister_engine<UIntType,
> w, n, m, r, a, u, d, s, b, t, c, l, f>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:124:12:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:
> In member function 'int boost::random::mersenne_twister_engine<UIntType, w, n,
> m, r, a, u, d, s, b, t, c, l,
> f>::BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(boost::random::mersenne_twister_engine<UIntType,
> w, n, m, r, a, u, d, s, b, t, c, l, f>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/mersenne_twister.hpp:157:35:
> error: 'seq' was not declared in this scope
> In file included from
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random.hpp:41:0,
>                   from conftest.cpp:61:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:72:9:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:72:18:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:101:64:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:101:73:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci_engine<UIntType, w, p,
> q>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::lagged_fibonacci_engine<UIntType,
> w, p, q>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:73:12:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci_engine<UIntType, w, p,
> q>::BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(boost::random::lagged_fibonacci_engine<UIntType,
> w, p, q>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:103:35:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:224:64:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:224:73:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci<UIntType, w, p, q,
> v>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::lagged_fibonacci<UIntType,
> w, p, q, v>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:225:18:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:276:74:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:276:83:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:304:67:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:304:76:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci_01_engine<RealType, w,
> p,
> q>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::lagged_fibonacci_01_engine<RealType,
> w, p, q>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:277:12:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci_01_engine<RealType, w,
> p,
> q>::BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(boost::random::lagged_fibonacci_01_engine<RealType,
> w, p, q>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:306:36:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:451:67:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:451:76:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:
> In member function 'int boost::random::lagged_fibonacci_01<RealType, w, p,
> q>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::lagged_fibonacci_01<RealType,
> w, p, q>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/lagged_fibonacci.hpp:452:18:
> error: 'seq' was not declared in this scope
> In file included from
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/ranlux.hpp:20:0,
>                   from
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random.hpp:42,
>                   from conftest.cpp:61:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:144:46:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:144:55:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:170:39:
> error: 'subtract_with_carry' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:170:60:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:170:69:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:
> In member function 'int boost::random::subtract_with_carry_engine<IntType, w,
> s,
> r>::BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(boost::random::subtract_with_carry_engine<IntType,
> w, s, r>, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:145:12:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:
> In member function 'void boost::random::subtract_with_carry_engine<IntType, w,
> s, r>::seed(const IntType&)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:163:17:
> error: 'linear_congruential_engine' does not name a type
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:164:9:
> error: 'gen_t' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:164:15:
> error: expected ';' before 'intgen'
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:165:41:
> error: type/value mismatch at argument 1 in template parameter list for
> 'template<class Generator>  class boost::random::detail::generator_seed_seq'
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:165:41:
> error:   expected a type, got 'gen_t'
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:165:46:
> error: invalid type in declaration before '(' token
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:165:47:
> error: 'intgen' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:
> In member function 'int boost::random::subtract_with_carry_engine<IntType, w,
> s, r>::BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(int, int, int)':
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:172:35:
> error: 'seq' was not declared in this scope
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:
> At global scope:
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:361:46:
> error: 'SeedSeq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:361:55:
> error: 'seq' has not been declared
> /afs/desy.de/group/theorie/software/ELF64/bin/../lib/gcc/../../include/boost/random/subtract_with_carry.hpp:402:39:
> error: 'SeedSeq' has not been declared
>
>


-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list