Giter Club home page Giter Club logo

Comments (7)

htrb avatar htrb commented on August 10, 2024

残念ながら下記の通り現象を再現できませんでした。
gtk-mac-integration-gtk3 のところでエラーになっているようですが、
gtk-mac-integration-gtk は正しくインストールされているでしょうか(依存関係により自動でインストールされるはずですが)。
あとは自前でソースからビルドしてみるともう少し詳しいことがわかるかもしれません。

$ brew install ngraph-gtk
==> Fetching htrb/tap/ngraph-gtk
==> Cloning https://github.com/htrb/ngraph-gtk.git
Updating /Users/username/Library/Caches/Homebrew/ngraph-gtk--git
==> Checking out tag v6.09.07
HEAD is now at cd54b976 * snapcraft.yaml: version 6.09.07 release.
HEAD is now at cd54b976 * snapcraft.yaml: version 6.09.07 release.
==> Installing ngraph-gtk from htrb/tap
==> autoreconf -if
==> ./configure --prefix=/opt/homebrew/Cellar/ngraph-gtk/6.09.07 --libdir=/opt/homebrew/Cellar/ngraph-gtk/6.09.07/lib
==> make
==> make ja.gmo
==> make install
🍺  /opt/homebrew/Cellar/ngraph-gtk/6.09.07: 177 files, 8.4MB, built in 36 seconds
==> Running `brew cleanup ngraph-gtk`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
$ system_profiler SPSoftwareDataType|grep Version
      System Version: macOS 13.3.1 (22E261)
      Kernel Version: Darwin 22.4.0
$ system_profiler SPHardwareDataType|grep Chip
      Chip: Apple M1

from ngraph-gtk.

userm05 avatar userm05 commented on August 10, 2024

gtk-mac-integration-gtk がインストールされていることの確認はどこからできるでしょうか?

from ngraph-gtk.

htrb avatar htrb commented on August 10, 2024

$ brew list
でインストールされている formulae と casks の一覧が表示されるようです。
その他 Homebrew の使い方については公式ページなどを参照してください。
https://brew.sh/index_ja
なおパッケージ名は gtk-mac-integration でした。

from ngraph-gtk.

userm05 avatar userm05 commented on August 10, 2024

確認したところ,gtk-mac-integration はインストール済みでした.

from ngraph-gtk.

daisukekushida avatar daisukekushida commented on August 10, 2024

こんにちは.
私も同様の症状が出ています.
クリーンインストールしたmac(M1 pro)において,brewを使っても手動でコンパイルをしても./configureのところで同様のエラーとなります.
macOS: Ventura 13.3.1

クリーンインストール直後にbrewをインストールし,
$ brew tap htrb/tap
$ brew install ngraph-gtk
とすると,依存関係のパッケージがインストールされますが,./configureで

==> ./configure --prefix=/opt/homebrew/Cellar/ngraph-gtk/6.09.07 --libdir=/opt/homebrew/Cellar/ngraph-gtk/6.09.07/lib
Last 15 lines from /Users/kushida/Library/Logs/Homebrew/ngraph-gtk/02.configure:
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking version script options... 
checking for native Win32... no
checking for native OSX... ./configure: line 4224: syntax error near unexpected token `MAC_INTEGRATION,'
./configure: line 4224: `    PKG_CHECK_MODULES(MAC_INTEGRATION, gtk-mac-integration-gtk3)'

となります.当然ながら「gtk-mac-integration」はbrew listで確認すると入っています.
以前Ventura(たぶん,13.1か13.2の頃)で実施した際はエラーは出ず上手くいっていました.
unexpected tokenなので問題の特定が難しく,解決への心当りがあればお知恵を拝借したいです.

ちなみに http://hito.music.coocan.jp/ngraph/ngraph-gtk.html に用意されているarm64版のバイナリーも13.3.1では実行できません(「"ngraph-gtk"は壊れているため開けません。ゴミ箱に入れる必要があります。」となり,ゴミ箱行きかキャンセルしか選択できません).

ついでにソースコードをダウンロードしていた際に気付きましたが,「Source code(tar.gz)」と「Source code(zip)」は「po/ja.po」の9行目,「po/ngraph-gtk.pot」は9行目および11行目が間違ったままになっていますが,これはこれで良いのでしょうか?

from ngraph-gtk.

htrb avatar htrb commented on August 10, 2024

ご報告ありがとうございます。
Homebrew を削除してからインストールし直したところ症状を再現できました。
原因は pkg-config パッケージがインストールされないためでした。
pkg-config に依存するように formula を修正しましたので今はインストールできるようになっているはずです(手元では確認済み)。
お試しください。

from ngraph-gtk.

userm05 avatar userm05 commented on August 10, 2024

無事インストールする事ができました.
ご対応のほど,ありがとうございました.

from ngraph-gtk.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.