Project

General

Profile

Actions

Bug #455

closed

initializer_list not found

Added by Anonymous about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/29/2010
Due date:
% Done:

0%

Estimated time:

Description

On my OpenSuSE 11.0, I have installed boost_1.43. Now I want to install wt_3.1.3.

After having run 'bootstrap', I type in 'make' and get the following message (line: in 'boost/unordered/unordered_map.hpp:27:28: error: initializer_list: not found):

[ 0%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTreeView.o

In file included from /usr/local/include/boost/unordered_map.hpp:16,

from /home/oliver/Documents/kurz/wt2/wt-3.1.3/src/Wt/WTreeView:12,

from /home/oliver/Documents/kurz/wt2/wt-3.1.3/src/Wt/WTreeView.C:22:

/usr/local/include/boost/unordered/unordered_map.hpp:27:28: error: initializer_list: Datei oder Verzeichnis nicht gefunden

In file included from /usr/local/include/boost/unordered/detail/node.hpp:17,

from /usr/local/include/boost/unordered/detail/buckets.hpp:12,

from /usr/local/include/boost/unordered/detail/table.hpp:17,

from /usr/local/include/boost/unordered/detail/equivalent.hpp:10,

from /usr/local/include/boost/unordered/unordered_map.hpp:19,

from /usr/local/include/boost/unordered_map.hpp:16,

from /home/oliver/Documents/kurz/wt2/wt-3.1.3/src/Wt/WTreeView:12,

from /home/oliver/Documents/kurz/wt2/wt-3.1.3/src/Wt/WTreeView.C:22:

/usr/local/include/boost/unordered/detail/fwd.hpp:620: error: expected ',' or '...' before '&&' token

/usr/local/include/boost/unordered/detail/fwd.hpp:620: error: parameter packs not expanded with `...':

/usr/local/include/boost/unordered/detail/fwd.hpp:620: note: 'Args'

/usr/local/include/boost/unordered/detail/fwd.hpp:622: error: expected ',' or '...' before '&&' token

/usr/local/include/boost/unordered/detail/fwd.hpp:622: error: parameter packs not expanded with `...':

/usr/local/include/boost/unordered/detail/fwd.hpp:622: note: 'Args'

/usr/local/include/boost/unordered/detail/fwd.hpp:624: error: expected ',' or '...' before '&&' token

/usr/local/include/boost/unordered/detail/fwd.hpp:624: error: parameter packs not expanded with `...':

/usr/local/include/boost/unordered/detail/fwd.hpp:624: note: 'Args'

/usr/local/include/boost/unordered/detail/fwd.hpp:626: error: expected ',' or '...' before '&&' token

/usr/local/include/boost/unordered/detail/fwd.hpp:626: error: parameter packs not expanded with `...':

/usr/local/include/boost/unordered/detail/fwd.hpp:626: note: 'Args'

/usr/local/include/boost/unordered/detail/fwd.hpp:710: error: expected ',' or '...' before '&&' token

/usr/local/include/boost/unordered/detail/fwd.hpp:710: error: parameter packs not expanded with `...':

(100 lines more)

...

initializer_list is missing.

I don't know how to fix this problem. Any suggestions ?

Actions #1

Updated by Thomas Suckow about 15 years ago

There is a problem with your install of Boost. Boost seems to think you have C++0x initializer_list support yet initializer_list is missing.

As root, clean your environment "bjam ---clean-all"

As root, re-bootstrap "./bootstrap.sh"

As root, re-build and install "bjam install"

http://www.boost.org/doc/libs/1_43_0/more/getting_started/unix-variants.html#easy-build-and-install

If you have more problems consult the boost-users mailing list:

http://lists.boost.org/mailman/listinfo.cgi/boost-users

Actions #2

Updated by Oliver Kroll about 15 years ago

Thomas Suckow wrote:

There is a problem with your install of Boost. Boost seems to think you have C++0x initializer_list support yet initializer_list is missing.

As root, clean your environment "bjam ---clean-all"

As root, re-bootstrap "./bootstrap.sh"

As root, re-build and install "bjam install"

http://www.boost.org/doc/libs/1_43_0/more/getting_started/unix-variants.html#easy-build-and-install

If you have more problems consult the boost-users mailing list:

http://lists.boost.org/mailman/listinfo.cgi/boost-users

Thanks for the advice, but there's not really something wrong with my boost installation: one level deeper there are libraries missing like icu and mpi (these are now installed but it still does not fit).

Actions #3

Updated by Oliver Kroll about 15 years ago

I made it, Wt is installed.

You were right, there was something wrong with my boost installation. I looked it up in Yast, there were 3 versions: boost, boost-1.36 and boost-1.42. I could not uninstall the older versions, so I had to reinstall my whole Linux.

I looked up the Wt installation instructions for OpenSuse: I did not know what to do with the script but I installed Xerces - so there was something wrong one level deeper.

It took me one day but now Wt is installed.

Now, it is too late for tests.

Actions #4

Updated by Koen Deforche about 15 years ago

  • Status changed from New to Closed

Hey Oliver,

Although I consider needing one day for getting to try Wt is a bug, I am going to mark this as closed.

We are working on a wt-jumbo distribution that includes (amongst other) boost with a global ./configure && make script that builds Wt and its dependencies, and all the examples, ready to be run.

Regards,

koen

Actions

Also available in: Atom PDF