GithubHelp home page GithubHelp logo

Comments (5)

 avatar commented on May 24, 2024

The platform does not deliver the compilation symlink for a reason: this is not a supported interface. It also doesn't deliver the necessary headers, so it's unclear where apcusbd is getting that from. Do not build against any library in /usr/lib or /lib that lacks a compilation symlink; doing so may result in your applications failing at any time in the future. Instead, use pkgsrc or build your own copy.

libusb is not used by anything in the platform itself, so I'm using this ticket to remove it (the lack of headers and compilation links means it was never usable in the first place). I've opened a separate Joyent ticket, DATASET-426, to track the request for a usable libusb. Feel free to ping me if you have further questions.

from smartos-live.

 avatar commented on May 24, 2024

In trying to understand the correct solution to the broader problem, we need to know what the use case was here. Were you trying to use apcusbd in a zone? If so, how were you planning to have it obtain its input data from the UPS(es)? If you were trying to install it in the global zone, what features did you actually need from it?

from smartos-live.

enmand avatar enmand commented on May 24, 2024

It was quite some time ago that we had this issue, that I can't completely recall the information, but I'll give it a shot:

I believe we were attempting to run it in the global zone. I believe we were looking at the Solaris version of apcusbd to preform a "safe-shutdown" of the global zone.

from smartos-live.

 avatar commented on May 24, 2024

Ok, the conclusion is that this library should be removed; this isn't supported on SmartOS (nor Smart DataCenter), and using the pkgsrc version won't work because it's incompatible. The library itself was vestigial. If you need direct hardware connection to UPSs, your Joyent support rep can work with you to scope the feature and get it added to the roadmap.

from smartos-live.

 avatar commented on May 24, 2024

This has been removed in fa1dcf1.

from smartos-live.

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.