Boost logo

Boost Testing :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-10 15:38:02


Re: http://tinyurl.com/a9dhn

The Boost.Python embedding.cpp test fails on gcc-3_4_3-sunos because
it tries to link with a nonexistent library "util". This library
seems to be a BSD-ism from my Googling. It exists on Linux as well,
and contains symbols like "login" and "openpty", which I can hardly
imagine this test or Boost.Python depends on.

So I submit the following patch for approval. With it, the embedding
test compiles and runs cleanly on SunOS and Linux. This is the only
Boost.Python test that fails on gcc-3_4_3-sunos, so it'll make the
library 100% pass in this configuration.

Index: tools/build/v1/python.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v1/python.jam,v
retrieving revision 1.83
diff -u -b -r1.83 python.jam
--- tools/build/v1/python.jam 27 Feb 2005 17:28:16 -0000 1.83
+++ tools/build/v1/python.jam 10 May 2005 20:28:14 -0000
@@ -69,7 +69,7 @@
 }
 else
 {
- PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl util ;
+ PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl ;
 }
 

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost-testing list run by mbergal at meta-comm.com