Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-08-26 10:13:59


I downloaded http://www.boost-consulting.com/boost.tar.bz2 and bunzip'ed
and untar'ed to get a directory:

boost-04-08-25-1800

then, in:

boost-04-08-25-1800/tools/build/jam_src

did:

./build.sh como

but got:

Comeau C/C++ 4.3.3 (Jan 30 2004 15:40:54) for LINUX_INTEL_ELF
Copyright 1988-2004 Comeau Computing. All rights reserved.
MODE:non-strict warnings C90

"pwd.c", line 21: error: identifier "PATH_MAX" is undefined
char buffer[PATH_MAX];
^

after changing pwd.c as follows:

*** pwd.c 2004/08/26 14:44:00 1.1
--- pwd.c 2004/08/26 14:45:04
***************
*** 10,16 ****
#include <direct.h>
#define PATH_MAX _MAX_PATH
#else
! #include <unistd.h>
#endif

--- 10,19 ----
#include <direct.h>
#define PATH_MAX _MAX_PATH
#else
! #include <unistd.h>
! #if defined(__COMO__)
! #include <linux/limits.h>
! #endif
#endif

I redid the `./build.sh como` and got no errors. Could this change in
pwd.c be put into cvs?

 


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