Repository 32bit  Forum
Repository 64bit  Wiki

[RISOLTO]Compilazione gnumeric

Se avete problemi con l'installazione e la configurazione di Slackware64 postate qui. Non usate questo forum per argomenti che trattano la Slackware32 o generali... per quelli usate rispettivamente il forum Slackware e Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware64 usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware64, se l'argomento è Slackware32 o generale usate rispettivamente il forum Slackware o Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

[RISOLTO]Compilazione gnumeric

Messaggioda Zagorax » sab giu 12, 2010 11:41

Ciao a tutti,

tra i requisiti dell'ultima versione di gnumeric c'era goffice-0.8.5 e così ho scaricato goffice-0.8.5, mi sono creato il pacchetto e l'ho installato. Quando però adesso provo a compilare gnumeric ./configure mi da quest'errore:
Codice: Seleziona tutto
checking for LIBSPREADSHEET... configure: error: Package requirements (
   libgoffice-0.8   >= 0.8.5
   libgsf-1      >= 1.14.15
   libxml-2.0      >= 2.4.12
 
   libglade-2.0      >= 2.3.6
   gtk+-2.0      >= 2.12.0
) were not met:

No package 'libgoffice-0.8' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSPREADSHEET_CFLAGS
and LIBSPREADSHEET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Se io do locate libgoffice trovo i seguenti risultati:
Codice: Seleziona tutto
/usr/local/lib/libgoffice-0.8.so.8.0.5
/usr/local/lib/pkgconfig/libgoffice-0.8.pc
/usr/local/lib/libgoffice-0.8.la
/usr/local/lib/libgoffice-0.8.so.8
/usr/local/lib/libgoffice-0.8.so
/usr/local/include/libgoffice-0.8
/usr/local/include/libgoffice-0.8/goffice
/usr/local/include/libgoffice-0.8/goffice/app
/usr/local/include/libgoffice-0.8/goffice/app/go-doc-control.h
/usr/local/include/libgoffice-0.8/goffice/app/module-plugin-defs.h
/usr/local/include/libgoffice-0.8/goffice/app/go-plugin-service-impl.h
/usr/local/include/libgoffice-0.8/goffice/app/io-context-priv.h
/usr/local/include/libgoffice-0.8/goffice/app/go-conf.h
/usr/local/include/libgoffice-0.8/goffice/app/go-plugin-loader.h
/usr/local/include/libgoffice-0.8/goffice/app/go-cmd-context.h
/usr/local/include/libgoffice-0.8/goffice/app/go-doc.h
/usr/local/include/libgoffice-0.8/goffice/app/go-doc-control-impl.h
/usr/local/include/libgoffice-0.8/goffice/app/goffice-app.h
/usr/local/include/libgoffice-0.8/goffice/app/error-info.h
/usr/local/include/libgoffice-0.8/goffice/app/go-plugin-service.h
/usr/local/include/libgoffice-0.8/goffice/app/go-plugin-loader-module.h
/usr/local/include/libgoffice-0.8/goffice/app/go-plugin.h
/usr/local/include/libgoffice-0.8/goffice/app/file.h
/usr/local/include/libgoffice-0.8/goffice/app/go-cmd-context-impl.h
/usr/local/include/libgoffice-0.8/goffice/app/io-context.h
/usr/local/include/libgoffice-0.8/goffice/app/go-doc-impl.h
/usr/local/include/libgoffice-0.8/goffice/utils
/usr/local/include/libgoffice-0.8/goffice/utils/go-style.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-glib-extras.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-libxml-extras.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-gradient.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-geometry.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-path.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-cairo.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-styled-object.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-locale.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-units.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-pattern.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-persist.h
/usr/local/include/libgoffice-0.8/goffice/utils/goffice-utils.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-image.h
/usr/local/include/libgoffice-0.8/goffice/utils/regutf8.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-editor.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-file.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-color.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-marker.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-string.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-undo.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-font.h
/usr/local/include/libgoffice-0.8/goffice/utils/datetime.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-bezier.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-line.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-format.h
/usr/local/include/libgoffice-0.8/goffice/utils/go-pango-extras.h
/usr/local/include/libgoffice-0.8/goffice/canvas
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-group.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-path.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-ellipse.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-rectangle.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-line.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-pixbuf.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-styled-item.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-polygon.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-widget.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-circle.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-canvas.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goffice-canvas.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-graph.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-structs.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-polyline.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-arc.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-item.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-text.h
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-utils.h
/usr/local/include/libgoffice-0.8/goffice/data
/usr/local/include/libgoffice-0.8/goffice/data/go-data-impl.h
/usr/local/include/libgoffice-0.8/goffice/data/go-data.h
/usr/local/include/libgoffice-0.8/goffice/data/goffice-data.h
/usr/local/include/libgoffice-0.8/goffice/data/go-data-simple.h
/usr/local/include/libgoffice-0.8/goffice/graph
/usr/local/include/libgoffice-0.8/goffice/graph/gog-axis.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-axis-line-impl.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-series.h
/usr/local/include/libgoffice-0.8/goffice/graph/goffice-graph.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-view.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-trend-line.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-data-set.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-plot-engine.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-chart-impl.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-chart.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-graph-impl.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-plot-impl.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-grid.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-guru.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-chart-map.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-series-lines.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-object.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-graph.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-data-allocator.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-chart-map-3d.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-axis-line.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-outlined-object.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-reg-curve.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-label.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-error-bar.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-theme.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-legend.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-smoothed-curve.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-3d-box.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-series-impl.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-plot.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-object-xml.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-child-button.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-renderer.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-grid-line.h
/usr/local/include/libgoffice-0.8/goffice/graph/gog-styled-object.h
/usr/local/include/libgoffice-0.8/goffice/goffice-features.h
/usr/local/include/libgoffice-0.8/goffice/component
/usr/local/include/libgoffice-0.8/goffice/component/go-component-factory.h
/usr/local/include/libgoffice-0.8/goffice/component/goffice-component.h
/usr/local/include/libgoffice-0.8/goffice/component/go-component.h
/usr/local/include/libgoffice-0.8/goffice/math
/usr/local/include/libgoffice-0.8/goffice/math/go-quad.h
/usr/local/include/libgoffice-0.8/goffice/math/go-distribution.h
/usr/local/include/libgoffice-0.8/goffice/math/go-math.h
/usr/local/include/libgoffice-0.8/goffice/math/go-cspline.h
/usr/local/include/libgoffice-0.8/goffice/math/goffice-math.h
/usr/local/include/libgoffice-0.8/goffice/math/go-matrix3x3.h
/usr/local/include/libgoffice-0.8/goffice/math/go-complex.h
/usr/local/include/libgoffice-0.8/goffice/math/go-R.h
/usr/local/include/libgoffice-0.8/goffice/math/go-fft.h
/usr/local/include/libgoffice-0.8/goffice/math/go-regression.h
/usr/local/include/libgoffice-0.8/goffice/math/go-rangefunc.h
/usr/local/include/libgoffice-0.8/goffice/goffice.h
/usr/local/include/libgoffice-0.8/goffice/drawing
/usr/local/include/libgoffice-0.8/goffice/drawing/god-paragraph-attributes.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-image-store.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-shape.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-drawing.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-text-model.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-drawing-view.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-property-table.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-drawing-renderer-gdk.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-anchor.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-image.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-drawing-group.h
/usr/local/include/libgoffice-0.8/goffice/drawing/god-default-attributes.h
/usr/local/include/libgoffice-0.8/goffice/gtk
/usr/local/include/libgoffice-0.8/goffice/gtk/go-combo-color.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-line-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-pixbuf.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-color-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-combo-box.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-combo-pixmaps.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-charmap-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-font-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-calendar-button.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-rotation-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-action-combo-color.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-color-palette.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-color-group.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-3d-rotation-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-action-combo-stack.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-locale-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-gradient-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-pattern-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-action-combo-pixmaps.h
/usr/local/include/libgoffice-0.8/goffice/gtk/goffice-gtk.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-action-combo-text.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-image-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-format-sel.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-marker-selector.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-palette.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-graph-widget.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-combo-text.h
/usr/local/include/libgoffice-0.8/goffice/gtk/go-optionmenu.h
/usr/local/include/libgoffice-0.8/goffice/ms-compat
/usr/local/include/libgoffice-0.8/goffice/ms-compat/god-drawing-ms-client-handler.h
/usr/local/include/libgoffice-0.8/goffice/ms-compat/god-drawing-ms.h
/usr/local/include/libgoffice-0.8/goffice/ms-compat/go-ms-parser.h
/usr/local/include/libgoffice-0.8/goffice/ms-compat/god-image-ms.h


