-
Notifications
You must be signed in to change notification settings - Fork 24
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
fltkhs-0.2.0.0 does not compile because of undeclared dependencies #16
Comments
Another undeclared system dependency is on the |
Last but not least, the build tries to link |
Finally, after all those issues have been fixed, I run into lots and lots of link errors, complaining about missing symbols like |
Hi, There are two build systems in the project, a Make based one for building the C++ bindings and a Cabal one for Haskell. With regards to your specific issues:
It sounds like if you're having all these problems the What happens if you just try and install in the traditional way outside of a NixOS environment? |
Checking for the existence of
No, the configure/make part of the build runs. See http://pastebin.com/b1iqmL1L for a complete build log.
I don't know. Since I work on NixOS only, I can't easily run these builds outside of a NixOS environment. |
Hi, I'd like to play with fltkhs at Compose conference. Would it be possible to resolve this issue before then? Thanks! |
I can try. I'll add those libraries to the Cabal file but I know nothing about Nix. If I start a branch, are you able to test for me? |
@deech Hey, sorry - I lost track of your reply. Yeah, I can test it out for you. |
Just tried building again. Here's the updated log: http://sprunge.us/Njgf |
(That was with version 0.4.0.0) |
If it helps, here's the
|
It looks like when |
Thanks for the feedback. I added the Unfortunately I'm in the throes of prepping for my talk on Friday. Do you have a non-Nix environment you can use for the time being? Can we talk about it for a bit after the talk? My knowledge of Nix is approximately 0. |
Can we add a @peti also, to avoid
correct? I don't know how deeply cabal2nix can support flags/conditionals. |
|
can we hide it behind a condition on the bundled flag?
…On Jan 12, 2018 4:49 PM, "deech" ***@***.***> wrote:
fltk-config is not added as a build tool because in the case of the bundled
install
<https://hackage.haskell.org/package/fltkhs-0.5.4.3/docs/Graphics-UI-FLTK-LowLevel-FLTKHS.html#g:5>
(which I really want to support) it isn't available until after the preConf
hook <https://github.com/deech/fltkhs/blob/master/Setup.hs#L100>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACNoMcBhrJpTZFa5IXaPt8CKZt3kC50mks5tJ_2YgaJpZM4GL8op>
.
|
e.g.
|
I just updated the Nix branch to add
On Windows and OSX it links libraries specific to the platform. In the case that the I tried to include
|
thanks! i'll try to port some of the build logic to nix. since nix doesn't support windows, and since i don't have a mac to test, (and honestly, since i'm new to nix myself), i'll just try to get something working on linux. one existing nix-ified package seems to be using fltk-config: |
also, do you know if fltk-1.3.4 works with fltkhs? (the bundled version seems to be fltk-1.3.4.1, and idk if they're the same). when you install fltk via nix on the unstable channel:
you get
by default. so for the non-bundled build, i'm gonna try to use that, since it works and is cached. |
Great! Appreciate the help. If you can link me to the Nix source of |
The
fltkhs-0.2.0.0
build depends onfltk-config
(or rather: the system package that provides this tool), but this dependency is not declared in the Cabal file, hence NixOS will not provide that package in the build environment, causing the build to fail. Also, the build seems to depend onautoconf
(why?), which is also not declared.The text was updated successfully, but these errors were encountered: