Giter VIP home page Giter VIP logo

Comments (9)

armstrtw avatar armstrtw commented on August 30, 2024

That would be nice.

Along the same lines, I've wondered for a while whether it is possible to ship the shared libs w/ the package. Something we've touched on a while back on the mail list.

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

I did one test just trying to keep the lib in src/; that builds with -L. but fails to load.

But I just realized a possible alternative. We can use rpath to encode the path. At least on Linux. Not sure about OS X.

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

Seems possible: http://stackoverflow.com/questions/4513799/how-to-set-the-runtime-path-rpath-of-an-executable-with-gcc-under-mac-osx

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

Along the same lines, I've wondered for a while whether it is possible to ship the shared libs w/ the package. Something we've touched on a while back on the mail list.

I looked into this, and do not think this is an option.

I'll still look into updating the headers.

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

Correction. I can make it work.

R CMD check still complains about shipping with binaries / libraries.

from rblpapi.

armstrtw avatar armstrtw commented on August 30, 2024

I can't imagine CRAN being too thrilled about that, so perhaps best to leave it for the user to install for now. Thoughts?

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

I have a working setup. We include a tar.gz and extract the library we need from configure.

That at least makes it self-contained. and makes it match library and headers.

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

I just sent you a PR. I suggest you do NOT immediately merge it but maybe check out the branch, build and test the package and we then take it from there.

It would easy to extend this ... and just shipt the unmodified tarball from Bloomberg. I cannot see them objecting to that. Whether the official R repos would ever take this is an entirely different story...

from rblpapi.

eddelbuettel avatar eddelbuettel commented on August 30, 2024

This can be closed too as we now embed the headers.

from rblpapi.

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.