LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-24-2005, 04:04 PM   #1
maevious
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Talking Setting an environmental variable


Hello There!

I have suse 9.3.
I need to install Boost C++ 1.30 but in I can't find out how
to set an enviromental variable BOOSTROOT. With the suse help
i didn't find something useful so here I am.

I 'd appreciate any help
 
Old 11-24-2005, 04:07 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
in the command line
Code:
BOOSTROOT=<whatever the value is>
Then you can edit your ~/.bashrc, and add the same thing to the end of it. This will set the BOOSTROOT variable every time you log in.

On a side note, why are you using Boost C++, g++(the gcc c++ compiler) will do the same thing? Just a thought
 
Old 11-24-2005, 04:28 PM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
I think Boost C++ is a library, and not a compiler...

about VARIABLE=SOMETHING... make sure you don't put any spaces in between:

Code:
A=5        # works!
A = 5        # does not work!!!
 
Old 11-24-2005, 04:35 PM   #4
maevious
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by microsoft/linux
in the command line
Code:
BOOSTROOT=<whatever the value is>
Then you can edit your ~/.bashrc, and add the same thing to the end of it. This will set the BOOSTROOT variable every time you log in.

On a side note, why are you using Boost C++, g++(the gcc c++ compiler) will do the same thing? Just a thought
Thanks!

BOOSTROOT must point to the location where Boost is.

So it must be something like BOOSTROOT = </root/folder/boost> ?
It doesn't work like this.



Boost is required for a program about Distributed Algorithms that i have to
use for a project, and i fact i dont really know what Boost can offer.



By the way, any easy way to make Suse plays mp3s?
 
Old 11-24-2005, 04:48 PM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
No I'm sorry. I use the '<' and '>' as indicators for a generic entry(since I don't know what your using). it will look like
Code:
BOOSTROOT=variableorpathgoeshere
or
Code:
BOOSTROOT=/folder/path
sorry for the confusion.

ok, I though boost c++ was a complier, judging from the name(I'd just never heard of it). MP3s huh? Do you have a music player on Suse?
 
Old 11-24-2005, 05:00 PM   #6
maevious
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by microsoft/linux

Code:
BOOSTROOT=variableorpathgoeshere
or
Code:
BOOSTROOT=/folder/path
It works now. Thank you.

Quote:
ok, I though boost c++ was a complier, judging from the name(I'd just never heard of it). MP3s huh? Do you have a music player on Suse? [/B]
Kaffeine, Amarok, Xine , Noatun can 't play sound.
only real player can but it is TOO HEAVY to play.
It something about codecs.
 
Old 11-24-2005, 05:15 PM   #7
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
I see, I'm not sure about that one. I think you need to find a linux codec for MP3s, sorry I can't be of more help on this one
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in installating vcdimager because of PKG_CONFIG_PATH environmental variable! koodoo Linux - Newbie 3 08-22-2005 09:44 PM
nohup tcsh (environmental variable) podollb Linux - Software 0 05-17-2004 06:44 PM
"How do i add an Environmental Variable in Redhat 8 ???? jmax24 Linux - Software 1 04-17-2004 01:30 AM
setting environmental variable cc to a working compiler blathen Linux - Newbie 2 10-27-2003 01:30 AM
how to get environmental variable from JAVA program edreddy Programming 2 07-29-2002 11:38 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration