フォーラム: ヘルプ (スレッド #19213)

Build using JAM (2008-07-03 03:26 by ope-devel #37442)

Hi,

cool work! Anyway, how can I build it? I've tried/got:

hamigaki_svn_trunk$ LANG=en BOOST_ROOT=./ bjam --toolset=gcc --builddir=build
cat: .//boost/version.hpp: No such file or directory
/usr/share/boost-build/build/targets.jam:540: in start-building from module targets
error: Recursion in main target references
error: the following target are being built currently:
error: ./headers /headers ./headers
/usr/share/boost-build/build/targets.jam:727: in object(main-target)@163.generate from module object(main-target)@163
/usr/share/boost-build/build/targets.jam:895: in targets.generate-from-reference from module targets
/usr/share/boost-build/build/targets.jam:1170: in generate-dependencies from module object(alias-target-class)@36
/usr/share/boost-build/build/targets.jam:1224: in object(alias-target-class)@36.generate from module object(alias-target-class)@36
/usr/share/boost-build/build/targets.jam:765: in generate-really from module object(main-target)@180
/usr/share/boost-build/build/targets.jam:738: in object(main-target)@180.generate from module object(main-target)@180
/usr/share/boost-build/build/targets.jam:895: in targets.generate-from-reference from module targets
/usr/share/boost-build/build/targets.jam:1170: in generate-dependencies from module object(alias-target-class)@63
/usr/share/boost-build/build/targets.jam:1221: in object(alias-target-class)@63.generate from module object(alias-target-class)@63
/usr/share/boost-build/build/targets.jam:765: in generate-really from module object(main-target)@163
/usr/share/boost-build/build/targets.jam:738: in object(main-target)@163.generate from module object(main-target)@163
/usr/share/boost-build/build/targets.jam:255: in object(project-target)@33.generate from module object(project-target)@33
/usr/share/boost-build/build-system.jam:414: in load from module build-system
/usr/share/boost-build/kernel/modules.jam:261: in import from module modules
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build from module
/home/ope/projects/cpp/hamigaki_svn_trunk/boost-build.jam:20: in module scope from module

BTW, does tar archives support the update and append function?
I found your library on search for reference implementations for tar archives. I started some coding for my own implementation and I'm lucky to found this stage.

Greetings,
Olaf

PS: Your documentation should contain more english ;-)

RE: Build using JAM (2008-08-16 16:49 by hamigaki #38294)

Hi, Olaf.
I'm sorry that my response is too late.

> cat: .//boost/version.hpp: No such file or directory

Please set BOOST_ROOT to the directory which contains Boost source codes.

If you use are using some pre-built Boost package, use the following environment variables:

BOOST_INCLUDE
the directory which contains Boost header files

BOOST_LIBPATH
the directory which contains Boost pre-built library files

NO_BOOST_STD_LIB_NAME
if you use libboost_regex-mt.a instead of libboost_regex-gcc34-mt-1_36.a, set to 1

NO_DEBUG_BOOST
if you don't use debug versions of Boost binaries, set to 1


> BTW, does tar archives support the update and append function?
Perhaps you will make it by using ustar_file_source.
The class supports a low level interface for tar archives.
See also libs/archivers/test/lzh_replace_test.cpp and libs/archivers/test/zip_replace_test.cpp.


> PS: Your documentation should contain more english ;-)
Yes.
#37442 への返信

tar_replace_test (2008-09-21 23:25 by hamigaki #38949)

Now I added a new sample codes.
See libs/archivers/test/tar_replace_test.cpp.
#38294 への返信