ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как обмануть configure?
@ 2005-03-10 23:26 Arioch
  2005-03-11  6:23 ` Andrew Borodin
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Arioch @ 2005-03-10 23:26 UTC (permalink / raw)
  To: community

Захотел попробовать что-тьо кроме Найтилуса и Конкверора.
Скачал ROX Filer 2.2 (rox.sf.net)

Запускаю install.sh, он требует  компляции, запускает AppRun, из него 
configure и...

Compiling /home/bdv/Rox/rox-2.2.0/ROX-Filer... please wait...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking that pkg-config runs... yes
checking that gtk+-2.0 (version >= 2.2.0) is installed... no
configure: error: Package is not installed

B configure.in такие строки:

AC_DEFUN(ROX_REQUIRE, [
AC_MSG_CHECKING(that $1 (version >= $2) is installed)
if "$PKG_CONFIG" --atleast-version=$2 $1 ; then
   AC_MSG_RESULT(yes)
else
   AC_MSG_RESULT(no)
   if "$PKG_CONFIG" --exists $1 ; then
     AC_MSG_ERROR(Current version is only `"$PKG_CONFIG" "$1" --modversion`)
   else
     AC_MSG_ERROR(Package is not installed)
   fi
fi
])

ROX_REQUIRE(gtk+-2.0, 2.2.0)
ROX_REQUIRE(libxml-2.0, 2.0.0)

AC_MSG_CHECKING(for GNOME VFS 2.8 or later)
if "$PKG_CONFIG" --atleast-version=2.8.0 "gnome-vfs-2.0" ; then
   LIBS="$LIBS `$PKG_CONFIG --libs gnome-vfs-2.0`"
   CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gnome-vfs-2.0`"
   AC_DEFINE(HAVE_GNOME_VFS)
   AC_MSG_RESULT(yes)
else
   AC_MSG_RESULT(no)
fi

GTK_VERSION=`"$PKG_CONFIG" --modversion gtk+-2.0`
AC_DEFINE_UNQUOTED(GTK_VERSION, "$GTK_VERSION")



И что-то мне подсказывает, что дело в том, что в Сизифе этот пакет 
называется libgtk+2 ? Или надо devel-пакеты поставить? попробую сейчас...



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-03-12 19:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-10 23:26 [Comm] Как обмануть configure? Arioch
2005-03-11  6:23 ` Andrew Borodin
2005-03-11  7:05   ` [Comm] " Arioch
2005-03-11  8:49     ` Alexey I. Froloff
2005-03-11  9:19       ` Arioch
2005-03-11  9:38         ` Andrei Popov
2005-03-11 10:16           ` Arioch
2005-03-11 10:16           ` Arioch
2005-03-11  8:48 ` [Comm] " Alexey I. Froloff
2005-03-11 13:21 ` [Comm] update-mime-database - зачем второй параметр ? Arioch
2005-03-11 13:38   ` Alexey I. Froloff
2005-03-11 13:47     ` Alexey Rusakov
2005-03-12 19:01       ` [Comm] " Arioch

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git