Boost logo

Boost-Build :

Subject: [Boost-build] upgrade from 1.42 to 1.46.1
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2011-05-05 02:58:44


Hi,

After a boost-upgrade (boost-build and libs) from Ubuntu-packages 1.42
to a manual build of 1.46.1, I get strange error-messages. For example
it cannot find libs in /usr/lib/:

andrej_at_amd64:~/mbrace/trunk$ bjam -j4
error: Unable to find file or target named
error: '/usr/lib/libcryptopp.a'
error: referred from project at
error: ''

andrej_at_amd64:~/mbrace/trunk$ ls -la /usr/lib/libcryptopp.a
lrwxrwxrwx 1 root root 13 2011-04-29 21:43 /usr/lib/libcryptopp.a ->
libcrypto++.a

And it doesn't pick up the name of an install-rule:

andrej_at_amd64:~/mbrace/trunk/mysql/misc$ bjam
../../mysql/dm/Jamfile:9: in modules.load
*** argument error
* rule install ( name : sources * : requirements * : default-build * )
* called with: ( : datamodel )
* missing argument name
/usr/local/share/boost-build/tools/stage.jam:499:see definition of
rule 'install' being called
/usr/local/share/boost-build/build/project.jam:314: in load-jamfile
/usr/local/share/boost-build/build/project.jam:62: in project.load
/usr/local/share/boost-build/build/project.jam:765: in project.use
/usr/local/share/boost-build/build/project.jam:89: in load-used-projects
/usr/local/share/boost-build/build/project.jam:73: in load
/usr/local/share/boost-build/build/project.jam:115: in load-parent
/usr/local/share/boost-build/build/project.jam:463: in initialize
/usr/local/share/boost-build/build/project.jam:309: in load-jamfile
/usr/local/share/boost-build/build/project.jam:62: in load
/usr/local/share/boost-build/build/project.jam:115: in load-parent
/usr/local/share/boost-build/build/project.jam:463: in initialize
/usr/local/share/boost-build/build/project.jam:309: in load-jamfile
/usr/local/share/boost-build/build/project.jam:62: in load
/usr/local/share/boost-build/build/project.jam:168: in project.find
/usr/local/share/boost-build/build-system.jam:569: in load
/usr/local/share/boost-build/kernel/modules.jam:283: in import
/usr/local/share/boost-build/kernel/bootstrap.jam:142: in boost-build
/usr/local/share/boost-build/boost-build.jam:8: in module scope

andrej_at_amd64:~/mbrace/trunk/mysql/misc$ cat ../../mysql/dm/Jamfile

lib datamodel
        : [ glob *.cpp ]
        /site-config//mysqlpp
        /site-config//boost_program_options
        :
        ;

install $(INSTALL_PATH)/lib : datamodel ;
install $(INSTALL_PATH)/etc : db.cfg ;

Did something change in this release?

Thank you,
Andrej


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