If you’re trying to set the STAGEPATH or LD_LIBRARY_PATH, then you want to use /usr/local/lib, not /usr/local.  If you’re trying to set the PATH, you’ll need to append /usr/local/bin.  It might help for you to read up on how environment variables work.

 

I usually these at the end of my ~/.bash_profile (~/.bashrc works too) if I install stuff to /usr/local.

 

PATH=$PATH:/usr/local/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

PKG_CONFIG_PATH=$ PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

 

export PATH

export LD_LIBRARY_PATH

export PKG_CONFIG_PATH

 

After you add these, you’ll have to run the command “source ~/.bashrc”, or log out and log in again.  You can echo $PATH and echo $LD_LIBRARY_PATH to verify the changes.


Rich

 

 

 

From: Arkapravo Bhaumik [mailto:arkapravobhaumik@gmail.com]
Sent: Tuesday, March 23, 2010 4:15 AM
To: Playerstage
Subject: [Playerstage-users] Stuck with .bashrc !

 

Hi friends

I have been able to install player 3.0.0 and stage 3.2.0 on Ubuntu VM (9.04). However, I am struggling with setting the path using .bashrc ! (I followed http://www.control.aau.dk/~ms/playerstage/playerstage_install ) . My player and stage directory is usr/local .

Can someone please guide me with .bashrc file ?

Much appreciated.

Arkapravo
--
Arkapravo Bhaumik
Website : http://3chevrons.blogspot.com/
E-mail : arkapravobhaumik@gmail.com
Twitter : @abhaumik
Facebook : Arkapravo Bhaumik