Come faccio a dirgli questi file ci sono e che li deve andare a cercare lì?
Ho fatto delle prove dopo aver letto la man di pkg-config ma non ci sono riuscito...

Grazie
CIao
Ultima modifica di Zagorax il dom giu 13, 2010 15:34, modificato 1 volta in totale.
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: Compilazione gnumeric

Messaggioda Ansa89 » sab giu 12, 2010 11:48

Se non sbaglio entrambi i pacchetti che desideri sono già stati pacchettizzati e a breve saranno disponibili ;) .

Comunque ti allego gli slackbuild che ho usato io (non assicuro nulla sulla loro correttezza).
Allegati
goffice.SlackBuild.txt
GOffice slackbuild.
(3.04 KiB) Scaricato 9 volte
gnumeric.SlackBuild.txt
GNumeric slackbuild
(2.21 KiB) Scaricato 9 volte
Avatar utente
Ansa89
Iper Master
Iper Master
 
Messaggi: 2626
Iscritto il: mer ago 29, 2007 16:57
Località: Modena
Nome Cognome: Stefano Ansaloni
Slackware: 13.1
Kernel: 3.18.0-ck1
Desktop: XFCE 4.6.1

Re: Compilazione gnumeric

Messaggioda Kristos » sab giu 12, 2010 11:59

