[Gelistirici] 2011'de header dosyası bulamama sıkıntısı

Gökmen Görgen gkmngrgn at gmail.com
1 Kas 2010 Pzt 01:43:58 EET


Merhabalar,

Elimizde üç adet pardus 2011 bulunmakta:
1) Biri sanal makinede, 64bit
2) Biri laptopta, 64bit
3) Biri de netbookta, 32bit

Yaşanan sıkıntılar:
* gnome-desktop paketi 64bit sanal makinede derlerken glib.h dosyasını
bulamadı. Ama netbook'ta sorunsuz derlendi. Hatta farmda da bir sıkıntı
yaşanmadı.
* exo paketi 64bit sanal makinede hal desteğiyle beraber sorunsuzca
derlenmesine karşın, 64bit laptopta gtk.h dosyasını bulamadı. üstelik hal
desteği yok.

Böyle acayip sorunlar nedeniyle bir günde xfce paketlerini review'e alma ve
review yapma planımız suya düştü. Mete'nin exo derlerken karşılaştığı
çıktıyı örnek olarak buraya yapıştırıyorum:

/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -DDATADIR=\"/usr/share\" -DEXO_COMPILATION
-DG_LOG_DOMAIN=\"exo\" -DLIBEXECDIR=\"/usr/lib/xfce4\"
-DLIBEXO_VERSION_API=\"0.3\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
 -DHAVE_GNUC_VISIBILITY  -I/usr/include/xfce4 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -mtune=generic -march=x86-64 -O2 -pipe
-fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3
-funwind-tables -fasynchronous-unwind-tables -DNDEBUG
-DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-cell-renderer-ellipsized-text.lo -MD -MP -MF
.deps/libexo_0_3_la-exo-cell-renderer-ellipsized-text.Tpo -c -o
libexo_0_3_la-exo-cell-renderer-ellipsized-text.lo `test -f
'exo-cell-renderer-ellipsized-text.c' || echo
'./'`exo-cell-renderer-ellipsized-text.c

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/usr/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/usr/lib/xfce4\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DHAVE_GNUC_VISIBILITY
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-mtune=generic -march=x86-64 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3 -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG -DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-cell-renderer-ellipsized-text.lo -MD -MP -MF
.deps/libexo_0_3_la-exo-cell-renderer-ellipsized-text.Tpo -c
exo-cell-renderer-ellipsized-text.c  -fPIC -DPIC -o
.libs/libexo_0_3_la-exo-cell-renderer-ellipsized-text.o

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/usr/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/usr/lib/xfce4\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DHAVE_GNUC_VISIBILITY
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-mtune=generic -march=x86-64 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3 -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG -DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-binding.lo -MD -MP -MF .deps/libexo_0_3_la-exo-binding.Tpo
-c exo-binding.c  -fPIC -DPIC -o .libs/libexo_0_3_la-exo-binding.o

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/usr/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/usr/lib/xfce4\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DHAVE_GNUC_VISIBILITY
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-mtune=generic -march=x86-64 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3 -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG -DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-marshal.lo -MD -MP -MF .deps/libexo_0_3_la-exo-marshal.Tpo
-c exo-marshal.c  -fPIC -DPIC -o .libs/libexo_0_3_la-exo-marshal.o

In file included from exo-cell-renderer-ellipsized-text.c:27:0:

../exo/exo-cell-renderer-ellipsized-text.h:32:21: fatal error: gtk/gtk.h: No
such file or directory

compilation terminated.

make[3]: *** [libexo_0_3_la-exo-cell-renderer-ellipsized-text.lo] Hata 1

make[3]: *** Bitmemiş işler için bekliyor....

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/usr/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/usr/lib/xfce4\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DHAVE_GNUC_VISIBILITY
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-mtune=generic -march=x86-64 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3 -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG -DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-enum-types.lo -MD -MP -MF
.deps/libexo_0_3_la-exo-enum-types.Tpo -c exo-enum-types.c  -fPIC -DPIC -o
.libs/libexo_0_3_la-exo-enum-types.o

In file included from exo-binding.c:30:0:

../exo/exo-private.h:30:21: fatal error: gtk/gtk.h: No such file or
directory

compilation terminated.

make[3]: *** [libexo_0_3_la-exo-binding.lo] Hata 1

mv -f .deps/libexo_0_3_la-exo-marshal.Tpo
.deps/libexo_0_3_la-exo-marshal.Plo

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/usr/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/usr/lib/xfce4\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DHAVE_GNUC_VISIBILITY
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-mtune=generic -march=x86-64 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -ggdb3 -funwind-tables
-fasynchronous-unwind-tables -DNDEBUG -DG_DISABLE_CAST_CHECKS -MT
libexo_0_3_la-exo-aliasdef.lo -MD -MP -MF
.deps/libexo_0_3_la-exo-aliasdef.Tpo -c exo-aliasdef.c  -fPIC -DPIC -o
.libs/libexo_0_3_la-exo-aliasdef.o

In file included from ../exo/exo.h:40:0,

                 from exo-enum-types.c:6:

../exo/exo-cell-renderer-ellipsized-text.h:32:21: fatal error: gtk/gtk.h: No
such file or directory

compilation terminated.

Sistem güncelleme, pisi paket bütünlüğünü doğrulama, gerekli devel
paketlerinin kurulu olup olmadığına bakmak gibi kontrolleri yaptık. Bunlarla
ilgili bir problem çıkmadı. Bu hatayla karşılaşma nedeni olarak
gnome-desktop ve exo bağımlılıklarından birinin bağımlılıklarının
(gnome-desktop ve exo'nun değil) yanlış yazılmış olabileceğini düşünüyoruz.

-- 
gkmngrgn ~ http://gokmengorgen.net
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20101101/570d17d7/attachment-0002.htm>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi