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

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

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

نویسنده موضوع: Install Deb_files In Debian  (دفعات بازدید: 2502 بار)

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

آفلاین ch3t3r

  • Jr. Member
  • *
  • ارسال: 36
Install Deb_files In Debian
« : 26 اسفند 1386، 08:06 ب‌ظ »
سلام
دوستان من بااین فرمتها مشکل دارم وقتی فایلها رو با دستور زیر از بسته خارج میکنم .
 tar -zxvf (filename with extension) tar.rz
یه ‍‍‍‍‍فولدر ساخته میشه با فرمت deb_FILES که داخلش سه تا فایل هست به نامهای :

control.tar.gz
data.tar.gz
debian-binary
حالا چجوری باید این فایلها رو نصب کرد ؟
---------------------
به عنوان مثال من برنامه ی codeblocks-8.02debian-i386.tar.gz رو دانلود کردم بعد اینکه از فرمت فشرده خارجش کردم چند تا فایل با فرمت  .deb ساخته میشه اینارو چجوری باید نصب کنم ؟
اسم فایلها :
codeblocks_8.02_i386.deb
 codeblocks-8.02debian-i386.tar.gz
codeblocks-contrib_8.02_i386.deb
codeblocks-dbg_8.02_i386.deb
codeblocks-dev_8.02_i386.deb
libcodeblocks0_8.02_i386.deb
libwxsmithlib0_8.02_i386.deb
libwxsmithlib0-dev_8.02_i386.deb
تو یه سایت خرجی اینجوری گفته بودن :
1) open up your prefered command console. I use yakuake (absolutly amazing program, but you can also use konsole or any other equivalent)
2) sign in as the super user by typing in “su” (enter) then entering your root password when prompted.
3) then go to the directory (folder) where the .tar.gz file is located. for example if it is in your home folder type in “cd /home/” and hit enter
4) type in “tar -zxvf ” and hit enter this will extract the files and create a new directory (folder)
5) go into that folder using “cd ”
6) enter in “./configure” into the command line. this will configure the files. (answer any questions asked)
7) when that’s done enter in “make” into the console.
8) when that’s done enter in “make install”

And you’re all done!!! :D

If you’d like to move the folder you may, but don’t delete the folder because it comes in useful if you’d like to uninstall the program!
من تا مرحله 6 رفتم اما وقتی که فرمان ./configure رو اجرا میکنم اخطار No such file or directory میده !
حالا چه کنم ؟


lomion

  • مهمان
پاسخ به: Install Deb_files In Debian
« پاسخ #1 : 26 اسفند 1386، 09:33 ب‌ظ »
یه نگاهی به ویکی، قسمت نصب برنامه بندازید. در مورد نصب tar.gz هم توی انجمن بحث شده. بایه جستجو می‌تونید پیداش کنید.

آفلاین ch3t3r

  • Jr. Member
  • *
  • ارسال: 36
پاسخ به: Install Deb_files In Debian
« پاسخ #2 : 27 اسفند 1386، 01:32 ق‌ظ »
داداش گلم چیزی دستگیرم نشد ! ;D
مشکل اینه که اصلا فایلی به نام make یا configure وجود نداره که من بخوام اجراش کنم !
اگه امکان داره خودتون یه راه پیشنهاد کنید !

آفلاین ch3t3r

  • Jr. Member
  • *
  • ارسال: 36
پاسخ به: Install Deb_files In Debian
« پاسخ #3 : 27 اسفند 1386، 03:33 ق‌ظ »
دوستان رفتم سورسو دانلود کردم !
بی زخمت یه سر اینجا بزنید .
http://www.codeblocks.org/en-docs-wrapper
مخصوصا این قسمت :
4.1.8.  LINUX

