LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to set environment variable (https://www.linuxquestions.org/questions/linux-software-2/how-to-set-environment-variable-867125/)

naren123.k 03-08-2011 12:23 AM

how to set environment variable
 
hi all,
can any one tell me how to set environment variable as i am getting following message during ./configure....i think i know but i am not confident so plz tell me.

checking for GtkGLExt - version >= 1.0.0...
*** pkg-config cannot find gtkglext-1.0 >= 1.0.0
*** Set the environment variable PKG_CONFIG_PATH to point to the correct
*** configuration files.
no
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType -- version >= 2.0.0... yes
checking for main in -lpng12... yes
configure: creating ./config.status
config.status: creating Makefile
[root@localhost iNSpect_4_beta_3]#

corp769 03-08-2011 12:30 AM

Perform the following:
Code:

yum -y install gtkglext*
Cheers,

Josh

naren123.k 03-08-2011 12:44 AM

i already put threads on "yum not working" so still its not working..
can you tell me where yum will install all packages so that i can try manually??

corp769 03-08-2011 12:45 AM

Well I didn't know about your yum not working....

What version of fedora are you running?

naren123.k 03-08-2011 12:53 AM

right now i am using fedora 7... but i also tried this in fedora14 same problem i am getting for "yum".
is this because of network connection setting or what???
i am browsing net with no problem in both versions of fedora..

corp769 03-08-2011 12:56 AM

http://projects.gnome.org/gtkglext/download.html

There you go as far as that.

Can you point me in the direction of your yum thread?

naren123.k 03-08-2011 12:58 AM

[root@localhost ~]# yum install gtkglext-devel make gcc-c++ freeglut-devel
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot open/read repomd.xml file for repository: fedora
[root@localhost ~]#

corp769 03-08-2011 01:00 AM

Duh me.... Fedora 7 had its end of life a long time ago.... Follow the link I posted before.

naren123.k 03-08-2011 01:07 AM

ya i am agreed but why i am getting same problem in fedora14...

following

[root@localhost ~]# yum install libX11-devel
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost ~]#

corp769 03-08-2011 01:18 AM

I thought you said you have another thread about this problem?

naren123.k 03-08-2011 01:38 AM

ya in following link
http://www.linuxquestions.org/questi...a-14-a-866144/

naren123.k 03-08-2011 02:04 AM

i downloaded gtkglext-1.0 & gtkglext-1.2 and installed successfully in /root/NS/gtkglext-1.0
but still i am getting same msg as in thread #1 above

corp769 03-08-2011 02:04 AM

You need the dev files.

corp769 03-08-2011 02:09 AM

Ok look, remove the ones you uninstalled since you are going gung-ho and downloading everything in sight. Navigate to the following page:

http://rpm.pbone.net/index.php3?stat...evel&srodzaj=3

Grab the devel package for Fedora 7 and the correct arch type for your system.

Cheers,

Josh

naren123.k 03-08-2011 02:34 AM

i am getting following things unable to directly install

[root@localhost NS]# rpm -i gtkglext-1.2.0-4.fc6.src.rpm
warning: gtkglext-1.2.0-4.fc6.src.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[root@localhost NS]#


All times are GMT -5. The time now is 06:53 AM.