انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: hgh66 در 24 دی 1392، 07:44 بظ
-
سلام دوستان
من یک کاربر تازه کار اوبونتو هستم. زمانی که از دستور ./configure می خوام استفاده کنم پیغام زیر نمایش داده می شود:
bash: ./configure: Permission denied
حالا باید چی کار کنم.
-
با چه دسترسی فرمان را اجرا میکنی ؟ معمولا ندیدم فرمان بالا نیاز به دسترسی سوپر یوز داشته باشه ، اما با یوزر روت هم یه امتحان کن
-
بعد از اینکه به پوشه محتویات برنامه روی فلش می رم به این صورت وارد می کنم:
./configure
-
بهروز عزیز با کاربر ریشه هم همین پیام رو میده.
-
ابتدا اون دایرکتوری رو به کامپیوتر خودت انتقال بده، بعد دوباره در کامپیوتر خودت تست کن.
-
دایرکتوری رو در مسیر زیر کپی کردم ولی هنوز مشکل وجود دارد و اجازه دسترسی نمیده
/home/hossein/Documents
??? ???
-
پرمیشن دایرکتوری چی هست ؟
-
نمیدونم
-
دایرکتوری رو در مسیر زیر کپی کردم ولی هنوز مشکل وجود دارد و اجازه دسترسی نمیده
/home/hossein/Documents
??? ???
اینجوری گفتن فایده نداره. دقیقا تمامی دستوراتی که مینویسی همراه با نتایجی که داره رو اینجا بذار.
-
برنامه ای که می خوام نصب کنم اسمش filibsrc است. داخل دایرکتوریش هم فایل configure وجود داره.
cd /home/hossein/Documents/filibsrc
./configure
bash: ./configure: Permission denied
-
دستور زیر را داخل دایرکتوری برنامه اجرا کن و خروجیش را بزار
ls -l
-
total 1342
-rw------- 1 hossein hossein 317354 آوریل 28 2011 aclocal.m4
-rw------- 1 hossein hossein 165 سپتام 15 2006 AUTHORS
drwx------ 1 hossein hossein 0 ژانوی 16 2014 autom4te.cache
drwx------ 1 hossein hossein 8192 ژانوی 16 2014 benchmark
-rw------- 2 hossein hossein 270 سپتام 15 2006 ChangeLog
-rw------- 2 hossein hossein 44959 آوریل 28 2011 config.guess
-rw------- 2 hossein hossein 1661 آوریل 28 2011 config.h.in
-rw------- 1 hossein hossein 34597 آوریل 28 2011 config.sub
-rw------- 2 hossein hossein 532268 آوریل 28 2011 configure
-rw------- 2 hossein hossein 3483 آوریل 28 2011 configure.in
-rw------- 1 hossein hossein 27951 سپتام 15 2006 COPYING
-rw------- 1 hossein hossein 18615 آوریل 28 2011 depcomp
drwx------ 1 hossein hossein 0 ژانوی 16 2014 doc
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 examples
drwx------ 1 hossein hossein 24576 ژانوی 16 2014 fp_traits
drwx------ 1 hossein hossein 0 ژانوی 16 2014 ieee
-rw------- 1 hossein hossein 15578 آوریل 28 2011 INSTALL
-rw------- 2 hossein hossein 13663 آوریل 28 2011 install-sh
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 interval
drwx------ 1 hossein hossein 0 ژانوی 16 2014 libprim
-rw------- 1 hossein hossein 243469 آوریل 28 2011 ltmain.sh
drwx------ 1 hossein hossein 0 ژانوی 16 2014 m4
-rw------- 1 hossein hossein 5431 سپتام 21 2006 Makefile.am
-rw------- 1 hossein hossein 30520 آوریل 28 2011 Makefile.in
-rw------- 1 hossein hossein 11419 آوریل 28 2011 missing
drwx------ 1 hossein hossein 0 ژانوی 16 2014 msvc
-rw------- 1 hossein hossein 0 آوریل 28 2011 NEWS
-rw------- 1 hossein hossein 61 سپتام 15 2006 README
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 rounding_control
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 test
-
سلام دوستان
من یک کاربر تازه کار اوبونتو هستم. زمانی که از دستور ./configure می خوام استفاده کنم پیغام زیر نمایش داده می شود:
bash: ./configure: Permission denied
حالا باید چی کار کنم.
دوست عزیز سوالت رو دقیق مطرح کن :
۱− این خطا در چه برنامه ای رخ داد .
۲− سطح دسترسی برای شما مشکل داره - قبل از هرچیز آیا شما برنامه رو با فایل سیستمهای لینوکس اجرا میکنی یا ویندوز ، اگه ویندوز کپی کن تو فایل سیستم لینوکسی مثلا تو /opt کپی کن بعد نصب کن
۳- با سطح دسترسی ریشه اجرا کن
۴- مالک فایلت چیه ؟
۵- سطح دسترسی فایل configure چیه ؟
-
total 1342
-rw------- 1 hossein hossein 317354 آوریل 28 2011 aclocal.m4
-rw------- 1 hossein hossein 165 سپتام 15 2006 AUTHORS
drwx------ 1 hossein hossein 0 ژانوی 16 2014 autom4te.cache
drwx------ 1 hossein hossein 8192 ژانوی 16 2014 benchmark
-rw------- 2 hossein hossein 270 سپتام 15 2006 ChangeLog
-rw------- 2 hossein hossein 44959 آوریل 28 2011 config.guess
-rw------- 2 hossein hossein 1661 آوریل 28 2011 config.h.in
-rw------- 1 hossein hossein 34597 آوریل 28 2011 config.sub
-rw------- 2 hossein hossein 532268 آوریل 28 2011 configure
-rw------- 2 hossein hossein 3483 آوریل 28 2011 configure.in
-rw------- 1 hossein hossein 27951 سپتام 15 2006 COPYING
-rw------- 1 hossein hossein 18615 آوریل 28 2011 depcomp
drwx------ 1 hossein hossein 0 ژانوی 16 2014 doc
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 examples
drwx------ 1 hossein hossein 24576 ژانوی 16 2014 fp_traits
drwx------ 1 hossein hossein 0 ژانوی 16 2014 ieee
-rw------- 1 hossein hossein 15578 آوریل 28 2011 INSTALL
-rw------- 2 hossein hossein 13663 آوریل 28 2011 install-sh
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 interval
drwx------ 1 hossein hossein 0 ژانوی 16 2014 libprim
-rw------- 1 hossein hossein 243469 آوریل 28 2011 ltmain.sh
drwx------ 1 hossein hossein 0 ژانوی 16 2014 m4
-rw------- 1 hossein hossein 5431 سپتام 21 2006 Makefile.am
-rw------- 1 hossein hossein 30520 آوریل 28 2011 Makefile.in
-rw------- 1 hossein hossein 11419 آوریل 28 2011 missing
drwx------ 1 hossein hossein 0 ژانوی 16 2014 msvc
-rw------- 1 hossein hossein 0 آوریل 28 2011 NEWS
-rw------- 1 hossein hossein 61 سپتام 15 2006 README
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 rounding_control
drwx------ 1 hossein hossein 4096 ژانوی 16 2014 test
میتونی این کارا رو بکونی
chmod +x configure
یا
cd .. // برگرد به دایرکتوری قبل از پوشه
chmod 775 -R filibsrc
-
برنامه filibsrc یک کتابخانه بازه ای است که من از اینترنت دانلود کردم. طبق گفته نویسنده آن یک برنامه آزاد است که تحت لایسنس گونو می باشد.
سوال دوم شما رو هم متوجه نشدم "برنامه رو با فایل سیستمهای لینوکس اجرا میکنی یا ویندوز" من برنامه رو روی اوبونتویی که در vmwer نصب کردم می خوام اجرا کنم.
در مورد سوم هم قبلا امتحان کرده بودم ولی نشد. خوب دوباره امتحان می کنم.
سطح دسترسی فایل configure در قسمت option به این صورت نوشته:
owner: me
access :read and write
groupe: hossein
access: none
قسمتی از فایل Readme که توضیحاتی در مورد برنامه داره رو گذاشتم شاید بدرد بخوره
opyright (C) 1997-2000 Institut fuer Wissenschaftliches Rechnen */
/* und Mathematische Modellbildung (IWRMM) */
/* and */
/* Institut fuer Angewandte Mathematik */
/* Universitaet Karlsruhe, Germany */
/* (C) 2000-2005 Wiss. Rechnen/Softwaretechnologie */
/* Universitaet Wuppertal, Germany */
/* */
/* This library is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU Library General Public */
/* License as published by the Free Software Foundation; either */
/* version 2 of the License, or (at your option) any later version. */
/* */
/* This library is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
/* See the GNU Library General Public License for more details. */
/* */
/* You should have received a copy of the GNU Library General Public*/
/* License along with this library; if not, write to the Free */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, */
/* MA 02111-1307 USA
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
-
chmod 775 -R filibsrc
این که همه مجوزها رو خراب میکنه!
کافیه داخل اون پوشه بنویسید:
chmod +x configure
-
برنامه filibsrc یک کتابخانه بازه ای است که من از اینترنت دانلود کردم. طبق گفته نویسنده آن یک برنامه آزاد است که تحت لایسنس گونو می باشد.
سوال دوم شما رو هم متوجه نشدم "برنامه رو با فایل سیستمهای لینوکس اجرا میکنی یا ویندوز" من برنامه رو روی اوبونتویی که در vmwer نصب کردم می خوام اجرا کنم.
در مورد سوم هم قبلا امتحان کرده بودم ولی نشد. خوب دوباره امتحان می کنم.
سطح دسترسی فایل configure در قسمت option به این صورت نوشته:
owner: me
access :read and write
groupe: hossein
access: none
قسمتی از فایل Readme که توضیحاتی در مورد برنامه داره رو گذاشتم شاید بدرد بخوره
opyright (C) 1997-2000 Institut fuer Wissenschaftliches Rechnen */
/* und Mathematische Modellbildung (IWRMM) */
/* and */
/* Institut fuer Angewandte Mathematik */
/* Universitaet Karlsruhe, Germany */
/* (C) 2000-2005 Wiss. Rechnen/Softwaretechnologie */
/* Universitaet Wuppertal, Germany */
/* */
/* This library is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU Library General Public */
/* License as published by the Free Software Foundation; either */
/* version 2 of the License, or (at your option) any later version. */
/* */
/* This library is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
/* See the GNU Library General Public License for more details. */
/* */
/* You should have received a copy of the GNU Library General Public*/
/* License along with this library; if not, write to the Free */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, */
/* MA 02111-1307 USA
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
سوال ؟
تو ماشین مجازی نصب کردی یا بصورت دیسک زنده میخوای تست کنی ؟
و لطفا برنامه filibsrc یه جا آپلود کن من تست کنم .
-
تو ماشین مجازی می خوام نصب کنم.
برنامه filibsrc رو می تونید از سایت زیر دریافت کنید. فقط نسخه آپدیت شده را دانلود کنید (نسخه 3.0.2)
http://www2.math.uni-wuppertal.de/wrswt/software/filib.html
-
بجای اینکه پوشه رو کپی کنی داخل پوشه خانگی خودت بهتره که فایل اصلی(یعنی فایل با پسوند tar.gz) رو کپی کنی داخل پوشه خانگی و اونجا از حالت فشرده خارج کنی و مراحل بعدی رو انجام بدی!
-
تو ماشین مجازی می خوام نصب کنم.
برنامه filibsrc رو می تونید از سایت زیر دریافت کنید. فقط نسخه آپدیت شده را دانلود کنید (نسخه 3.0.2)
http://www2.math.uni-wuppertal.de/wrswt/software/filib.html
سورس دانلود و دستور
./configure
را اجرا کردم ، مشکلی نداره اینم خروجیش
behrooz@behrooz-Lenovo-G500:~/Downloads/filibsrc$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for floating point architecture... SSE
Using SSE floating point architecture.
checking whether gcc accepts -frounding-math... yes
checking whether gcc accepts -ffloat-store... yes
checking whether the boost random library is installed... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libprim/Makefile
config.status: creating examples/Makefile
config.status: creating test/Makefile
config.status: creating benchmark/Makefile
config.status: creating rounding_control/rounding_control_config.hpp
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Note on using the library:
Please set your CXXFLAGS to " -frounding-math" when compiling programs using the installed filib++.
-
سلام دوستان
خیلی ممنون از راهنمایی هاتون. مشکل رفع شد. فایل اصلی رو به طور مستقیم دانلود کردم و بعد هم configure/. \\:D/
فقط سوالی که برام پیش اومده،این مسئله مربوط به خصوصیات اوبونتو است یا مربوط به فایلی است که دانلود کردم. به عبارتی چه تفاوتی وجود داره که در حالت قبلی یعنی نصب از روی سورسی که قبلا دانلود شده دستور عمل نمی کنه اما زمانی که اونو به طور مستقیم در لینوکس دانلود می کنی مشکلی نداره. :-k
-
سلام دوستان
خیلی ممنون از راهنمایی هاتون. مشکل رفع شد. فایل اصلی رو به طور مستقیم دانلود کردم و بعد هم configure/. \\:D/
فقط سوالی که برام پیش اومده،این مسئله مربوط به خصوصیات اوبونتو است یا مربوط به فایلی است که دانلود کردم. به عبارتی چه تفاوتی وجود داره که در حالت قبلی یعنی نصب از روی سورسی که قبلا دانلود شده دستور عمل نمی کنه اما زمانی که اونو به طور مستقیم در لینوکس دانلود می کنی مشکلی نداره. :-k
این مربوط میشه به ساختار فایل سیستم هاو نحوه پرمیشن دهی ،فایل سیستم ویندوز با لینوکس فرق میکنه .
-
دوست عزیز لطفا در آخر تاپیک عبارت حل شد رو بنویس . با تشکر