Opened 13 years ago

Closed 13 years ago

#3496 closed Bugs (invalid)

Problems in latest release changes "--without and --with options"

Reported by: Raghu Parsuvanathan <raghuparsuvanathan@…> Owned by: René Rivera
Milestone: Boost 1.41.0 Component: bjam
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

hello

I was using boost_1_33_1 and i upgraded the same to boost_1_40_0 version. But during compilation, i am getting the following error.

"error: both --with-<library> and --without-<library> specified"

in my command line i have given ./bjam -sTOOLS=vc-8_0 toolset=msvc --with-filesystem --without-python

if i remove --without-python, it is giving warning as "No python installation configured and auto configuration failed."

but it was working in old (boost_1_33_1) version. The reason i found is the new validation in "jamroot" file as follows.

if $(with-parameter) && $(without-parameter) {

ECHO "error: both --with-<library> and --without-<library> specified" ; EXIT ;

}

can you please help me in this regard?

Thanks in advance, Raghu

Change History (2)

comment:1 by Vladimir Prus, 13 years ago

Just ignore the warning -- it's emitted regardless of whether Python is built. There's a separate action item to suppress this warning when Python is not built.

Does this answer your question?

comment:2 by Vladimir Prus, 13 years ago

Resolution: invalid
Status: newclosed

I am gonna assume that the problem is now solved.

Note: See TracTickets for help on using tickets.