|
Boost-Build : |
From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-11-14 02:54:24
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Volodya !
I'm trying to get V2 running on cygwin.
First of all, my cygwin installation returns "win32" when queried for
os.name. So I've hacked path.jam (see patch attached).
After patching my build environment to honour os.name = win32, too,
I get the error message attached (qt.out)
Please note the output of
/E:/libraries/Qt/3.2.3/lib/qt-mt323.lib
for the expansion of QTDIR.
When I initialise the qt toolset with a relative path, I get
/../libraries/Qt/3.2.3/lib/qt-mt323.lib
for this. It seems something is prepending a root slash to all paths.
Any Ideas ?
Yours,
Jürgen
- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/tIowljbJ/LLrxrYRAoydAJ0V0bi7BO99AIms+lupkCQVHZHfYgCeI7wp
UD/N8zBktQdcEe1IXm8D6PA=
=AewB
-----END PGP SIGNATURE-----
--Boundary-00=_woIt/+gm3AS1vnH Content-Type: text/plain;
charset="iso-8859-15";
name="qt.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="qt.out"
win32
e:\develop\IFC\src
XXX
/E:/libraries/Qt/3.2.3/lib/qt-mt323.lib
e:/libraries/boost_cvs/tools/build/v2/tools\prebuilt.jam:34: in object(prebuilt-file-generator)@1.run from module object(prebuilt-file-generator)@1
error: Unknown type for prebuilt target qt in qt
e:/libraries/boost_cvs/tools/build/v2/build\generators.jam:726: in try-one-generator from module generators
e:/libraries/boost_cvs/tools/build/v2/build\generators.jam:975: in construct-without-caching from module generators
e:/libraries/boost_cvs/tools/build/v2/build\generators.jam:1033: in generators.construct from module generators
e:/libraries/boost_cvs/tools/build/v2/tools\builtin.jam:368: in construct from module object(lib-target-class)@1
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:917: in object(lib-target-class)@1.generate from module object(lib-target-class)@1
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:509: in generate-really from module object(main-target)@3
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:482: in object(main-target)@3.generate from module object(main-target)@3
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:692: in targets.generate-from-reference from module targets
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:710: in targets.generate-dependencies from module targets
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:888: in object(lib-target-class)@17.generate from module object(lib-target-class)@17
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:509: in generate-really from module object(main-target)@1
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:482: in object(main-target)@1.generate from module object(main-target)@1
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:178: in object(project-target)@11.generate from module object(project-target)@11
e:/libraries/boost_cvs/tools/build/v2\build-system.jam:160: in load from module build-system
e:\libraries\boost_cvs\tools\build\v2\kernel\modules.jam:259: in import from module modules
e:\libraries\boost_cvs\tools\build\v2\kernel\bootstrap.jam:120: in boost-build from module
e:\develop\boost-build.jam:10: in module scope from module
--Boundary-00=_woIt/+gm3AS1vnH Content-Type: text/x-diff;
charset="iso-8859-15";
name="path.jam.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="path.jam.diff"
Index: tools/build/v2/util/path.jam
=================================RCS file: /cvsroot/boost/boost/tools/build/v2/util/path.jam,v
retrieving revision 1.10
diff -u -3 -p -r1.10 path.jam
--- tools/build/v2/util/path.jam 4 Aug 2003 09:29:28 -0000 1.10
+++ tools/build/v2/util/path.jam 14 Nov 2003 07:45:05 -0000
@@ -21,6 +21,7 @@ import errors : error ;
os = [ modules.peek : OS ] ;
+echo $(os) ;
if [ modules.peek : UNIX ]
{
local uname = [ modules.peek : JAMUNAME ] ;
@@ -34,6 +35,10 @@ if [ modules.peek : UNIX ]
}
}
+if $(os) = win32
+{
+ os = CYGWIN ;
+}
#
# Converts the native path into normalized form.
#
--Boundary-00=_woIt/+gm3AS1vnH--
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