fox0430 / moe

A command line based editor inspired by Vim. Written in Nim.
https://editor.moe
GNU General Public License v3.0
648 stars 34 forks source link

Can't get it to run on macOS iTerm 2 #2146

Open raguay opened 3 weeks ago

raguay commented 3 weeks ago

Version

Once installed, I tried to run it and I get "could not import: init_extended_color". It never runs.

Environment

macOS 14.6.1 (23G93) iTerm 2 Build 3.5.4beta2

Category

Major — The software does not fulfill the task it is designed for.

Steps to Reproduce

  1. run the program
  2. The error will happen

Detailed Description

No response

fox0430 commented 3 weeks ago

@raguay

Thank you for your interest in this project.

First, I don't use macOS. so I can't test it and I need more details.

  1. What $TERM ENV are you using?
  2. Did you run the editor on a terminal multiplexer?
  3. What version of Ncurses are you using? This may be because it's an older version.
raguay commented 3 weeks ago

On Thu, Aug 22, 2024 at 8:57 PM Shuu @.***> wrote:

@raguay https://github.com/raguay

Thank you for your interest in this project.

First, I don't use macOS. so I can't test it and I need more details.

  1. What $TERM ENV are you using?

xterm-256color

  1. Did you run the editor on a terminal multiplexer?

No

  1. What version of Ncurses are you using? This may be because it's an older version.

nimble install moe@#head in zsh at 22:10:17 Downloading https://github.com/fox0430/moe using git Verifying dependencies for @. Info: Dependency on ncurses@>= 1.0.2 already satisfied Verifying dependencies for @. Info: Dependency on unicodedb@>= 0.12.0 already satisfied Verifying dependencies for @. Info: Dependency on parsetoml@>= 0.7.1 already satisfied Verifying dependencies for @. Info: Dependency on regex@>= 0.25.0 already satisfied Verifying dependencies for @. Info: Dependency on unicodedb@>= 0.7.2 already satisfied Verifying dependencies for @. Info: Dependency on results@>= 0.4.0 already satisfied Verifying dependencies for @. Info: Dependency on jsony@>= 1.1.5 already satisfied Verifying dependencies for @. Installing @.*** Building moe/moe using c backend ld: warning: ignoring duplicate libraries: '-lm' Warning: Symlink already exists in /Users/raguay/.nimble/bin/moe. Replacing. Success: moe installed successfully.

— Reply to this email directly, view it on GitHub https://github.com/fox0430/moe/issues/2146#issuecomment-2304742795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7JR5WZGGLQHC3MAXBB33ZSXU45AVCNFSM6AAAAABM5I5CBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBUG42DENZZGU . You are receiving this because you were mentioned.Message ID: @.***>

fox0430 commented 3 weeks ago

@raguay

nim-ncurses is a just wrapper installed by nimble. Ncurses is a system library. I need Ncurses version. Probably this on macOS.

raguay commented 2 weeks ago

ncurses is 6.5

On Sat, Aug 24, 2024 at 10:20 PM Shuu @.***> wrote:

@raguay https://github.com/raguay

nim-ncurses is a just wrapper by installed nimble. Ncurses is a system library. I need Ncurses version. Probably this https://formulae.brew.sh/formula/ncurses on macOS.

— Reply to this email directly, view it on GitHub https://github.com/fox0430/moe/issues/2146#issuecomment-2308428474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7JR4DPQHINMKLRIIQBI3ZTCQDRAVCNFSM6AAAAABM5I5CBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQZDQNBXGQ . You are receiving this because you were mentioned.Message ID: @.***>

fox0430 commented 2 weeks ago

@raguay

Hmm... It should be working... Your Ncurses version is fine, but Ncurses may not have been built with --enable-ext-colors enabled.