PKG-Config



Hi,

I know this can be a silly quuestion but I'm a newbie with linux. Every time I 
topen a console and compile a gtk program, I have to set the pkg config 
variables, otherwise it appears the error:

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable

So each time I have to type 

PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export PKG_CONFIG_PATH

How can I set PKG_CONFIG_PATH "forever"?

Thanks
-- 
Patricia Balbastre Betoret
Departamento de Informatica de Sistemas y Computadores
Camino de Vera, 14, E-46071, Valencia, Spain
Tel: +34 96 387 70 00 Ext 75707
Fax: +34 96 387 75 79
http://ttt.upv.es/~patbalb1
-----------------------------
http://www.fsf.org/philosophy/no-word-attachments.es.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]