ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
אורח · ·
 

הודעה פורסם: 06/06/2004 - 23:03
נושא ההודעה: בעייה בקימפול xtraceroute

הורדתי את xtraceroute לאחר שהתקנתי את כל החבילות שכתוב שהוא דורש.
פרסתי את הקובץ המכווץ ונכסנתי לתקייה.
עשיתי configure/. ולמרות שיש לי +gkt ו-gtk2 הוא אומר שהוא לא מוצא קובץ gtk-config.
הנה הלוג:
קוד:

[root@ok-meac5cw7hl2e xtraceroute-0.9.1]# ./configure
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory
done
checking for iconv... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for traceroute... /bin/traceroute
checking for host... /usr/bin/host
checking for gtk-config... no
checking for GTK - version >= 1.0.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find proper gtk version

כמובן שעשיתי locate gtk-config, והתוצאה היא שבאמת אין לי כזה קובץ במחשב, למרות
שכמו שכבר אמרתי יש לי את +gtk ו-gtk2, כנראה שהחבילות לא מכילות את הקובץ.
עכשיו השאלה היא איך אני משיג את הקובץ gtk-config?
או שיש פיתרון אחר? אולי לגרום לו להשתש בקובץ אחר (למרות שאני לא חושב שזה אפשרי)?

תודה מראש.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
omriלא בפורום כעת ת.הצטרפות: 24/11/2003 · הודעות: 1148 ·
 

הודעה פורסם: 07/06/2004 - 00:51
נושא ההודעה:

תעשה ככה
קוד:
GTK_CONFIG="/path/to/gtk-config" ./configure

_________________
Sure linux is user-friendly, it's just picky about who its friends are Smile
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
צפריראורח · ·
 

הודעה פורסם: 07/06/2004 - 01:22
נושא ההודעה:

באיזו הפצה אתה משתמש?
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
zeltakלא בפורום כעת ת.הצטרפות: 06/06/2003 · הודעות: 104 ·
 

הודעה פורסם: 07/06/2004 - 01:28
נושא ההודעה:

אתה צריך את חבילת dev של gtk

_________________
:qw!
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 07/06/2004 - 15:42
נושא ההודעה:

תודה zeltak זה עזר Smile
בעייה נוספת בקימפול:
אני רוצה להתקין biditext, אז הורדתי את הקובץ
r2l-1.0.1.tar.gz ופרסתי אותו.
נכנסתי לתקיה ועשיתי configure/.
ואז זה מה שקרה:
קוד:

[root@ok-meac5cw7hl2e r2l-1.0.1]# ./configure
loading cache ./config.cache
checking for fribidi-config... (cached) /usr/lib/bin/fribidi-config
checking for fribidi - version >= 0.1.4... ./configure: line 1: /usr/lib/bin/fribidi-config: No such file or directory

למרות שיש לי fribidi+fribidi-devel מותקנים.
מה אני עושה?
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
צפריראורח · ·
 

הודעה פורסם: 07/06/2004 - 16:56
נושא ההודעה:

‎/usr/lib/bin/fribidi-config ?

איך זה הגיע אצלך ל־cache?

תמחק את config.cache ותריץ מחדש.

אגב: באיזו הפצה אתה עובד?
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 07/06/2004 - 17:51
נושא ההודעה:

אני משתמש בפאדורה 2.
תודה על העזרה, הבעייה נפתרה אבל צצה בעייה חדשה.
הנה אחרי שהקונפיגור עובד (אני חושב):
קוד:

[root@ok-meac5cw7hl2e r2l-1.0.1]# ./configure --disable-gnome
creating cache ./config.cache
checking for fribidi-config... /usr/local/bin/fribidi-config
checking for fribidi - version >= 0.1.4... yes
checking for fribidi-config... (cached) /usr/local/bin/fribidi-config
checking for fribidi - version >= 0.10.0... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dock applets library (libdockapp)... no
checking for a BSD compatible install... /usr/bin/install -c
checking for GNU make... make
checking for bind in -lsocket... no
checking for wish... no
checking for wish8.4... no
checking for wish8.3... no
checking for wish8.2... no
checking for wish8.1... no
checking for wish8.0... no
checking for wish4.2... no
checking for wish4.1... no
checking for wish4.0... no
checking for ANSI C header files... yes
checking for mode_t... yes
checking for gettimeofday... yes
checking for getcwd... yes
checking for select... yes
checking for strdup... yes
checking linux version >= 2.2... yes
================================================
============== Configure Results ===============
================================================
* Using fribidi configured from /usr/local/bin/fribidi-config
* Using X11 libs with: cflags=-I/usr/X11R6/include , libs=-L/usr/X11R6/lib -lX11
* Using Linux >=2.2 Abstract Socket
* tcl/tk interpeter: wish_not_found

================================================
================================================
updating cache ./config.cache
creating ./config.status
creating make.defs
sed: file conftest.s1 line 53: Unterminated `s' command
creating src/r2llib/make.defs
sed: file conftest.s1 line 53: Unterminated `s' command
creating src/r2llib/r2ltcl
sed: file conftest.s1 line 53: Unterminated `s' command
creating src/biditext/make.defs
sed: file conftest.s1 line 53: Unterminated `s' command
creating src/r2l-plugins/make.defs
sed: file conftest.s1 line 53: Unterminated `s' command
creating src/refreshd/src/make.defs
sed: file conftest.s1 line 53: Unterminated `s' command


עכשיו עשיתי make וזה מש שקרה, ארור:
קוד:

[root@ok-meac5cw7hl2e r2l-1.0.1]# make
topdir=$PWD; \
cd src/r2llib; \
make PREFIX=$topdir install
make[1]: Entering directory `/home/icecube/Desktop/r2l-1.0.1/src/r2llib'
gcc -fPIC -O2 -Wall -g  -c r2l.c
gcc -fPIC -O2 -Wall -g  -c r2llib.c
gcc -fPIC -O2 -Wall -g  -c r2l_state.c
gcc -fPIC -O2 -Wall -g  -c biditext_base_state.c
gcc -fPIC -O2 -Wall -g  -c parse_argv.c
gcc -fPIC -O2 -Wall -g  -c r2llib_data.c
gcc -fPIC -O2 -Wall -g  -c file_ops.c
gcc -fPIC -O2 -Wall -g  -c query_state.c
gcc -fPIC -O2 -Wall -g  -c access.c
ar rc libr2l.a r2llib.o r2l_state.o biditext_base_state.o parse_argv.o r2llib_data.o file_ops.o query_state.o access.o
ranlib libr2l.a
gcc  -O2 -Wall -g  r2l.o libr2l.a -o r2l
cat r2llib-config.in | sed -e 's#PACKAGE_VERSION#0.38#g'         \
             -e 's#PACKAGE_LIBRARY_DIR#/home/icecube/Desktop/r2l-1.0.1/lib#g'   \
             -e 's#PACKAGE_LIBRARY#r2l#g'   \
             -e 's#PACKAGE_INCLUDE_PATH#/home/icecube/Desktop/r2l-1.0.1/include#g' \
        > r2llib-config
chmod +x r2llib-config
install -c -d /home/icecube/Desktop/r2l-1.0.1/lib
for lib in libr2l.a; do                \
   install -c $lib /home/icecube/Desktop/r2l-1.0.1/lib; \
done
install -c -d /home/icecube/Desktop/r2l-1.0.1/include
for header in r2llib.h; do        \
  install -c -m 644 $header /home/icecube/Desktop/r2l-1.0.1/include; \
done
install -c -d /home/icecube/Desktop/r2l-1.0.1/bin
for prog in r2l r2ltcl r2llib-config; do       \
   install -c $prog /home/icecube/Desktop/r2l-1.0.1/bin;    \
done
make[1]: Leaving directory `/home/icecube/Desktop/r2l-1.0.1/src/r2llib'
topdir=$PWD; \
cd src/biditext ; \
make R2LLIB_CONFIG=$topdir/bin/r2llib-config
make[1]: Entering directory `/home/icecube/Desktop/r2l-1.0.1/src/biditext'
gcc -c -O2 -Wall -fno-strength-reduce -g -I/home/icecube/Desktop/r2l-1.0.1/include -I/usr/local/include -DFRIBIDI_INTERFACE_1 -I/usr/include/X11 -fPIC parse_options.c -o parse_options.o
gcc -c -O2 -Wall -fno-strength-reduce -g -I/home/icecube/Desktop/r2l-1.0.1/include -I/usr/local/include -DFRIBIDI_INTERFACE_1 -I/usr/include/X11 -fPIC common.c -o common.o
gcc -c -O2 -Wall -fno-strength-reduce -g -I/home/icecube/Desktop/r2l-1.0.1/include -I/usr/local/include -DFRIBIDI_INTERFACE_1 -I/usr/include/X11 -fPIC hook_into_x.c -o hook_into_x.o
gcc -c -O2 -Wall -fno-strength-reduce -g -I/home/icecube/Desktop/r2l-1.0.1/include -I/usr/local/include -DFRIBIDI_INTERFACE_1 -I/usr/include/X11 -fPIC biditext.c -o biditext.o
gcc -o biditext.so -shared -g parse_options.o common.o hook_into_x.o biditext.o -L/usr/local/lib -lfribidi  -L/home/icecube/Desktop/r2l-1.0.1/lib -lr2l -L/usr/X11R6/lib -lX11 -ldl
strip biditext.so
cat biditext.in |sed -e 's#BIDITEXT_LIBRARY#/usr/local/lib/biditext.so#g' \
               |sed -e 's#REFRESHD_HOOK_LIBRARY#/usr/local/lib/refreshd_hook.so#g' \
               > biditext
chmod +x biditext
make[1]: Leaving directory `/home/icecube/Desktop/r2l-1.0.1/src/biditext'
topdir=$PWD; \
cd src/r2l-plugins ; \
make R2LLIB_CONFIG=$topdir/bin/r2llib-config
make[1]: Entering directory `/home/icecube/Desktop/r2l-1.0.1/src/r2l-plugins'
gcc -c main.c -g -Wall -I/home/icecube/Desktop/r2l-1.0.1/include -Wall -O2 -fno-strength-reduce
gcc -c ui_plugin_terminal.c -g -Wall -I/home/icecube/Desktop/r2l-1.0.1/include -Wall -O2 -fno-strength-reduce
gcc -o r2lterminal ui_plugin_terminal.o main.o -g -L/home/icecube/Desktop/r2l-1.0.1/lib -lr2l -Wall -O2 -fno-strength-reduce
Unknown library `applets'
gcc -c ui_plugin_gnome_applet.c -g -Wall -I/home/icecube/Desktop/r2l-1.0.1/include -Wall -O2 -fno-strength-reduce
ui_plugin_gnome_applet.c:7:27: applet-widget.h: No such file or directory



