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

Can't compile ponyc on Fedora 26 #2046

Closed
macropas opened this issue Jul 15, 2017 · 7 comments
Closed

Can't compile ponyc on Fedora 26 #2046

macropas opened this issue Jul 15, 2017 · 7 comments

Comments

@macropas
Copy link
Contributor

macropas commented Jul 15, 2017

[johndoe@devhost ponyc]$ sudo dnf install llvm make ncurses openssl pcre2 zlib
[sudo] password for johndoe:  
Package llvm-4.0.0-2.fc26.x86_64 is already installed, skipping.
Package make-1:4.2.1-2.fc26.x86_64 is already installed, skipping.
Package ncurses-6.0-8.20170212.fc26.x86_64 is already installed, skipping.
Package openssl-1:1.1.0f-4.fc26.x86_64 is already installed, skipping.
Package pcre2-10.23-8.fc26.x86_64 is already installed, skipping.
Package zlib-1.2.11-2.fc26.x86_64 is already installed, skipping.
Package zlib-1.2.11-2.fc26.i686 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
[johndoe@devhost ponyc]$ cd ~/ponyc/
[johndoe@devhost ponyc]$ make
Makefile:213: *** No LLVM installation found!.  Stop.
[johndoe@devhost ponyc]$ 
@jemc
Copy link
Member

jemc commented Jul 15, 2017

@macropas - unfortunately, we're not yet compatible with LLVM 4.0 - that work is ongoing (see #1592).

You'll have to download an older version of LLVM (3.9 should be fine), and make sure that is available on your path. You can hit the subscribe button on #1592 if you want to be notified when that work is complete.

Thank you for your interest in Pony!

@SeanTAllen
Copy link
Member

I'm closing this in favor of #1592.

@macropas
Copy link
Contributor Author

unfortunately the same problem on Fedora 25 with llvm-3.9.1-3

@SeanTAllen
Copy link
Member

@macropas if you check on line 213 of the Makefile you will see how we determine what LLVM is installed. Apparently that doesn't work for however Fedora is installing LLVM. llvm-config isn't anywhere in your PATH (nor any variation thereof). If you can figure it out and do a PR to update the install from source instructions in README.md, that would be appreciated. Feel free to open an issue specific to Fedora 25 not installing LLVM in a fashion where we are able to detect its existence.

@macropas
Copy link
Contributor Author

@SeanTAllen I have found the solution for Fedora 25:

sudo dnf install git gcc-c++ make openssl-devel pcre2-devel zlib-devel llvm-devel ncurses-devel

@SeanTAllen
Copy link
Member

@macropas can you open a PR that updates the "build from source" instructions to include Fedora 25?

@macropas
Copy link
Contributor Author

@SeanTAllen
OK, I will try :)

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

3 participants