From dev-return-2927-archive-asf-public=cust-asf.ponee.io@singa.incubator.apache.org Sun Jun 30 08:45:16 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B109F180645 for ; Sun, 30 Jun 2019 10:45:15 +0200 (CEST) Received: (qmail 64302 invoked by uid 500); 30 Jun 2019 08:45:12 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 64292 invoked by uid 99); 30 Jun 2019 08:45:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2019 08:45:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 510701A4423 for ; Sun, 30 Jun 2019 08:45:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -112.999 X-Spam-Level: X-Spam-Status: No, score=-112.999 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NkgqeoDBAR7X for ; Sun, 30 Jun 2019 08:45:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=207.244.88.153; helo=mail.apache.org; envelope-from=jira@apache.org; receiver= Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with SMTP id A4AE8BC736 for ; Sun, 30 Jun 2019 08:45:06 +0000 (UTC) Received: (qmail 64278 invoked by uid 99); 30 Jun 2019 08:45:06 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2019 08:45:06 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A3E46E2E43 for ; Sun, 30 Jun 2019 08:45:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 338B525FEF for ; Sun, 30 Jun 2019 08:45:00 +0000 (UTC) Date: Sun, 30 Jun 2019 08:45:00 +0000 (UTC) From: "Shreyansh Shrivastava (JIRA)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SINGA-465) Installation error on Ubuntu 18.04 , Protobuf mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Shreyansh Shrivastava created SINGA-465: ------------------------------------------- Summary: Installation error on Ubuntu 18.04 , Protobuf mismatc= h Key: SINGA-465 URL: https://issues.apache.org/jira/browse/SINGA-465 Project: Singa Issue Type: Bug Components: Application Environment: Ubuntu 18.04 Reporter: Shreyansh Shrivastava Attachments: cmake DUSE_MODULES=3DON.png, mkae and pip show protob= uf.png I installed SINGA from source on Ubuntu 18.04. All the dependencies are installed properly. *The only warning in the outpu= t of "cmake -DUSE_MODULES=3DON"* is as follows, *Protobuf compiler version 3.2.0 doesn't match library version 3.0.0* *The output of "pip show protobuf"* is as follows, Name: protobuf *Version: 3.0.0* Summary: Protocol Buffers Home-page: https://developers.google.com/protocol-buffers/ Author: protobuf@googlegroups.com Author-email: protobuf@googlegroups.com License: New BSD License Location: /home/shreyansh/anaconda3/lib/python3.6/site-packages Requires: setuptools, six Required-by: tensorflow, tensorboard =C2=A0 *"make" terminates with the following message*, In file included from /home/shreyansh/incubator-singa/build/src/caffe.pb.cc= :5:0: /home/shreyansh/incubator-singa/build/src/caffe.pb.h:17:2: error: #error Th= is file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^~~~~ /home/shreyansh/incubator-singa/build/src/caffe.pb.h:18:2: error: #error in= compatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^~~~~ /home/shreyansh/incubator-singa/build/src/caffe.pb.h:19:2: error: #error re= generate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. When pip shows that protobuf version is 3.0.0, then why is the error occurr= ing. I am attaching a screenshot of the terminal window. =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)