I can use gcc -o xx xx `pkg-config --cflags --libs gtk+-2.0 `
Now I need to do some programs with gnome .Which need gnome.h
I compiled like
gcc gnome1.c -o gnome1 `pkg-config --cflags --libs libgnome-2.0
libgnomeui-2.0`
Which shows:
Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
gnome1.c:1:19: fatal error: gnome.h: No such file or directory
compilation terminated.
As i thought I use gnome why system not contain gnome.h
It is easy for somebody .
When i lose some file . How can i find the correct name to yum install
or find source file .