Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build from source on Mac OS X #51

Closed
abailly opened this issue Jan 3, 2023 · 5 comments
Closed

Fail to build from source on Mac OS X #51

abailly opened this issue Jan 3, 2023 · 5 comments

Comments

@abailly
Copy link

abailly commented Jan 3, 2023

I am trying to build pforth from source on Mac OS X (Monterey 12.2.1) and it fails at ./configure step with:

 % ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether ln -s works... yes
checking for latexmk... /Library/TeX/texbin/latexmk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for bee... /usr/local/bin/bee
checking for bee-as... no
configure: error: Could not find Bee as

I successfully installed bee v1.0 (https://github.com/rrthomas/bee/releases/tag/v1.0) but cannot install it from source (see rrthomas/bee#18)

@abailly
Copy link
Author

abailly commented Jan 5, 2023

After fixing m4 version I was able to install the latest and greatest bee but then now I have:

...
checking for bee... /usr/local/bin/bee
configure: error: /usr/local/bin/bee does not work!

This is odd 🤔

@rrthomas
Copy link
Owner

rrthomas commented Jan 5, 2023

For pForth, bee version 1 is required (as documented in README.md).

The other problem you have is that the build system currently requires a Bee-capable fork of binutils (hence the failed search for Bee as). I will see if I can make this optional.

@rrthomas
Copy link
Owner

rrthomas commented Jan 6, 2023

I have pushed a change to configure.ac that makes the use of binutils optional. Let me know if that fixes your problem, please!

@rrthomas
Copy link
Owner

rrthomas commented Jan 7, 2023

Now passing on AppVeyor on macos, so closing this issue.

@rrthomas rrthomas closed this as completed Jan 7, 2023
@abailly
Copy link
Author

abailly commented Jan 7, 2023

My bad, I did not check the version in the README :( After installing bee version 1.0, I was able to ./configure && make && make install. Thanks for caring to look at this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants