Git Product home page Git Product logo

Comments (10)

rhash avatar rhash commented on May 27, 2024 1

The fix is included into RHash v1.3.6.

from rhash.

rhash avatar rhash commented on May 27, 2024

Hello.
I've read your discussion.
First, thanks for the librhash-osx.patch. The dylib libraries suuport can be merged with small changes.

Second, about cmake. Makefiles were chosen to improve portability and minimize dependency on the build system. And I want to keep that feature. Maintaining two build systems would be a hassle. So, at least for now, let other projects, incorporating librhash, maintain its cmake scripts.

from rhash.

rhash avatar rhash commented on May 27, 2024

While RHash should be built by raw makefiles by default, it's acceptable to auto-generate cmakefiles by a shell script and to distribute them in a separate directory like '/build/cmake/'.

Also note that dylib support was partly merged into librhash. Run make -C librhash dylib to build the library.

from rhash.

rhash avatar rhash commented on May 27, 2024

Current development version (master branch) allows to compile RHash for OSX using commands:

make -C librhash dylib test-dylib
make build-shared test-shared SHAREDLIB=librhash/librhash.0.dylib

from rhash.

jakirkham avatar jakirkham commented on May 27, 2024

Why does the shared library need to be specified by the user?

from rhash.

rhash avatar rhash commented on May 27, 2024

I think osx binary should not be compiled by user.
User shall use some binary package, built by some script.
The two commands above are easy enough to add to such script.

from rhash.

jakirkham avatar jakirkham commented on May 27, 2024

My concern is it seems like whoever builds the package is being asked to version the library, which doesn't seem like something they should be doing. Is it possible for rhash's build scripts to take care of the library version?

from rhash.

rhash avatar rhash commented on May 27, 2024

You are right. Fixed by commit cdaf438 ;)

from rhash.

jakirkham avatar jakirkham commented on May 27, 2024

Thank you. :)

So how should we be building RHash now?

from rhash.

rhash avatar rhash commented on May 27, 2024

I think RHash on osx should be compiled as:

configure --sysconfdir=/etc --prefix=/usr --enable-gettext
--enable-openssl-runtime --extra-cflags=-I/usr/local/opt/openssl/include"
make && make test
make instlall

from rhash.

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.