Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The install script is interfering with other installs on macOS #105

Open
xqft opened this issue Aug 1, 2023 · 1 comment
Open

The install script is interfering with other installs on macOS #105

xqft opened this issue Aug 1, 2023 · 1 comment

Comments

@xqft
Copy link
Contributor

xqft commented Aug 1, 2023

I found that having cairo-lang installed with the project's install script was interfering with another install made by the commands that starknet_in_rust`s makefile run for compiling contracts and executing tests, making compilation fail and me unable to run tests.

Uninstalling cairo-lang with brew and removing the CARGO_MANIFEST_DIR var from my env solved the problem. I didn't investigate it yet but the problem may be in the env variable.

@Cevedale
Copy link

Cevedale commented Nov 8, 2023

You had a problem with the installation of "cairo-lang" that was interfering with your "starknet_in_rust" project, causing errors during compilation and testing. The temporary solution was to uninstall "cairo-lang" and remove the "CARGO_MANIFEST_DIR" environment variable.
I'll write some possible issues that caused this problem:
Check if the "CARGO_MANIFEST_DIR" variable is set correctly and not causing conflicts.
Examine the dependencies and build tools of your "starknet_in_rust" project to ensure there are no conflicts with "cairo-lang."
Try to pinpoint the exact source of the conflict by uninstalling "cairo-lang" and checking if the problem persists.
If the issue continues, you might seek help from the online communities of the involved projects.
Check if both projects are up to date with the latest versions.
Verify system and dependency compatibility.
If "brew" is causing conflicts with "cairo-lang," consider using an alternative package manager or building "cairo-lang" from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants