[Install] Compilazione Open Gogear

Installazione, configurazione e uso di programmi e strumenti.
gingko
Prode Principiante
Messaggi: 5
Iscrizione: giovedì 2 settembre 2010, 16:35
Località: Padova

[Install] Compilazione Open Gogear

Messaggio da gingko »

Salve a tutti  ;D
Sono passato da qualche mese a Ubuntu e mi trovo benissimo... l'unico problema che ho riscontrato è che non riesco a montare il mio lettore MP4 Gogear della Philips (SA3125/02).
Girando per internet ho scoperto il programma Open Gogear.
Non sono riuscito a installarlo tramite pacchetto .deb, quindi ho provato a compilarlo...
Ho estratto l'archivio tar.bz2, ho dato make come dice il README ma:

Codice: Seleziona tutto

ravanello@BEPI:~/Scaricati/opengogear$ make
In order to compile this software correctly, you need:
- sqlite includes (www.sqlite.org - tested with 2.8.15)
- id3lib includes (www.id3lib.org - tested with 3.8.3)
- a c/c++ compiler, make
g++ -Wall -pedantic -lsqlite -lid3 -lz -o gogear_add gogear_add.cpp
gogear_add.cpp:20:20: error: sqlite.h: Nessun file o directory
gogear_add.cpp:21:17: error: id3.h: Nessun file o directory
gogear_add.cpp:22:21: error: id3/tag.h: Nessun file o directory
gogear_add.cpp:28: error: expected initializer before ‘*’ token
gogear_add.cpp:29: error: ‘ID3_Tag’ does not name a type
gogear_add.cpp:30: error: expected initializer before ‘*’ token
gogear_add.cpp:35: error: expected initializer before ‘*’ token
gogear_add.cpp:40: error: ‘ID3_FrameID’ was not declared in this scope
gogear_add.cpp: In function ‘int main(int, char**)’:
gogear_add.cpp:52: error: ‘exit’ was not declared in this scope
gogear_add.cpp:54: error: ‘db’ was not declared in this scope
gogear_add.cpp:54: error: ‘sqlite_open’ was not declared in this scope
gogear_add.cpp:57: error: ‘exit’ was not declared in this scope
gogear_add.cpp:60: error: ‘tag’ was not declared in this scope
gogear_add.cpp:60: error: ‘ID3Tag_New’ was not declared in this scope
gogear_add.cpp:61: error: ‘ID3Tag_Link’ was not declared in this scope
gogear_add.cpp:63: error: ‘ID3FID_TITLE’ was not declared in this scope
gogear_add.cpp:63: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:66: error: ‘ID3FID_LEADARTIST’ was not declared in this scope
gogear_add.cpp:66: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:70: error: ‘ID3FID_ALBUM’ was not declared in this scope
gogear_add.cpp:70: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:74: error: ‘ID3FID_TRACKNUM’ was not declared in this scope
gogear_add.cpp:74: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:74: error: ‘atoi’ was not declared in this scope
gogear_add.cpp:76: error: ‘ID3FID_SONGLEN’ was not declared in this scope
gogear_add.cpp:76: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:81: error: ‘ID3FID_YEAR’ was not declared in this scope
gogear_add.cpp:81: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:83: error: ‘ID3FID_CONTENTTYPE’ was not declared in this scope
gogear_add.cpp:83: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:87: error: ‘headerTag’ was not declared in this scope
gogear_add.cpp:87: error: ‘ID3TT_ALL’ was not declared in this scope
gogear_add.cpp:88: error: expected initializer before ‘*’ token
gogear_add.cpp:89: error: ‘mp3info’ was not declared in this scope
gogear_add.cpp:114: error: ‘sqlite_exec_printf’ was not declared in this scope
gogear_add.cpp:116: error: ‘SQLITE_OK’ was not declared in this scope
gogear_add.cpp:121: error: ‘sqlite_close’ was not declared in this scope
gogear_add.cpp: At global scope:
gogear_add.cpp:125: error: redefinition of ‘char* id3read’
gogear_add.cpp:40: error: ‘char* id3read’ previously defined here
gogear_add.cpp:125: error: ‘ID3_FrameID’ was not declared in this scope
gogear_add.cpp:37: warning: ‘is_there’ defined but not used
gogear_add.cpp:38: warning: ‘int checkCallback(void*, int, char**, char**)’ declared ‘static’ but never defined
make: *** [gogear_add] Errore 1
Che faccio? Ho provato a utilizzare checkinstall, ma mi da sempre errore:

Codice: Seleziona tutto

ravanello@BEPI:~/Scaricati/opengogear$ sudo checkinstall

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
           Questo software è rilasciato sotto i termini della licenza GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: y

Preparazione documentazione pacchetto in corso...OK

Inserire una breve descrizione per il pacchetto.
Termina la tua descrizione con un linea vuota o EOF.
>> opengogear
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

Il pacchetto verrà costruito con le seguenti caratteristiche: 

0 -  Maintainer: [ root@BEPI ]
1 -  Summary: [ opengogear ]
2 -  Name:    [ opengogear ]
3 -  Version: [ 20100902 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ opengogear ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ opengogear ]

Inserisci il corrispondente numero per cambiare una caratteristica (seguito da INVIO) oppure premere INVIO per continuare: 

Installing with make...Installing with install...

========================= Risultato installazione ===========================
In order to compile this software correctly, you need:
- sqlite includes (www.sqlite.org - tested with 2.8.15)
- id3lib includes (www.id3lib.org - tested with 3.8.3)
- a c/c++ compiler, make
g++ -Wall -pedantic -lsqlite -lid3 -lz -o gogear_add gogear_add.cpp
gogear_add.cpp:20:20: error: sqlite.h: Nessun file o directory
gogear_add.cpp:21:17: error: id3.h: Nessun file o directory
gogear_add.cpp:22:21: error: id3/tag.h: Nessun file o directory
gogear_add.cpp:28: error: expected initializer before ‘*’ token
gogear_add.cpp:29: error: ‘ID3_Tag’ does not name a type
gogear_add.cpp:30: error: expected initializer before ‘*’ token
gogear_add.cpp:35: error: expected initializer before ‘*’ token
gogear_add.cpp:40: error: ‘ID3_FrameID’ was not declared in this scope
gogear_add.cpp: In function ‘int main(int, char**)’:
gogear_add.cpp:52: error: ‘exit’ was not declared in this scope
gogear_add.cpp:54: error: ‘db’ was not declared in this scope
gogear_add.cpp:54: error: ‘sqlite_open’ was not declared in this scope
gogear_add.cpp:57: error: ‘exit’ was not declared in this scope
gogear_add.cpp:60: error: ‘tag’ was not declared in this scope
gogear_add.cpp:60: error: ‘ID3Tag_New’ was not declared in this scope
gogear_add.cpp:61: error: ‘ID3Tag_Link’ was not declared in this scope
gogear_add.cpp:63: error: ‘ID3FID_TITLE’ was not declared in this scope
gogear_add.cpp:63: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:66: error: ‘ID3FID_LEADARTIST’ was not declared in this scope
gogear_add.cpp:66: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:70: error: ‘ID3FID_ALBUM’ was not declared in this scope
gogear_add.cpp:70: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:74: error: ‘ID3FID_TRACKNUM’ was not declared in this scope
gogear_add.cpp:74: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:74: error: ‘atoi’ was not declared in this scope
gogear_add.cpp:76: error: ‘ID3FID_SONGLEN’ was not declared in this scope
gogear_add.cpp:76: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:81: error: ‘ID3FID_YEAR’ was not declared in this scope
gogear_add.cpp:81: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:83: error: ‘ID3FID_CONTENTTYPE’ was not declared in this scope
gogear_add.cpp:83: error: ‘id3read’ cannot be used as a function
gogear_add.cpp:87: error: ‘headerTag’ was not declared in this scope
gogear_add.cpp:87: error: ‘ID3TT_ALL’ was not declared in this scope
gogear_add.cpp:88: error: expected initializer before ‘*’ token
gogear_add.cpp:89: error: ‘mp3info’ was not declared in this scope
gogear_add.cpp:114: error: ‘sqlite_exec_printf’ was not declared in this scope
gogear_add.cpp:116: error: ‘SQLITE_OK’ was not declared in this scope
gogear_add.cpp:121: error: ‘sqlite_close’ was not declared in this scope
gogear_add.cpp: At global scope:
gogear_add.cpp:125: error: redefinition of ‘char* id3read’
gogear_add.cpp:40: error: ‘char* id3read’ previously defined here
gogear_add.cpp:125: error: ‘ID3_FrameID’ was not declared in this scope
gogear_add.cpp:37: warning: ‘is_there’ defined but not used
gogear_add.cpp:38: warning: ‘int checkCallback(void*, int, char**, char**)’ declared ‘static’ but never defined
make: *** [gogear_add] Errore 1

****  Installazione fallita. Creazione del paccheto annullata.

Ripristina il file sovrascritto dal backup...OK

Pulitura in corso...OK

Ciao.

:'( Cosa posso fare?
Grazie in anticipo  :)
Avatar utente
MoonDragon
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1680
Iscrizione: sabato 17 aprile 2010, 17:46
Desktop: Gnome
Distribuzione: Ubuntu 20.04.6 64-bit gdm3 xorg
Sesso: Maschile
Contatti:

Re: [Install] Compilazione Open Gogear

Messaggio da MoonDragon »

perchè non lo gestisci con rhythmboxhttp://forum.ubuntu-it.org/viewtopic.php?t=427190
"Coltiva 🐧 LINUX tanto WINDOWS si pianta da solo e la MELA è già stata morsa" :p
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 13 ospiti