Hi zusammen!
Ich hab mal versucht den epgd auf meinem neuen cubie zu installieren. Als Basis hab ich das Debian image von slovenia genutzt. Nachdem alle erforderlichen Pakete zusammen gesucht wurden, musste ich in epglv/Makefile das Compilerflag "-m32" entfernen (ist wohl nicht arm compatibel ;))
Danach lief die Installation problemlos durch. Leider liefert der Start des deamons einen Fehler. Die Function wurde von mir über
mysql> DROP FUNCTION IF EXISTS epglv;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> DROP FUNCTION IF EXISTS epglvr;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> CREATE FUNCTION epglv RETURNS INT SONAME 'mysqlepglv.so';
Query OK, 0 rows affected (0.00 sec)
mysql> CREATE FUNCTION epglvr RETURNS INT SONAME 'mysqlepglv.so';
Query OK, 0 rows affected (0.00 sec)
Alles anzeigen
eingefügt. Der Syslog sieht nun so aus:
Apr 27 10:31:35 cubie epgd: create index idxscrap_new on recordings(scrap_new);
Apr 27 10:31:35 cubie epgd: SQL-Error in 'select epglv('123', '123')' - Can't initialize function 'epglv'; EPGLV() failed to change locale (1123)
Apr 27 10:31:35 cubie epgd: SQL-Error in 'select epglvr('123', '123')' - Can't initialize function 'epglvr'; EPGLV() failed to change locale (1123)
Apr 27 10:31:35 cubie epgd: Error: Missing functions epglv/epglvr, please install first!
root@cubie:~/vdr-epg-daemon/epglv# uname -a
Linux cubie 3.4.79-sun7i+ #1 SMP PREEMPT Wed Mar 26 19:32:57 CET 2014 armv7l GNU/Linux
root@cubie:~/vdr-epg-daemon/epglv# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 60
Server version: 5.5.35-0+wheezy1 (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> SELECT * FROM mysql.func;
+--------+-----+---------------+----------+
| name | ret | dl | type |
+--------+-----+---------------+----------+
| epglvr | 2 | mysqlepglv.so | function |
| epglv | 2 | mysqlepglv.so | function |
+--------+-----+---------------+----------+
2 rows in set (0.01 sec)
mysql> select epglv();
ERROR 1123 (HY000): Can't initialize function 'epglv'; EPGLV() requires arguments (string, string)
Alles anzeigen
Es scheint also das die Funktion generell vorhanden ist, es aber ein initiallisierungsproblem gibt.
Kennt jemand den Fehler oder kann mir sagen, welche Ausgaben zur weiteren Eingrenzung nötig sind? Ich wollte es hier nicht überladen, daher nur das, was ich im ersten Schritt für sinnvoll gehalten hab.
Schöne Grüße und besten Dank!
David