* [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&)
@ 2011-03-07 16:09 Motsyo Gennadi aka Drool
2011-03-07 16:12 ` Motsyo Gennadi aka Drool
2011-03-07 16:13 ` Slava Semushin
0 siblings, 2 replies; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2011-03-07 16:09 UTC (permalink / raw)
To: ALT Devel discussion list
Приветствую всех.
Пытаюсь собрать в сизифе (x86_64) в пакет вот это:
http://git.altlinux.org/people/drool/packages/flush.git
(там еще нужен будет пакет libconfig-c++-devel)
Под 5.1 собирается спокойно.
==============================================================
c -o libmlib_a-misc.o `test -f 'misc.cpp' || echo './'`misc.cpp
fs.cpp: In constructor 'm::fs::Path::Path(const Glib::ustring&)':
fs.cpp:475:30: error: no matching function for call to
'boost::filesystem3::path::path(const Glib::ustring&)'
/usr/include/boost/filesystem/v3/path.hpp:127:5: note: candidates are:
boost::filesystem3::path::path(const boost::filesystem3::path&)
/usr/include/boost/filesystem/v3/path.hpp:125:5: note:
boost::filesystem3::path::path()
fs.cpp: In member function 'm::fs::Path& m::fs::Path::normalize()':
fs.cpp:606:36: error: no matching function for call to
'std::vector<std::basic_string<char> >::push_back(const
boost::filesystem3::path&)'
/usr/lib64/gcc/x86_64-alt-linux/4.5.1/../../../../include/c++/4.5.1/bits/stl_vector.h:741:7:
note: candidate is: void std::vector<_Tp, _Alloc>::push_back(const
value_type&) [with _Tp = std::basic_string<char>, _Alloc =
std::allocator<std::basic_string<char> >, value_type =
std::basic_string<char>]
fs.cpp: In function 'void m::fs::cp(const std::string&, const
std::string&)':
fs.cpp:827:33: error: 'class boost::filesystem3::directory_entry' has no
member named 'filename'
fs.cpp:827:75: error: 'class boost::filesystem3::directory_entry' has no
member named 'filename'
fs.cpp: In function 'void m::fs::rm(const std::string&)':
fs.cpp:985:34: error: 'class boost::filesystem3::directory_entry' has no
member named 'filename'
make[4]: *** [libmlib_a-fs.o] Error 1
make[4]: *** Waiting for unfinished jobs....
==============================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&)
2011-03-07 16:09 [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&) Motsyo Gennadi aka Drool
@ 2011-03-07 16:12 ` Motsyo Gennadi aka Drool
2011-03-07 16:13 ` Slava Semushin
1 sibling, 0 replies; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2011-03-07 16:12 UTC (permalink / raw)
To: ALT Linux Team development discussions
07.03.2011 18:09, Motsyo Gennadi aka Drool пишет:
> Приветствую всех.
> Пытаюсь собрать в сизифе (x86_64) в пакет вот это:
> http://git.altlinux.org/people/drool/packages/flush.git
> (там еще нужен будет пакет libconfig-c++-devel)
Забыл - установлено:
rpm -qa | grep boost
boost-asio-devel-1.46.0-alt2
boost-signals-devel-1.46.0-alt2
libboost_system1.45.0-1.45.0-alt7
libboost_graph1.46.0-1.46.0-alt2
libboost_filesystem1.45.0-1.45.0-alt7
libboost_thread1.45.0-1.45.0-alt7
libboost_thread1.46.0-1.46.0-alt2
libboost_serialization1.46.0-1.46.0-alt2
libboost_iostreams1.46.0-1.46.0-alt2
boost-devel-1.46.0-alt2
boost-devel-headers-1.46.0-alt2
boost-filesystem-devel-1.46.0-alt2
libboost_system1.46.0-1.46.0-alt2
libboost_regex1.46.0-1.46.0-alt2
libboost_filesystem1.46.0-1.46.0-alt2
libboost_signals1.46.0-1.46.0-alt2
libboost_test1.46.0-1.46.0-alt2
libboost_random1.46.0-1.46.0-alt2
libboost_date_time1.46.0-1.46.0-alt2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&)
2011-03-07 16:09 [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&) Motsyo Gennadi aka Drool
2011-03-07 16:12 ` Motsyo Gennadi aka Drool
@ 2011-03-07 16:13 ` Slava Semushin
2011-03-07 16:50 ` [devel] Прошу помощи (error: call of overloaded 'ComboBox(Glib::RefPtr<Gtk::ListStore>&)' is ambiguous) Motsyo Gennadi aka Drool
1 sibling, 1 reply; 6+ messages in thread
From: Slava Semushin @ 2011-03-07 16:13 UTC (permalink / raw)
To: ALT Linux Team development discussions
7 марта 2011 г. 22:09 пользователь Motsyo Gennadi aka Drool
<motsyo@gmail.com> написал:
[...]
> c -o libmlib_a-misc.o `test -f 'misc.cpp' || echo './'`misc.cpp
> fs.cpp: In constructor 'm::fs::Path::Path(const Glib::ustring&)':
> fs.cpp:475:30: error: no matching function for call to
> 'boost::filesystem3::path::path(const Glib::ustring&)'
> /usr/include/boost/filesystem/v3/path.hpp:127:5: note: candidates are:
> boost::filesystem3::path::path(const boost::filesystem3::path&)
> /usr/include/boost/filesystem/v3/path.hpp:125:5: note:
> boost::filesystem3::path::path()
Похоже на последствия нового Boost-а:
http://lists.altlinux.org/pipermail/devel/2011-February/188737.html
--
Slava Semushin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Прошу помощи (error: call of overloaded 'ComboBox(Glib::RefPtr<Gtk::ListStore>&)' is ambiguous)
2011-03-07 16:13 ` Slava Semushin
@ 2011-03-07 16:50 ` Motsyo Gennadi aka Drool
2011-03-07 18:52 ` Ivan A. Melnikov
0 siblings, 1 reply; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2011-03-07 16:50 UTC (permalink / raw)
To: ALT Linux Team development discussions
07.03.2011 18:13, Slava Semushin пишет:
> Похоже на последствия нового Boost-а:
> http://lists.altlinux.org/pipermail/devel/2011-February/188737.html
Спасибо, оно самое. Теперь продвинулся дальше, но споткнулся на
проблему, описанную здесь:
http://permalink.gmane.org/gmane.linux.altlinux.devel/78486
Гугль пока молчит.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Прошу помощи (error: call of overloaded 'ComboBox(Glib::RefPtr<Gtk::ListStore>&)' is ambiguous)
2011-03-07 16:50 ` [devel] Прошу помощи (error: call of overloaded 'ComboBox(Glib::RefPtr<Gtk::ListStore>&)' is ambiguous) Motsyo Gennadi aka Drool
@ 2011-03-07 18:52 ` Ivan A. Melnikov
2011-03-07 21:56 ` [devel] Прошу помощи (NEW unmet dependencies detected) Motsyo Gennadi aka Drool
0 siblings, 1 reply; 6+ messages in thread
From: Ivan A. Melnikov @ 2011-03-07 18:52 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
On Mon, 07 Mar 2011 18:50:33 +0200
Motsyo Gennadi aka Drool <motsyo@gmail.com> wrote:
> 07.03.2011 18:13, Slava Semushin пишет:
> > Похоже на последствия нового Boost-а:
> > http://lists.altlinux.org/pipermail/devel/2011-February/188737.html
>
> Спасибо, оно самое. Теперь продвинулся дальше, но споткнулся
> на проблему, описанную здесь:
> http://permalink.gmane.org/gmane.linux.altlinux.devel/78486
> Гугль пока молчит.
Патч из аттача (в дополнение к -DBOOST_FILESYSTEM_VERSION=2) исправляет
сборку. Наверное, даже работать будет.
Однако прежде, чем собирать flush, стоит пересобрать с новым бустом
libtorrent-rasterbar, так как в логах сборки flush наблюдаем:
/usr/bin/ld: warning: libboost_filesystem.so.1.45.0, needed by /usr/lib64/libtorrent-rasterbar.so, may conflict with libboost_filesystem.so.1.46.0
/usr/bin/ld: warning: libboost_thread.so.1.45.0, needed by /usr/lib64/libtorrent-rasterbar.so, may conflict with libboost_thread.so.1.46.0
--
WBR,
Ivan A. Melnikov
[-- Attachment #2: flush-0.9.9-fix-for-gtkmm.patch --]
[-- Type: text/x-patch, Size: 405 bytes --]
--- a/flush/src/open_torrent_dialog.cpp
+++ b/flush/src/open_torrent_dialog.cpp
@@ -65,7 +65,7 @@ class Open_torrent_dialog::Private
Open_torrent_dialog::Private::Private(void)
:
encoding_model( Gtk::ListStore::create(this->encoding_columns) ),
- encoding_combo(encoding_model)
+ encoding_combo( Glib::RefPtr<Gtk::TreeModel>(encoding_model) )
{
const m::Charset* charset = m::AVAILABLE_CHARSETS;
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Прошу помощи (NEW unmet dependencies detected)
2011-03-07 18:52 ` Ivan A. Melnikov
@ 2011-03-07 21:56 ` Motsyo Gennadi aka Drool
0 siblings, 0 replies; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2011-03-07 21:56 UTC (permalink / raw)
To: ALT Linux Team development discussions
07.03.2011 20:52, Ivan A. Melnikov пишет:
> Патч из аттача (в дополнение к -DBOOST_FILESYSTEM_VERSION=2) исправляет
> сборку. Наверное, даже работать будет.
А тут какраз и апстрим подсобил. Однако сборка в сизиф обломалась из-за
анмета:
================================================
2011-Mar-08 00:27:12 :: created test repo
i586: NEW unmet dependencies detected:
flush#0.9.10-alt1 libconfig++.so.9
x86_64: NEW unmet dependencies detected:
flush#0.9.10-alt1 libconfig++.so.9()(64bit)
2011-Mar-08 00:27:20 :: dependencies check FAILED
2011-Mar-08 00:27:20 :: task #39945 for sisyphus FAILED
================================================
И это мне не совсем понятно, так как:
whereis libconfig++.so.9
libconfig++.so: /usr/lib64/libconfig++.so.9
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-07 21:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 16:09 [devel] Прошу помощи (error: no matching function for call to 'boost::filesystem3::path::path(const Glib::ustring&) Motsyo Gennadi aka Drool
2011-03-07 16:12 ` Motsyo Gennadi aka Drool
2011-03-07 16:13 ` Slava Semushin
2011-03-07 16:50 ` [devel] Прошу помощи (error: call of overloaded 'ComboBox(Glib::RefPtr<Gtk::ListStore>&)' is ambiguous) Motsyo Gennadi aka Drool
2011-03-07 18:52 ` Ivan A. Melnikov
2011-03-07 21:56 ` [devel] Прошу помощи (NEW unmet dependencies detected) Motsyo Gennadi aka Drool
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