Boost logo

Boost-Build :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-10 21:10:24


I committed this one-liner. I don't think it'll harm any other
platform's results.

---------- Forwarded message ----------
From: Caleb Epstein <caleb.epstein_at_[hidden]>
Date: May 10, 2005 4:38 PM
Subject: [python] Fix for embedding.cpp test on SunOS
To: Running Boost regression tests <boost-testing_at_[hidden]>,
David Abrahams <dave_at_[hidden]>, c++-sig_at_[hidden]

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-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk