Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build it #2

Open
w495 opened this issue Apr 24, 2013 · 0 comments
Open

Cannot build it #2

w495 opened this issue Apr 24, 2013 · 0 comments

Comments

@w495
Copy link

w495 commented Apr 24, 2013

How should I to build this plugin and install it?

I've did this:
cmake CMakeLists.txt
make

and I've got:

on cmake CMakeLists.txt to stdout

-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.4 (using /usr/bin/qmake-qt4)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e") 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4  
-- Found Perl: /usr/bin/perl (found version "5.16.3") 
-- Found Phonon: /usr/include (Required is at least version "4.3.80") 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.10 include dir: /usr/include/kde4
-- Found KDE 4.10 library dir: /usr/lib64/kde4/devel
-- Found the KDE4 kconfig_compiler4 preprocessor: /usr/bin/kconfig_compiler4
-- Found automoc4: /usr/bin/automoc4
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake  
-- Found KDevelop-PG-Qt
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- 
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/w495/projects/kdevelop-erlang

on make to stdout

Scanning dependencies of target duchaintest_automoc
Generating duchaintestbase.moc
Generating moc_duchain.cpp
[  0%] Built target duchaintest_automoc
Scanning dependencies of target kdev4erlangparser_automoc
[  0%] Built target kdev4erlangparser_automoc
[  1%] Generating erlangtokentype.h, erlangtokentext.h, erlangast.h, erlangparser.h, erlangparser.cpp, erlangvisitor.h, erlangvisitor.cpp, erlangdefaultvisitor.h, erlangdefaultvisitor.cpp
Scanning dependencies of target kdev4erlangparser
[  3%] Building CXX object parser/CMakeFiles/kdev4erlangparser.dir/kdev4erlangparser_automoc.o
[  3%] Generating erlangtokentype.h, erlangtokentext.h, erlangast.h, erlangparser.h, erlangparser.cpp, erlangvisitor.h, erlangvisitor.cpp, erlangdefaultvisitor.h, erlangdefaultvisitor.cpp
[  5%] Building CXX object parser/CMakeFiles/kdev4erlangparser.dir/erlangparser.o

on make to stderr

** WARNING found FIRST/FIRST conflict in tryClause:
    Rule ``(atom1 COLON expr=expr | VARIABLE COLON expr=expr | expr=expr)''
    Terminals [
        VARIABLE, 
        ATOM_LITERAL
    ]

1 conflicts total: 0 FIRST/FOLLOW conflicts, 1 FIRST/FIRST conflicts.
** WARNING found FIRST/FIRST conflict in tryClause:
    Rule ``(atom1 COLON expr=expr | VARIABLE COLON expr=expr | expr=expr)''
    Terminals [
        ATOM_LITERAL, 
        VARIABLE
    ]

1 conflicts total: 0 FIRST/FOLLOW conflicts, 1 FIRST/FIRST conflicts.
In file included from /home/w495/projects/kdevelop-erlang/parser/erlangparser.cpp:10:0:
/home/w495/projects/kdevelop-erlang/parser/erlang.g: В функции-члене «void erlang::Parser::tokenize(const QString&, int)»:
/home/w495/projects/kdevelop-erlang/parser/erlang.g:588:41: ошибка: «class erlang::TokenStream» has no member named «next»
/home/w495/projects/kdevelop-erlang/parser/erlang.g: В функции-члене «void erlang::Parser::reportProblem(erlang::Parser::ProblemType, const QString&)»:
/home/w495/projects/kdevelop-erlang/parser/erlang.g:634:114: ошибка: нет подходящей функции для вызова «KDevelop::DocumentRange::DocumentRange(QString&, KTextEditor::Range)»
/home/w495/projects/kdevelop-erlang/parser/erlang.g:634:114: замечание: candidates are:
In file included from /usr/include/kde4/kdevplatform/language/interfaces/iproblem.h:29:0,
        from /home/w495/projects/kdevelop-erlang/parser/erlang.g:33,
        from /home/w495/projects/kdevelop-erlang/parser/erlangtokentype.h:11,
        from /home/w495/projects/kdevelop-erlang/parser/erlangparser.h:7,
        from /home/w495/projects/kdevelop-erlang/parser/erlangparser.cpp:4:
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:40:12: замечание: KDevelop::DocumentRange::DocumentRange(const KDevelop::IndexedString&, const KDevelop::SimpleRange&)
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:40:12: замечание:   no known conversion for argument 1 from «QString» to «const KDevelop::IndexedString&»
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:37:5: замечание: KDevelop::DocumentRange::DocumentRange()
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:37:5: замечание:   candidate expects 0 arguments, 2 provided
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:34:35: замечание: KDevelop::DocumentRange::DocumentRange(const KDevelop::DocumentRange&)
/usr/include/kde4/kdevplatform/language/interfaces/../editor/documentrange.h:34:35: замечание:   candidate expects 1 argument, 2 provided
In file included from /home/w495/projects/kdevelop-erlang/parser/erlangparser.cpp:10:0:
/home/w495/projects/kdevelop-erlang/parser/erlang.g: В функции-члене «void erlang::Parser::expectedSymbol(int, const QString&)»:
/home/w495/projects/kdevelop-erlang/parser/erlang.g:650:33: ошибка: «class erlang::TokenStream» has no member named «token»
make[2]: *** [parser/CMakeFiles/kdev4erlangparser.dir/erlangparser.o] Ошибка 1
make[1]: *** [parser/CMakeFiles/kdev4erlangparser.dir/all] Ошибка 2
make: *** [all] Ошибка 2

I have LANG=ru_RU.utf8, Ошибка == Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant