X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=aWk UaCzeC2G7hYfl6YAwt2qfrj2CxgygC/Ha7LZjMn1sC8aAw1xD4uL/ephK/azmP2z GNr6yCxMNqY7gfhZxG6nUS4ZJfyL7ITV6wwYtu3lgAnRuhLXvftukLAlNEGCHQjE e9pONXLrJevbJ39GmjGS6kNlY/dvMeyueLi5L0xs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=8BXvvcoUv UHJ2TTPp7tPM1KgTlc=; b=M8n5/7nGAgWv1zkG5erSSYLPAx6BUiDkg+adktWSy 7lHCrGN1IxEqeqSTo16mKeHLwdkwTae54W5F9/1kdZ6XgvBFOk69B+V9DrZCM5nB ipHgt8d+HgfqAqQeR9Jc72pN51KkbRQ6y8xYIFnwlGRKHD6GNAplVClaig8YgdLj wk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.6 required=5.0 tests=BAYES_50,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*sk, I*:home, I*:but, I*:some X-HELO: mail-qt0-f178.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JDIMMr2VWgn+VrkB5PBcKhcZ9OF661RJroDqzpPsLMQ=; b=kcM8HwdvBJ3IrwrUgFnHo5AkGaVvsQjoGYn1H+TbbtGCDuqEgiKPsUsV1+XugGIH9D ZiY630pGSFX0kJiTFz+bvD/Xq3TuJqTPmBUeVLyl1azRrzTu6JZ0wEgc92CfLSM4Wxi4 YNsImHPHJvQrYUo/AXe+A4hymqL+El5ZipuOPVhVYr+tZjtUGx00lXu2FcMDeIm1/FJD ZLGap86wOv9JcjSBBmBfN1Cb2xFH7pRUPhUMIi/A0/5baLOAOire3LgApolBU0xUzqv3 Sn3Qp87Irp35MyPgedvq73o6NY6x9MgIzdNC77KYqQ/GJjUxYzWreVwWoT9d79Ef8crG nBtQ== X-Gm-Message-State: AMCzsaWuE4/MbP/GeHn+Qlk0nlQTfQpr1MhFxC20valRKNmSJgApQBXl O+xlvl7szvAOqQ4RdULoy3oAKCjFalP/a2LLDoHMAfM/ X-Google-Smtp-Source: AOwi7QDWrvbg2mNr8+eWXeoQwRM0ohkOAlbeYG5mayt+Mrn9dBjOTo+8Ezpwfd4eDR2zTUlakEwjkJ8gjj2st4BrpgQ= X-Received: by 10.55.47.6 with SMTP id v6mr13203841qkh.181.1507632426615; Tue, 10 Oct 2017 03:47:06 -0700 (PDT) MIME-Version: 1.0 From: "Tomas Repik | Instarea" Date: Tue, 10 Oct 2017 12:47:06 +0200 Message-ID: Subject: Unable to build clickhouse using cygwin on Windows Server 2012 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v9AAlJYG020780 Hello list, recently I came across cygwin as a way to run linux software on windows and I have some issues with getting compilation using gcc. I posted my question on StackOverflow , idealy post your answers there, but mailing it to the list is fine as well. Thank you Tomas > TL;DR I'm trying to build the latest clickhouse release (v1.1.54292-stable) in > cygwin (mintty-2.7.9) on Windows server 2012 (build 9600). I've picked and > installed these additional packages in cygwin: > automake 10-1 > automake 1.15.1-1 > cmake 3.6.2.-1 > gcc 6.3.0-2 > g++ 6.3.0-2 > gccmakedep 1.0.3.-1 > git 2.14.1-2 > libboost_system 1.63.0-1 > libmcpp-devel 2.7.2-2 > libmysqlclient-devel 10.1.26-1 > libpcreposix0 8.40-3 > libpoco-devel 1.7.9-1 > libpoco-49 1.7.9-1 > libtool 2.4.6-5 > make 4.2.1-2 > mcpp 2.7.2-2 > poco 1.7.9-1 > python3 3.6.1-1 > I'm following the official instructions so I ran: > export THREADS=$(grep -c ^processor /proc/cpuinfo) > export CC=gcc > export CXX=g++ > export CMAKE_LEGACY_CYGWIN_WIN32=1 > mkdir build > cd build > cmake .. > make -j $THREADS > The compilation error I'm getting is this: > In function ‘CityHash_v1_0_2::uint128 CityHash_v1_0_2::CityMurmur(const > char*, size_t, CityHash_v1_0_2::uint128)’: > /home/user/ClickHouse/contrib/libcityhash/src/city.cc:261:3: > error: ‘ssize_t’ was not declared in this scope > ssize_t l = len - 16; > If I grep the /usr/include/sys/types.h for ssize_t it's properly defined > there, but for some reason the compiler can't find it. > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple