Coder Social home page Coder Social logo

fail to mvn compile on win7 about pulsar HOT 7 CLOSED

apache avatar apache commented on August 18, 2024
fail to mvn compile on win7

from pulsar.

Comments (7)

merlimat avatar merlimat commented on August 18, 2024

We never tried to build on Windows (just Linux and MacOS).

The build depends on building a small JNI extension to compute CRC32C checksum with SSE4.2 instruction. For that we need a C++ compiler, but I'm not sure how to have maven pickup the VisualC++ path.

Probably the quicker fix is to disable building the JNI lib on Windows. @rdhabalia can you give it a try?

from pulsar.

rdhabalia avatar rdhabalia commented on August 18, 2024

@archcentric : is it possible to give more error-logs with which build has failed.

from pulsar.

archbobo avatar archbobo commented on August 18, 2024

The 'pulsar-checksum' project compile successfully on win7 after I:
1, installed ms visual c++ locally
2, update the nar-maven-plugin from 3.1.0 to 3.5.0

however I still fail to build the whole project on win7,
I need to comment out '' for the managed-ledger reference in some projects, otherwise compilation fail saying no tests jar on official maven repo.

i have to give up after I got following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project pulsar-broker: Compilation failure: Compilation failure:

from pulsar.

rdhabalia avatar rdhabalia commented on August 18, 2024

@archcentric
in your previous comment you mentioned you are trying mvn clean compile instead can you try mvn clean install

from pulsar.

archbobo avatar archbobo commented on August 18, 2024

@rdhabalia
As a matter of fact, I tried 'mvn clean install' in my previous comment.

from pulsar.

nietzschetmh avatar nietzschetmh commented on August 18, 2024

@archcentric Hi, i have a naive question, how did you
update the nar-maven-plugin from 3.1.0 to 3.5.0

Appreciate your help.

from pulsar.

ivankelly avatar ivankelly commented on August 18, 2024

Closing due to lack of activity.

from pulsar.

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.