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

Question: experience with bower on macos? #109

Closed
hgvhgv opened this issue Oct 31, 2022 · 7 comments
Closed

Question: experience with bower on macos? #109

hgvhgv opened this issue Oct 31, 2022 · 7 comments

Comments

@hgvhgv
Copy link

hgvhgv commented Oct 31, 2022

Does anyone have any experience building and using bower on macos? I'd like to give it a try, but I'm new to mercury and wanted to see if anyone has any tips before I build the mercury compiler. Thanks!

@wangp
Copy link
Owner

wangp commented Nov 3, 2022

Seems like homebrew has binary packages for Mercury, so you could try that.

@hgvhgv
Copy link
Author

hgvhgv commented Nov 3, 2022

Sorry, I certainly meant to check homebrew before asking this (and thought I had)! So sorry for the unnecessary ping. I got it all up and running pretty fast with only two small hiccups (recorded here in case others come looking):

  1. needed to put the homebrew version of ncurses libraries in my path (explained in the homebrew ncurses info)
  2. in the Makefile, @ln -L -f bower ../bower includes an option not on macos: ln -L. But it didn't seem necessary to me and worked fine to remove it.

Anyway, thanks for pointing out my mistake and for the software! I've very excited to dive in.

@hgvhgv hgvhgv closed this as completed Nov 3, 2022
@hgvhgv
Copy link
Author

hgvhgv commented Nov 4, 2022

Wow just want to say bower is so great, thanks so much. I've used many different notmuch fronts (alot, notmuch emacs, neomutt) and bower is just so clear, concise, and effective. Thanks!

@wangp
Copy link
Owner

wangp commented Nov 5, 2022

No problem, that's nice to hear.

Regarding the ln command, the -L option is there for the case when bower is a symlink to the real executable. This doesn't happen in the default configuration, but for development I have this in Mercury.params:

MCFLAGS+= --use-grade-subdirs

It appears the FreeBSD/macOS version of ln may follow symlinks by default?

@hgvhgv
Copy link
Author

hgvhgv commented Nov 7, 2022

Understood! I couldn't figure out why the executable wouldn't be in the main directory based on a quick skim. (Figuring out how core utils on macos differ from linux [and even sometimes current FreeBSD] is often a fun but impossible sidequest!)

Is there a better place (IRC, discord, otherwise) to ask basic questions about bower than the issue queue? I don't want to clog it with simple queries.

@wangp
Copy link
Owner

wangp commented Nov 9, 2022 via email

@hgvhgv
Copy link
Author

hgvhgv commented Nov 9, 2022

Thanks for email offer! I think Github Discussions could be good---it always seems like a good idea to keep answered questions public for later searchers. But maybe traffic here is low enough that you don't mind plain queries in the issue queue (certain maintainers seem to want it for real issues only, e.g., bug reports and workable feature proposals).

If you decide to open the Discussions, I'll ask my questions there; otherwise I'll open issues here.

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