ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Чем отличается сборка с помощью hsh и внутри hsh-shell
Date: Wed, 9 Oct 2013 21:46:01 +0400
Message-ID: <20131009174601.GB16945@bragi.localdomain> (raw)
In-Reply-To: <CANM4RujPwOjoKNAkM4R=cFSMzO0LAzpYbPHv0+X+ag-tJJF19Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

On Wed, Oct 09, 2013 at 11:39:29AM +0400, Eugene Prokopiev wrote:
> 
> Кто-нибудь может это объяснить или хотя бы подтвердить/опровергнуть?

У апстрима кривой configure.ac.
У вас в случае gear-hsh получился target i586, а в случае hsh-shell --
i686. Поэтому компилятор получался i586-alt-linux-gcc и gcc,
соответственно. А апстрим понимает только если gcc зовут gcc.


diff --git a/netxms.spec b/netxms.spec
index c4c4408..e610eb4 100644
--- a/netxms.spec
+++ b/netxms.spec
@@ -74,6 +74,8 @@ Group: System/Servers
 subst 's|$(DESTDIR)$(bindir)/nxmibc|LD_LIBRARY_PATH=%buildroot/%_libdir $(DESTDIR)$(bindir)/nxmibc|g' Makefile.am
 subst 's|/var/opt/netxms|/var/lib/netxms|g' src/agent/core/nxagentd.h
 ./reconf
+export CC=gcc
+export CXX=g++
 %configure      \
   --with-server \
   --with-snmp   \
@@ -83,7 +85,7 @@ subst 's|/var/opt/netxms|/var/lib/netxms|g' src/agent/core/nxagentd.h
   --with-odbc   \
   --with-client \
   --with-agent
-%make
+%make_build
 
 %install
 %make DESTDIR=%buildroot install

-- 
glebfm
 
Глеб Фотенгауэр-Малиновский

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-10-09 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09  7:39 Eugene Prokopiev
2013-10-09 17:46 ` Gleb Fotengauer-Malinovskiy [this message]
2013-10-10  4:59   ` Eugene Prokopiev

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=20131009174601.GB16945@bragi.localdomain \
    --to=glebfm@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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