[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with build from source.. HELP plz..



Igor Chumak -> debian-russian@lists.debian.org  @ Wed, 4 Jan 2006 14:21:02 +0200:

 IC> Привет,  ALL

 IC> В debian-3.1 пытаюсь собрать idesk из исходников

 IC> Вроде как все необходимое для сборки есть:
 IC> debian:~# apt-get -s build-dep idesk
 IC> Reading Package Lists... Done
 IC> Building Dependency Tree... Done
 IC> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 IC> Когда пытаюсь собрать:
 IC> fakeroot apt-get -b source idesk

 IC> , среди обычного вывода configure проскакивает такое:
 IC> -куть
 IC> checking for sys/types.h... no
 IC> checking for sys/stat.h... no
 IC> checking for stdlib.h... no
 IC> checking for string.h... no
 IC> checking for memory.h... no
 IC> checking for strings.h... no
 IC> checking for inttypes.h... no
 IC> checking for stdint.h... no
 IC> checking for unistd.h... no
 IC> checking for string.h... (cached) no
 IC> checking for unistd.h... (cached) no
 IC> checking dirent.h usability... no
 IC> checking dirent.h presence... yes
 IC> configure: WARNING: dirent.h: present but cannot be compiled
 IC> configure: WARNING: dirent.h:     check for missing prerequisite headers?
 IC> configure: WARNING: dirent.h: see the Autoconf documentation
 IC> configure: WARNING: dirent.h:     section "Present But Cannot Be Compiled"
 IC> configure: WARNING: dirent.h: proceeding with the preprocessor's result
 IC> configure: WARNING: dirent.h: in the future, the compiler will take
 IC> precedence
 IC> configure: WARNING:     ## ------------------------------------------ ##
 IC> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
 IC> configure: WARNING:     ## ------------------------------------------ ##
 IC> checking for dirent.h... yes
 IC> -куть

 IC> И компиляция обламывается :
 IC> -куть
 IC> make[3]: Entering directory `/home/igor/idesk-0.7.4/src'
 IC> make[3]: Circular defaults.h <- Makefile dependency dropped.
 IC> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2  -I/usr/X11R6/include -DSHAP
 IC> E    -I/usr/include/freetype2 -I/usr/X11R6/include   -c
 IC> XDesktopContainer.cpp
 IC> In file included from /usr/include/c++/3.3/cstdio:52,
 IC>                  from /usr/include/c++/3.3/i486-linux/bits/c++io.h:35,
 IC>                     from /usr/include/c++/3.3/bits/fpos.h:44,
 IC>                        from /usr/include/c++/3.3/bits/char_traits.h:46,
 IC>                           from /usr/include/c++/3.3/string:47,
 IC>                              from AbstractClasses.h:28,
 IC>                                 from DesktopContainer.h:28,
 IC>                                    from XDesktopContainer.h:46,
 IC>                                       from XDesktopContainer.cpp:25:
 IC>                  /usr/include/stdio.h:562: error: parse error before `int'
 IC>                  make[3]: *** [XDesktopContainer.o] Error 1
 IC>                  make[3]: Leaving directory `/home/igor/idesk-0.7.4/src'
 IC>                  make[2]: *** [all-recursive] Error 1
 IC>                  make[2]: Leaving directory `/home/igor/idesk-0.7.4'
 IC>                  make[1]: *** [all-recursive-am] Error 2
 IC>                  make[1]: Leaving directory `/home/igor/idesk-0.7.4'
 IC>                  make: *** [build-stamp] Error 2
 IC>                  Build command 'cd idesk-0.7.4 && dpkg-buildpackage -b -uc'
 IC> failed.
 IC> -куть

 IC> Хидеры вроде как присутствуют (/usr/include/sys/types.h точно есть), другие
 IC> программы в этом окружении собираются..

 IC> Кто виноват? Я, debian или аффтар idesk? ;)

Не видно, чтобы ты последовал туда, куда тебя послал configure.  Что
написано в упомянутой секции документации?

-- 
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru

Обладаю смехотворными способностями.
	Кнышев



Reply to: