Closed motobob closed 2 years ago
Hi @motobob looks like you are trying to build an older version of piqi? Can I suggest switching to the latest one and follow installation instructions here: https://github.com/alavrik/piqi#installation
Also, I don't think this repo is the right one for reporting build/install issues. https://github.com/alavrik/piqi would be a better place.
yeah, that was v0.6.13. checking out latest and will report updates.
Also, I don't think this repo is the right one for reporting build/install issues. https://github.com/alavrik/piqi would be a better place.
Agree. will move if couple further iterations will not help.
@alavrik sorry for delay. cc @akontsevoy
with latest version we get:
(alps) (21.3.8.21)AL-CAR-09855:piqi ebob$ make
set -e; \
for dir in piqilib src; do \
/Library/Developer/CommandLineTools/usr/bin/make -C $dir ; \
done
make[2]: `libpiqilib_stubs.a' is up to date.
ocamlfind ocamlopt -package easy-format,xmlm,base64,sedlex,sedlex.ppx -c piqi_version.ml
ocamlfind: Package `easy-format' not found
make[2]: *** [piqi_version.cmi] Error 2
make[1]: *** [native-code-library] Error 2
make: *** [dirs] Error 2
can you advise what could be the fix for that to build piqi for Darwin-arm64
?
@motobob this output doesn't appear to be a new build. Also looks like one of the dependencies is missing in your environment. Can you git clean -fdx and run through the following the build instructions including the dependency installation: https://github.com/alavrik/piqi/blob/master/INSTALL ?
@motobob I was able to compile the piqi binary and our service using the instructions in the piqi INSTALL file and usual dev setup. The piqi repo tests passed. I have not had a chance to run service tests with it yet and I'm not expert in making sure that the binary is portable for all M1 macs. I used otool -L to verify that there was only the one reference to a system dynamic library. Is there anything beyond running service tests that you want to verify with this?
cc @akontsevoy @kkuzmin issues with building a
piqi-binary
forDarwin-arm64
needed for latest Mac M1 chips laptops. https://github.com/alavrik/piqi-binaryIssue for tracking only @alavrik , PRs to come soon when a solution is found.