-
Notifications
You must be signed in to change notification settings - Fork 57
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
Pkg.test("Cairo") fails for me #148
Comments
I just ran into this myself. A |
I also have the problem "ERROR: LoadError: UndefVarError: _jl_libcairo not defined". OP reports from Mac, I am on Linux. I have done Pkg.checkout("Cairo") followed by Pkg.build("Cairo"), but no difference. The suggestion in #149 to remove Cairo installed in my system would be severe requiring ~600 other applications to be removed. I believe this issue may be responsible for the failure to test of ImageView which @timholy tried to help me with in julia-users. Using:
|
Is there a file at |
File /home/colin/.julia/v0.6/Cairo/deps/deps.jl says:
I have been checking file Cairo/deps/build.jl, and note that section "System Package Managers" contains a reference to Zypper, but previous experience has indicated that the earlier reference to an existing but truncated AptGet might get preference on my system. If I were to move the Zypper entry to precede the AptGet would that ensure that AptGet entry would be ignored? I have also been checking the format of the deps aliases for minor differences but all looks ok so far. |
For comparison, on mine the crucial section looks like this:
|
What is |
Edit: as a side note, calling |
Okay then that old issue with BinDeps thinking opensuse has apt-get should be resolved. If you comment out Lines 75 to 84 in 18c5638
Pkg.build("Cairo") , it should build a local copy from source.
|
OK so did the following: |
I did not say to Pkg.rm. That probably removed the modifications to the build script. |
Oh dear then that is very strange. I go back to my cached Cairo files and find that the modifications I made are still in place. I will start again. |
Nope, can't seem to get it. Wiped all traces of Cairo from julia and added it back, . Modified the build.jl file and rebuilt. Still the same error. Changed from block comment to series of single line comments to see if I had the block comment wrong but no I had it right (and build complained once when I had the syntax wrong, so we are looking at the same file), build is fine (and goes very quickly) but test still not cooperating. |
alright then it sounds like this requires trying to debug why bindeps isn't writing any results. I don't have many great suggestions for how to go about that other than adding a bunch of |
@tkelman I found the output from the BinDeps.debug("Cairo") quite interesting.
|
Since they're part of a library group, they're supposed to all be provided from the same provider category. |
+1 This was still an issue for me today. The solution was to
|
Since build is passing, I must be doing something wrong. Help please!
versioninfo()
:The text was updated successfully, but these errors were encountered: