[ts-gen] I brought our [Debian] Quantian box up ...

R P Herrold herrold at owlriver.com
Mon Nov 6 20:13:55 EST 2006


 	http://dirk.eddelbuettel.com/quantian.html

I fired up, and brought current the Quantian (a Debian variant 
oriented to Scientific, including Financial markets study) 
box, running as root:
 	apt-get update
 	apt-get upgrade

The needed package to add was (still as root):
 	apt-get install libmysqlclient14-dev

distcc is present but as it is a standalone Debian instance 
with the libraries and compiler version in question in our 
LAN, not useful -- I editted out the 'distcc' from the 
Makefile.

herrold at 1[shim-061103]$ gcc --version
gcc (GCC) 4.0.2 (Debian 4.0.2-2)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS 
FOR A PARTICULAR PURPOSE.

I see several gcc present, using: gcc<tab><tab>
herrold at 1[shim-061103]$ gcc
gcc         gcc-3.3     gcc-4.0     gccbug-3.3  gccbug-4.0
gcc-2.95    gcc-3.4     gccbug      gccbug-3.4  gccmakedep

and for G++, using: g++<tab><tab>
herrold at 1[shim-061103]$ g++
g++      g++-3.3  g++-4.0


First building an internal daily, with g++-4.0 (which is what 
g++ is pointed at), building as non-root:

$ make shim
make -j8  shim
make[1]: Entering directory 
`/home/herrold/shim/shim-061103'
g++ -Wall -g -I/usr/include/mysql  -c -o once.o src/once.c
 	...
g++ -Wall -g -I/usr/include/mysql  -c -o else.o src/else.c
g++ -Wall -g -I/usr/include/mysql  -c -o type.o src/type.c

g++ -Wall -g -I/usr/include/mysql  -c -o data.o src/data.c
src/../lib/interfaces.h:13: error: 'void* 
MinimalModeMixedParadigm::operator 
new(MinimalModeMixedParadigm::nat)' may not be declared within 
a namespacelib/interfaces.h:13: error: 'void* 
MinimalModeMixedParadigm::operator 
new(MinimalModeMixedParadigm::nat)' may not be declared within 
a namespace

================================

I switched the Makefile to the g++-3.3 (which is a shade 
earlier than what we are using on CentOS), and get:

herrold at 1[shim-061103]$ make clean
herrold at 1[shim-061103]$ make shim
g++-3.3  -Wall -g -I/usr/include/mysql  -c -o once.o 
src/once.c
In file included from lib/set.h:11,
                  from lib/map.h:11,
                  from src/relation.c:18,
                  from src/once.c:40:
lib/splay.h: In constructor `

MinimalModeMixedParadigm::HashAndTreeMaps::Tree<T>::Tree(const
    MinimalModeMixedParadigm::SimpleEfficientAllocator::Pool&, 
const

MinimalModeMixedParadigm::SimpleEfficientAllocator::Copier&)':
lib/splay.h:73: error: syntax error before `;' token

============================

and so forth.  So the error nioise from changes in syntax in 
g++ are reproducable locally. Anyway, good to have a Debian 
environment to test our code in ...

-- Russ Herrold


More information about the ts-general mailing list