monotools-server、gtk+、pangoの構築 - 奇妙なパスの問題

monotools-server、gtk+、pangoの構築 - 奇妙なパスの問題

ソースからmonotools-serverアプリケーションを構築しようとしています。後ろに欠落している依存関係を見つけて(そして欠落しているテストプロジェクトへの参照を削除するために生成された依存xsp関係を手動で修正する必要がある場合(1年前に報告されたバグ)、gtk + -2.24に変更しました。MakefileMono.Data.SqliteClient.dll

gtk+ に対して ./configure スクリプトを実行すると、不足しているパッケージがさらに表示されます。

configure: error: Package requirements (glib-2.0 >= 2.27.3    atk >= 1.29.2    pango >= 1.20    cairo >= 1.6    gdk-pixbuf-2.0 >= 2.21.0) were not met:

No package 'atk' found
No package 'pango' found
No package 'cairo' found
No package 'gdk-pixbuf-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

わかりました、わかりましたので、私はpango 1.28.4をダウンロードしました。configureスクリプト

./configure --prefix=$HOME

うまく実行され、複数のmakeファイルと.pcファイルが生成されます。

を実行するとmakeエラーが発生します。

[slively@gpu1 pango-1.28.4]$ make
make  all-recursive
make[1]: Entering directory `/lustre/users/slively/download/pango-1.28.4'
Making all in pango
make[2]: Entering directory `/lustre/users/slively/download/pango-1.28.4/pango'
  GEN    s-enum-types-h
/bin/sh: line 1: ..//users/slively/lib/pkgconfig/./gobject/glib-mkenums: No such file or directory
make[2]: *** [s-enum-types-h] Error 127
make[2]: Leaving directory `/lustre/users/slively/download/pango-1.28.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lustre/users/slively/download/pango-1.28.4'
make: *** [all] Error 2
[slively@gpu1 pango-1.28.4]$ 

私にいくつかのことが目立った。

まず、エラー:

bin/sh: line 1: ..//users/slively/lib/pkgconfig/./gobject/glib-mkenums: No such file or directory

この道はどうなりましたか? !..//users/slively/lib/pkgconfig/./gobject/glib-mkenums..//パスの先頭(どこにあるべきか)の奇妙な点に加えて、ホーム/users/slively/...ディレクトリを検索してgobject次のことを見つけました。

[slively@gpu1 ~]$ find . -name gobject*
./bin/gobject-query
./include/glib-2.0/gobject
./include/glib-2.0/gobject/gobject.h
./include/glib-2.0/gobject/gobjectnotifyqueue.c
./share/man/man1/gobject-query.1
./share/glib-2.0/gdb/gobject.py
./share/gtk-doc/html/gobject
./share/gtk-doc/html/gobject/gobject-Boxed-Types.html
./share/gtk-doc/html/gobject/gobject-Closures.html
./share/gtk-doc/html/gobject/gobject.devhelp
./share/gtk-doc/html/gobject/gobject.devhelp2
./share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html
./share/gtk-doc/html/gobject/gobject-Generic-values.html
./share/gtk-doc/html/gobject/gobject-GParamSpec.html
./share/gtk-doc/html/gobject/gobject-memory.html
./share/gtk-doc/html/gobject/gobject-properties.html
./share/gtk-doc/html/gobject/gobject-query.html
./share/gtk-doc/html/gobject/gobject-Signals.html
./share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html
./share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html
./share/gtk-doc/html/gobject/gobject-Type-Information.html
./share/gtk-doc/html/gobject/gobject-Value-arrays.html
./share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html
./lib/pkgconfig/gobject-2.0.pc
./lib/pkgconfig/gobject-2.0-uninstalled.pc
[slively@gpu1 ~]$ 

そして唯一のインスタンスはglib-mkenums私がglibを構築した~/binダウンロードフォルダにあります。

[slively@gpu1 ~]$ find . -name glib-mkenums
./bin/glib-mkenums
./download/glib-2.28.6/gobject/glib-mkenums
[slively@gpu1 ~]$ 

私がここで何を見逃しているのでしょうか? Windowsで私の好きなことの1つは、インストール=「同意するにはクリックしてください」です。

助ける。

ベストアンサー1

私も同様の問題を経験し、長い時間の研究の終わりに非常に簡単な解決策を見つけました。ローカルpkgconfigディレクトリからすべての* uninstalled.pcファイルを削除しました。それがあなたにも効果があることを願っています。

おすすめ記事