Comments (8)
from lrose-core.
Substituting libaec for szip in the lrose-core.rb leads to build errors. We probably need to swap some library names as described here
https://github.com/erget/libaec/blob/cmake-install-instructions/README.SZIP
from lrose-core.
//Path to a library.
HDF5_C_LIBRARY_sz:FILEPATH=/usr/local/opt/szip/lib/libsz.dylib
//Path to a library.
HDF5_C_LIBRARY_z:FILEPATH=/usr/lib/libz.dylib
from lrose-core.
Tried building from source without libszip and it builds fine, except titan had some build errors. Building on older mac, with python2 installed.
Tried modifying the lrose-core.rb formula to remove the dependence on szip, worked alright, but error with python command in build scripts.
The python error is related to Apple removing the system python in macOS 12.3, https://stackoverflow.com/questions/60298514/how-to-reinstall-python2-from-homebrew.
Tried to make an alias python="python3", but this didn't seem to work when I was testing in CircleCI. I then tried to make a symlink for python to python3 and this finally seemed to work.
So, two issues here: szip no longer installed by brew, and MacOS not installing python2 any longer, but the lrose-core build scripts use python, which defaults to python2.
The fix to install lrose-core is to build from source, without libszip, and making a symlink for python to python3.
from lrose-core.
building from source causes this error when building the apps:
Makefile:6: /build/make_include/lrose_make_macros: No such file or directory
Makefile:34: /build/make_include/lrose_make_recursive_dir_targets: No such file or directory
make: *** No rule to make target `/build/make_include/lrose_make_recursive_dir_targets'. Stop.
from lrose-core.
It looks like we may have a working brew formula file with a few fixes in the python3 branch of lrose-core. Download and install the lrose-core.rb file from here:
https://github.com/NCAR/lrose-release-test/releases/tag/20220514
from lrose-core.
Hi @leavesntwigs,
I want to say that I installed lrose-core by using the above link. However, it doesn't recognize lrose command even after rebooting the Mac. I want to ask if I have to add any path variable?
from lrose-core.
This has been finally resolved in the latest cmake-based builds for the mac, using homebrew.
The szip library is no longer a dependency on the mac.
from lrose-core.
Related Issues (20)
- Radx2Grid: data not being censored HOT 1
- Request for a debian 11 build HOT 1
- rapmath/mathparse errors HOT 1
- Radx2Grid writing scaled data fields... option to unscale?
- conventions for azimuth angle for RHI scans HOT 4
- LROSE installation on Apple M1 machine HOT 2
- Build Error on HPC --user account
- CIDD segmentation fault running topaz binary on Ubuntu 20.04 LTS HOT 1
- Request for dsiplaying latitude and longitude values when clicking around on the radar image
- Perform build error -> make[1]: *** [libs/radar/src/CMakeFiles/radar.dir/all] Error 2 on CentOS 7 HOT 8
- RadxVol::applyTimeOffsetSecs disappeared from RadxVol.cc HOT 1
- RadxConvert writing NEXRAD site name backwards
- Implementation of CVD-friendly colormaps to HawkEye/HawkEdit
- Add interp options for reorder in Radx2Grid
- RadxConvert bug in apply georefs
- lrose CentOS 9
- error trying to run RadxQc HOT 2
- RadxConvert: incorrect site id when converting to NEXRAD msg format HOT 3
- RadxDealias: odd final behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lrose-core.