-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
dear linuxer,
gimana caranya compile program dengan menggunakan library gtk+-2.0? ato setting lib & cflagsnya di pkgconfig?
saya mencoba tutorial di www.gtk.org, misal nama filenya helloworld.c dengan perintah compile: ~ gcc helloworld.c -o helloworld `pkg-config --cflags --libs gtk+-2.0`
selalu menghasilkan error bahwa: ~ Package gdk-x11-2.0 was not found in the pkg-config search path. ~ Perhaps you should add the directory containing `gdk-x11-2.0.pc' ~ to the PKG_CONFIG_PATH environment variable ~ Package 'gdk-x11-2.0', required by 'GTK+', not found
package gtk yang tersedia di tempat saya, `rpm -qa | grep gtk` ~ gtk+2.0-2.0.6-8mdk ~ gtkdialogs-1.2-3mdk ~ gtktalog-1.0-0.rc2.1mdk ~ php-gtk-0.5.1-2mdk ~ libgtk+1.2-1.2.10-29mdk ~ libgtk+-x11-2.0_0-2.0.6-8mdk ~ libgtk+2.0_0-2.0.6-8mdk ~ gtk+mdk-0.1.6-12mdk ~ libgtkhtml2_0-2.0.1-1mdk ~ pygtk-0.6.9-3mdk ~ gtk-engines2-1.9.0-13mdk ~ libgtkxmhtml1-1.4.2-1mdk ~ nautilus-gtkhtml-0.3.2-4mdk ~ libgtk+2.0_0-devel-2.0.6-8mdk
sedangkan utk pkgconfignya adalah: pkgconfig-0.12.0-2mdk saya menggunakan mandrake9.0 dan desktop gnome2.0
mohon pencerahannya n thanx sebelumnya - -- Best Regards, ~ _____) _ ~ / /) , ___/__) ~ )__ __ _(/ _ _ __ (, / ~ / / (_(_(_ (_(/ _(_/ (_ / ~ (_____) (_____ ~ ) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFAlvkaI0CA+Asna7QRAoX5AJ9cuegD7eTdQkYdhSiAFA+BlEYChQCfb+yf hU8fO3ac5Rx7znhyoYautIg= =zcYS -----END PGP SIGNATURE-----
-- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip dan info di http://linux.or.id/milis.php FAQ milis http://linux.or.id/faq.php
