Giter Site home page Giter Site logo

cmake syntax error about comet-server HOT 11 CLOSED

cppcomet avatar cppcomet commented on August 25, 2024
cmake syntax error

from comet-server.

Comments (11)

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

hello. can you add full cmake output and information about operating system?

from comet-server.

mrTigerFox avatar mrTigerFox commented on August 25, 2024

cat /proc/version

Linux version 2.6.32-042stab113.21 ([email protected]) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Mar 23 11:05:25 MSK 2016

cat /etc/*-release

CentOS release 6.9 (Final)

cmake.zip

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

In the log files that you sent is not mentioned something that looks like

yacc: e - line 112 of "src/CometQL.y", syntax error

But it is visible that cmake does not find pthreads
Try installing the package

yum install glibc-static

from comet-server.

mrTigerFox avatar mrTigerFox commented on August 25, 2024

i did install glibc-static package, but a have same error.
cmake_.zip

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

And what conclusion do you have in the console when trying to compile?

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

I can assume that you do not have enough new version of the compiler. Recently, I tested the assembly only in CentOS 7

from comet-server.

mrTigerFox avatar mrTigerFox commented on August 25, 2024

cmake .

-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- 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
-- System: Linux 2.6.32-042stab113.21
-- Processor: x86_64
-- 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
yacc: e - line 112 of "src/CometQL.y", syntax error
%lex-param { void* qInfo }
^
Usage: yacc [options] filename

Options:
-b file_prefix set filename prefix (default "y.")
-d write definitions (y.tab.h)
-g write a graphical description
-l suppress #line directives
-o output_file (default "y.tab.c")
-p symbol_prefix set symbol prefix (default "yy")
-r produce separate code and table files (y.code.c)
-t add debugging support
-v write description (y.output)
-V show version information and exit
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MYSQL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /u01/www/bwru.ru/comet-server

-- Configuring incomplete, errors occurred!
See also "/u01/www/bwru.ru/comet-server/CMakeFiles/CMakeOutput.log".
See also "/u01/www/bwru.ru/comet-server/CMakeFiles/CMakeError.log".

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

By default, CentOS 6.x does not contain a compiler supporting C++11
you need try install gcc with version 4.9 or later or update system to CentOS 7
At the moment for CentOS 6 will only critical updates are released, full support has ended at 10 May 2017

from comet-server.

mrTigerFox avatar mrTigerFox commented on August 25, 2024

it so sad, but i cant upgrade server right now.
Thank U for your support.

Спасибо)

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

you can try update only gcc to 4.9 on server, try search 'centos 6 c++11'

обращайтесь, если какие то ещё вопросы будут :)

from comet-server.

VictorTrapenok avatar VictorTrapenok commented on August 25, 2024

Ещё заметил у вас такую проблему что вы положили конфиги комет сервера в доступную через веб папку. Запрос к http://bwru.ru/comet-server/comet.ini позволяет скачать ваш конфиг с паролями к комет серверу.
К сожалению ни каких других способов связаться с вами у вас в профиле я не нашёл.

from comet-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.