سلام
موقع وارد کردن دستور configure پیش نیازها رو یکی یکی و بعد از رفع هرکدوم ، بعدی رو میگه. چطور میشه یکباره همه پیش نیازهای کامپایل سورس رو لیست کرد؟
میشه بفرمایین چطور ممکنه یک برنامه مستقیما بگه که به فلان بسته ها جهت نصب نیاز داره؟
(3:25:00 PM) Nabi: how can i see list of all dependent packages before install one program?
(3:25:35 PM) rodrigo: use your packet manager for it
(3:25:35 PM) KasperM: The software running on a kernel is something completely different from the kernel itself.
(3:26:04 PM) Nabi: rodrigo: how is it in ssh mode?
(3:26:04 PM) rodrigo: of course
(3:26:32 PM) Stupendoussteve: Nabi: What distro?
(3:26:35 PM) rodrigo: nope its an application
(3:26:50 PM) rodrigo: it depends on your distro
(3:26:50 PM) Nabi: debian base
(3:27:17 PM) rodrigo: does Debian use app-get for it?
(3:27:29 PM) Nabi: yes, (ubuntu)
(3:27:43 PM) Stupendoussteve: Nabi: aptitude show PACKAGE
(3:28:19 PM) Stupendoussteve: There is a "Depends" field
(3:28:19 PM) PingFloyd: Nabi: apt-cache depends pkg
(3:28:19 PM) Stupendoussteve: Works too :D
(3:28:19 PM) rodrigo: wich Debian?
(3:28:19 PM) rodrigo: *which
(3:28:19 PM) Stupendoussteve: rodrigo: <Nabi> yes, (ubuntu)
(3:29:12 PM) rodrigo: I mean pre Sarge or Post Sarge?
(3:29:12 PM) Stupendoussteve: Ubuntu is post sarge, by now
(3:29:49 PM) rodrigo: nabi mentioned a Debian distro
(3:34:53 PM) The topic for ##linux is: Welcome to ##Linux. | Channel website,rules http://www.linuxassist.net | Our pastebin http://paste.linuxassist.net | Need help? Check http://tinyurl.com/2otwa8 | Spammers or trolls? use !ops <troll's nick> <reason> | Please be nice! Catalyse, be reasonable, accomodate. You can solve your own problems. :) | tor users: Kindly ask an op for a voice in order to chat in channel.
(3:35:04 PM) Nab1: sorry, i was disconnected
(3:35:17 PM) Nab1: you said: "aptitude show PACKAGE" ?
(3:36:14 PM) PingFloyd: Nabi: apt-cache depends pkg
(3:36:14 PM) tesh: rodrigo: thanks for that, will just try now
(3:37:16 PM) Nab1: PingFloyd: thanks, i will try it
rosenth نوشته است:نبی جان ، با فرض محال اگه دو تا چیز با هم قاطی شده بودند، شما یه چیز سومی هم آوردی وسط
میدونی که ابزارهای Apt-get و apt-cache مربوط به مدیریت پکیج هستند، نه سورسی که جدا دانلود کردم و میخوام خودم کامپایل کنم. اون ابزار ها پیش نیاز ها رو قشنگ میگن. ولی configure قشنگ نمیگه، تاز خودش هم نمیتونه رفعشون کنه. من دنبال اینم که آیا راهی هست که ... آره و این
./configure
make deb ubuntu
strace -f -o /tmp/log ./configure
# or make instead of ./configure, if the package doesn't use autoconf
for x in `dpkg -S $(grep open /tmp/log|\
perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
grep "^/"| sort | uniq|\
grep -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
cut -f1 -d":"| sort | uniq`; \
do \
echo -n "$x (>=" `dpkg -s $x|grep ^Version|cut -f2 -d":"` "), "; \
done
sudo apt-get install
;کسانی که اکنون در این تالار هستند: کاربری نام ننوشته است کاربر و 4 میهمان