![]() |
#1 |
Модератор
|
![]() ![]() Вопросы по Linux В этой теме задаём и отвечаем на вопросы по linux Ты всегда можешь вовремя помочь кому-то, если подпишешься на моментальное E-mail-уведомление: podpish.png Последний раз редактировалось SoaT; 14.10.2010 в 11:07. |
![]() ![]() |
![]() ![]() |
Благодарности: 1 | Floon (27.10.2011) |
![]() |
#1522 |
Пользователь
|
![]()
SoaT, простите.)
Slava, спаcибо.Скачать скачал,а как его правильно монтировать,не подскажите? Там в принципе есть readme файл,но видимо я что-то делаю неправильно. Возможно архив надо распаковывать в определенное место?Или нужно указать какой-то путь? Т.к. у меня выдает ошибки,после make чеки проходят без ошибок Последний раз редактировалось 3BEPYLLlKA; 20.09.2010 в 19:43. |
![]() |
![]() ![]() |
![]() |
#1524 |
Пользователь
|
![]()
CC=gcc ./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 ln works... yes checking whether ln -s works... yes checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for bison... no checking for byacc... no checking for yacc... no checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... no checking for flex... no checking for lex... no checking for flex... no checking for makeinfo... no checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... (cached) /usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for cc... cc checking for c++... no checking for g++... no checking for cxx... no checking for gxx... no checking for gcc... gcc checking for gcj... no checking for gfortran... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... ld checking for lipo... no checking for nm... nm checking for objdump... objdump checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... host tool checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... host tool checking where to find the target gcc... host tool checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no checking whether -fkeep-inline-functions is supported... yes configure: creating ./config.status config.status: creating Makefile make(там много всего),но вот сами ошибки.Внимание вопрос:make надо делать в папке,где распакован архив?А-то что-то тут опять-таки я неправильно делаю что-то. Спойлер
In file included from /home/alex/ins/insight-6.8/tk/unix/../generic/tkInt.h:21:0, from /home/alex/ins/insight-6.8/tk/unix/../generic/tk3d.h:18, from /home/alex/ins/insight-6.8/tk/unix/../generic/tk3d.c:16: /home/alex/ins/insight-6.8/tk/unix/../generic/tk.h:96:23: fatal error: X11/Xlib.h: Нет такого файла или каталога compilation terminated. make[3]: *** [tk3d.o] Ошибка 1 make[3]: Leaving directory `/home/alex/ins/insight-6.8/tk/unix' make[2]: *** [all] Ошибка 2 make[2]: Leaving directory `/home/alex/ins/insight-6.8/tk' make[1]: *** [all-tk] Ошибка 2 make[1]: Leaving directory `/home/alex/ins/insight-6.8' make: *** [all] Ошибка 2 Добавлено через 4 минуты README Спойлер
README for GNU development tools This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation. If you are receiving this as part of a GDB release, see the file gdb/README. If with a binutils release, see binutils/README; if with a libg++ release, see libg++/README, etc. That'll give you info about this package -- supported targets, how to use it, how to report bugs, etc. It is now possible to automatically configure and build a variety of tools with one command. To build all of the tools contained herein, run the ``configure'' script here, e.g.: ./configure make To install them (by default in /usr/local/bin, /usr/local/lib, etc), then do: make install (If the configure script can't determine your type of computer, give it the name as an argument, for instance ``./configure sun4''. You can use the script ``config.sub'' to test whether a name is recognized; if it is, config.sub translates it to a triplet specifying CPU, vendor, and OS.) If you have more than one compiler on your system, it is often best to explicitly set CC in the environment before running configure, and to also set CC when running make. For example (assuming sh/bash/ksh): CC=gcc ./configure make A similar example using csh: setenv CC gcc ./configure make Much of the code and documentation enclosed is copyright by the Free Software Foundation, Inc. See the file COPYING or COPYING.LIB in the various directories, for a description of the GNU General Public License terms under which you can copy the files. REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info on where and how to report problems. |
![]() |
![]() ![]() |
![]() |
#1526 | ||||||||||||
Пользователь
|
![]()
zhekas, не могу не согласиться,но мне он нужен для проганья на асемблере...
Там регистры смотреть и т.д.(это всё же менее трудоемко,чем через консоль),ну да ладно.Не мучайтесь) Просто думал,что это повседневная процедура) Спрошу тогда у тех,кто устанавливал. Добавлено через 2 минуты ![]()
Что мне делать?) Есть идеи?) |
||||||||||||
![]() |
![]() ![]() |
![]() |
#1529 |
Пользователь
|
![]()
Подозреваю, что у вас не подключены репозитарии
Поищите в меню что-то вроде "добавить репозитарий" И добавте например от сюда http://linuxupdate.karelia.ru/docs/opensuse.html Из рахдела "Доступные репозитарии пакетов"
__________________
Gentoo user |
![]() ![]() |
![]() ![]() |
![]() |
#1530 |
Пользователь
|
![]()
zhekas, я вроде его погрузил.Ну,вот,например,в "Настроенные репозитории ПО"
написано,что тот же openSUSE-11.3-Oss -включен Или все скачивать?) Все репозитории влючил вроде бы.По крайней мере,которые были. Всё равно не находит.Ну,да ладно,не ломайте голову) Это 100% я делаю что-то неверно,поэтому спрошу у препода. Последний раз редактировалось 3BEPYLLlKA; 20.09.2010 в 21:33. |
![]() |
![]() ![]() |
![]() |
#1531 |
Пользователь
|
![]()
И ничего не находится? А они там есть. Поиском по сайту находятся.
Вот например Здесь http://software.opensuse.org/search?...3A11.3&lang=ru Попробуйте установить от сюда libX11-devel
__________________
Gentoo user Последний раз редактировалось zhekas; 20.09.2010 в 21:39. |
![]() ![]() |
![]() ![]() |
![]() |
#1532 |
Местный
|
![]()
3BEPYLLlKA, в opensuse для манипуляций с пакетами и репозиториями удобно использовать zypper.
http://ru.opensuse.org/Zypper/%D0%98...BD%D0%B8%D0%B5 Посмотреть используемые репозитории и подключить новый Код:
zypper lr zypper ar http://linuxupdate.karelia.ru/opensuse/distribution/11.3/repo/oss Обычно он в пакетах типа xorg-devel содержится. zypper wp xorg-devel zypper se xorg-devel zypper se x*-devel zypper in xorg-devel Примерно так. opensuse под рукой нет, но я обычно такими командами пользовался. ![]() Последний раз редактировалось rmn; 20.09.2010 в 23:44. |
![]() |
![]() ![]() |
![]() |
#1533 |
Пользователь
|
![]()
rmn,
Код:
zypper ar http://linuxupdate.karelia.ru/opensuse/distribution/11.3/repo/oss Спойлер
Слишком мало аргументов. addrepo (ar) [параметры] <URI> <псевдоним> addrepo (ar) [параметры] <файл.repo> Добавить в систему репозиторий. Репозиторий может быть указан своим URI или считан из указанного файла .repo (даже сетевого). Параметры команды: -r, --repo <файл.repo> Считать URI-адрес и псевдоним из файла (даже сетевого). -t, --type <тип> Тип репозитория (yast2, rpm-md, plaindir). -d, --disable Добавить репозиторий отключенным. -c, --check Проверить URI-адрес. -C, --nocheck Не проверять URI-адрес, проверить позже во время обновления. -n, --name <имя> Указать описательное имя репозитория. -k, --keep-packages Включить кэширование файлов RPM. -K, --no-keep-packages Отключить кэширование файлов RPM. -f, --refresh Включить автообновление репозитория. а,вот нашёл что-то...Как я понял это установленные пакеты. zypper se x*-devel что с ними теперь делать?) Последний раз редактировалось 3BEPYLLlKA; 21.09.2010 в 08:49. |
![]() |
![]() ![]() |
![]() |
#1535 |
Пользователь
|
![]()
zhekas, да,действительно,вы правы.Установка прошла дальше.
Правда теперь пишет:configure: error: no termcap library found Я сделал аналогично zypper se termcap Спойлер
С | Имя | Заключение | Тип --+---------------------+-------------------------------+----------------------- i | termcap | The Termcap Library | пакет | termcap | The Termcap Library | пакет с исходным кодом | termcap-debuginfo | Debug information for packa-> | пакет | termcap-debugsource | Debug sources for package t-> | пакет ну и zypper in termcap прошла установка пакета,после чего я попробовал проделать установку insight,которая прекратилась с ошибкой error: no termcap library found Добавлено через 10 минут Код:
:/usr/include/termcap> ls |
![]() |
![]() ![]() |
![]() |
#1537 |
Пользователь
|
![]()
rmn, вторая команда не помогла.Ошибки всё те же.
а вот вопрос,можно грепать папку? :~/ins> ls Спойлер
insight-6.8
то есть вот так,например?В мане написано,что аргументом д.б. файл: в общем так сделал: :~/ins> grep -r include.*termcap insight-6.8 Спойлер
insight-6.8/readline/CHANGELOG: - if SHLIB_LIBS doesn't include a termcap library (curses, ncurses, insight-6.8/readline/tcap.h:# include <termcap.h> insight-6.8/tcl/cygwin/Makefile.in:# $(INSTALL_DATA) $(srcdir)/termcap.h $(tooldir)/include/termcap.h insight-6.8/tcl/cygwin/Makefile.am:# $(INSTALL_DATA) $(srcdir)/termcap.h $(tooldir)/include/termcap.h Последний раз редактировалось 3BEPYLLlKA; 21.09.2010 в 19:37. |
![]() |
![]() ![]() |
![]() |
#1539 |
Пользователь
|
![]()
rmn, ага,верно.И снова ошибка
Спойлер
cc1: warnings being treated as errors cp-name-parser.y: In function ‘cp_comp_to_string’: cp-name-parser.y:1980:20: error: comparison between ‘enum demangle_component_type’ and ‘enum <anonymous>’ cp-name-parser.y:1985:25: error: comparison between ‘enum demangle_component_type’ and ‘enum <anonymous>’ :~/ins> grep -r cp_comp_to_string insight-6.8 Спойлер
insight-6.8/gdb/cp-support.h:extern char *cp_comp_to_string (struct demangle_component *result, insight-6.8/gdb/ChangeLog-2005: (cp_comp_to_string): New prototypes. insight-6.8/gdb/cp-name-parser.y:cp_comp_to_string (struct demangle_component *result, int estimated_len) insight-6.8/gdb/cp-support.c: ret = cp_comp_to_string (ret_comp, estimated_len); insight-6.8/gdb/cp-support.c: ret = cp_comp_to_string (ret_comp, 10); insight-6.8/gdb/cp-support.c: ret = cp_comp_to_string (ret_comp, 10); insight-6.8/gdb/cp-support.c: ret = cp_comp_to_string (ret_comp, 10); insight-6.8/gdb/cp-support.c: ret = cp_comp_to_string (d_left (ret_comp), 10); insight-6.8/gdb/cp-name-parser.c:cp_comp_to_string (struct demangle_component *result, int estimated_len) zypper se cp-support ничего не находит. |
![]() |
![]() ![]() |
![]() |
#1540 |
Местный
|
![]()
3BEPYLLlKA, тут уже дело в другом.
А почему ты собираешь не самый последний релиз? Последний - 6.8-1, а у тебя 6.8 ftp://sourceware.org/pub/insight/rel...-6.8-1.tar.bz2 Какая версия gcc используется для сборки? Посмотри zypper se gcc Последний раз редактировалось rmn; 21.09.2010 в 21:28. |
![]() |
![]() ![]() |
![]() |
Метки |
вопрос, linux |
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Linux Format | Sergy | Программная - Linux | 8 | 22.05.2009 09:20 |
Linux Mint 4.0 | Сергей Копылов | Программная - Linux | 3 | 03.01.2008 23:52 |
Mandriva Linux - в государственных структурах. | LiO | Программная - Linux | 10 | 21.09.2007 16:04 |
Parallels Workstation* | a2z | Система | 8 | 28.03.2007 22:50 |