Boost logo

Boost-Build :

From: Daryle Walker (darylew_at_[hidden])
Date: 2003-08-24 00:47:17


On Friday, August 22, 2003, at 8:47 AM, Rene Rivera wrote:

> [2003-08-22] Daryle Walker wrote:
>
>> [I originally posted this on the Install list.]
>>
>> This is really more of an UNIX & Mac OS X question.
>>
>> I'm trying out an already-built executable of BJam on my Mac OS X
>> 10.2.6 system. I want to define BOOST_ROOT, etc., so the Jamfiles
>> can see them. However, I can't get my shell (bash) to read the
>> information off a dotfile when I open a terminal window. (I can get
>> it to work when I enter stuff manually.) The system reads the
>> additions of my PATH variable just fine, though. Do I need to do a
>> total reboot (I've logged out and back in, but not rebooted), or am I
>> writing the exporting commands wrong, or am I using the wrong
>> dotfiles? (I used to remember UNIX so well....)
>>
>> BJam gives a warning about the Python shell variables not being
>> defined. The suggested values are within a framework. Are there
>> copies of the Python headers in the conventional spots I can use
>> instead?
>
> Daryle we'll need more information than you give. Specifically what
> the shell script looks like. Without that I can't say if you are
> setting them correctly. Also, since it's an environment issue, could
> you provide the output of the "env" command.

I have this for my ".profile":

//================================================================
. /sw/bin/init.sh
BOOST_ROOT=~/Documents/Boost/boost_cvs/boost
TOOLS=darwin
ALL_LOCATE_TARGET=~/Documents/Boost/binaries
export BOOST_ROOT TOOLS ALL_LOCATE_TARGET
//================================================================

But none of it seems to be registering:

//================================================================
bash-2.05a$ env
PWD=/Users/daryle
TERM_PROGRAM=Apple_Terminal
USER=daryle
CVS_RSH=ssh
TERMCAP=��׀
LANG=en_US
DISPLAY=localhost
LOGNAME=daryle
SHLVL=1
SHELL=/bin/bash
HOME=/Users/daryle
SSH_ASKPASS=/Applications/SSHPassKey.app/Contents/MacOS/SSHPassKey
TERM=vt100
TERM_PROGRAM_VERSION=81
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/Developer/Tools:/
Library/Tcl/bin:/sw/bin:/sw/sbin:/Users/daryle/bin
__CF_USER_TEXT_ENCODING=0x1F5:0:0
_=/usr/bin/env
//================================================================

I have the additions to PATH listed in my ".bash_login" file. When I
put the Boost environmental variables in that same file, they were
ignored.

Daryle

 


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