Возникла проблема с пакетом

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

Серёга
Сообщения: 201
ОС: Windows XP

Возникла проблема с пакетом

Сообщение Серёга »

Привет.

Короче читал вот эту статью F.A.Q. и ссылки по Linux для новичков там по сыылке в первом посте "Установка из исходников" Установка из исходников на 2 странице в самом последнем посте набрёл на программу для "автоматизации прроцесса установке" так сказать.

Сылка на сайт программы самой вот - http://www.brainspace.it/index.php?option=...0&Itemid=24

Я от туда скачал версию 0.2 в виде исходника и rpm пакета. Сначала решил попробовать поставить из исходника. На сайте написано всё как делать -начал строго по инструкции. Скопировал её сначала в папку /usr/local/src потом стал делать строго по инструкции:

распокавал (~]# tar xjvf komple-x.x.tar.bz2)
перешол в каталог (~]# cd kompile-xx)
начал конфигурирование(eciKontrol]# ./configure)
---------
в консоле много чего стало писаться, несколько минут потом закончилось и появилось приглашение
---------
набрал make(eciKontrol]# make)
---------
комп написал что немогу найти цель, и по неруски в одну строку что-то, но приглашение вывел
---------
я набрал make instal(eciKontrol]# make install)
---------
комп сказал опять процель которой нету, короче что и в преведущей команде и опять вывел приглашение.
---------

Я могу вылажить сюда что писал комп, но там много поэтому я нестал выкладывать, но есле надо могу вылажить.

Потом я удалил папку которая создалась из распаковки исходников и бросил с исходниками возится.

Дальше я взял rpm пакет, т.к. с ними вроде проще и меньше ошибак, короче попробовал я поставить из rpm. Дал компнду rpm -i название.rpm иустановил. Сообщений об ошибках небыло, и появилось стандартное приглашение. Потом я стал искать по пунктам меню не появилась ли там новое приложение где нибуть и нечего не нашол. Потом перезагрузил комп и поискал опять в меню - так же безрезультатно.

Дальше решил удалить пакет, набрал rpm -e название. rpm - он мне отвечает, что не могу найти пакет такой, дальше я перешол в папку с пакетом самим и от туда дал командк на удаление -он опять неможет его унайти и соответственно удалить.

Потом я решил посмотреть из каких файлов состоит пакет, набрал rpm -qpl kompile-0.2-3.mdk.i586.rpm он вывел мне список файлов, я просмотрел через проводник, действительно такие нашол. Короче потом разон не захотел их самостоятельно удалить я удалил их по очереде вручную, правда вот папка /usr/local/kde/share/doc/HTML/en/kompile/common была немного старанной, в проводнеке в дереве файлов она не показывалась, а когда зайдёш в папку /usr/local/kde/share/doc/HTML/en/kompile - там её видно. В папке папка /usr/local/kde/share/doc/HTML/en/kompile/common были картинки для этой программы, я её содержимое тоже удалил, правдуа когда удалил саму папку был перемещён вообще в другое место в проводнике. Как то странно?
Потом я попробовал опять поставить с rpm но он мне теперь пишет что поставить немогу т.к. такой пакет уже установлен, и удалить не даёт -пишет нет такого пакета.

Что теперь делать - незнаю? Ели кто пользовался этой прогой, то скажите как пользоватьси где она должна появлятся, или не должна тогда как её вызывать? а если непользовался никто то как её теперь выкорчевать с системы? Короче или сделать чтобы работала или удалить полностью как?

выкладываю команды с консоли от момента начала удаления, остальное могу вылажить есле надо, но оно большое.

Код: Выделить всё

$(B'`'j'Z'R'\'Q(B: $(B'_'V'S'`'Y'^'`'X'_'`(B $(B'`'d'\'b'm'd'n(B kompile-0.2-3.mdk.i586.rpm: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
$(B'`'j'Z'R'\'Q(B: $(B'_'V'S'`'Y'^'`'X'_'`(B $(B'`'d'\'b'm'd'n(B kompile-0.2-3.mdk.i586.rpm: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost ~]# cd /usr/local/src
[root@localhost src]# rpm -qpl kompile-0.2-3.mdk.i586.rpm
/usr/bin/kompile
/usr/local/kde/share/applnk/Utilities/kompile.desktop
/usr/local/kde/share/apps/kompile
/usr/local/kde/share/apps/kompile/kompileui.rc
/usr/local/kde/share/doc/HTML/en/kompile
/usr/local/kde/share/doc/HTML/en/kompile/common
/usr/local/kde/share/doc/HTML/en/kompile/index.cache.bz2
/usr/local/kde/share/doc/HTML/en/kompile/index.docbook
/usr/local/kde/share/icons/hicolor/16x16/apps/kompile.png
/usr/local/kde/share/icons/hicolor/32x32/apps/kompile.png
/usr/share/apps/konqueror/servicemenus/kompile-actions-servicemenu.desktop
/usr/src/RPM/SPECS/kompile.spec
[root@localhost src]# rpm -Va kompile-0.2-3.mdk.i586.rpm
[root@localhost src]# rpm -e kompile-0.2-3.mdk.i586.rpm
$(B'`'j'Z'R'\'Q(B: $(B'a'Q'\'V'd(B kompile-0.2-3.mdk.i586.rpm $(B'_'V(B $(B'e'c'd'Q'_'`'S']'V'_(B
[root@localhost src]# rpm -i kompile-0.2-3.mdk.i586.rpm
        $(B'a'Q'\'V'd(B kompile-0.2-3.mdk $(B'e'X'V(B $(B'e'c'd'Q'_'`'S']'V'_(B
[root@localhost src]# rpm -e kompile-0.2-3.mdk.i586.rpm
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Возникла проблема с пакетом

Сообщение BlackStar »

Так начнем с rpm, ты все сделал правильно, но после установки пакета не обязательно должен появиться пункт в главном меню графической среды (что-там у тебя?), поэтому надо было посмотреть (как ты и сделал) список файлов пакета и найти исполняемый файл (usr/bin/kompile) и дальше выполнить его из строки запуска, позже если надо можно создать ярлык на рабочем столе. Дальше про удаление пакета, в качестве параметра команды rpm -e надо указывать не полное имя файла, а имя пакета, в данном случае kompile, т.е rpm -e kompile.

Теперь по исходникам, вероятно во время configure произошла ошибка, которую ты просмотрел. Если хочешь можешь выложить вывод сюда (лучше как присоединенный файл) на предмет анализа ошибок.
LightLang Team
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

вот вылажил то что было при установки:

Код: Выделить всё

bash: cd: /usr/local/arc: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost serg]# cd /usr/local/src
[root@localhost src]# tar xjpvf kompile-0.2.tar.bz2
kompile-0.2/
kompile-0.2/po/
kompile-0.2/po/Makefile.am
kompile-0.2/po/Makefile.in
kompile-0.2/doc/
kompile-0.2/doc/en/
kompile-0.2/doc/en/Makefile.am
kompile-0.2/doc/en/Makefile.in
kompile-0.2/doc/en/index.docbook
kompile-0.2/doc/Makefile.am
kompile-0.2/doc/Makefile.in
kompile-0.2/src/
kompile-0.2/src/kompileuserinstall.cpp
kompile-0.2/src/kompile.cpp
kompile-0.2/src/kompile.lsm
kompile-0.2/src/kompileuserinstall.h
kompile-0.2/src/kompileui.rc
kompile-0.2/src/kompilewidgetbase.ui
kompile-0.2/src/main.cpp
kompile-0.2/src/kompilewidgetbase.ui~
kompile-0.2/src/hi32-app-kompile.png
kompile-0.2/src/Makefile.am
kompile-0.2/src/Makefile.in
kompile-0.2/src/kompilewidget.h
kompile-0.2/src/kompilewidget.cpp~
kompile-0.2/src/kompileuserinstallbase.ui
kompile-0.2/src/kompilewidget.h~
kompile-0.2/src/kompile.desktop
kompile-0.2/src/kompile.h
kompile-0.2/src/kompilewidget.cpp
kompile-0.2/src/kompile-servicemenu.desktop
kompile-0.2/src/kompile-actions-servicemenu.desktop
kompile-0.2/src/hi16-app-kompile.png
kompile-0.2/NEWS
kompile-0.2/TODO
kompile-0.2/admin/
kompile-0.2/admin/compile
kompile-0.2/admin/Doxyfile.global
kompile-0.2/admin/depcomp
kompile-0.2/admin/Makefile.common
kompile-0.2/admin/ltmain.sh
kompile-0.2/admin/config.pl
kompile-0.2/admin/configure.in.min
kompile-0.2/admin/config.guess
kompile-0.2/admin/acinclude.m4.in
kompile-0.2/admin/install-sh
kompile-0.2/admin/config.sub
kompile-0.2/admin/missing
kompile-0.2/admin/mkinstalldirs
kompile-0.2/admin/cvs.sh
kompile-0.2/admin/bcheck.pl
kompile-0.2/admin/nmcheck
kompile-0.2/admin/conf.change.pl
kompile-0.2/admin/am_edit
kompile-0.2/admin/libtool.m4.in
kompile-0.2/admin/ylwrap
kompile-0.2/admin/cvs-clean.pl
kompile-0.2/admin/debianrules
kompile-0.2/admin/detect-autoconf.sh
kompile-0.2/admin/ChangeLog
kompile-0.2/admin/Doxyfile.am
kompile-0.2/admin/configure.in.bot.end
kompile-0.2/aclocal.m4
kompile-0.2/README
kompile-0.2/configure
kompile-0.2/autom4te.cache/
kompile-0.2/autom4te.cache/requests
kompile-0.2/autom4te.cache/output.0
kompile-0.2/autom4te.cache/output.1
kompile-0.2/autom4te.cache/traces.0
kompile-0.2/autom4te.cache/traces.1
kompile-0.2/configure.in
kompile-0.2/subdirs
kompile-0.2/Makefile.am
kompile-0.2/Makefile.in
kompile-0.2/configure.files
kompile-0.2/configure.in.in
kompile-0.2/config.h.in
kompile-0.2/Makefile.cvs
kompile-0.2/acinclude.m4
kompile-0.2/ChangeLog~
kompile-0.2/stamp-h.in
kompile-0.2/AUTHORS
kompile-0.2/kompile.kdevelop.pcs
kompile-0.2/kompile.kdevses
kompile-0.2/INSTALL
kompile-0.2/ChangeLog
kompile-0.2/COPYING
kompile-0.2/Doxyfile
kompile-0.2/kompile.kdevelop
kompile-0.2/templates/
kompile-0.2/templates/h
kompile-0.2/templates/cpp
[root@localhost src]# cd kompile-0.2
[root@localhost kompile-0.2]# ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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 whether ln -s works... yes
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 for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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 static flag  works... yes
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 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 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++ 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
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/lib/qt-3.3/lib, headers /usr/lib/qt-3.3/include using -mt
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
[root@localhost kompile-0.2]# make
make: *** $(B'/'V(B $(B'Y'Q'U'Q'_'m(B $(B'h'V']'Z(B $(B'Z(B $(B'_'V(B $(B'_'Q'['U'V'_(B make-$(B'f'Q'['](B.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# make install
make: *** $(B'/'V'd(B $(B'a'b'Q'S'Z']'Q(B $(B'U']'q(B $(B'c'R'`'b'\'Z(B $(B'h'V']'Z(B `install'.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# make clean
make: *** $(B'/'V'd(B $(B'a'b'Q'S'Z']'Q(B $(B'U']'q(B $(B'c'R'`'b'\'Z(B $(B'h'V']'Z(B `clean'.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# cd /usr/local/src
[root@localhost src]# tar xjvf kompile-0.2.tar.bz2
kompile-0.2/
kompile-0.2/po/
kompile-0.2/po/Makefile.am
kompile-0.2/po/Makefile.in
kompile-0.2/doc/
kompile-0.2/doc/en/
kompile-0.2/doc/en/Makefile.am
kompile-0.2/doc/en/Makefile.in
kompile-0.2/doc/en/index.docbook
kompile-0.2/doc/Makefile.am
kompile-0.2/doc/Makefile.in
kompile-0.2/src/
kompile-0.2/src/kompileuserinstall.cpp
kompile-0.2/src/kompile.cpp
kompile-0.2/src/kompile.lsm
kompile-0.2/src/kompileuserinstall.h
kompile-0.2/src/kompileui.rc
kompile-0.2/src/kompilewidgetbase.ui
kompile-0.2/src/main.cpp
kompile-0.2/src/kompilewidgetbase.ui~
kompile-0.2/src/hi32-app-kompile.png
kompile-0.2/src/Makefile.am
kompile-0.2/src/Makefile.in
kompile-0.2/src/kompilewidget.h
kompile-0.2/src/kompilewidget.cpp~
kompile-0.2/src/kompileuserinstallbase.ui
kompile-0.2/src/kompilewidget.h~
kompile-0.2/src/kompile.desktop
kompile-0.2/src/kompile.h
kompile-0.2/src/kompilewidget.cpp
kompile-0.2/src/kompile-servicemenu.desktop
kompile-0.2/src/kompile-actions-servicemenu.desktop
kompile-0.2/src/hi16-app-kompile.png
kompile-0.2/NEWS
kompile-0.2/TODO
kompile-0.2/admin/
kompile-0.2/admin/compile
kompile-0.2/admin/Doxyfile.global
kompile-0.2/admin/depcomp
kompile-0.2/admin/Makefile.common
kompile-0.2/admin/ltmain.sh
kompile-0.2/admin/config.pl
kompile-0.2/admin/configure.in.min
kompile-0.2/admin/config.guess
kompile-0.2/admin/acinclude.m4.in
kompile-0.2/admin/install-sh
kompile-0.2/admin/config.sub
kompile-0.2/admin/missing
kompile-0.2/admin/mkinstalldirs
kompile-0.2/admin/cvs.sh
kompile-0.2/admin/bcheck.pl
kompile-0.2/admin/nmcheck
kompile-0.2/admin/conf.change.pl
kompile-0.2/admin/am_edit
kompile-0.2/admin/libtool.m4.in
kompile-0.2/admin/ylwrap
kompile-0.2/admin/cvs-clean.pl
kompile-0.2/admin/debianrules
kompile-0.2/admin/detect-autoconf.sh
kompile-0.2/admin/ChangeLog
kompile-0.2/admin/Doxyfile.am
kompile-0.2/admin/configure.in.bot.end
kompile-0.2/aclocal.m4
kompile-0.2/README
kompile-0.2/configure
kompile-0.2/autom4te.cache/
kompile-0.2/autom4te.cache/requests
kompile-0.2/autom4te.cache/output.0
kompile-0.2/autom4te.cache/output.1
kompile-0.2/autom4te.cache/traces.0
kompile-0.2/autom4te.cache/traces.1
kompile-0.2/configure.in
kompile-0.2/subdirs
kompile-0.2/Makefile.am
kompile-0.2/Makefile.in
kompile-0.2/configure.files
kompile-0.2/configure.in.in
kompile-0.2/config.h.in
kompile-0.2/Makefile.cvs
kompile-0.2/acinclude.m4
kompile-0.2/ChangeLog~
kompile-0.2/stamp-h.in
kompile-0.2/AUTHORS
kompile-0.2/kompile.kdevelop.pcs
kompile-0.2/kompile.kdevses
kompile-0.2/INSTALL
kompile-0.2/ChangeLog
kompile-0.2/COPYING
kompile-0.2/Doxyfile
kompile-0.2/kompile.kdevelop
kompile-0.2/templates/
kompile-0.2/templates/h
kompile-0.2/templates/cpp
[root@localhost src]# cd kompile-0.2
[root@localhost kompile-0.2]# make
make: *** $(B'/'V(B $(B'Y'Q'U'Q'_'m(B $(B'h'V']'Z(B $(B'Z(B $(B'_'V(B $(B'_'Q'['U'V'_(B make-$(B'f'Q'['](B.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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 whether ln -s works... yes
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 for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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 static flag  works... yes
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 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 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++ 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
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/lib/qt-3.3/lib, headers /usr/lib/qt-3.3/include using -mt
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
[root@localhost kompile-0.2]# make
make: *** $(B'/'V(B $(B'Y'Q'U'Q'_'m(B $(B'h'V']'Z(B $(B'Z(B $(B'_'V(B $(B'_'Q'['U'V'_(B make-$(B'f'Q'['](B.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# make install
make: *** $(B'/'V'd(B $(B'a'b'Q'S'Z']'Q(B $(B'U']'q(B $(B'c'R'`'b'\'Z(B $(B'h'V']'Z(B `install'.  $(B'0'c'd'Q'_'`'S(B.
[root@localhost kompile-0.2]# cd /usr/local/arc
bash: cd: /usr/local/arc: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost kompile-0.2]# cd /usr/local/arc
bash: cd: /usr/local/arc: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost kompile-0.2]# rpm -i kompile-0.2-3.mdk.i586.rpm
$(B'`'j'Z'R'\'Q(B: $(B'_'V'S'`'Y'^'`'X'_'`(B $(B'`'d'\'b'm'd'n(B kompile-0.2-3.mdk.i586.rpm: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost kompile-0.2]# cd /usr/local/arc
bash: cd: /usr/local/arc: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost kompile-0.2]# cd /usr/local/
[root@localhost local]# cd /usr/local/src
[root@localhost src]# rpm -i kompile-0.2-3.mdk.i586.rpm
[root@localhost src]# rpm -qpl kompile-0.2-3.mdk.i586.rpm
/usr/bin/kompile
/usr/local/kde/share/applnk/Utilities/kompile.desktop
/usr/local/kde/share/apps/kompile
/usr/local/kde/share/apps/kompile/kompileui.rc
/usr/local/kde/share/doc/HTML/en/kompile
/usr/local/kde/share/doc/HTML/en/kompile/common
/usr/local/kde/share/doc/HTML/en/kompile/index.cache.bz2
/usr/local/kde/share/doc/HTML/en/kompile/index.docbook
/usr/local/kde/share/icons/hicolor/16x16/apps/kompile.png
/usr/local/kde/share/icons/hicolor/32x32/apps/kompile.png
/usr/share/apps/konqueror/servicemenus/kompile-actions-servicemenu.desktop
/usr/src/RPM/SPECS/kompile.spec
[root@localhost src]# cd /usr/bin
[root@localhost bin]# kompile
bash: kompile: command not found
[root@localhost bin]# /usr/sin/kompile
bash: /usr/sin/kompile: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost bin]#
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Возникла проблема с пакетом

Сообщение BlackStar »

Обрати внимание:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

Нужно установить пакет что-то типа kdebase-devel

[root@localhost bin]# kompile
bash: kompile: command not found

Ты же вроде удалил все файлы вручную, так что ставь заново и выполняй.
LightLang Team
Спасибо сказали:
Аватара пользователя
*Sasha*
Сообщения: 2519
Статус: Мимо шёл
ОС: Debian

Re: Возникла проблема с пакетом

Сообщение *Sasha* »

(BlackStar @ Jan 25 2007, в 15:35) писал(а):Нужно установить пакет что-то типа kdebase-devel

и kdelibs-dev
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

а что это за папка с картинками была такая, и почему она странно себя вела? я описал в первом посте примерно в его середине.

Нужно установить пакет что-то типа kdebase-devel

и kdelibs-dev


Спасибо за подсказку. Сейчас посмотрю на дисках с ASP 11 и устанавлю эти пакеты если там есть они.
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Возникла проблема с пакетом

Сообщение BlackStar »

Если пакет ставится зачем мучаться собирать из исходников ?
LightLang Team
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

Как его запустить теерь? установка вроде прошла успешно и удаление предидущего экземпляра. Вот привожу действия, кстати у меня какой -то пакет есть на подобие kdelibs-dev :

Код: Выделить всё

[root@localhost ~]# rpm -i kompile-0.2-3.mdk.i586.rpm
$(B'`'j'Z'R'\'Q(B: $(B'_'V'S'`'Y'^'`'X'_'`(B $(B'`'d'\'b'm'd'n(B kompile-0.2-3.mdk.i586.rpm: $(B'/'V'd(B $(B'd'Q'\'`'T'`(B $(B'f'Q'[']'Q(B $(B'Z']'Z(B $(B'\'Q'd'Q']'`'T'Q(B
[root@localhost ~]# cd /usr/local/src
[root@localhost src]# rpm -i kompile-0.2-3.mdk.i586.rpm
[root@localhost src]# kompile
-bash: kompile: command not found
[root@localhost src]# rpm -qa kdelibs
kdelibs-3.5.0-0.2.110asp
[root@localhost src]#
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

А почему кстати из исходников была ошибка? В чём она заключалась?
Спасибо сказали:
Аватара пользователя
*Sasha*
Сообщения: 2519
Статус: Мимо шёл
ОС: Debian

Re: Возникла проблема с пакетом

Сообщение *Sasha* »

(Серёга @ Jan 25 2007, в 16:2 [root@localhost src) писал(а):[quote="(Серёга @ Jan 25 2007, в 16:2
[root@localhost src)"]# kompile
-bash: kompile: command not found

[quote]
Может полный путь нужен, попробуй /usr/bin/kompile или где он там у тебя
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

Попробовал написать команду на запуск полным путём, а он мне всё равно пишет что нет такого файла. Потом я через проводник посмотрел туда и нашол что там есть такой фаил:

тип: неизвестный
размер: 0 байт

а внизу написано:

ссылка на /usr/local/kde/bin/kompile

а у меня нет папки /usr/local/kde/bin/ и файла там kompile тоже нет, наверно по этому и не запускается.

Но вот только не пойму почему он его туда не записывает сам при установки. Я ставил сейчас с rpm может пакет плохой или в нём не все файлы? А есле ставить с исходников то какая-то ошибка выскакивает вовремя ./configure , я выкладывал выше этот процесс и его вывод в командную строку. Что можно придумать сдесь, или просто бросить затею с этой программой?
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Возникла проблема с пакетом

Сообщение BlackStar »

Удали пакет: rpm -e kompile, дальше проверь все ли удалилось, если нет удали вручную. Занова ставь пакет, rpm -ihv kompile-....rpm, нади в файлом менеджере исполняемый файл программы - проверь цел ли он, если это ссылка проверь существует ли файл на который она указывает. Запускай!
LightLang Team
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

Удали пакет: rpm -e kompile, дальше проверь все ли удалилось, если нет удали вручную. Занова ставь пакет, rpm -ihv kompile-....rpm, нади в файлом менеджере исполняемый файл программы - проверь цел ли он, если это ссылка проверь существует ли файл на который она указывает. Запускай!


попробую сейчас сделать....

/Блин, первй пакет который я вообще пробовал поставить из исходников и такая фигня/
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

попробовал сделать всё как сказали - не работает. Нет исполняемого файла ни где, поиск KDE находит только 2 ссылки ведущие на /usr/local/kde/bin/kompile и одну папку с названием kompile (он её сам создаёт в процессе установки этот пакет). Я вот думаю, а не может на него влиять(мешать установки файла) отсутствие папки /usr/local/kde/bin/ ?

А может фаил kompile принадлежит какому нибуть другому пакету, то есть создаётся не этим пакетом а другим каким нибуть а этот просто использует его? Но тогда как узнать какой ему пакет нужен ведь про зависимости неудавлетворённые он ничего не говорит, а как тогда искать? То есть где искать пакет с таким файлом?
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

А вот к примеру такого не может быть что к примеру пакет адаптировался при создании к одноу типу процессора, а у меня другой процессор и по этому он в процессе установки не копируется

Или тоде самое но относительно самого Linux-а, к примеру пакет адаптирован под один тип линукса а у меня другой тип линукса?

такое может быть или они не зависят ни от чего и поставятся в любом случае если в пакете есть?
Спасибо сказали:
Аватара пользователя
new bee
Сообщения: 220
ОС: Arch, Ubuntu

Re: Возникла проблема с пакетом

Сообщение new bee »

Может RPM поврежден, и вообще откуда он был взят?
А как дело обстоит с установкой из исходников?
Свободного можно покорить, нельзя исправить, ведь невозможно улучшить море или ветер.
Свобода подобна тайному обряду: захочешь улучшить - оскудеет, задумаешь подчинить - исчезнет...
Лао Цзы
Спасибо сказали:
Серёга
Сообщения: 201
ОС: Windows XP

Re: Возникла проблема с пакетом

Сообщение Серёга »

:(
Может RPM поврежден, и вообще откуда он был взят?
А как дело обстоит с установкой из исходников?
Посмоирмие моё самое первое сообщение в этой теме я там всё написал и дал ссылки на страничку где можно скачать эту программу, а полный вывод попытки установки из исходника я изложил во втором своём посте - там то же ошибка какая то. Посмотрите пожалуйста.

Я сам незнаю что за ошибка т.к. это до этого пакета вообще никогда ничего не устанавливал из исходников - это первый раз и так не удачно :(

Может RPM поврежден, и вообще откуда он был взят?
А как дело обстоит с установкой из исходников?
Посмоирмие моё самое первое сообщение в этой теме я там всё написал и дал ссылки на страничку где можно скачать эту программу, а полный вывод попытки установки из исходника я изложил во втором своём посте - там то же ошибка какая то. Посмотрите пожалуйста.

Я сам незнаю что за ошибка т.к. это до этого пакета вообще никогда ничего не устанавливал из исходников - это первый раз и так не удачно :(
Спасибо сказали:
Аватара пользователя
new bee
Сообщения: 220
ОС: Arch, Ubuntu

Re: Возникла проблема с пакетом

Сообщение new bee »

так Вам же сказали - установить пакеты kdelibs-devel, kdebas-devel. Вы их установили?
Возможно потребуется установить еще и другие kde*-devel пакеты и qt-devel
В установщике Мандривы врде есть раздел "Разработка КДЕ", лучше установить все пакеты оттуда, тогда исходники будут собираться...

P.S. насчет РПМ - наверно старый пакет, можно поискать на rpm.pbone.net
Свободного можно покорить, нельзя исправить, ведь невозможно улучшить море или ветер.
Свобода подобна тайному обряду: захочешь улучшить - оскудеет, задумаешь подчинить - исчезнет...
Лао Цзы
Спасибо сказали: