Cmake

Пытался собрать виджет на kde 4
Cmake выдал
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/carman/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
make: *** Не заданы цели и не найден make-файл.  Останов.
make: *** Нет правила для сборки цели `install'.  Останов.

Соответственно смущает строка

ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/carman/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps

Кто-нибудь сталкивался?
Подскажите как лечится?
Заранее спасибо ;)

0
Гость - 28 Июль, 2009 - 10:09

установи пакет kdelibs-devel

0
Гость - 9 Февраль, 2010 - 22:21

поставь kdelibs5-dev
И будет тебе счстье

0
Samath - 23 Февраль, 2010 - 00:22

Здравствуйте!
Проблема такая:
[email protected]:~/Downloads/dekorator-0.4.0.4$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon includes NOT found!
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:63 (message):
Phonon library or includes NOT found!
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
/usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
CMakeLists.txt:4 (find_package)

Насчет " Phonon library or includes NOT found!" гуглил, но натыкался на англоязычные сайты. Так и не понял как это решить

0
Samath - 23 Февраль, 2010 - 00:34

Вопрос отпадает. Ответ все таки нагуглил.Но теперь проблема с make'ом. После команды make получил это :
make[2]: *** [client/CMakeFiles/kwin3_deKorator.dir/deKoratorclient.o] Ошибка 1
make[1]: *** [client/CMakeFiles/kwin3_deKorator.dir/all] Ошибка 2
make: *** [all] Ошибка 2

0
Xenomorph - 23 Февраль, 2010 - 10:16
Изображение пользователя Xenomorph.

А ./configure было сделано? Если он есть, конечно.

0
Samath - 23 Февраль, 2010 - 10:21

его там нету. и в инструкции по установке не написано что нада делать ./configure

0
ktchv - 24 Февраль, 2010 - 15:14
Изображение пользователя ktchv.

порядок сборки с помощью cmake таков:
mkdir build
cd build
cmake ..
make

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

0
Samath - 24 Февраль, 2010 - 15:36

to ktchv- если делать как ты сказал, то получается это
[email protected]:~/Downloads/dekorator-0.4.0.4$ mkdir build
[email protected]:~/Downloads/dekorator-0.4.0.4$ cd build
[email protected]:~/Downloads/dekorator-0.4.0.4/build$ cmake ..
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/samath/Downloads/dekorator-0.4.0.4
[email protected]:~/Downloads/dekorator-0.4.0.4/build$ make
make: *** Не заданы цели и не найден make-файл. Останов.
[email protected]:~/Downloads/dekorator-0.4.0.4/build$

Но там откуда я скачал прогу, есть инструкция, которая отличается от твоей.

Вот сама инструкция:

To install from source, you need cmake, kdebase-workspace-dev, and libqimageblitz-dev (or similary named). Additionally, you must have the KDE 4 binaries in your path. Use

export PATH=$PATH:/usr/lib/kde4/bin/
cd dekorator-0.4.0.4
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
sudo make install

Вот текст, если следовать этой инструкции:

[email protected]:~/Downloads/dekorator-0.4.0.4$ export PATH=$PATH:/usr/lib/kde4/bin/
[email protected]:~/Downloads/dekorator-0.4.0.4$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/samath/Downloads/dekorator-0.4.0.4
[email protected]:~/Downloads/dekorator-0.4.0.4$ make
[ 11%] Built target kwin3_deKorator_automoc
[ 11%] Building CXX object client/CMakeFiles/kwin3_deKorator.dir/deKoratorclient.o
In file included from /home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:35:
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:38:32: error: kdecorationfactory.h: No such file or directory
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:39:25: error: kdecoration.h: No such file or directory
In file included from /home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:35:
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:125: error: expected class-name before ‘{’ token
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:129: error: ISO C++ forbids declaration of ‘KDecoration’ with no type
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:129: error: ‘KDecoration’ declared as a ‘virtual’ field
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:129: error: expected ‘;’ before ‘*’ token
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:131: error: ‘KDecorationDefines’ has not been declared
In file included from /home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:35:
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:247: error: expected class-name before ‘{’ token
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:250: error: expected ‘)’ before ‘*’ token
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.h:265: error: ‘Position’ does not name a type
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:194: error: expected constructor, destructor, or type conversion before ‘*’ token
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:264: error: ‘bool DeKorator::DeKoratorFactory::supports’ is not a static member of ‘class DeKorator::DeKoratorFactory’
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:264: error: ‘KDecorationDefines’ has not been declared
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:264: error: expected ‘,’ or ‘;’ before ‘const’
In file included from /home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:2854:
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:61: warning: ‘MARGIN’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:67: warning: ‘TITLESIZE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:68: warning: ‘LEFTFRAMESIZE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:69: warning: ‘BUTTOMFRAMESIZE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:70: warning: ‘RIGHTFRAMESIZE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:73: warning: ‘TOPLEFTCORNERWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:74: warning: ‘TOPRIGHTCORNERWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:75: warning: ‘LEFTTITLEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:76: warning: ‘RIGHTTITLEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:77: warning: ‘TOPLEFTFRAMEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:78: warning: ‘BOTTOMLEFTFRAMEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:79: warning: ‘TOPRIGHTFRAMEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:80: warning: ‘BOTTOMRIGHTFRAMEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:81: warning: ‘LEFTBOTTOMFRAMEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:82: warning: ‘RIGHTBOTTOMFRAMEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:87: warning: ‘BUTTONSHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:89: warning: ‘BTNHELPEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:90: warning: ‘BTNMAXWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:91: warning: ‘BTNCLOSEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:92: warning: ‘BTNMINWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:93: warning: ‘BTNSTICKYWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:94: warning: ‘BTNABOVEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:95: warning: ‘BTNBELOWWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:96: warning: ‘BTNSHADEWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:97: warning: ‘BTNMENUWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:99: warning: ‘BTNHELPEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:100: warning: ‘BTNMAXHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:101: warning: ‘BTNCLOSEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:102: warning: ‘BTNMINHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:103: warning: ‘BTNSTICKYHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:104: warning: ‘BTNABOVEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:105: warning: ‘BTNBELOWHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:106: warning: ‘BTNSHADEHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:107: warning: ‘BTNMENUHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:110: warning: ‘TOPLEFTMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:111: warning: ‘TOPMIDMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:112: warning: ‘TOPRIGHTMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:113: warning: ‘BOTTOMLEFTMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:114: warning: ‘BOTTOMMIDMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:115: warning: ‘BOTTOMRIGHTMASKWIDTH’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:117: warning: ‘BOTTOMLEFTMASKHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:118: warning: ‘BOTTOMMIDMASKHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:119: warning: ‘BOTTOMRIGHTMASKHEIGHT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:124: warning: ‘USEMENUEIMAGE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:125: warning: ‘IGNOREAPPICNCOL’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:126: warning: ‘DBLCLKCLOSE’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:127: warning: ‘SHOWBTMBORDER’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:128: warning: ‘USESHDTEXT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:129: warning: ‘ACTIVESHDTEXTX’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:130: warning: ‘ACTIVESHDTEXTY’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:132: warning: ‘INACTIVESHDTEXTX’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:133: warning: ‘INACTIVESHDTEXTY’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:135: warning: ‘BTNSHIFTX’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:136: warning: ‘BTNSHIFTY’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:141: warning: ‘USEANIMATION’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:144: warning: ‘STEPS’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:145: warning: ‘INTERVAL’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:146: warning: ‘KEEPANIMATING’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:149: warning: ‘EFFECTAMOUNT’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:161: warning: ‘USEMASKS’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:165: warning: ‘DECOPIXACTARR’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:166: warning: ‘DECOPIXINACTARR’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:169: warning: ‘BUTTONPIXACTARR’ defined but not used
/home/samath/Downloads/dekorator-0.4.0.4/client/deKoratorclient.cc:170: warning: ‘BUTTONPIXINACTARR’ defined but not used
make[2]: *** [client/CMakeFiles/kwin3_deKorator.dir/deKoratorclient.o] Ошибка 1
make[1]: *** [client/CMakeFiles/kwin3_deKorator.dir/all] Ошибка 2
make: *** [all] Ошибка 2
[email protected]:~/Downloads/dekorator-0.4.0.4$

0
ktchv - 24 Февраль, 2010 - 19:10
Изображение пользователя ktchv.

error: kdecorationfactory.h: No such file or directory

нам как бе намекает...

0
Samath - 24 Февраль, 2010 - 20:43

упс. нада было еще очки одеть. ок, спасибо. Ща попробую разобраться. ес че вернусь

0
Chibiko - 26 Май, 2010 - 06:29
Изображение пользователя Chibiko.

Добре, уж не буду новую тему создавать, вот такая ошибка вылезла в Cmake:

Развернуть/свернуть скрытый текст.
-- Found ZLIB: /usr/lib/libz.so
CMake Error at CMakeLists.txt:24 (add_subdirectory):
The source directory

/home/zen/SOFT/krusader-2.2.0-beta1/krfiledialog

does not contain a CMakeLists.txt file.

-- /home/zen/SOFT/krusader-2.2.0-beta1: skipped subdir $(TARDIR)
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ca/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/[email protected]/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/cs/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/da/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/de/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/el/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/en_GB/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/eo/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/es/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/et/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/fr/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ga/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/gl/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/hr/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/hu/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/it/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ja/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ko/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/lt/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/nb/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/nds/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/nl/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/pl/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/pt/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/pt_BR/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ro/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/ru/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/sk/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/sl/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/sv/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/tr/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/uk/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/zh_CN/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

CMake Error at /usr/share/kde4/apps/cmake/modules/FindGettext.cmake:229 (ADD_CUSTOM_TARGET):
add_custom_target cannot create target "pofiles" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/home/zen/SOFT/krusader-2.2.0-beta1/po/bg".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
po/zh_TW/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)

-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON returned exit code 1
make: *** [build] Ошибка 2

не подскажите что делать?
Что-то не могу нагуглить =\
0
Xenomorph - 26 Май, 2010 - 10:18
Изображение пользователя Xenomorph.

does not contain a CMakeLists.txt file. Проблема здесь. Что пишут в README и INSTALL?

0
Chibiko - 26 Май, 2010 - 14:45
Изображение пользователя Chibiko.

Разрешил все зависимости. скачало оно мне всего на 160 мб, установилось на 500 8) Но толку нет. Та же ошибка. В том же исполнении (подрубился к домашнему компу, установил всё и попробовал скомпилить ещё раз...

Ну.. жду подсказок..

0
Chibiko - 26 Май, 2010 - 18:10
Изображение пользователя Chibiko.

я в CMakeLists.txt добавил строчку cmake_minimum_required(VERSION 2.8) а так больше ничего в нём не менял...

В README - сказка. Реально... самая что ни на есть настоящая детская сказка О_о.

спс, нашёл траблу в INSTALL - вроде не установлен gettext, приду домой - гляну..

Скорее-всего меня в 4 утра подвела самоуверенность (что у меня уже всё стоит что надо чтобы собрать пакетик, ибо не раз собирал, а при ошибках мог нагуглить.. за исключением этого случая) и офигенная невыспанность и перегруз на работе О_о

Но спасибо за идею, и скорее всего за решение проблемы, я бы наверное к этому вернулся бы только когда испробовал всё что можно было бы 8)

UPD: Так... берём пиво и переходим на новую стадию бытия, прикладываю билд (переименовать в *.build и смотреть в kate например):

0
Xenomorph - 26 Май, 2010 - 23:15
Изображение пользователя Xenomorph.

Хихи, я перехвалил себя. У меня теперь тоже ошибки при сборке, будем надеятся, что это из-за апдейтов исходников, потому как еще вчера всё собиралось(((

Отправить комментарий

CAPTCHA на основе изображений
Введите цифры