[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] Compiling IMP on Red Hat



On 02/21/2012 08:36 AM, Davide Baù wrote:
On Feb 21, 2012, at 5:23 PM, Ben Webb wrote:
Is there a reason this machine is years out of date? (The latest
update for RHEL 5 is 5.7.) It seems entirely possible that a bug in
one of the system headers was fixed in the interim.
Actually I don't know. I will contact the informatics department to
ask if it is possible to update the system (unfortunately we can
just "use" the cluster.)

You can point them to http://en.wikipedia.org/wiki/RHEL#Version_history
5.3 has been obsolete since 5.4 was released in September 2009.

I got a error on the algebra module:  Errors building:
build/src/IMP.algebra.py. It's curious that there's a red box on the
algebra module on Mac while it compiled with no errors on my Mac.

It's a different Mac (32-bit code is built on a 10.4 - Tiger - machine). Chances are your machine is more similar to our Snow Leopard 64-bit build machine. I've added more descriptive labels to this page, which should show up tomorrow.

...
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:243:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:244:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:245:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:246:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:247:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:248:
Error: Template 'GridD' undefined.
/project/devel/dbau/imp/imp-r12787/build/swig/IMP_algebra.i:249:

Odd. The SWIG file should be parsing algebra's GridD.h header, which defines that template. But Daniel did make some changes there recently - are you sure you don't have a mismatch of versions somewhere (perhaps an older version of GridD.h paired with a newer SWIG interface)? I'd suggest a fresh checkout to be sure.

	Ben
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle