انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: مشکل در نصب gmp  (دفعات بازدید: 802 بار)

0 کاربر و 2 مهمان درحال مشاهده موضوع.

آفلاین mohsen100

  • Jr. Member
  • *
  • ارسال: 34
مشکل در نصب gmp
« : 28 دی 1391، 07:05 ب‌ظ »
سلام
من دوتامشکل دارم اول اینکه میخوام  debian 6 KFreeBSD رو نصب کنم.اما نمیتونم لطفا کمک کنید.
دوم اینکه میخوام تو ابونتو 12.4 بست gmp  رو نصب کنم.بعد از دستور make check این خطا میاد
mkdir: cannot create directory `/usr/local/share/info': Permission denied
make[3]: *** [install-info-am] Error 1
make[3]: Leaving directory `/home/mohsen/gmp-4.3.2/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mohsen/gmp-4.3.2/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mohsen/gmp-4.3.2'
make: *** [install] Error 2
« آخرین ویرایش: 11 بهمن 1391، 12:05 ب‌ظ توسط narcissus »

آفلاین کیان

  • High Hero Member
  • *
  • ارسال: 2338
  • جنسیت : پسر
پاسخ : مشکل در نصب gmp و debian 6 kfreebsd
« پاسخ #1 : 28 دی 1391، 07:24 ب‌ظ »
دستوری که میزنی هم بذار. نه فقط خروجی دستور!

راهنمای نصب توزیع debian 6 KFreeBSD رو پیدا کن و از روی راهنما برو جلو.

آفلاین mohsen100

  • Jr. Member
  • *
  • ارسال: 34
پاسخ : مشکل در نصب gmp و debian 6 kfreebsd
« پاسخ #2 : 28 دی 1391، 09:22 ب‌ظ »
بعد ازدن دستور make install خروجی زیر میاد.
~/gmp-5.1.0$ make install
make  install-recursive
make[1]: Entering directory `/home/mohsen/gmp-5.1.0'
Making install in tests
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/tests'
Making install in .
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests'
Making install in devel
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/devel'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/devel'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/devel'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/devel'
Making install in mpn
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpn'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpn'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpn'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpn'
Making install in mpz
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpz'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpz'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpz'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpz'
Making install in mpq
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpq'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpq'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpq'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpq'
Making install in mpf
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpf'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/mpf'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpf'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/mpf'
Making install in rand
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/rand'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/rand'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/rand'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/rand'
Making install in misc
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/misc'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/misc'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/misc'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/misc'
Making install in cxx
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tests/cxx'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/tests/cxx'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/cxx'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tests/cxx'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/tests'
Making install in mpn
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/mpn'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/mpn'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/mpn'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/mpn'
Making install in mpz
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/mpz'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/mpz'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/mpz'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/mpz'
Making install in mpq
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/mpq'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/mpq'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/mpq'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/mpq'
Making install in mpf
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/mpf'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/mpf'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/mpf'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/mpf'
Making install in printf
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/printf'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/printf'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/printf'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/printf'
Making install in scanf
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/scanf'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/scanf'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/scanf'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/scanf'
Making install in rand
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/rand'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/rand'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/rand'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/rand'
Making install in cxx
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/cxx'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/cxx'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/cxx'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/cxx'
Making install in demos
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/demos'
Making install in calc
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/demos/calc'
make  install-am
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/demos/calc'
make[5]: Entering directory `/home/mohsen/gmp-5.1.0/demos/calc'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/mohsen/gmp-5.1.0/demos/calc'
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/demos/calc'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/demos/calc'
Making install in expr
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/demos/expr'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/demos/expr'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/demos/expr'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/demos/expr'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/demos'
make[4]: Entering directory `/home/mohsen/gmp-5.1.0/demos'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mohsen/gmp-5.1.0/demos'
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/demos'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/demos'
Making install in tune
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/tune'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/tune'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/tune'
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/tune'
Making install in doc
make[2]: Entering directory `/home/mohsen/gmp-5.1.0/doc'
make[3]: Entering directory `/home/mohsen/gmp-5.1.0/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/info" || /bin/mkdir -p "/usr/local/share/info"
/bin/mkdir: cannot create directory `/usr/local/share/info': Permission denied
make[3]: *** [install-info-am] Error 1
make[3]: Leaving directory `/home/mohsen/gmp-5.1.0/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mohsen/gmp-5.1.0/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mohsen/gmp-5.1.0'
make: *** [install] Error 2

آفلاین کیان

  • High Hero Member
  • *
  • ارسال: 2338
  • جنسیت : پسر
پاسخ : مشکل در نصب gmp و debian 6 kfreebsd
« پاسخ #3 : 28 دی 1391، 09:44 ب‌ظ »
make install باید با sudo اجرا بشه!
sudo make install

آفلاین mohsen100

  • Jr. Member
  • *
  • ارسال: 34
پاسخ : مشکل در نصب gmp و debian 6 kfreebsd
« پاسخ #4 : 29 دی 1391، 10:49 ق‌ظ »
درود حالا میخوام gcc-4.7.2 رو نصب کنم
وقتی دستور sudo make install میزنم خطای زیر میاد.
make[1]: Entering directory `/home/mohsen/gcc-4.7.2'
/bin/bash ./mkinstalldirs /usr/local /usr/local
/bin/bash: line 3: cd: host-i686-pc-linux-gnu/fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/home/mohsen/gcc-4.7.2'
make: *** [install] Error 2