Pagina 1 di 1

Compilare fbpager...

Inviato: dom 28 ott 2007, 20:17
da Riddick
Ho un slackware current...

provo a compilare fbpager da fluxbox:

./configure --prefix=/usr --sysconfdir=/etc === tutto OK

make :
Resources.hh:13: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]' in different namespace
Resources.hh:13: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]'
Resources.hh:23: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = bool]' in different namespace
Resources.hh:23: error: from definition of 'std::string FbTk::Resource<T>::getString() [with T = bool]'
Resources.hh:28: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:28: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:33: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:33: error: from definition of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:38: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]' in different namespace
Resources.hh:38: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]'
Resources.hh:45: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = int]' in different namespace
Resources.hh:45: error: from definition of 'std::string FbTk::Resource<T>::getString() [with T = int]'
Resources.hh:53: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:53: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]'
Resources.hh:61: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:61: error: from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]'
Come mai!?

Mi potete aiutare?

Grazie,
Riddick

Inviato: dom 28 ott 2007, 21:30
da michele.p
...hai verificato possibili dipendenze?

Bye 8)

Inviato: lun 29 ott 2007, 1:02
da Riddick
da qui:
http://fluxbox.sourceforge.net/fbpager/

Requirements:
Xlib

...sicuramente i miei XLib sono a posto, no?

Grazie,
Riddick

Inviato: lun 29 ott 2007, 15:16
da michele.p
...hai provato a compilare la versione nell'SVN?...potrebbe darsi (notare il condizionale) che siano stati fatti dei cambiamenti per rendere i sorgenti "compatibili" con le ultime versioni del Gcc.

Bye 8)

Inviato: mar 30 ott 2007, 0:46
da Riddick
si... ci avevo pensato ma sembra che il loro server SNV non funzioni
(almeno quello nelle loro istruzioni).

Ho scritto un email alla persona giusta, vediamo un po che dice,

Riddick

Re: Compilare fbpager...

Inviato: mer 9 gen 2008, 16:11
da danix
Ciao a tutti...
ci sono novità sul fronte fbpager?? stavo provando a farmi il tgz ma la compilazione si è interrotta con lo stesso risultato di Riddick

Codice: Seleziona tutto

make[3]: Entering directory `/tmp/fbpager-0.1.4/src'
source='main.cc' object='fbpager-main.o' libtool=no \
        depfile='.deps/fbpager-main.Po' tmpdepfile='.deps/fbpager-main.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..    -IFbTk -g -O2   -c -o fbpager-main.o `test -f main.cc || echo './'`main.cc
source='FbPager.cc' object='fbpager-FbPager.o' libtool=no \
        depfile='.deps/fbpager-FbPager.Po' tmpdepfile='.deps/fbpager-FbPager.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..    -IFbTk -g -O2   -c -o fbpager-FbPager.o `test -f FbPager.cc || echo './'`FbPager.cc
Resources.hh:13: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]' in different namespace
Resources.hh:13: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]'
Resources.hh:23: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = bool]' in different namespace
Resources.hh:23: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = bool]'
Resources.hh:28: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:28: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:33: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:33: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:38: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]' in different namespace
Resources.hh:38: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]'
Resources.hh:45: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = int]' in different namespace
Resources.hh:45: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = int]'
Resources.hh:53: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:53: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]'
Resources.hh:61: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:61: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]'
make[3]: *** [fbpager-FbPager.o] Error 1
make[3]: Leaving directory `/tmp/fbpager-0.1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/fbpager-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/fbpager-0.1.4'
make: *** [all] Error 2
PS.
Io sto su una 12.0...


Fatemi sapere qualcosa... :D
A presto...

Re: Compilare fbpager...

Inviato: mer 9 gen 2008, 16:25
da Riddick
se mi mandi un PM col tuo email address, ti invio il mio pachetto.
Io ho poi contattato il maintainer di fbpager, che mi ha dato una patch,
ti posso pure inoltrare la sua email se vuoi.

Riddick

Re: Compilare fbpager...

Inviato: mer 9 gen 2008, 17:17
da danix
Riddick ha scritto:se mi mandi un PM col tuo email address, ti invio il mio pachetto.
Io ho poi contattato il maintainer di fbpager, che mi ha dato una patch,
ti posso pure inoltrare la sua email se vuoi.

Riddick
Grazie, il mio indirizzo lo trovi nel profilo, a destra :)
ma il tuo pacchetto è per la current?? Sulla 12 mi darà problemi?? vabbè che al max ricompilo :D

Grazie mille... aspetto tue notizie...
A presto