ruffle-rs / homebrew-ruffle Goto Github PK
View Code? Open in Web Editor NEWHomebrew tap for `ruffle` Flash emulator
Home Page: https://github.com/ruffle-rs/ruffle#homebrew
Homebrew tap for `ruffle` Flash emulator
Home Page: https://github.com/ruffle-rs/ruffle#homebrew
I've tried to install Ruffle through Homebrew:
brew install --HEAD ruffle-rs/ruffle/ruffle
but during execution of cargo build --package=ruffle_desktop
I get the following output:
Compiling dirs v5.0.1 Compiling os_info v3.7.0 Compiling sys-locale v0.3.1 error: linking with
cc` failed: exit status: 1
= note: /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /tmp/ruffle-20240112-38966-x89ddt/target/debug/deps/libcurl_sys-7febe95ed6fa6e9f.rlib(openssl.o): in function ossl_connect_step2': /home/benjamen/.cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.70+curl-8.5.0/curl/lib/vtls/openssl.c:3994:(.text.ossl_connect_step2+0x638): undefined reference to
SSL_get0_group_name'
collect2: error: ld returned 1 exit status
= note: some extern
functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l
flag to specify native libraries to link
= note: use the cargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile ruffle_desktop
(bin "ruffle_desktop") due to previous error
`
I tried to install openssl from Homebrew and also tried to modify the makefile at ~/cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.70+curl-8.5.0/curl/lib
to include -libcrypto and -libssl but to no success.
It seems like the installation process doesn't recognise the openssl libraries that are installed in the system.
Are there any clues as to how to solve this problem?
I do not have much experience with how homebrew works, but I got this error in my terminal that might be something that can be addressed.
Cloning into '/opt/homebrew/Library/Taps/ruffle-rs/homebrew-ruffle'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 43 (delta 10), reused 37 (delta 8), pack-reused 0
Receiving objects: 100% (43/43), 6.19 KiB | 6.19 MiB/s, done.
Resolving deltas: 100% (10/10), done.
Tapped 1 formula (14 files, 13KB).
Error: ruffle-rs/ruffle/ruffle is a head-only formula.
To install it, run:
brew install --HEAD ruffle-rs/ruffle/ruffle
Given this, I'm unsure if the installation formula should change or if something should be configured to this brew.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.