gdl icon indicating copy to clipboard operation
gdl copied to clipboard

script "build_gdl.sh" not working on OSX 11.5 on M1 (Brew issue ?)

Open alaingdl opened this issue 3 years ago • 2 comments

We do spend a lot of time to try to compile current GDL git version and also PR #1278 on @Jeanne-jw laptop, a up-to-date Mac running Big Sur 11.5 with the script "build_gdl.sh". We are lost somewhere in the middle on the Brew mechanism.

The CMake way using packages already installed by Brew is not OK :

  • problem with Readline (READLINEDIR should be explicitly provided)
  • stupid problem as usual with python 2 & 3 :cry:
  • and more problematic : no graphics with plplot 5.15.0_3 provided by Brew) (with and without --no-use-wx)

Nevertheless at the end we succeed, after compiling with : cmake .. -DINTERACTIVE_GRAPHICS=OFF -DHDF=off -DOPENMP=off -DPYTHON=off -DX11=on -DPLPLOTDIR=/Users/alaingdl/GDL0103/PLplot/plplot-5.15.0/Compilation -DREADLINEDIR=/opt/homebrew/Cellar/readline/8.1.2/

Any feedback and advices are welcome.

A. & J.

alaingdl avatar Mar 01 '22 21:03 alaingdl

I suspect #1074 will have problems too. (#1074 is better hanging until a BigSur/M1 version is secured)

GillesDuvert avatar Mar 02 '22 09:03 GillesDuvert

I plan to purchase an M1 machine soon (in April I guess), after that I will try to solve this.

pjb7687 avatar Mar 02 '22 09:03 pjb7687

see #1510

GillesDuvert avatar Feb 21 '23 10:02 GillesDuvert