On Tue, 12 Mar 2024, Mike Kilmer wrote:

With you and Chris' help, got Pike 9!

Congrats.

Needed to also manually add  -lmpfr.

I hadn't noticed that the missing set of symbols was different after adding -lgmp flag manually.

[...]

Additionally, tried installing gnu-sed and running with that instead of native 
osX version and get a different sed error when running `make linker_options`:

sed: -e expression #1, char 332: unknown option to `s'
echo /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a  > 
linker_options

As opposed to native which gets:

sed: 1: "s@-L/usr/local/opt/ruby ...": bad flag in substitute command: '@'
echo /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a  > 
linker_options

The above are probably just two different ways to report the same error.

It looks like the above it output for the Makefile command:

@linkopts="`pwd`/module.a `echo '$(MODULE_LDFLAGS)' | sed -e 's@$(BASE_LDFLAGS)@@'`"; \
...

I suspect that there is an '@' in the definition of MODULE_LDFLAGS
at the beginning of .../modules/Gmp/Makefile in your build tree.

        /grubba

--
Henrik Grubbström                                       gru...@grubba.org
Roxen Internet Software AB                              gru...@roxen.com

Reply via email to