מה אני עושה עכשיו?
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
פיל-קטןלא בפורום כעת ת.הצטרפות: 02/05/2004 · הודעות: 1089 ·
 

הודעה פורסם: 07/06/2004 - 22:30
נושא ההודעה:

זה נראה כאילו למרות שביקשת בלי gnome, הבניה מנסה לכלול חלקים שקשורים אליו. יכולות להיות לכך כמה סיבות מהותיות -- למשל, שצריך עוד איזה אופציה בהרצת configure, או אפילו באג בחבילה -- אבל הסיבה הפשוטה והסבירה יותר, היא שעשית configure קודם בלי הדגל הזה, וחלק מהקבצים נשאר עם האופציות של gnome.

למען האמת, מה שמתיישב יותר טוב עם ה-PATH המוזר ל-fribidi-config שהיה לך ב-cache (ושנראה כאילו בכלל לא בא מהמערכת שלך), הוא באג קטן באריזה: קובץ ה-tar כנראה מכיל סביבת בנייה לא נקיה לגמרי, אלא עם "שאריות" מאיזו בנייה שהתבצעה בה על המערכת של האורז.

הפתרון צריך להיות להריץ
קוד:

make distclean

ואז לבצע את ריקוד הגשם הרגיל:
קוד:

./configure --disable-gnome
make
make install

הערה קטנה אחרונה: מקובל להמנע מלהריץ כ-root מה שלא מוכרחים. זה לא מאד משנה בקונטקסט הזה, אבל כשאני רואה את ה-# לפני פקודות כמו ./configure, זה צורם. עניין של הרגלי עבודה.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 07/06/2004 - 23:03
נושא ההודעה:

הפקודה הזאת לא עובדת:
קוד:

[icecube@ok-meac5cw7hl2e r2l-1.0.1]$ make distclean
make: *** No rule to make target `distclean'.  Stop.

כנראה שבאמת הבעייה ב-configure עצמו ואין מה לעשות,
תודה בכל מקרה.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. אורח
  2. omri
  3. אורח [צפריר]
  4. zeltak
  5. אורח
  6. אורח [צפריר]
  7. אורח
  8. פיל-קטן
  9. אורח