Bugs item #2995342, was opened at 2010-05-02 02:02 Message generated for change (Comment added) made by allexk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2995342&group_id=129076
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compiling Group: Sedna (development) Status: Open Resolution: None Priority: 3 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Alexander Kalinin (allexk) Summary: configure.sh & cmake 2.8 .deb Initial Comment: При попытке собрать проект (я имею в виду то, что скачивает через darcs get http://modis.ispras.ru/src/sedna) под убунту 10.04, происходит ошибка на этапе ./configure.sh (подробный вывод вставлю ниже). Ошибка происходит при любой записи путей к <build-folder>. Есть мнение, что ошибка в файле CMakeLists.txt на проверке if (${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR}) -- 20я строчка. Возможно также, что есть какие-то различия в работе команды pushd в разных системах, возможно, ошибка может крыться в этом Подробный вывод: a...@asus:~/Projects/sedna$ sh -x ./configure.sh /home/al/Projects/build-original/ + ENHANCE_TERM=Readline + EL_DEBUG=ON + MAKE_DOC=ON + JAVA_DRIVER=ON + CMAKE_BUILD_TYPE=Debug + DTSEARCH=ON + SQL_CONNECTION=ON + [ 1 -lt 1 ] + dirname ./configure.sh + cd . + pwd + SEDNA_SOURCE_DIR=/home/al/Projects/sedna + uname + grep CYGWIN + [ ] + [ 1 -gt 1 ] + SEDNA_BUILD_DIR=/home/al/Projects/build-original/ + mkdir -p /home/al/Projects/build-original/ + echo Sedna sources in: /home/al/Projects/sedna Sedna sources in: /home/al/Projects/sedna + echo Configuring Sedna in: /home/al/Projects/build-original/ Configuring Sedna in: /home/al/Projects/build-original/ + [ -z ] + CMAKE_G= + pushd /home/al/Projects/build-original/ + cmake -DSQL_CONNECTION=ON -DENABLE_DTSEARCH=ON -DENHANCE_TERM=Readline -DEL_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug -DMAKE_DOC=ON -DJAVA_DRIVER=ON /home/al/Projects/sedna -- CMake version is -- 2.8.0 -- In-source-builds are not allowed CMake Error at CMakeLists.txt:20 (message): Create a separate build directory (e.g "build") and execute "cmake <path_to_sedna_sources>" from it -- Configuring incomplete, errors occurred! + CMAKE_RET=1 + popd + [ 1 -ne 0 ] + echo Sedna configuartion failed!!! Sedna configuartion failed!!! ---------------------------------------------------------------------- >Comment By: Alexander Kalinin (allexk) Date: 2010-05-02 09:13 Message: Did you run cmake in the source directory previously? Check if your source directory (i.e. /home/al/Projects/sedna) has CMakeCache.txt file. If so, remove it. Note also, that configure.sh is a developer-mode script. If you want just to build the latest Sedna in release mode, you should issue command like "cmake /home/al/Projects/sedna" from /home/al/Projects/build-original/. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2010-05-02 04:29 Message: web comments slow studies android yahoo added stratospheric ---------------------------------------------------------------------- Comment By: Ivan Shcheklein (shcheklein) Date: 2010-05-02 04:28 Message: Hi, thank you for reporting the issue, Note however, that it's much better to write bu reports in english. Concerning the issue, Try to replace pushd $SEDNA_BUILD_DIR > /dev/null 2>&1 with pushd $SEDNA_BUILD_DIR and send us output again. Almost the same in Russian: Спасибо за сообщение о проблеме. Однако, лучше писать на английском (это все попадает в лист, который ведется на английском языке). Если не получается, то лучше писать напрямую на mo...@ispras.ru. По поводу ошибки. Можете попробовать заменить pushd $SEDNA_BUILD_DIR > /dev/null 2>&1 на pushd $SEDNA_BUILD_DIR и прислать вывод. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2995342&group_id=129076 ------------------------------------------------------------------------------ _______________________________________________ Sedna-discussion mailing list Sedna-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sedna-discussion