Opened 16 years ago

Closed 16 years ago

#763 closed Support Requests (Fixed)

bjam: command not found

Reported by: sadge Owned by: nobody
Milestone: Component: Building Boost
Version: None Severity:
Keywords: Cc:

Description

I understand this may be an OS problem, but I thought
i'd ask here since i've never encountered this before,
and incase its a known issue with bjam. 

I think this console output will best explain my problem..

s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86# wget
http://kent.dl.sourceforge.net/sourceforge/boost/boost-jam-3.1.13-1-linuxx86.tgz
--00:53:28-- 
http://kent.dl.sourceforge.net/sourceforge/boost/boost-jam-3.1.13-1-linuxx86.tgz
           => `boost-jam-3.1.13-1-linuxx86.tgz'
Resolving kent.dl.sourceforge.net... 212.219.56.167
Connecting to
kent.dl.sourceforge.net[212.219.56.167]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62,413 [application/x-tar]

100%[=================================================================================================================>]
62,413        --.--K/s

00:53:28 (803.13 KB/s) -
`boost-jam-3.1.13-1-linuxx86.tgz' saved [62413/62413]

s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86# tar
-xvzf boost-jam-3.1.13-1-linuxx86.tgz
boost-jam-3.1.13-1-linuxx86/LICENSE_1_0.txt
boost-jam-3.1.13-1-linuxx86/bjam
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86# cd
boost-jam-3.1.13-1-linuxx86
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
bjam
-su: bjam: command not found
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
./bjam
-su: ./bjam: No such file or directory
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
chmod 777 bjam
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
bjam
-su: bjam: command not found
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
./bjam
-su: ./bjam: No such file or directory
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
chmod +x bjam
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
bjam
-su: bjam: command not found
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
bjam
-su: bjam: command not found
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
cp bjam /usr/bin/bjam
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#
bjam
-su: /usr/bin/bjam: No such file or directory
s15229711:/var/temp/boost-jam-3.1.13-1-linuxx86/boost-jam-3.1.13-1-linuxx86#


-------------------------

Those commands were run as root, but i've tried running
from many different user accounts with the same results.
I am running Debian 3.1 64bit (stable/sarge)


Any idea's?

P.S I have tried compiling bjam from source with the
same results :/

Change History (2)

comment:1 by mikhail_beris, 16 years ago

Logged In: YES 
user_id=415821

The problem is when you're invoking bjam in the
/var/temp/boost-jam-3.1.13-1-linuxx86 directory, the shell
is looking not at the current directory for the bjam
executable, but in the configured search paths (which are
usually /usr/bin, /usr/sbin, among others). What you can do
are the following:

in /var/temp/boost-jam-3.1.13-1-linuxx86, do this:

  ./bjam

Or copy (as root) the bjam executable to /usr/bin .

Also, since you're using a 64 bit machine, try building the
bjam executable from source and copying it over to /usr/bin .

HTH

comment:2 by david_abrahams, 16 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.