You are not logged in.

#1 2010-04-11 04:52:07

rbc
Member

[RESOLVED] enviroment variables install bug?

Probably not, but I am stumbled.

Using latest SVN. Stable has similar problem for me.

After a succelfull build, "make install" throws this:

Code:

make[1]: Går til katalog '/home/rune/src/grr/grrlib-read-only/GRRLIB/GRRLIB'
Makefile:4: *** "Use   export DEVKITPPC=<path to>devkitPPC   and try again". Stop.
make[1]: Forlader katalog '/home/rune/src/grr/grrlib-read-only/GRRLIB/GRRLIB'
make: *** [install] Fejl 1

cat ~/.bashrc | grep 'DEVKIT'

Code:

export DEVKITPRO=/opt/devkitpro
export DEVKITPPC=$DEVKITPRO/devkitPPC

Offline

 

#2 2010-04-12 05:34:26

NoNameNo
Administrator

Re: [RESOLVED] enviroment variables install bug?

hi, can you give us the exact command line you use to "make install" ??
are you using something like "sudo make install" ??
if yes, its normal, using sudo you will compil under root environement where DEVKITPRO and DEVKITPPC arent declarered/exported

Offline

 

#3 2010-04-16 21:54:59

rbc
Member

Re: [RESOLVED] enviroment variables install bug?

Yes, using sudo.

Q: If to not set it with 'EXPORT' in ~/.bashrc, where then and how?

A: 'sudo -i' and did export at bash. Made 'make install' work.

But how do I export the variable as default, when using sudo f. ex. ?

Last edited by rbc (2010-04-16 22:49:37)

Offline

 

#4 2010-04-17 09:50:54

NoNameNo
Administrator

Re: [RESOLVED] enviroment variables install bug?

you just have to put them in the /root/.bashrc  wink

anyway you SHOULD NOT have to be under root rights to compil your stuff, you SHOULD fix your permission to be able to compil under your simple user !!

Offline

 

Board footer

Powered by FluxBB