Coder Social home page Coder Social logo

Comments (4)

BrianNichols avatar BrianNichols commented on June 11, 2024

Since libaerospike cflags and libs depend on the event framework, that would require 4 different pc files (libaerospike.pc, libaerospike-libev.pc, libaerospike-libuv.pc, libaerospike-libevent.pc) for each platform.

Do you think it would still be useful to include these pc files given this complexity?

The alternative is to just copy the cflags and libs used when compiling the packaged examples.

from aerospike-client-c.

vertexclique avatar vertexclique commented on June 11, 2024

The alternative is to just copy the cflags and libs used when compiling the packaged examples.

My aim is not compiling against the library. Problem is in different OSes paths are changeable and generating a FFI binding in yet another programming language is becoming cumbersome.

Meanwhile some of the header files also not included with the tarballs. Which makes the FFI binding generation even more harder. So in that scenario which directory should be scanned? There are multiple directories with different headers aerospike, citrusleaf (which doesn't have cf_byte_order.h for example) and aerospike/ck those directories are incomplete with headers and there is no reliable rule to find which header is where.

If you provide an interface for finding header and lib location it will be really useful. I mentioned this lack of header problem in #37 (comment) .

from aerospike-client-c.

BrianNichols avatar BrianNichols commented on June 11, 2024

cf_byte_order.h should have been made a public header file. This will be fixed in the next release.

Other header files are not included in the packages (rpm,deb) because they are private to the library.

The public headers are located in one of the following places in the source code repository:

src/include
modules/common/src/include

Do you want "pc" files for the source code repository or the package install locations?
Can you issue a pull request to avoid any ambiguity?

from aerospike-client-c.

BrianNichols avatar BrianNichols commented on June 11, 2024

C client 4.1.4 has been released:

http://www.aerospike.com/download/client/c/4.1.4/

from aerospike-client-c.

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.