Goffice è già disponibile sui repository, ma per la 13.1 a 32 bit, penso che presto ci saranno anche per la 64 bit.
Avatar utente
Kristos
Packager
Packager
 
Messaggi: 630
Iscritto il: sab dic 19, 2009 11:40
Slackware: 13.37
Kernel: 2.6.37.6-smp
Desktop: KDE
Distribuzione: PCLinuxOS

Re: Compilazione gnumeric

Messaggioda Zagorax » sab giu 12, 2010 12:14

Più tardi proverò lo slackbuild di Ansa89.

Ma scusate, giusto per capire (che non fa mai male :) ), perchè non trova il pacchetto nonostante questo sia installato?

Grazie
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: Compilazione gnumeric

Messaggioda Ansa89 » sab giu 12, 2010 12:26

Non saprei :-k . Forse avevi impostato un path sbagliato o che non piaceva a gnumeric :roll: .
Avatar utente
Ansa89
Iper Master
Iper Master
 
Messaggi: 2626
Iscritto il: mer ago 29, 2007 16:57
Località: Modena
Nome Cognome: Stefano Ansaloni
Slackware: 13.1
Kernel: 3.18.0-ck1
Desktop: XFCE 4.6.1

Re: Compilazione gnumeric

Messaggioda Zagorax » sab giu 12, 2010 13:30

lo slackbuild di goffice che mi hai passato non so perchè si ferma dopo il configure, sebbene non trovi alcun errore... appena ho tempo vedo di fare qualche prova aggiuntiva.

Relativamente al path... io non ho impostato niente, ho dato solo ./configure senza alcuna opzione...

Ciao
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: Compilazione gnumeric

Messaggioda Ansa89 » sab giu 12, 2010 13:33

Zagorax ha scritto:lo slackbuild di goffice che mi hai passato non so perchè si ferma dopo il configure, sebbene non trovi alcun errore... appena ho tempo vedo di fare qualche prova aggiuntiva.

È colpa dell'istruzione "read" posta dopo il "./configure", basta che premi invio e continuerà con il "make".
Avatar utente
Ansa89
Iper Master
Iper Master
 
Messaggi: 2626
Iscritto il: mer ago 29, 2007 16:57
Località: Modena
Nome Cognome: Stefano Ansaloni
Slackware: 13.1
Kernel: 3.18.0-ck1
Desktop: XFCE 4.6.1

Re: Compilazione gnumeric

Messaggioda Zagorax » sab giu 12, 2010 15:20

Cavolo che sono scemo...
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: Compilazione gnumeric

Messaggioda Zagorax » sab giu 12, 2010 15:36

Ok.

Con lo slackbuild di ansa sono state piazzate in /usr/lib64, mentre con la mia compilazione manuale sono state messe in /usr/local/lib.

Ho notato adesso che mi ha piazza anche in /usr/local/lib le librerie relative ad abiword e a torsocks (entambi compilati a mano da me).

Credo di non aver riscontrato problemi perchè i due programmi in questione non fanno da dipendenza per nient'altro. Giusto? E per le prossime volte che compilo da solo mi conviene dargli libdir=/usr/lib64?

Ciao
Grazie
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: Compilazione gnumeric

Messaggioda Ansa89 » sab giu 12, 2010 16:12

Se usi un sistema a 64bit è bene tenere in ordine le librerie, quindi "--libdir=/usr/lib{LIB_SUFFIX}" è necessario.
Avatar utente
Ansa89
Iper Master
Iper Master
 
Messaggi: 2626
Iscritto il: mer ago 29, 2007 16:57
Località: Modena
Nome Cognome: Stefano Ansaloni
Slackware: 13.1
Kernel: 3.18.0-ck1
Desktop: XFCE 4.6.1

Re: Compilazione gnumeric

Messaggioda Zagorax » dom giu 13, 2010 15:34

È una buona idea quella di esportarmi le variabili che solitamente vengono assegnate dagli slackbuild nel file /etc/profile?

Ciao
Zagorax
Linux 1.0
Linux 1.0
 
Messaggi: 64
Iscritto il: dom apr 18, 2010 22:00

Re: [RISOLTO]Compilazione gnumeric

Messaggioda Ansa89 » dom giu 13, 2010 15:37

No, perché sono già assegnate dagli slackbuild.
Avatar utente
Ansa89
Iper Master
Iper Master
 
Messaggi: 2626
Iscritto il: mer ago 29, 2007 16:57
Località: Modena
Nome Cognome: Stefano Ansaloni
Slackware: 13.1
Kernel: 3.18.0-ck1
Desktop: XFCE 4.6.1


Torna a Slackware64

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti