Скачал себе kformdesigner, распаковал, запустил ./configure - все прошло нормально а вот при make и make install постоянно вылитают ошибки, вот пример :
localhost kformdesigner-0.3.1 # ./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... /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 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/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/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... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
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/i686-pc-linux-gnu/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/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/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/i686-pc-linux-gnu/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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-linux-gnu/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 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/qt/3/lib, headers /usr/qt/3/include using -mt
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/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... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.2/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.2/bin/dcopidl2cpp
checking for mcopidl... /usr/kde/3.2/bin/mcopidl
checking for artsc-config... /usr/kde/3.2/bin/artsc-config
checking for kde-config... /usr/kde/3.2/bin/kde-config
checking for meinproc... /usr/kde/3.2/bin/meinproc
checking for xmllint... /usr/bin/xmllint
checking whether byte ordering is bigendian... no
checking for MAXPATHLEN... 4096
checking if compat should be compiled... yes
checking if kdevdesigner_plugin should be compiled... yes
checking if kformdesigner should be compiled... yes
checking if libkformdesigner should be compiled... yes
checking if pics should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating compat/Makefile
fast creating compat/kexidb/Makefile
fast creating compat/kexidb/parser/Makefile
fast creating compat/propertyeditor/Makefile
fast creating compat/tableview/Makefile
fast creating kdevdesigner_plugin/Makefile
fast creating kformdesigner/Makefile
fast creating libkformdesigner/Makefile
fast creating libkformdesigner/factories/Makefile
fast creating pics/Makefile
config.pl: fast created 11 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Good - your configure finished. Start make now
localhost kformdesigner-0.3.1 # make
make all-recursive
make[1]: Entering directory `/home/kformdesigner-0.3.1'
Making all in compat
make[2]: Entering directory `/home/kformdesigner-0.3.1/compat'
Making all in kexidb
make[3]: Entering directory `/home/kformdesigner-0.3.1/compat/kexidb'
Making all in .
make[4]: Entering directory `/home/kformdesigner-0.3.1/compat/kexidb'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DK_EXPORT\(a\)= -DKEXI_HAND_TBL_EXPORT= -DKEXICORE_EXPORT= -DKEXIMAIN_EXPORT= -DKEXI_DB_EXPORT= -DKEXIFILTER_EXPORT= -DKFORMEDITOR_EXPORT= -DKEXI_HAND_TBL_EXPORT= -DKEXI_HAND_QUERY_EXPORT= -DKEXI_HAND_RELAT_EXPORT= -DKEXI_HAND_FORM_EXPORT= -DKEXIEXTWIDGETS_EXPORT= -DKEXIDATATABLE_EXPORT= -DKEXIPRJWIZARD_EXPORT= -DKEXI_DB_EXPORT= -DKEXI_MYSQL_IFACE_EXPORT= -DKEXIPROPERTYEDITOR_EXPORT= -DKEXIRELATIONSVIEW_EXPORT= -D__KEXIDB__= -include ../../compat/kexidb/global.h -o libkexidb.la -rpath /usr/kde/3.2/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib drivermanager.lo object.lo field.lo driver.lo connection.lo utils.lo connectiondata.lo fieldlist.lo tableschema.lo cursor.lo transaction.lo indexschema.lo queryschema.lo schemadata.lo global.lo relationship.lo roweditbuffer.lo expression.lo -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkio
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la' is not a valid libtool archive
make[4]: *** [libkexidb.la] Ошибка 1
make[4]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/kformdesigner-0.3.1/compat'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/kformdesigner-0.3.1'
make: *** [all] Ошибка 2
Может дело в gcc ? У меня gentoo linux LiveCD от линукс центра на двух компашках, там он есть, или чё вообще делать, такая фигня почти со всеми программами, при компиляции всё время проскакивают какие-то warning !
frost добавил в 24.10.2004 23:33
он по ходу ищет либ от i386 а у меня-же i686 может в этом дело ? если ДА, то как научить его видеть правду !?
Aleks_Pingvin: На будущее - длинные листинги лучше прикреплять в виде фалов, а не писать в форум.
проблемы с компиляцией (проблемы с make)
Модератор: Bizdelnick
-
- Сообщения: 39
проблемы с компиляцией
VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Сообщения: 454
- Статус: Добрый Демон
Re: проблемы с компиляцией
Дело не в gcc, а в *.la файлах. У меня такая ситуация была и не раз при компиляции прог. Возможно ниже указанные действия покажутся кощунственными, но это так (можно в гугле поискать про *.la файлы).
Так вот, эти лафайлы не используются для работы программы, они в себе содержат якобы неиспользуемые дебаговые заголовки и их удаление не скажется на работоспособности системы, а посему нужно найти и удалить все лафайлы в системе, либо найти и удалить конкретный лафайл что указан в ошибке.
Так вот, эти лафайлы не используются для работы программы, они в себе содержат якобы неиспользуемые дебаговые заголовки и их удаление не скажется на работоспособности системы, а посему нужно найти и удалить все лафайлы в системе, либо найти и удалить конкретный лафайл что указан в ошибке.
Если жизнь твоя порвется, тебе новую сошьют.
-
- Сообщения: 39
Re: проблемы с компиляцией
попробую
frost добавил в 25.10.2004 20:22
Лафайлы - тут непричём, у меня ими вся система забита, некоторые по 5Мб, удалил libstdc++.la и вообще всякие глюки при загрузке пошли. Нафиг это надо я обратно востановил. Обратил внимание что при компиляции любых программ при make васкакивает ошибка "Leaving directory". Одну прогу kformdesigner я скомпилил, для этого клонировал каталок i686-pc-linux-gnu в i386-pc-linux-gnu, а остальные проги так и не хотят компилиться ! :
make[4]: *** [libkexidb.la] Ошибка 1
make[4]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/kformdesigner-0.3.1/compat'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/kformdesigner-0.3.1'
frost добавил в 25.10.2004 22:18
может дело в make.conf - вот пример моего файла можел в нём надо что-то подправить и что ?
USE="gtk gtk+ gnome qt kde avi alsa cdr gcc"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j1"
frost добавил в 26.10.2004 00:12
Спасибо тебе БОЛЬШОЕ! !!!! По твоему совету я удалил все 1206 ЛаФайлов и теперь у меня не роботает кде, формы, иконки, окна, пишет кучу ошибок !!! Типа "Невозможно создать вспомокательное устройство ввода/вывода" и.т.П... теперь блягодаря тебе я ещё раз потренеруюсь в установке системы или может подскажешь другой путь ??????????!!!!!
frost добавил в 25.10.2004 20:22
Лафайлы - тут непричём, у меня ими вся система забита, некоторые по 5Мб, удалил libstdc++.la и вообще всякие глюки при загрузке пошли. Нафиг это надо я обратно востановил. Обратил внимание что при компиляции любых программ при make васкакивает ошибка "Leaving directory". Одну прогу kformdesigner я скомпилил, для этого клонировал каталок i686-pc-linux-gnu в i386-pc-linux-gnu, а остальные проги так и не хотят компилиться ! :
make[4]: *** [libkexidb.la] Ошибка 1
make[4]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/home/kformdesigner-0.3.1/compat/kexidb'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/kformdesigner-0.3.1/compat'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/kformdesigner-0.3.1'
frost добавил в 25.10.2004 22:18
может дело в make.conf - вот пример моего файла можел в нём надо что-то подправить и что ?
USE="gtk gtk+ gnome qt kde avi alsa cdr gcc"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j1"
frost добавил в 26.10.2004 00:12
Спасибо тебе БОЛЬШОЕ! !!!! По твоему совету я удалил все 1206 ЛаФайлов и теперь у меня не роботает кде, формы, иконки, окна, пишет кучу ошибок !!! Типа "Невозможно создать вспомокательное устройство ввода/вывода" и.т.П... теперь блягодаря тебе я ещё раз потренеруюсь в установке системы или может подскажешь другой путь ??????????!!!!!

VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Сообщения: 454
- Статус: Добрый Демон
Re: проблемы с компиляцией
1. Предупреждение об кощунственности действий я писал. Да я виноват, что ты угробил себе систему, но виноват и ты раз решил не проверяя в гугле или где про лафайлы.
2. Никакого злого умысла у меня не было. У меня были такого рода ошибки и они разрешались удалением лафайлов. Я удалял их и все у меня работало.
2. Никакого злого умысла у меня не было. У меня были такого рода ошибки и они разрешались удалением лафайлов. Я удалял их и все у меня работало.
Если жизнь твоя порвется, тебе новую сошьют.
-
- Сообщения: 39
Re: проблемы с компиляцией
Не могу установить не одну программу. Make не проходит, всё время выдаёт ошибку "Leaving Directory" В чём дело ? (Про ЛаФайлы можно не говорить - уже пробовал
)

VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Сообщения: 81
Re: проблемы с компиляцией
а от кого даешь emerge &&&
может прав на создание директории нет?
может прав на создание директории нет?
cat /etc/gentoo-release && uname -r
Gentoo Base System version 1.12.1
Linux 2.6.17-gentoo-r1
Linux user #359215
Gentoo Base System version 1.12.1
Linux 2.6.17-gentoo-r1
Linux user #359215
-
- Бывший модератор
- Сообщения: 7390
- Статус: думающий о вечном
- ОС: Debian, LMDE
Re: проблемы с компиляцией
Во-первых, не надо делать дубли. Темы объединены.
А во-вторых, говорят же вам: Leaving directory -- это _не_ ошибка. Выложите сюда, что оно ещё пишет.
А во-вторых, говорят же вам: Leaving directory -- это _не_ ошибка. Выложите сюда, что оно ещё пишет.
¡иɯʎdʞ ин ʞɐʞ 'ɐнɔɐdʞǝdu qнεиж
-
- Сообщения: 39
Re: проблемы с компиляцией
при emerge всегда пользуюсь через root, но я имею введу конкретный make, вот файл с описанием установки, ну к примеру программы kbootsplash, при make-е всех программ - такая фигня !
VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Бывший модератор
- Сообщения: 1571
- ОС: Cygwin
Re: проблемы с компиляцией
g++ (skip) -I. -I. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include
Проверь есть ли у тебя .h в каталогах
/usr/kde/3.2/include
/usr/qt/3/include
/usr/X11R6/include
Bolverk добавил в 28.10.2004 00:20
P.S. А еще лучше имхо листинги gzip-ать...
-
- Сообщения: 39
Re: проблемы с компиляцией
.h-ей в этих каталогах у меня полно, а вчё собственно суть и что мне делать дальше ?
P.S.S . А еще лучше имхо листинги gzip-ать... - непонял что ? (я в этом ламер)
P.S.S . А еще лучше имхо листинги gzip-ать... - непонял что ? (я в этом ламер)
VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Сообщения: 39
Re: проблемы с компиляцией
НУ ПОМОГИТЕ ХОТЬ КТО-НИБУДЬ !
VIA KT | SATA | GF4mx4408X | Gentoo 2004.1 { yadro (2.4)-(2.6) }
-
- Бывший модератор
- Сообщения: 2199
- Статус: главный форумный маргинал
- ОС: gnu/linux
Re: проблемы с компиляцией
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la' is not a valid libtool archive
emerge libtool ?
emerge libtool ?
И немедленно выпил.