Re: gtk 1.2 to 2.0



check the permissions on gtk+-2.0.pc

ls -l /usr/lib/pkgconfig/gtk+-2.0.pc
on my mdk 8.2 "source install" shows
$ ls -l /usr/lib/pkgconfig/gtk+-2.0.pc 
-rw-r--r--    1 root     root          330 Jun 25 21:38
/usr/lib/pkgconfig/gtk+-2.0.pc

On Sun, 2002-07-21 at 21:32, Pablo Fischer wrote:
    The new problems JUST when I want to compile like a normal user, are:
    
    
    [unmada pablo GtK]$ gcc -Wall -g pixmap1.c -o pixmap `pkg-config
    --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
    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
    No package 'gtk+-2.0' found
    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
    No package 'gtk+-2.0' found
    pixmap1.c:1:21: gtk/gtk.h: No existe el fichero o el directorio
    
    And also.. like root:
    [unmada pablo GtK]$ su
    Password: 
    [root pablo GtK]# gcc -Wall -g pixmap1.c -o pixmap `pkg-config --cflags
    gtk+-2.0` `pkg-config --libs gtk+-2.0`
    [root pablo GtK]# 
    
    
    Why?.. it doesnt matters so much, but its strange. :(.
    
    Paul Fischer
    
    _______________________________________________
    gtk-app-devel-list mailing list
    gtk-app-devel-list gnome org
    http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
    
-- 
----------------
-- Uniball @ DALnet
Linux registered user # 224950
ICQ # 58475622
With Great Power, Comes Great Responsibilities.




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