make .plugin

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
bOS
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Samstag 1. März 2003, 21:07

make .plugin

Beitrag von bOS »

cd /home/tux/tuxbox/apps/tuxbox/plugins && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -Os -mcpu=823 -msoft-float -mmultiple -mstring -meabi -pipe" CXXFLAGS="-Wall -Os -mcpu=823 -msoft-float -mmultiple -mstring -meabi -pipe" ./configure --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix=/dbox2/cdkroot --with-driver=/home/tux/tuxbox/driver --with-dvbincludes=/home/tux/tuxbox/driver/dvb/include --with-target=cdk --enable-maintainer-mode --without-debug
Generating configuration files for tuxbox-plugins, please wait....
aclocal
libtoolize --automake
autoconf
autoheader
automake --add-missing
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
fx2/bouquet/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/bouquet/Makefile.am: installing `./depcomp'
fx2/lemm/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/lib/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/master/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/mines/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/pac/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/snake/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/tank/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/tetris/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/yahtzee/Makefile.am:7: variable `PLUGINDIR' not defined
tuxtxt/Makefile.am:15: variable `PLUGINDIR' not defined
fx2/bouquet/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/lemm/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/lib/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/master/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/mines/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/pac/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/snake/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/tank/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/tetris/Makefile.am:7: variable `PLUGINDIR' not defined
fx2/yahtzee/Makefile.am:7: variable `PLUGINDIR' not defined
tuxtxt/Makefile.am:15: variable `PLUGINDIR' not defined
make: *** [/home/tux/tuxbox/apps/tuxbox/plugins/config.status]
waldi
Senior Member
Beiträge: 104
Registriert: Freitag 20. Juli 2001, 00:00

Re: make .plugin

Beitrag von waldi »

bOS hat geschrieben: [blub]
danke fuer die ausfuehrliche meldung, nur hast du leider deine systemdaten vergessen

waldi
bOS
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Samstag 1. März 2003, 21:07

Beitrag von bOS »

[blub]
Es geht um gestrige Head unter Linux.
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

scheint mir dass ...apps/aclocal.m4, was laut CVS ge-cleanup-ed war,
etwas ZU ge-cleaned war. Fix:

Code: Alles auswählen


*** acinclude.m4-1.16   Thu Feb 27 19:36:05 2003
--- acinclude.m4        Sun Mar  2 14:24:28 2003
***************
*** 358,360 ****
--- 358,397 ----
  AC_DEFINE([_GNU_SOURCE])
  ])
  
+ CONFIGDIR="\${localstatedir}/tuxbox/config"
+ _CONFIGDIR="${_targetlocalstatedir}/tuxbox/config"
+ AC_SUBST(CONFIGDIR)
+ AC_DEFINE_UNQUOTED(CONFIGDIR,"$_CONFIGDIR",[where to find the config files])
+ 
+ DATADIR="\${datadir}/tuxbox"
+ _DATADIR="${_targetdatadir}/tuxbox"
+ AC_SUBST(DATADIR)
+ AC_DEFINE_UNQUOTED(DATADIR,"$_DATADIR",[where to find data like icons])
+ 
+ FONTDIR="\${datadir}/fonts"
+ _FONTDIR="${_targetdatadir}/fonts"
+ AC_SUBST(FONTDIR)
+ AC_DEFINE_UNQUOTED(FONTDIR,"$_FONTDIR",[where to find the fonts])
+ 
+ GAMESDIR="\${localstatedir}/tuxbox/games"
+ _GAMESDIR="${_targetlocalstatedir}/tuxbox/games"
+ AC_SUBST(GAMESDIR)
+ AC_DEFINE_UNQUOTED(GAMESDIR,"$_GAMESDIR",[where games data is stored])
+ 
+ LIBDIR="\${libdir}/tuxbox"
+ _LIBDIR="${_targetlibdir}/tuxbox"
+ AC_SUBST(LIBDIR)
+ AC_SUBST(_LIBDIR)
+ AC_DEFINE_UNQUOTED(LIBDIR,"$_LIBDIR",[where to find the internal libs])
+   
+ PLUGINDIR="\${libdir}/tuxbox/plugins"
+ _PLUGINDIR="${_targetlibdir}/tuxbox/plugins"
+ AC_SUBST(PLUGINDIR)
+ AC_DEFINE_UNQUOTED(PLUGINDIR,"$_PLUGINDIR",[where to find the plugins])
+   
+ UCODEDIR="\${localstatedir}/tuxbox/ucodes"
+ _UCODEDIR="${_targetlocalstatedir}/tuxbox/ucodes"
+ AC_SUBST(UCODEDIR)
+ AC_DEFINE_UNQUOTED(UCODEDIR,"$_UCODEDIR",[where to find the ucodes (firmware)]
+ )
+ 
Aber ich weiss naturlich nicht falls es die "saubere" Lösung ist...

Keep hacking,

Barf
bOS
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Samstag 1. März 2003, 21:07

Beitrag von bOS »

Ich habe jetzt aclocal.m4 v.1.15 und es gehtweiter.
Fehler ist weg.
LittleTeddy
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Freitag 24. Mai 2002, 08:13

Beitrag von LittleTeddy »

Hi

Woran erkennt man welche Version die acinclude.m4 Datei hat?

In der Datei selber sind keine versions Info abgelegt!

Ich komme beim kompilieren einfach nicht weiter, von ein paar Tagen hatte ich angefangen den head vom 28.02 und bin auch erst mal beim PLUGINDIR gescheitert . Dann hatte ich die acinculde.m4 aus einem anderen stand rüberkopiert.

Nun versuche ich es heute nochmal den stand zu kompilieren.
waldi
Senior Member
Beiträge: 104
Registriert: Freitag 20. Juli 2001, 00:00

Beitrag von waldi »

LittleTeddy hat geschrieben:Woran erkennt man welche Version die acinclude.m4 Datei hat?
so wie bei jeder anderen? cvs status

waldi
LittleTeddy
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Freitag 24. Mai 2002, 08:13

Beitrag von LittleTeddy »

Kurz danach gibe es bei mir wieder einen Fehler. Ich habe die acinclude v1.15 ins apps/ Verzeichnis gepackt.

CVS stand ist der head von heute.

Dann gibt es folgendes:

Code: Alles auswählen

tuxtxt.c:2512: request for member `font' in something not a structure or union
tuxtxt.c:2522: invalid type argument of `->'
tuxtxt.c:2526: invalid type argument of `->'
tuxtxt.c:2526: invalid type argument of `->'
tuxtxt.c:2555: request for member `font' in something not a structure or union
tuxtxt.c: In function `RenderMessage':
tuxtxt.c:2642: request for member `font' in something not a structure or union
tuxtxt.c:2650: request for member `font' in something not a structure or union
tuxtxt.c:2660: request for member `font' in something not a structure or union
tuxtxt.c:2670: request for member `font' in something not a structure or union
tuxtxt.c:2680: request for member `font' in something not a structure or union
tuxtxt.c:2688: request for member `font' in something not a structure or union
tuxtxt.c: In function `RenderPage':
tuxtxt.c:2753: request for member `font' in something not a structure or union
make[4]: *** [tuxtxt.lo] Fehler 1
make[4]: Verlassen des Verzeichnisses Verzeichnis »/home/tsieden/head_04march/apps/tuxbox/plugins/tuxtxt«
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/home/tsieden/head_04march/apps/tuxbox/plugins/tuxtxt«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/tsieden/head_04march/apps/tuxbox/plugins«
make[1]: *** [all] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/tsieden/head_04march/apps/tuxbox/plugins«
make: *** [.plugins] Fehler 2