When generating under Linux, the following steps are necessary. In this example we assume that you are in the CodeBlocks source directory. Under Linux, the environment variable PKG_CONFIG_PATH must be set. The <prefix> directory has to contain the codeblocks.pc file.

  PKG_CONFIG_PATH=$PKG_CONFIG_PATH:<prefix>

  sh update_revsion.sh
  ./bootstrap
  ./configure --with-contrib=[all | plugin names separated with comma] --prefix=<install-dir>
  make
  make install (root
)
وقتی من دستور ./configure رو اجرا میکنم این خروجی رو میده . مشکل چیه ؟
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash...  yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for getcwd... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing gzopen... -lz
checking for library containing BZ2_bzopen... -lbz2
checking whether to enable debugging... no
checking whether to build the source formatter plugin... yes
checking whether to build the autosave plugin... yes
checking whether to build the class wizard plugin... yes
checking whether to build the code completion plugin... yes
checking whether to build the compiler plugin... yes
checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the open files list plugin... yes
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking which (if any) contrib plugins to build... Unknown contrib plugin none,  ignoring
none
checking if the compiler supports precompiled headers... yes
./configure: line 24293: AM_OPTIONS_WXCONFIG: command not found
./configure: line 24294: syntax error near unexpected token `2.8.0,'
./configure: line 24294: `AM_PATH_WXCONFIG(2.8.0, wxWin=1)'
N2O:/home/n2o/codeblocks-8.02# make
make: *** No targets specified and no makefile found.  Stop.
N2O:/home/n2o/codeblocks-8.02# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for getcwd... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing gzopen... -lz
checking for library containing BZ2_bzopen... -lbz2
checking whether to enable debugging... no
checking whether to build the source formatter plugin... yes
checking whether to build the autosave plugin... yes
checking whether to build the class wizard plugin... yes
checking whether to build the code completion plugin... yes
checking whether to build the compiler plugin... yes
checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the open files list plugin... yes
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking which (if any) contrib plugins to build... Unknown contrib plugin none, ignoring
none
checking if the compiler supports precompiled headers... yes
./configure: line 24293: AM_OPTIONS_WXCONFIG: command not found
./configure: line 24294: syntax error near unexpected token `2.8.0,'
./configure: line 24294: `AM_PATH_WXCONFIG(2.8.0, wxWin=1)'
N2O:/home/n2o/codeblocks-8.02# PKG_CONFIG_PATH=$PKG_CONFIG_PATH:<prefix>
bash: syntax error near unexpected token `newline'
N2O:/home/n2o/codeblocks-8.02# PKG_CONFIG_PATH:<prefix>
bash: syntax error near unexpected token `newline'
N2O:/home/n2o/codeblocks-8.02# clear

N2O:/home/n2o/codeblocks-8.02# sh update_revsion.sh
sh: update_revsion.sh: No such file or directory
N2O:/home/n2o/codeblocks-8.02# sh ./update_revsion.sh
sh: ./update_revsion.sh: No such file or directory
N2O:/home/n2o/codeblocks-8.02# sh ./update*
svn: '.' is not a working copy
svn: '.' is not a working copy
N2O:/home/n2o/codeblocks-8.02# ls
acinclude.m4    ChangeLog            config.sub    libtool      revision.m4
aclocal.m4      codeblocks.pc.in     configure     ltmain.sh    src
AUTHORS         codeblocks.plist.in  configure.in  Makefile.am  TODO
autom4te.cache  codeblocks.spec.in   COPYING       Makefile.in  update_revision.sh
bootstrap       COMPILERS            debian        missing
BUGS            config.guess         depcomp       NEWS
BUILD           config.log           install-sh    README
N2O:/home/n2o/codeblocks-8.02# sh update_revision.sh
svn: '.' is not a working copy
svn: '.' is not a working copy
N2O:/home/n2o/codeblocks-8.02# ./bootstrap
svn: '.' is not a working copy
svn: '.' is not a working copy
aclocal:configure.in:77: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:78: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:77: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:78: error: possibly undefined macro: AM_PATH_WXCONFIG
N2O:/home/n2o/codeblocks-8.02# make
make: *** No targets specified and no makefile found.  Stop.
N2O:/home/n2o/codeblocks-8.02# la
bash: la: command not found
N2O:/home/n2o/codeblocks-8.02# ls
acinclude.m4    ChangeLog            config.sub    libtool      revision.m4
aclocal.m4      codeblocks.pc.in     configure     ltmain.sh    src
AUTHORS         codeblocks.plist.in  configure.in  Makefile.am  TODO
autom4te.cache  codeblocks.spec.in   COPYING       Makefile.in  update_revision.sh
bootstrap       COMPILERS            debian        missing
BUGS            config.guess         depcomp       NEWS
BUILD           config.log           install-sh    README
N2O:/home/n2o/codeblocks-8.02# make install
make: *** No rule to make target `install'.  Stop.
N2O:/home/n2o/codeblocks-8.02# pon dsl-provider
Plugin rp-pppoe.so loaded.
N2O:/home/n2o/codeblocks-8.02# clear

N2O:/home/n2o/codeblocks-8.02# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for getcwd... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing gzopen... -lz
checking for library containing BZ2_bzopen... -lbz2
checking whether to enable debugging... no
checking whether to build the source formatter plugin... yes
checking whether to build the autosave plugin... yes
checking whether to build the class wizard plugin... yes
checking whether to build the code completion plugin... yes
checking whether to build the compiler plugin... yes
checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the open files list plugin... yes
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking which (if any) contrib plugins to build... Unknown contrib plugin none, ignoring
none
checking if the compiler supports precompiled headers... yes
./configure: line 24293: AM_OPTIONS_WXCONFIG: command not found
./configure: line 24294: syntax error near unexpected token `2.8.0,'
./configure: line 24294: `AM_PATH_WXCONFIG(2.8.0, wxWin=1)'