ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Arioch <the_Arioch@nm.ru>
To: community@altlinux.ru
Subject: [Comm] Как обмануть configure?
Date: Fri, 11 Mar 2005 02:26:52 +0300
Message-ID: <d0ql33$juv$1@sea.gmane.org> (raw)

Захотел попробовать что-тьо кроме Найтилуса и Конкверора.
Скачал 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-пакеты поставить? попробую сейчас...



             reply	other threads:[~2005-03-10 23:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10 23:26 Arioch [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d0ql33$juv$1@sea.gmane.org' \
    --to=the_arioch@nm.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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