* [devel] boost в t6
@ 2012-09-02 19:54 Valery V. Inozemtsev
  2012-09-03  6:41 ` Ivan A. Melnikov
  2012-09-03  9:34 ` Ivan A. Melnikov
  0 siblings, 2 replies; 4+ messages in thread
From: Valery V. Inozemtsev @ 2012-09-02 19:54 UTC (permalink / raw)
  To: devel
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
Hi
[ build CXX ] l10ntools/source/help/HelpCompiler.cxx
In file included from /usr/include/boost/functional/hash.hpp:6:0,
                 from /usr/include/boost/unordered/unordered_map.hpp:17,
                 from /usr/include/boost/unordered_map.hpp:16,
from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.hxx:33,
from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.cxx:30:
/usr/include/boost/functional/hash/hash.hpp:28:21: fatal error:
typeindex: No such file or directory
$ grep typeindex /usr/include/boost/functional/hash/hash.hpp
#include <typeindex>
$ grep typeindex /ALT/t6/i586/base/contents_index
пусто
$ grep typeindex /ALT/Sisyphus/i586/base/contents_index
/usr/include/c++/4.6.3/typeindex	libstdc++4.6-devel
Извечный вопрос: "Кто виноват и что делать"
-- 
Valery V. Inozemtsev
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [devel] boost в t6
  2012-09-02 19:54 [devel] boost в t6 Valery V. Inozemtsev
@ 2012-09-03  6:41 ` Ivan A. Melnikov
  2012-09-03  8:27   ` Valery V. Inozemtsev
  2012-09-03  9:34 ` Ivan A. Melnikov
  1 sibling, 1 reply; 4+ messages in thread
From: Ivan A. Melnikov @ 2012-09-03  6:41 UTC (permalink / raw)
  To: devel
On Sun, 02 Sep 2012 23:54:00 +0400
"Valery V. Inozemtsev" <shrek@altlinux.ru> wrote:
> Hi
> 
> [ build CXX ] l10ntools/source/help/HelpCompiler.cxx
> In file included from /usr/include/boost/functional/hash.hpp:6:0,
>                  from /usr/include/boost/unordered/unordered_map.hpp:17,
>                  from /usr/include/boost/unordered_map.hpp:16,
> 
> from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.hxx:33,
> 
> from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.cxx:30:
> /usr/include/boost/functional/hash/hash.hpp:28:21: fatal error:
> typeindex: No such file or directory
> 
> $ grep typeindex /usr/include/boost/functional/hash/hash.hpp
> #include <typeindex>
> 
> $ grep typeindex /ALT/t6/i586/base/contents_index
> пусто
> 
> $ grep typeindex /ALT/Sisyphus/i586/base/contents_index
> /usr/include/c++/4.6.3/typeindex	libstdc++4.6-devel
> 
> 
> Извечный вопрос: "Кто виноват и что делать"
> 
Пока не знаю, как так случилось, но boost не договорился с libstdc++ 
о наборе поддерживаемых фич. Попозже попробую посмотреть, в чём дело.
Попробуйте для начала определить символ препроцессора
BOOST_NO_0X_HDR_TYPEINDEX, в этом конкретном случае должно помочь.
-- 
WBR,
Ivan A. Melnikov
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [devel] boost в t6
  2012-09-03  6:41 ` Ivan A. Melnikov
@ 2012-09-03  8:27   ` Valery V. Inozemtsev
  0 siblings, 0 replies; 4+ messages in thread
From: Valery V. Inozemtsev @ 2012-09-03  8:27 UTC (permalink / raw)
  To: devel
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
В Пнд, 03/09/2012 в 10:41 +0400, Ivan A. Melnikov пишет:
[..]
> Попробуйте для начала определить символ препроцессора
> BOOST_NO_0X_HDR_TYPEINDEX, в этом конкретном случае должно помочь.
не помогло
-- 
Valery V. Inozemtsev
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [devel] boost в t6
  2012-09-02 19:54 [devel] boost в t6 Valery V. Inozemtsev
  2012-09-03  6:41 ` Ivan A. Melnikov
@ 2012-09-03  9:34 ` Ivan A. Melnikov
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan A. Melnikov @ 2012-09-03  9:34 UTC (permalink / raw)
  To: devel
On Sun, 02 Sep 2012 23:54:00 +0400
"Valery V. Inozemtsev" <shrek@altlinux.ru> wrote:
> Hi
> 
> [ build CXX ] l10ntools/source/help/HelpCompiler.cxx
> In file included from /usr/include/boost/functional/hash.hpp:6:0,
>                  from /usr/include/boost/unordered/unordered_map.hpp:17,
>                  from /usr/include/boost/unordered_map.hpp:16,
> 
> from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.hxx:33,
> 
> from /usr/src/RPM/BUILD/libreoffice-3.6.1.2/l10ntools/source/help/HelpCompiler.cxx:30:
> /usr/include/boost/functional/hash/hash.hpp:28:21: fatal error:
> typeindex: No such file or directory
> 
> $ grep typeindex /usr/include/boost/functional/hash/hash.hpp
> #include <typeindex>
> 
> $ grep typeindex /ALT/t6/i586/base/contents_index
> пусто
> 
> $ grep typeindex /ALT/Sisyphus/i586/base/contents_index
> /usr/include/c++/4.6.3/typeindex	libstdc++4.6-devel
> 
> 
> Извечный вопрос: "Кто виноват и что делать"
> 
Сейчас сделал hasher'ом сделал chroot на (из?) t6, и в нём проверил:
[builder@localhost tmp]$ cat a.cpp
#include <iostream>
#include <boost/functional/hash.hpp>
int main()
{
        std::cout << "Hash: " << boost::hash_value("test") << std::endl;
        return 0;
}
[builder@localhost tmp]$ g++ a.cpp && ./a.out
Hash: 46082543293600821
[builder@localhost tmp]$ 
Ну то есть, УМВР, а у Вас какой-то misconfiguration. Что Вы пытаетесь
сделать? С какими флагами запускается компилятор?
P.S. Just in case:
[builder@localhost tmp]$ rpm -qa | grep ^boost
boost-devel-headers-1.46.1-alt1
boost-devel-1.46.1-alt1
[builder@localhost tmp]$ g++ --version
x86_64-alt-linux-g++ (GCC) 4.5.3 20120403 (ALT Linux 4.5.3-alt1.M60P.1)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
-- 
WBR,
Ivan A. Melnikov
^ permalink raw reply	[flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-03  9:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-02 19:54 [devel] boost в t6 Valery V. Inozemtsev
2012-09-03  6:41 ` Ivan A. Melnikov
2012-09-03  8:27   ` Valery V. Inozemtsev
2012-09-03  9:34 ` Ivan A. Melnikov
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