Hi, can anyone help me with building boost using dev-cpp?

I'm trying to build boost 1.31.0 with this system, never having used it before.
I have Dev-Cpp installed at C:\Program Files\Dev-Cpp, and boost extracted to
C:\Code\boost_1_31_0.

Using the command line:
C:\Code\boost_1_31_0> bjam "-sTOOLS=mingw" "-sMINGW_ROOT_DIRECTORY=c:/progra~1/dev-cpp" install

bjam tries to start building various targets, and manages to invoke the
compiler, but all compilations fail due to failing to find the standard include
files - various manipulations of -sMINGW_INCLUDE_DIRECTORY haven't helped.

This is the output of the first compile in the build:

--------------------------------------------------------------

    c:/progra~1/dev-cpp/bin/\g++   -c -Wall -ftemplate-depth-100 -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_DYN_LINK=1  -g -O0 -fno-inline -mno-cygwin   -I"bin\boost\libs\date_time\build"  -I "C:\Code\boost_1_31_0"  -o "bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\greg_month.obj"  "C:/Code/boost_1_31_0/libs/date_time/build/../src/gregorian/greg_month.cpp"


In file included from C:/Code/boost_1_31_0/boost/config.hpp:40,
                from C:/Code/boost_1_31_0/boost/shared_ptr.hpp:18,
                from
C:/Code/boost_1_31_0/boost/date_time/gregorian/greg_month.hpp:14,
                from
C:/Code/boost_1_31_0/libs/date_time/src/gregorian/greg_month.cpp:14:
C:/Code/boost_1_31_0/boost/config/select_stdlib_config.hpp:20:19: utility: No such file or directory
In file included from C:/Code/boost_1_31_0/boost/shared_ptr.hpp:27,
                from
C:/Code/boost_1_31_0/boost/date_time/gregorian/greg_month.hpp:14,
                from
C:/Code/boost_1_31_0/libs/date_time/src/gregorian/greg_month.cpp:14:
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:35:61: memory: No such file or directory
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:36:41: functional: No such file or directory
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:37:46: exception: No such file or directory
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:38:46: new: No such file or directory
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:39:61: typeinfo: No such file or directory
C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:40:43: cstddef: No such file or directory

[ snip ]

C:/Code/boost_1_31_0/boost/detail/shared_count.hpp:389: confused by earlier
errors, bailing out
Executing through .bat file
Executing command [cmd.exe] [/Q/C][C:\DOCUME~1\MJV1\LOCALS~1\Temp\jam5712-00.bat]
...failed gcc-C++-action
bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\greg_month.obj...
gcc-C++-action
bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\greg_weekday.obj

--------------------------------------------------------------

I would be happy to supply any output that might be useful in diagnosing my
problem.

Thanks,
Matt




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
mail.administrator@jupiters.com.au

**********************************************************************