[newbie] setenv?

2001-02-13 Thread Oliver Stieber

how do i do a setenv with mandrake? short of int main(int argv,argc[]) 




Re: [newbie] setenv / env ?

2001-01-11 Thread Onur




Tuesday, January 09, 2001, 2:41:44 AM, you wrote:

JRS I installed the Mesa Opengl package and in the README file is proposed 
the 
JRS lib path  $TOP/lib become the enviroment variable LD_LIBRARY_PATH. Well, when 
JRS I try the following:

JRS # setenv LD_LIBRARY_PATH $TOP/lib

JRS I got:

JRS bash: setenv: command not found 

JRS otherwise, I run the following:

JRS # env LD_LIBRARY_PATH $TOP/lib
JRS I got:

JRS env: LD_LIBRARY_PATH: No such file or directory

JRS My question is:

JRS  How to set the enviroment var. LD_LIBRARY_PATH?

JRS thanks very much any help!

JRS ze

setenv and env are for C shell I guess,
and another guess, you are using the default shell bash
use

export WHAT_YOU_WANT_TO_SET=WHAT_VALUE_YOU_WANT_TO_GIVE   -- to set  ( or use "set" 
instead of
"export" , dont remember if it was working too)

set | grep WHAT_YOU_WANT_TO_SET  -- will show you if you set it
correct or not.

ps: bash is not so happy with spaces , so be keen on using XXX=YYY
instead of XXX = YYY

ps: if you do a "set |grep x" and see "_=x"  then you " could
not succeed" , this is because you used export instead of set, or vice
versa. ( dont worry, it wont hassle things :)


   Onur



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





[newbie] setenv question...

2000-10-02 Thread Ronald J. Hall


Okay, I've included a (very) small text attachment, it shows an error message
I'm getting whenever I try to run an app that needs Mesa/Glide. I did go to
README.3DFX and read it, but it was somewhat less than illuminating for me. Can
someone look at the text and tell me what it is I'm supposed to do? I'm
confused, because when I try "setenv" as su, (or normal user) I always get a
"command not found" error. What file (.bash_profile? .bashrc?) is the lines
supposed to go into? 

Thanks as always.

-- 
 
   /\
   DarkLord
   \/

;This is the message I get when trying to run Mesa/Glide stuff:

WARNING: This Mesa Library includes the Glide driver but
 you have not defined the MESA_GLX_FX env. var.
 (check the README.3DFX file for more information).

 you can disable this message with a 'export MESA_GLX_FX=disable'.

---
;This is all I could find from README.3DFX:

Set your LD_LIBRARY_PATH environment variable so that the
libglide2x.so and Mesa library files can be found.  For example:
setenv LD_LIBRARY_PATH "/usr/local/glide/lib:/SOMEDIR/Mesa-3.1/lib"

- You'll have to run Glide-based programs as root or set the suid
bit on executables;

- Try a demo:
cd gdemos
su
setenv MESA_GLX_FX f
./gears (hit ESC to exit)

;Any ideas? ;-)




[newbie] setenv

2000-02-29 Thread Meanie

Ok, I've compiled the MesaGL libs to (hopefully) work with my Voodoo2. 
The HOWTO says I need to set an environment variable with setenv.  The
example it gives is:

setenv LD_LIBRARY_PATH "/usr/local/glide/lib:/Mesa-3.1/lib"

Unfortunately, setenv doesn't exist anywhere on my machine.  What's up? 
I've tried running it as root and an unpriveleged user.  I feel like I'm
missing something, and without the environment variable set my apps
can't find the OpenGL libs.

--
Meanie