Operating System - HP-UX
1771362 Members
2652 Online
109005 Solutions
New Discussion юеВ

Re: chatr -l not supported in HPUX Itanium??

 
SOLVED
Go to solution
Jithin Prakash
Advisor

Re: chatr -l not supported in HPUX Itanium??

On manually linking using g++ by providing -L -lboost_system, the application started working. I guess that was the problem, so I am relinking the boost_filesystem once the boost build completes in my own script.

Thanks a lot Dennis.
Jithin Prakash
Advisor

Re: chatr -l not supported in HPUX Itanium??

I found the best solution:

This is a bug in boost 1.39. I fixed it in boost filesystem Jamfile.v2 as this:

project boost/filesystem
: source-location ../src
: requirements ../../system/build//boost_system
: usage-requirements # pass these requirement to dependents (i.e. users)
shared:BOOST_FILESYSTEM_DYN_LINK=1
static:BOOST_FILESYSTEM_STATIC_LINK=1
;

SOURCES =
operations path portability utf8_codecvt_facet ;

lib boost_system : : boost_system ../../../../lib ;

lib boost_filesystem
:
$(SOURCES).cpp
boost_system
:
shared:BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
static:BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
:
:
;

boost-install boost_filesystem ;

Now things work properly.

I am providing my solution for future reference.
Jithin Prakash
Advisor

Re: chatr -l not supported in HPUX Itanium??

This is a bug in boost 1.39. I fixed it in boost filesystem Jamfile.v2 as this:

project boost/filesystem
: source-location ../src
: requirements ../../system/build//boost_system
: usage-requirements # pass these requirement to dependents (i.e. users)
shared:BOOST_FILESYSTEM_DYN_LINK=1
static:BOOST_FILESYSTEM_STATIC_LINK=1
;

SOURCES =
operations path portability utf8_codecvt_facet ;

lib boost_system : : boost_system ../../../../lib ;

lib boost_filesystem
:
$(SOURCES).cpp
boost_system
:
shared:BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
static:BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
:
:
;

boost-install boost_filesystem ;

Now things work properly.