conpilazione vdr errore

Forum principale per problemi di compilazione, installazione, configurazione etc.

Moderatori: ragno, tapino, alez, zulu, davidea

Rispondi
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

conpilazione vdr errore

Messaggio da antonio 7319 »

ciao
dopo essermi cimentato con delle distro vdr precompilate riuscendo a farle funzionare
ora sto provando a creare una vdrbox con archlinux seguendo la guida sul sito
ma installando vdr 1.6.0
quando lancio il comando make clean e make non mi compila e mi da errore ho installato anche il binutils gcc
come distro uso archlinux 2009 02 aggiornata
bay
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

Re: conpilazione vdr errore

Messaggio da antonio 7319 »

questo e il comando make clean


[root@vdrbox current]# make clean
font.c:14:10: error: #include expects "FILENAME" or
make: *** Deleting file `.dependencies'
make -C ./libsi clean
make[1]: Entering directory `/vdr/vdr-1.6.0/libsi'
make[1]: Leaving directory `/vdr/vdr-1.6.0/libsi'
make[1]: Entering directory `/vdr/vdr-1.6.0/libsi'
make[1]: Leaving directory `/vdr/vdr-1.6.0/libsi'
rm -f audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o

eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o

receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o

status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o .dependencies vdr core* *~
rm -rf locale po/*.mo po/*.pot
rm -rf include
rm -rf srcdoc
[root@vdrbox current]#

questo e il comando make

[root@vdrbox current]# make
font.c:14:10: error: #include expects "FILENAME" or
make: *** Deleting file `.dependencies'
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 audio.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 channels.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 ci.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 config.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 cutter.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 device.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 diseqc.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbdevice.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbci.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbosd.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbplayer.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbspu.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 dvbsubtitle.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 eit.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 eitscan.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 epg.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 filter.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE

-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 font.c
font.c:12:35: error: fontconfig/fontconfig.h: No such file or directory
font.c:13:22: error: ft2build.h: No such file or directory
font.c:14:10: error: #include expects "FILENAME" or
font.c:46: error: 'FT_GlyphSlotRec_' has not been declared
font.c:61: error: 'FT_GlyphSlotRec_' has not been declared
font.c: In constructor 'cGlyph::cGlyph(uint, int*)':
font.c:64: error: request for member 'advance' in '* GlyphData', which is of non-class type 'int'
font.c:65: error: request for member 'advance' in '* GlyphData', which is of non-class type 'int'
font.c:66: error: request for member 'bitmap_left' in '* GlyphData', which is of non-class type 'int'
font.c:67: error: request for member 'bitmap_top' in '* GlyphData', which is of non-class type 'int'
font.c:68: error: request for member 'bitmap' in '* GlyphData', which is of non-class type 'int'
font.c:69: error: request for member 'bitmap' in '* GlyphData', which is of non-class type 'int'
font.c:70: error: request for member 'bitmap' in '* GlyphData', which is of non-class type 'int'
font.c:72: error: request for member 'bitmap' in '* GlyphData', which is of non-class type 'int'
font.c: At global scope:
font.c:98: error: 'FT_Library' does not name a type
font.c:99: error: 'FT_Face' does not name a type
font.c: In constructor 'cFreetypeFont::cFreetypeFont(const char*, int, int)':
font.c:118: error: 'library' was not declared in this scope
font.c:118: error: 'FT_Init_FreeType' was not declared in this scope
font.c:120: error: 'face' was not declared in this scope
font.c:120: error: 'FT_New_Face' was not declared in this scope
font.c:126: error: 'FT_UInt' was not declared in this scope
font.c:126: error: expected `;' before 'glyph_index'
font.c:127: error: 'glyph_index' was not declared in this scope
font.c:127: error: 'FT_LOAD_DEFAULT' was not declared in this scope
font.c:127: error: 'FT_Load_Glyph' was not declared in this scope
font.c:129: error: 'FT_RENDER_MODE_NORMAL' was not declared in this scope
font.c:129: error: 'FT_Render_Glyph' was not declared in this scope
font.c:146: error: 'FT_Set_Char_Size' was not declared in this scope
font.c: In destructor 'virtual cFreetypeFont::~cFreetypeFont()':
font.c:164: error: 'face' was not declared in this scope
font.c:164: error: 'FT_Done_Face' was not declared in this scope
font.c:165: error: 'library' was not declared in this scope
font.c:165: error: 'FT_Done_FreeType' was not declared in this scope
font.c: In member function 'int cFreetypeFont::Kerning(cGlyph*, uint) const':
font.c:174: error: 'FT_Vector' was not declared in this scope
font.c:174: error: expected `;' before 'delta'
font.c:175: error: 'FT_UInt' was not declared in this scope
font.c:175: error: expected `;' before 'glyph_index'
font.c:176: error: expected `;' before 'glyph_index_prev'
font.c:177: error: 'face' was not declared in this scope
font.c:177: error: 'glyph_index_prev' was not declared in this scope
font.c:177: error: 'glyph_index' was not declared in this scope
font.c:177: error: 'FT_KERNING_DEFAULT' was not declared in this scope
font.c:177: error: 'delta' was not declared in this scope
font.c:177: error: 'FT_Get_Kerning' was not declared in this scope
font.c: In member function 'cGlyph* cFreetypeFont::Glyph(uint, bool) const':
font.c:198: error: 'FT_UInt' was not declared in this scope
font.c:198: error: expected `;' before 'glyph_index'
font.c:201: error: 'face' was not declared in this scope
font.c:201: error: 'glyph_index' was not declared in this scope
font.c:201: error: 'FT_LOAD_DEFAULT' was not declared in this scope
font.c:201: error: 'FT_Load_Glyph' was not declared in this scope
font.c:210: error: 'FT_RENDER_MODE_NORMAL' was not declared in this scope
font.c:210: error: 'FT_Render_Glyph' was not declared in this scope
font.c:212: error: 'FT_RENDER_MODE_MONO' was not declared in this scope
font.c:212: error: 'FT_Render_Glyph' was not declared in this scope
font.c: In static member function 'static bool cFont::GetAvailableFontNames(cStringList*, bool)':
font.c:365: error: 'FcInit' was not declared in this scope
font.c:366: error: 'FcObjectSet' was not declared in this scope
font.c:366: error: 'os' was not declared in this scope
font.c:366: error: 'FC_FAMILY' was not declared in this scope
font.c:366: error: 'FC_STYLE' was not declared in this scope
font.c:366: error: 'FcObjectSetBuild' was not declared in this scope
font.c:367: error: 'FcPattern' was not declared in this scope
font.c:367: error: 'pat' was not declared in this scope
font.c:367: error: 'FcPatternCreate' was not declared in this scope
font.c:368: error: 'FC_SCALABLE' was not declared in this scope
font.c:368: error: 'FcTrue' was not declared in this scope
font.c:368: error: 'FcPatternAddBool' was not declared in this scope
font.c:370: error: 'FC_SPACING' was not declared in this scope
font.c:370: error: 'FC_MONO' was not declared in this scope
font.c:370: error: 'FcPatternAddInteger' was not declared in this scope
font.c:371: error: 'FcFontSet' was not declared in this scope
font.c:371: error: 'fontset' was not declared in this scope
font.c:371: error: 'FcFontList' was not declared in this scope
font.c:373: error: 'FcNameUnparse' was not declared in this scope
font.c:395: error: 'FcFontSetDestroy' was not declared in this scope
font.c:396: error: 'FcPatternDestroy' was not declared in this scope
font.c:397: error: 'FcObjectSetDestroy' was not declared in this scope
font.c:398: error: 'FcFini' was not declared in this scope
font.c: In static member function 'static cString cFont::GetFontFileName(const char*)':
font.c:411: error: 'FcInit' was not declared in this scope
font.c:412: error: 'FcPattern' was not declared in this scope
font.c:412: error: 'pat' was not declared in this scope
font.c:412: error: 'FcChar8' was not declared in this scope
font.c:412: error: expected primary-expression before ')' token
font.c:412: error: 'FcNameParse' was not declared in this scope
font.c:413: error: 'FC_SCALABLE' was not declared in this scope
font.c:413: error: 'FcTrue' was not declared in this scope
font.c:413: error: 'FcPatternAddBool' was not declared in this scope
font.c:414: error: 'FcMatchPattern' was not declared in this scope
font.c:414: error: 'FcConfigSubstitute' was not declared in this scope
font.c:415: error: 'FcDefaultSubstitute' was not declared in this scope
font.c:416: error: 'FcFontSet' was not declared in this scope
font.c:416: error: 'fontset' was not declared in this scope
font.c:416: error: 'FcFalse' was not declared in this scope
font.c:416: error: 'FcFontSort' was not declared in this scope
font.c:419: error: 'FcBool' was not declared in this scope
font.c:419: error: expected `;' before 'scalable'
font.c:420: error: 'scalable' was not declared in this scope
font.c:420: error: 'FcPatternGetBool' was not declared in this scope
font.c:422: error: 's' was not declared in this scope
font.c:423: error: 'FC_FILE' was not declared in this scope
font.c:423: error: 'FcPatternGetString' was not declared in this scope
font.c:428: error: 'FcFontSetDestroy' was not declared in this scope
font.c:432: error: 'FcPatternDestroy' was not declared in this scope
font.c:434: error: 'FcFini' was not declared in this scope
make: *** [font.o] Error 1
[root@vdrbox current]#
Avatar utente
Gringo
Messaggi: 1796
Iscritto il: 21 gen 2007, 19:36

Re: conpilazione vdr errore

Messaggio da Gringo »

Codice: Seleziona tutto

Dipendenze:

pacman -S libjpeg libcap freetype2 fontconfig

Pacchetti di sviluppo:

pacman -S patch make gcc binutils
Poi riprova a compilare :-)
VDRBOX:
Software: ArchLinux 0.8 Don't Panic, VDR 1.6.0-2 con Extension Patch v.62 (> 70 plugins in IT)
Hardware: Intel P4 2,4 Ghz, 1 GB RAM, DVB-S Hauppauge WinTV Nexus-S rev 2.1, DVB-T Terratec Cinergy 1400, telecomando Terratec
Case: Compaq D510 SFF
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

Re: conpilazione vdr errore

Messaggio da antonio 7319 »

pacman -S lirc
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

Re: conpilazione vdr errore

Messaggio da antonio 7319 »

ciao
sono riuscito a compilare vdr non vedo nessun errore
pero quando mando il comando
./ vdr -c / etc / vdr
risponde vdr: no fonts available - OSD will not show any text!
bay
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

Re: conpilazione vdr errore

Messaggio da antonio 7319 »

ciao
ho dovuto mettere gli spazi negli perche non partiva il messaggio
bay
antonio 7319
Messaggi: 166
Iscritto il: 31 gen 2007, 23:23

Re: conpilazione vdr errore

Messaggio da antonio 7319 »

ciao
ho appena reinstallato arch linux per avere un sistema pulito
per installare lirc mando il comando pacman -S lirc
poi che comandi devo dare per un ricevitore usb media center
per poi compilate vdr con l'opzione lirc
bay
Avatar utente
Gringo
Messaggi: 1796
Iscritto il: 21 gen 2007, 19:36

Re: conpilazione vdr errore

Messaggio da Gringo »

antonio 7319 ha scritto:ciao
sono riuscito a compilare vdr non vedo nessun errore
pero quando mando il comando
./ vdr -c / etc / vdr
risponde vdr: no fonts available - OSD will not show any text!
bay
Ti mancano i font truetype come spiegato nel file readme presente nei sorgenti di VDR.
VDRBOX:
Software: ArchLinux 0.8 Don't Panic, VDR 1.6.0-2 con Extension Patch v.62 (> 70 plugins in IT)
Hardware: Intel P4 2,4 Ghz, 1 GB RAM, DVB-S Hauppauge WinTV Nexus-S rev 2.1, DVB-T Terratec Cinergy 1400, telecomando Terratec
Case: Compaq D510 SFF
Rispondi