Replies: 9 comments 9 replies
-
Hi, I just installed GDL from source on macOS Big Sur. This was the process I followed:
Note: If the 6th command says that some packages are not installed, they need to be installed (can be done through homebrew) and then re-run the 6th command.
Note: Some tests in command 8 may fail
Change to the name of the home folder on your Mac Then, add the following line to your .profile file:
Add the following line to your .profile,
Change to the name of the home folder on your mac |
Beta Was this translation helpful? Give feedback.
-
Thanks. We still have several important problems on Big Sur : readline, openmp are critical. |
Beta Was this translation helpful? Give feedback.
-
Is wxWidgets available? In the future releases of GDL wxWidgets will be preferred wrt X11. |
Beta Was this translation helpful? Give feedback.
-
Thanks. At that time, I have Big Sur on a remote server and the ssh -X is not OK |
Beta Was this translation helpful? Give feedback.
-
I succeed to compiled with
after installing along Brew : fftw, wxmac, readline, gsl, plplot, udunits, glpk, shapelib, hdf5, netcdf, eccodes but when launching GDL, I got 2 problems : 2/ large amount of messages (I suspect related to widgets) like that ./src/common/object.cpp(251): assert "classTable->Get(m_className) == NULL" failed in Register(): Class "wxTextEntryDialog" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)? |
Beta Was this translation helpful? Give feedback.
-
ha, yes sorry you are right, I will try ASAP with your fork. BUT I will be able to have outputs since my remote display with SSH is not working |
Beta Was this translation helpful? Give feedback.
-
fatal: unable to access 'https://github.com/Homebrew/brew/': Failed to connect to github.com port 443: Operation timed out |
Beta Was this translation helpful? Give feedback.
-
I solved the OpenMP problem by adding
before running CMake. FYI, see this commit which includes the changes that I have made to the CI script (.travis.yml): 5ae085f This also includes enabling libgeotiff and libx11. The build seems to work fine (https://travis-ci.com/github/gnudatalanguage/gdl/builds/216984505). |
Beta Was this translation helpful? Give feedback.
-
For what is worth, this is not on BigSur but Catalina, that I've installed in a VM, starting from scratch, installing homebrew and all the dependencies sucesfully as depicted in Travis.yml : So the travis.yml script is THE working full script, even if it 'looks' too travis-centered. I am as you have seen trying to simplify the GDL maintainance. There is IMHO need to replace the so-called minimal script of @alaingdl by the full-fledged 'travis' script, and have travis execute this full-fledged script, as we would maintain one and only one way to build GDL on mac. What do you think? |
Beta Was this translation helpful? Give feedback.
-
Following first report on GDL on OSX 11.1 here #873 (comment)
I made some progress but I had also a lot of problems :
What can be useful : X11 headers from Brew are in libx11
At the end, I succeed with :
Please note that I am working remotely on that machine, and up to now I did not succeed to switch on the X11 forwarding. (X11 forwarding request failed on channel 0). I do have solutions for all previous OSX versions from 10.6 to 10.14 ... (why do they change tricky details in those /etc/ssh files ?!)
Beta Was this translation helpful? Give feedback.
All reactions