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

Problem with build from source.. HELP plz..



Привет,  ALL

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

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

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

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

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

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

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

ЗЫ:
 g++                3.3.5-3
 autoconf           2.59a-7
 automake1.4        1.4-p6-9
 automake1.9        1.9.5-1



With best regards, Igor Chumak.
 

Reply to: