Ask Your Question
0

building eiskaltdcpp from source in fedora

asked 2012-05-19 02:26:52 -0500

mjnovice gravatar image

updated 2012-05-20 05:25:38 -0500

FranciscoD_ gravatar image

when building with the following codes

cd to the directory with the source

mkdir builddir
cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../

the following error creeps up.. -- Configuring incomplete, errors occurred!

what does it mean and how to deal with it???

edit retag flag offensive close merge delete

Comments

It could mean a lot of things. Can you please post the entire error log?

FranciscoD_ gravatar imageFranciscoD_ ( 2012-05-20 05:39:41 -0500 )edit

4 Answers

Sort by » oldest newest most voted
0

answered 2012-05-31 09:25:06 -0500

mjnovice gravatar image

finally solved it; eiskaltdcpp-qt 2.2.6 had some patching issues with gcc-4.7(which i have with my fc17)but it can be compiled with gcc-4.6; so i waited or screwed my head for days; until i stumbled upon a stable release of eiskaltdcpp2.2.7 which got compiled with gcc4.7 successfully thanx for ur support and replies.............. :)

edit flag offensive delete link more
1

answered 2012-05-20 12:02:47 -0500

mjnovice gravatar image

updated 2012-05-20 20:38:13 -0500

FranciscoD_ gravatar image
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:81 (FILE):
  file Internal CMake error when trying to open file:
  /home/mayank/Downloads/eiskaltdcpp-2.2.6/builddir/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:138 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:1 (project)


CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:81 (FILE):
  file Internal CMake error when trying to open file:
  /home/mayank/Downloads/eiskaltdcpp-2.2.6/builddir/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:138 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:1 (project)


-- The CXX compiler identification is unknown
CMake Error: Could not open file for write in copy operation /home/mayank/Downloads/eiskaltdcpp-2.2.6/builddir/CMakeFiles/CMakeCXXCompiler.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:182 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


CMake Error: Could not find cmake module file:/home/mayank/Downloads/eiskaltdcpp-2.2.6/builddir/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Could NOT find Git (missing:  GIT_EXECUTABLE) 
-- Building with Lua scripts support
-- Building with UPNP support (miniupnpc)
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Building with Aspell support
-- Building with free space bar (realisation on C, POSIX 1003.1-2001 (and later) with XSI)
-- Library directory: /usr/lib
-- Data directory: /usr/share/eiskaltdcpp
CMake Error: Could not open file for write in copy operation /home/mayank/Downloads/eiskaltdcpp-2.2.6/builddir/VersionGlobal.h.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:274 (configure_file):
  configure_file Problem configuring file


-- Translations: be;bg;cs;de;el;en;es;fr;hu;it;pl;ru;sr@latin;sk;uk
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.1", required is "4.4.0") 
-- Building without Qt Declarative UI support
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.1", required is "4.4.0") 
-- Building with Qt DBus support
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.1", required is "4 ...
(more)
edit flag offensive delete link more

Comments

There are multiple errors here. So many, that it's really difficult to sort it out for you. Have you built a package from source before? Maybe you should google and learn a little first?

FranciscoD_ gravatar imageFranciscoD_ ( 2012-05-20 20:41:33 -0500 )edit
0

answered 2012-05-24 11:44:18 -0500

mjnovice gravatar image

/home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp: In member function ‘void PublicHubs::slotContextMenu()’: /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:154:75: error: capture of non-variable ‘PublicHubs::proxy’ In file included from /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:10:0: /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.h:85:26: note: ‘PublicHubProxyModel* PublicHubs::proxy’ declared here /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp: In lambda function: /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:154:106: error: ‘this’ was not captured for this lambda function /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:154:129: error: return-statement with a value, in function returning 'void' [-fpermissive] In file included from /usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, from /usr/include/QtCore/qglobal.h:68, from /usr/include/QtCore/qnamespace.h:45, from /usr/include/QtCore/qobjectdefs.h:45, from /usr/include/QtGui/qwindowdefs.h:45, from /usr/include/QtGui/qwidget.h:45, from /usr/include/QtGui/QWidget:1, from /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.h:13, from /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:10: /usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stlalgo.h: In instantiation of ‘OIter std::transform(IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = QList<qmodelindex>::iterator; _OIter = QList<qmodelindex>::iterator; _UnaryOperation = PublicHubs::slotContextMenu()::<lambda(qmodelindex)&gt;]’: home="" mayank="" eiskaltdcpp-2.2.6="" eiskaltdcpp-qt="" src="" publichubs.cpp:154:130:="" required="" from="" here="" usr="" lib="" gcc="" i686-redhat-linux="" 4.7.0="" ..="" ..="" ..="" ..="" include="" c++="" 4.7.0="" bits="" stl<="" em="">algo.h:4951:2: error: no match for ‘operator=’ in ‘result.QList<t>::iterator::operator<qmodelindex>() = __unary_op.PublicHubs::slotContextMenu()::<lambda(qmodelindex)&gt;(qmodelindex((< em="">(const QModelIndex)first.QList<t>::iterator::operator<qmodelindex>())))’ /usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:4951:2: note: candidate is: In file included from /usr/include/QtGui/qabstractproxymodel.h:45:0, from /usr/include/QtGui/qsortfilterproxymodel.h:45, from /usr/include/QtGui/QSortFilterProxyModel:1, from /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.h:17, from /home/mayank/eiskaltdcpp-2.2.6/eiskaltdcpp-qt/src/PublicHubs.cpp:10: /usr/include/QtCore/qabstractitemmodel.h:58:7: note: QModelIndex& QModelIndex::operator=(const QModelIndex&) /usr/include/QtCore/qabstractitemmodel.h:58:7: note: no known conversion for argument 1 from ‘void’ to ‘const QModelIndex&’ make[2]: * [eiskaltdcpp-qt/CMakeFiles/eiskaltdcpp-qt.dir/src/PublicHubs.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [eiskaltdcpp-qt/CMakeFiles/eiskaltdcpp-qt.dir/all] Error 2 make: * [all] Error 2

the building process after 93% stops and the above error creeps up! wats ur say in it??

edit flag offensive delete link more
0

answered 2012-07-07 02:02:43 -0500

mjnovice gravatar image

Problem finally solved... am posting about a month after it got through.. the problem was that the version of eiskalt dcpp i was trying to install wasnt patched up for fedora core 17 and therefore all the problems wer creeping up.... after the new patcched up version was released .... it compiled and ran successfully

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-05-19 02:26:52 -0500

Seen: 718 times

Last updated: Jul 07 '12