[ts-gen] Re: The Shim as a data recorder?

R P Herrold herrold at owlriver.com
Tue Oct 17 17:35:01 EDT 2006


On Sun, 15 Oct 2006, an anonymous poster asked wrote:

> Err, are there any particular headers I should have? I 
> editted the makefile (removed "distcc") and did a 'make 
> shim' but it returned a laundry list of errors.

no problem -- It is somehat hard to diagnose without the error 
specifics, but I'll try.

> MySQL, g++, toolchain, libmysqlclient15-dev, kernel headers, 
> etc. are installed, but I'm still getting a laundry-list of 
> errors.  Most of them are complaining about namespaces or 
> things that "have virtual functions but non-virtual 
> destructors."

There were a couple of new warnings in the over the weekend 
061013 release, but they are harmless and merely unsightly; 
warnings are not removed, as their irritance of us in this 
developmental code reminds us in part of their need to be 
addressed; hiding the errors is of course possible (one 
sometimes sees

 	  > /dev/null 2>&1

littering some buildsystems, but this is truly EVIL), but the 
bookkeeping, and possible inadvertent over-looking of a fixing 
a forgotten warning hideing workaround of a cosmetic cleanup 
would slow development and possibly induce hard to track 
error.  We understand there are other approaches, but we 
choose this method consciously.

> Sorry to bug you about what is likely a trivial installation 
> error, but the guy I normally bug about this sort of thing 
> has inexplicably gone to Japan for a month.

no worries -- from memory, on centos, running as root:

 	yum -y install mysql-devel mysqlclient10-devel gcc-c++ \
 		make

is probably enough to pull in a sufficient minimal build 
environment, by the time it is done grabbing the dependencies

-- I will set up a minimal host, and test on a minimal 
installation:
 	http://www.owlriver.com/tips/tiny-centos/
and advise further once I am done with such testing

Thanks for the report.

-- Russ Herrold


More information about the ts-general mailing list