Comments (3)
🤖
Hey again, @leonsilicon! Great to see you back. Hope you're doing well.
The parse error you're encountering when running pkgx install freedesktop.org/cppunit
is likely due to the package not being listed in the package.json
file. The package.json
file in the pkgx repository currently only contains zlib.net^1.2
and python.org@latest
.
To resolve this error, you need to add freedesktop.org/cppunit
to the package.json
file. Here's how you can do it:
{
"pkgx": "zlib.net^1.2 python.org@latest freedesktop.org/cppunit"
}
After updating the package.json
file, you should be able to install freedesktop.org/cppunit
without encountering the parse error.
As for the functionality of the pkgx install
command, it is responsible for installing packages. It starts by resolving the dependency graph, gets the dependencies of each package in the input list, prepares the packages for installation, resolves the dependencies of the packages, installs and links the packages, and finally returns the installed packages and the environment. You can find more details about this in the src/prefab/install.ts file in the pkgx repository.
I hope this helps! If you have any other questions or need further clarification, feel free to ask.
Best,
Dosu
Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from pkgx.
Dupes #865
from pkgx.
$ pkgx install freedesktop.org/cppunit
pkgx: installed: ~/.local/bin/cppunit-config
pkgx: installed: ~/.local/bin/DllPlugInTester
$ rm ~/.local/bin/cppunit-config
$ rm ~/.local/bin/DllPlugInTester
#worksforme
to troubleshoot, can you paste in the contents of your
- Darwin: ~/Library/Application\ Support/pkgx/pantry/projects/freedesktop.org/cppunit/package.yml
- Linux: ~/.local/state/pkgx/pantry/projects/freedesktop.org/cppunit/package.yml
it should specifically match
distributable:
url: http://dev-www.libreoffice.org/src/cppunit-{{version}}.tar.gz
strip-components: 1
versions:
url: https://dev-www.libreoffice.org/src/cppunit/
match: /cppunit-\d+\.\d+\.\d+.tar.gz/
strip:
- /^cppunit-/
- /\.tar\.gz$/
build:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
linux/aarch64:
ARGS:
- --build=aarch64-unknown-linux-gnu
provides:
- bin/cppunit-config
- bin/DllPlugInTester
test: cppunit-config --version | grep {{version}}
exactly.
assuming it doesn't (though we'll be interested to see what it does contain), pkgx --sync
should refresh it.
from pkgx.
Related Issues (20)
- Can we get more scalable programs on PKGX? HOT 1
- `pkgx install` should overwrite existing versions HOT 2
- Pkgx sometimes "forgets" to provide a dependency? HOT 3
- `pkgx uninstall` fails if pantry is not downloaded yet HOT 1
- `pkgx install` does not expand programs templates HOT 1
- pipx error while loading shared libraries: libpython3.11.so.1.0 HOT 6
- Allow custom installation location HOT 1
- [dev] Feature Request: Support `packageManager` in `package.json`
- Command not found behavior, exit faster?
- warn: parse failure: valkey.io HOT 3
- Where is markdown blocks execition engine? HOT 14
- pkgx and systemd unit HOT 8
- Are you sure macOS x86-64 binaries in GitHub releases are x86-64? HOT 5
- `pkgx --sync` on `main` never finishes if the pantry repo was not updated in the last 24 hours HOT 6
- `pkgx --sync` on `main` takes around 1 minute while in `v1.1.6` takes 1 second HOT 1
- Need equivalent of brew search and brew list command
- Error when working offline HOT 6
- x509 certificate trust error in pkgx docker container HOT 4
- unexpected error error sending request...invalid peer certificate: UnknownIssuer HOT 3
- parse issue databricks.com HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgx.