gnome-sharp-2.0 |
Как собирать monodevelop
configure help equery files |
# sed -n '4105,4135p' /var/tmp/portage/dev-util/monodevelop-6.0.0.4761/work/monodevelop-6.0/configure
platform_bindings=""
# Gnome platform addin
# Check whether --enable-gnomeplatform was given.
if test "${enable_gnomeplatform+set}" = set; then :
enableval=$enable_gnomeplatform; enable_gnomeplatform=${enableval}
else
enable_gnomeplatform=$default_gnomeplatform
fi
if test x$enable_gnomeplatform = xyes; then
if test x$gnome_sharp = xno; then
as_fn_error $? "Cannot enable GNOME platform without gnome-sharp-2.0" "$LINENO" 5
fi
if test x$gnome_vfs_sharp = xno; then
as_fn_error $? "Cannot enable GNOME platform without gnome-vfs-sharp-2.0" "$LINENO" 5
fi
if test x$gconf_sharp = xno; then
as_fn_error $? "Cannot enable GNOME platform without gconf-sharp-2.0" "$LINENO" 5
fi
platform_bindings="${platform_bindings}GNOME "
fi
if test x$enable_gnomeplatform = xyes; then
ENABLE_GNOMEPLATFORM_TRUE=
ENABLE_GNOMEPLATFORM_FALSE='#'
else
ENABLE_GNOMEPLATFORM_TRUE='#'
ENABLE_GNOMEPLATFORM_FALSE=
fi
Что за переменная такая
configure:3696: checking for GNOME_SHARP configure:3703: $PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" Package gnome-sharp-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-sharp-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-sharp-2.0' found configure:3706: $? = 1 configure:3720: $PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" Package gnome-sharp-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-sharp-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-sharp-2.0' found configure:3723: $? = 1 configure:3737: result: no No package 'gnome-sharp-2.0' foundКак проводятся эти проверки:
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_SHARP" >&5
$as_echo_n "checking for GNOME_SHARP... " >&6; }
if test -n "$GNOME_SHARP_CFLAGS"; then
pkg_cv_GNOME_SHARP_CFLAGS="$GNOME_SHARP_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GNOME_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$GNOME_SHARP_LIBS"; then
pkg_cv_GNOME_SHARP_LIBS="$GNOME_SHARP_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GNOME_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
else
GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GNOME_SHARP_PKG_ERRORS" >&5
gnome_sharp=no
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
gnome_sharp=no
else
GNOME_SHARP_CFLAGS=$pkg_cv_GNOME_SHARP_CFLAGS
GNOME_SHARP_LIBS=$pkg_cv_GNOME_SHARP_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
gnome_sharp=yes
fi
gnome-sharp-2.24.2-r2.ebuild Manifest metadata.xmlА в дереве?
gnome-sharp-2.24.2.ebuild gnome-sharp-2.24.2-r1.ebuild Manifest metadata.xml
[ebuild R ~] dev-dotnet/gnome-sharp-2.24.2-r2:2::dotnet USE="-debug -developer" 0 KiBВ чём разница между этими версиями ?
# cat /usr/lib64/pkgconfig/gnome-sharp-2.0.pc
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
gapidir=${prefix}/share/gapi-2.0
Name: Gnome#
Description: Gnome# - GNOME .NET Binding
Version: 2.24.2
Requires: gtk-sharp-2.0 art-sharp-2.0 gnome-vfs-sharp-2.0
Cflags: -I:${gapidir}/gnome-api.xml
Libs: -r:${libdir}/mono/gtk-sharp-2.0/gnome-sharp.dll
GNOMECANVAS_REQUIRED_VERSION=2.20.0
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
$as_echo_n "checking for GNOME... " >&6; }
if test -n "$GNOME_CFLAGS"; then
pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$GNOME_LIBS"; then
pkg_cv_GNOME_LIBS="$GNOME_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
else
GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GNOME_PKG_ERRORS" >&5
enable_gnome=no
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
enable_gnome=no
else
GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
GNOME_LIBS=$pkg_cv_GNOME_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
enable_gnome=yes
fi
* Contents of dev-dotnet/gnome-sharp-2.24.2-r3: /usr/lib64/pkgconfig/art-sharp-2.0.pc /usr/lib64/pkgconfig/gconf-sharp-2.0.pc /usr/lib64/pkgconfig/gconf-sharp-peditors-2.0.pc /usr/lib64/pkgconfig/gnome-sharp-2.0.pc /usr/lib64/pkgconfig/gnome-vfs-sharp-2.0.pcно как работает ./configure этого пакета - осталось загадкой
gnomeui-2 SM ICE bonoboui-2 gnome-2 popt bonobo-2 bonobo-activation ORBit-2 gnomecanvas-2 art_lgpl_2 gnomevfs-2 gconf-2 gthread-2.0 gmodule-2.0 gtk-x11-2.0 gdk-x11-2.0 pangocairo-1.0 atk-1.0 cairo gdk_pixbuf-2.0 gio-2.0 pangoft2-1.0 pango-1.0 gobject-2.0 fontconfig freetype gmodule-2.0 glib-2.0выяснить какими пакетами ставится каждая из этих библиотек (ну или хотя бы проверить, что они установлены, если ошибка повторится)