Giter Club home page Giter Club logo

Comments (1)

hestad avatar hestad commented on August 16, 2024

Did some more digging on this one by cloning: https://github.com/conan-io/conan-docker-tools/tree/master/clang_3.8 and altering the test.sh file, replacing gtest/1.8.0@lasote/stable with Protobuf/3.3.0@memsharded/testing. That worked ok for both ubuntu:zesty and ubuntu:xenial.

Next step was to copy in my conanfile.txt (ubuntu:xenial), enter the running docker container and build the conanfile.txt with: conan install .. -s compiler=clang -s compiler.version=3.8 -s compiler.libcxx=libstdc++ --build=missing

That ended in the same error:

hecking zlib version... configure: error: in `/home/conan/.conan/data/Protobuf/3.3.0/memsharded/testing/build/15a71d933436b9288138f2b501c82c5196a07978/protobuf-3.3.0':
configure: error: --with-zlib was given, but zlib headers were not present or were too old (requires 1.2.0.4)
See `config.log' for more details
PROJECT: 
Protobuf/3.3.0@memsharded/testing: ERROR: Package '15a71d933436b9288138f2b501c82c5196a07978' build failed
Protobuf/3.3.0@memsharded/testing: WARN: Build folder /home/conan/.conan/data/Protobuf/3.3.0/memsharded/testing/build/15a71d933436b9288138f2b501c82c5196a07978
ERROR: Protobuf/3.3.0@memsharded/testing: Error in build() method, line 73
	self.run("./configure %s" % (' '.join(args)), cwd=self._source_dir)
	ConanException: Error 256 while executing ./configure --disable-dependency-tracking --with-zlib --disable-shared

conanfile.txt

[requires]
Boost/1.62.0@lasote/testing
nl-json/2.1.1@genvidtech/1.4.0
readerwriterqueue/1.0.0@Manu343726/testing
concurrentqueue/1.0.0@Manu343726/testing
gtest/1.8.0@lasote/stable
cppzmq/4.2.0@memsharded/stable
libzmq/4.2.0@memsharded/testing
zlib/1.2.11@lasote/stable
Protobuf/3.3.0@memsharded/testing

[options]
Boost:shared=True # false
gtest:shared=False
gtest:no_gmock=True # don't include Google Mock
gtest:no_main=True # don't link with main() provided by gtest/gmock
zlib:shared=True

[generators]
cmake

I'm pretty new to conan and clang, so this is probably misconfiguration on my side, but if you or anyone have any thoughts, I'm all ears!

from conan-protobuf.

Related Issues (10)

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.