Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto]Errore installazione Grive
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Fri Sep 29, 2017 1:53 pm    Post subject: [Risolto]Errore installazione Grive Reply with quote

Ciao ragazzi, vorrei installare grive, qualcuno di voi lo ha installato? A me va in errore l'installazione, questo è il log https://paste.pound-python.org/show/xzMcjbUFcwcADa5bDDwa/

Last edited by zar Marco on Tue Oct 03, 2017 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Fri Sep 29, 2017 2:35 pm    Post subject: Reply with quote

Code:
...
undefined reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > const&)'
../libgrive/libgrive.a(Config.cc.o): In function `gr::Config::Config(boost::program_options::variables_map const&)':
Config.cc:(.text+0xd4c): undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
...

Questi errori sono legati al passaggio da gcc 4.x a gcc 5.x senza leggere la relativa news.
In pratica devi laciare il seguente comando:
Code:
# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Sat Sep 30, 2017 4:23 am    Post subject: Reply with quote

Grazie mille, non mi ero neanche accorto che si stesse aggiornando gcc. Appena accendo il pc gli faccio finire l'aggiornamento e lancio quel comando
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Sep 30, 2017 7:59 am    Post subject: Reply with quote

zar Marco wrote:
Grazie mille, non mi ero neanche accorto che si stesse aggiornando gcc. Appena accendo il pc gli faccio finire l'aggiornamento e lancio quel comando

Alla fine aggiungici anche l'opzione --keep-going y cosi' un pacchetto fallisce puoi provare alla fine a metterlo a posto
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Sat Sep 30, 2017 8:07 am    Post subject: Reply with quote

Grazie, farò sicuramente così quando avrò modo di usare il pc

Ma così per curiosità, ad ogni aggiornamento di gcc bisogna ricompilare quasi tutto?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Mon Oct 02, 2017 8:32 pm    Post subject: Reply with quote

zar Marco wrote:
Ma così per curiosità, ad ogni aggiornamento di gcc bisogna ricompilare quasi tutto?

Scusa ho notato solo ora la domanda. No questo e' solo necessario da gcc-4.x a gcc-5.x perche' sono cambiate le ABI, cosa che non succede fra gcc-5 e gcc-6/gcc-7. Comunque dopo un emege --sync ci sono sempre le news per queste cose se capitera' di nuovo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zar Marco
Guru
Guru


Joined: 09 Sep 2016
Posts: 445
Location: Colle Umberto ( TV )

PostPosted: Tue Oct 03, 2017 11:37 am    Post subject: Reply with quote

grazie mille per le spiegazioni. Ora ho risolto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum