Pagina 1 di 1

[RISOLTO] lyx-editor LaTeX

Inviato: mer 15 feb 2012, 19:15
da Procopio
Ciao a tutti!

dal nostro repos ho installato il lyx, se però provo a farlo partire da "applicazioni" -> "ufficio" -> "Latex Frontend (lyx)" questo sembra partire, ma dopo aver fatto "la finta" non fa nulla, se provo a lanciarlo ad riga di comando ottengo

Codice: Seleziona tutto

bash-4.1# /usr/bin/lyx
/usr/bin/lyx: error while loading shared libraries: libhunspell-1.2.so.0: cannot open shared object file: No such file or directory
la libreria a cui fa riferimento non l'ho trovata ne sul nostra repos ne fra gli slackbuilds... ho cercato un po in giro nel web ed ho trovato "hunspell-1.3.2" l'ho installato, ma non è neanche andata a buon fine l'instalazione.... qualcuno sa come posso risolvere? :)

Re: lyx-editor LaTeX

Inviato: mer 15 feb 2012, 19:56
da targzeta
Sembra faccia parte della slackware:

Codice: Seleziona tutto

fMANIFEST.sh libhunspell
||   Package:  ./l/hunspell-1.2.9-x86_64-1.txz
-rwxr-xr-x root/root       988 2010-05-03 20:04 usr/lib64/libhunspell-1.2.la
-rwxr-xr-x root/root    266944 2010-05-03 20:04 usr/lib64/libhunspell-1.2.so.0.0.0
Emanuele

Re: lyx-editor LaTeX

Inviato: mer 15 feb 2012, 20:31
da Procopio
ecco, però la mia è a 32 bit, la installo lo stesso?

Re: lyx-editor LaTeX

Inviato: gio 16 feb 2012, 10:29
da targzeta
Indendevo dire che il pacchetto lo trovi nella Slackware, senza andare in giro. Se hai una current a 32bit il pacchetto è questo.

Emanuele

Re: lyx-editor LaTeX

Inviato: gio 16 feb 2012, 19:13
da Procopio
grazie mille spina! scusa per il problema banale, lyx ora funziona correttamente!

Re: [RISOLTO] lyx-editor LaTeX

Inviato: sab 26 mag 2012, 16:51
da Procopio
riesumo questo post perchè ho tentato di compilare lyx con gli slackbuild, ma ho riscontrato un errore

Codice: Seleziona tutto

./boost/boost/config/stdlib/libstdcpp3.hpp:42:0: warning: "BOOST_DISABLE_THREADS" redefined [enabled by default]
In file included from insets/InsetTabular.cpp:20:0:
../config.h:628:0: note: this is the location of the previous definition
insets/InsetTabular.cpp: In instantiation of 'const string lyx::{anonymous}::write_attribute(const string&, const T&) [with T = lyx::Tabular::VAlignment; std::string = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
insets/InsetTabular.cpp:1398:66:   required from here
insets/InsetTabular.cpp:194:26: error: 'tostr' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
insets/InsetTabular.cpp:299:14: note: 'const string lyx::{anonymous}::tostr(const lyx::Tabular::BoxType&)' declared here, later in the translation unit
insets/InsetTabular.cpp: In instantiation of 'const string lyx::{anonymous}::write_attribute(const string&, const T&) [with T = lyx::Tabular::HAlignment; std::string = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
insets/InsetTabular.cpp:1403:48:   required from here
insets/InsetTabular.cpp:194:26: error: 'tostr' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
insets/InsetTabular.cpp:299:14: note: 'const string lyx::{anonymous}::tostr(const lyx::Tabular::BoxType&)' declared here, later in the translation unit
insets/InsetTabular.cpp: In instantiation of 'const string lyx::{anonymous}::write_attribute(const string&, const T&) [with T = lyx::LyXAlignment; std::string = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
insets/InsetTabular.cpp:1407:62:   required from here
insets/InsetTabular.cpp:194:26: error: 'tostr' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
insets/InsetTabular.cpp:299:14: note: 'const string lyx::{anonymous}::tostr(const lyx::Tabular::BoxType&)' declared here, later in the translation unit
insets/InsetTabular.cpp: In instantiation of 'const string lyx::{anonymous}::write_attribute(const string&, const T&) [with T = lyx::Tabular::BoxType; std::string = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
insets/InsetTabular.cpp:1449:58:   required from here
insets/InsetTabular.cpp:194:26: error: 'tostr' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
insets/InsetTabular.cpp:299:14: note: 'const string lyx::{anonymous}::tostr(const lyx::Tabular::BoxType&)' declared here, later in the translation unit
make[4]: *** [InsetTabular.o] Error 1
make[4]: Leaving directory `/tmp/SBo/lyx-2.0.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/lyx-2.0.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/lyx-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/lyx-2.0.0'
make: *** [all] Error 2

la patch dovrebbe essere questa?

qua invece c'è il ramo di sviluppo? scusate la domanda ma che diferenza c'è tra sorgenti e binari?

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 10:39
da conraid
Ma perché prendere i sorgenti di una vecchia versione e cercare patch quando l'ultima compila normalmente?

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 11:20
da Procopio
ma i sorgenti li prendo dal link sul sito degli slackbuilds, comunque i sorgenti nuovi sono questi?

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 11:31
da conraid
http://www.slackers.it/repository/lyx/src/

trovi build e link ai sorgenti :-)

tra l'altro l'ho ricompilato ieri perché ho dovuto aggiornare alla nuova versione di boost

Sì, i sorgenti sono quelli
Come vedi la 2.0.3 è del primo marzo, ma la 2.0.0 è dell'8 maggio 2011. Sono cambiate un po' di cose da allora.
Usare i build va bene, da qualsiasi parte li prendi, e quelli di SBo vai sul sicuro, ma ricorda sempre due cosa:
1) sono per stable
2) è un lavoro grande e non sempre sono aggiornati
quindi ti conviene sempre modificarli per l'ultima versione del programma, che poi non è detto che funzioni su current, per esempio per alcuni programmi dobbiamo aspettare gstreamer, gtk3, e tante altre cosini, che forse nemmeno saranno messo nella prossima stable.
Insomma, prendi, guarda, ma usa la fantasia :-)

poi scusa, ti sei messo a cercare delle patch e non la versione nuova? :-)

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 11:39
da Procopio
ma no in realtà se guardi avevo cercato subito tutti e due, ma proprio solo perchè non ero sicuro su cosa dovevo fare...:)
ma poi scusa, io mi ricordavo che ci fosse anche sullo slackers, ed infatti ieri ho scaricato anche il pacchetto, ma mi sembrava meglio compilare, è un impressione saggia? oppure per tutti i programmi che trovo già pacchettizzati su slackers.it è uguale se uso quel pacchetto?

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 11:40
da conraid
Procopio ha scritto:ma no in realtà se guardi avevo cercato subito tutti e due, ma proprio solo perchè non ero sicuro su cosa dovevo fare...:)
ma poi scusa, io mi ricordavo che ci fosse anche sullo slackers, ed infatti ieri ho scaricato anche il pacchetto, ma mi sembrava meglio compilare, è un impressione saggia? oppure per tutti i programmi che trovo già pacchettizzati su slackers.it è uguale se uso quel pacchetto?
beh dipende. Se vuoi opzioni particolari o ottimizzazioni spinte allora ricompila. Ma in quel caso cambia anche i CFLAGS in base al tuo processore (o con la direttiva native di gcc mi sembra)

Dipende sempre da quel che devi fare. Comunque mi sono accorto che lo slack-desc è errato e sto ricreando il pacchetto :-)

Re: [RISOLTO] lyx-editor LaTeX

Inviato: dom 27 mag 2012, 11:42
da Procopio
ok! Grande Corrado! :)