Comments (8)
I am going to close here for now due to the lack of feedback. Please let us know when you have more information and we can consider to reopen.
from castor.
Unfortunately, this is not something we can fix in castor. I'm sorry, but you have to update cmake on your computer. Your try to ask on stack overflow instead
from castor.
Hi @arnolem we implemented a way to use a specific version of spc, it should resolve your issue with the cmake version (since it don't use nightly by default, and you can use an older version also)
from castor.
Hi @arnolem. This has been fixed in 058043a. Could you try to rebuild the static:
- with the latest build from main (for example https://github.com/jolicode/castor/actions/runs/8566555401)?
- if you changed the PHP extensions when building the static binary, you need to include the filter ext that is now required
from castor.
Hello,
I installed this commit
{
"require": {
"jolicode/castor": "dev-main#058043a"
}
}
I followed this
vendor/bin/castor repack --app-name=wixi --app-version=1.3.0
vendor/bin/castor compile wixi.linux.phar
mv wixi.linux.x86_64 wixi
./wixi completion --help
/projets/pere-castor/wixi completion bash | sudo tee /etc/bash_completion.d/wixi
Same problem :
from castor.
{
"require": {
"jolicode/castor": "dev-main#87517f1"
}
}
vendor/bin/castor compile wixi.linux.phar
Error on Ubuntu 20.04 (cmake version 3.16.3). I don't know how to update simply, I'm at maximum for this OS
Running command: '/root/.cache/castor/castor-php-static-compiler/3ea5ebf8e331d4cba61dc07df99856d17b3d1a644e693d71b91374150b57abcd/spc' 'doctor' '--auto-fix'
_ _ _ _
___| |_ __ _| |_(_) ___ _ __ | |__ _ __
/ __| __/ _` | __| |/ __|____| '_ \| '_ \| '_ \
\__ \ || (_| | |_| | (_|_____| |_) | | | | |_) |
|___/\__\__,_|\__|_|\___| | .__/|_| |_| .__/ v2.2.0
|_| |_|
Checking if current OS are supported ... Linux x86_64 ubuntu, supported
Checking if necessary tools are installed ... ok
Checking if musl-wrapper is installed ... ok
Checking if musl-cross-make is installed ... ok
Checking if cmake version >= 3.18 ... cmake version is too low (3.16.3), please update it manually!
Some check items can not be fixed !
from castor.
I understand, I wasn't asking for support on installing cmake.
This was just to warn that this commit breaks backwards compatibility and risks generating frustration and support.
I will compile another version of cmake π
from castor.
Thanks π€©
It works really well for me!
for those who have the same problem :
{
"require": {
"jolicode/castor": "dev-main#d8fd791"
}
}
vendor/bin/castor compile wixi.linux.phar --spc-version 2.1.0
π
from castor.
Related Issues (20)
- Remote packages must be repacked too
- Problem with `vsc` import and Github API Limit HOT 1
- Specifying path for box executable in RepackCommand HOT 4
- Unable to load an HTTPS URL with static binary HOT 9
- Make `BeforeBootEvent` non-internal ? HOT 4
- Using .env files with phar file HOT 4
- `notify` context is not super clear about expected behavior HOT 1
- How can I change the terminal working directory ? HOT 5
- `fingerprint` unexpected behavior when file has changed after the command run HOT 5
- [dev-main] Error : Castor\Console\Command\TaskCommand::__construct(): Argument #2 ($expressionLanguage) must be of type Castor\ExpressionLanguage HOT 10
- Variadic argument or array HOT 2
- Broken `--install-dir` option HOT 5
- Allow an extension / plugin to register variables into context HOT 3
- `castor composer init` bad defaults
- Completion command does not work when an update is available HOT 1
- Bad βvendorβ folder embedded in .phar throws an error "Class not found" HOT 6
- Error on compiling application into a static binary HOT 2
- Run remote task HOT 1
- Async process progress indicator HOT 2
- Questions about maybe some improvements ? HOT 2
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 castor.