Seite 2 von 2

Verfasst: 8. September 2008 15:00
von Gandalf333
Vielen Dank für das Wiki, aber leider klappt es bei mir nicht mit dem installieren/ konfigurieren.
Kannst du mir weiterhelfen?
Bin leider kein Linux-Könner.

Code: Alles auswählen

/Utilities2/concordance-0.20/concordance> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


Code: Alles auswählen

~/Utilities2/concordance-0.20/concordance> make
make  all-am
make[1]: Entering directory `/home/frank/Utilities2/concordance-0.20/concordance'
/bin/sh ./libtool --tag=CC   --mode=link gcc -Wall -ansi -pedantic-errors -g -O2 -lconcord  -o concordance concordance-concordance.o
mkdir .libs
gcc -Wall -ansi -pedantic-errors -g -O2 -o concordance concordance-concordance.o  -lconcord
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
/usr/local/lib/libconcord.so: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libconcord.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libconcord.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libconcord.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
/usr/local/lib/libconcord.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char const*)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned int, unsigned int) const'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libconcord.so: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
/usr/local/lib/libconcord.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::length() const'
/usr/local/lib/libconcord.so: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
/usr/local/lib/libconcord.so: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char)'
/usr/local/lib/libconcord.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libconcord.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status
make[1]: *** [concordance] Fehler 1
make[1]: Leaving directory `/home/frank/Utilities2/concordance-0.20/concordance'
make: *** [all] Fehler 2

Verfasst: 9. September 2008 00:44
von a_r_schulz
Wie es aussieht, hast du offenbar die libconcord vorher schon gebaut und installiert. Den Fehlermeldungen nach fehlt offenbar die Standard-C++-Bibliothek; was sagen denn:

uname -a
ldd /usr/local/lib/libconcord.so
rpm -qa libstdc++*
rpm -qa gcc*

Verfasst: 9. September 2008 09:12
von Gandalf333

Code: Alles auswählen

uname -a
Linux linux-685i 2.6.25.11-0.1-default #1 SMP 2008-07-13 20:48:28 +0200 i686 athlon i386 GNU/Linux

Code: Alles auswählen

ldd /usr/local/lib/libconcord.so
        linux-gate.so.1 =>  (0xffffe000)
        libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0xb7ef2000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ee4000)
        libc.so.6 => /lib/libc.so.6 (0xb7da1000)
        /lib/ld-linux.so.2 (0xb7f29000)

Code: Alles auswählen

rpm -qa libstdc++*
libstdc++43-4.3.1_20080507-6.1
libstdc++43-devel-4.3.1_20080507-6.1
libstdc++-devel-4.3-39.1

Code: Alles auswählen

rpm -qa gcc*
gcc43-obj-c++-4.3.1_20080507-6.1
gcc-locale-4.3-39.1
gcc43-ada-4.3.1_20080507-6.1
gcc-fortran-4.3-39.1
gcc-4.3-39.1
gcc43-testresults-4.3.1_20080507-9.1
gcc43-info-4.3.1_20080507-6.1
gcc43-fortran-4.3.1_20080507-6.1
gcc43-java-4.3.1_20080507-9.1
gcc-info-4.3-39.1
gcc-c++-4.3-39.1
gcc43-gij-4.3.1_20080507-9.1
gcc-gij-4.3-39.1
gcc-java-4.3-39.1
gcc43-c++-4.3.1_20080507-6.1
gcc43-locale-4.3.1_20080507-6.1
gcc43-objc-4.3.1_20080507-6.1
gcc-objc-4.3-39.1
gcc-ada-4.3-39.1
gcc43-4.3.1_20080507-6.1
gcc-obj-c++-4.3-39.1

Verfasst: 10. September 2008 09:11
von a_r_schulz
Gandalf333 hat geschrieben:

Code: Alles auswählen

ldd /usr/local/lib/libconcord.so
        linux-gate.so.1 =>  (0xffffe000)
        libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0xb7ef2000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ee4000)
        libc.so.6 => /lib/libc.so.6 (0xb7da1000)
        /lib/ld-linux.so.2 (0xb7f29000)
Da fehlen noch:

Code: Alles auswählen

        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e5e000)
        libm.so.6 => /lib/i686/libm.so.6 (0xb7e38000)
Schau mal im source-Verzeichnis von libconcord nach:

Code: Alles auswählen

[libconcord]$ grep stdc++ *
libtool:postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
Am besten libconcord noch mal komplett neu bauen (braucht das Paket autoconf oder autoconf2):

Code: Alles auswählen

[libconcord]$ make distclean
[libconcord]$ autoreconf --force --install
[libconcord]$ ./configure
[libconcord]$ make
[libconcord]$ sudo make install

Re: Langsame Software - OpenSource

Verfasst: 1. Januar 2010 13:43
von bLUEaNGEL
Hallo zusammen,

ist denn seitens Logitech geplant, auch Linux (z.B. Ubuntu) zu unterstützen?

Re: Langsame Software - OpenSource

Verfasst: 5. Januar 2010 12:39
von HellG
st denn seitens Logitech geplant, auch Linux (z.B. Ubuntu) zu unterstützen?
Was meinst Du mit Unterstützen? Im wesentlichen ist die Harmony Software nichts anderes als ein Webbrowser mit Software zum programmieren der Fernbedienung über USB. Die Webseite kannst Du auch mit jedem normalen Internetbrowser ansurfen: http://members.harmonyremote.com . Wenn Du jetzt noch den user-agent Deines Browsers änderst (Firefox: about:config, Rechte Maustaste "New"/"String", "general.useragent.override","HarmonyBrowser/7.6.0 (;;;;;;)"), dann hast Du die gleiche schöne Webseite auch unter Linux. Leider funktioniert hier libconcord/concordance/congruity (noch?!?) nicht. Für Aktionen wie Anlernen oder Programmieren der Fernbedienung musst Du also wieder mit dem normalen Firefox arbeiten. Soviel zu der Oberfläche und die Programmierung und Anlernen läuft mit libconcord/concordance/congruity einwandfrei. Übrigens lassen sich auf diesem Weg auch beliebig viele Pronto Hex Codes in ein Profil einfügen.

Gruß HellG

Re: Langsame Software - OpenSource

Verfasst: 28. Januar 2010 18:51
von Mike1304
Gibt es eine Möglichkeit mit concordance unter Windows die Konfiguration in lesbarer Form zu dumpen?
Ich möchte nicht sichern und schon garnicht zurückspielen, sondern nachsehen welche Codes da wirklich drin sind.

Ich experimentiere mit anlernen, raw anlernen und ProntoCode anlernen und habe den Eindruck, das meine Harmony macht was sie will, nicht was ich will.

Ich hab mal die FB über USB angeschlossen und Concordance -c gemacht.
Sollte lt. Help (-h) die config dumpen - bring aber nur Fehler:

Code: Alles auswählen

C:\.......HarmonyOne\Concordance>concordance -c
Concordance 0.21
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

Marke1
Requesting Identity: ERROR: failed to requesting identity
Failed with error 1
Hat jemand eine Idee dazu?

Re: Langsame Software - OpenSource

Verfasst: 28. Januar 2010 23:54
von a_r_schulz
Wie schon im anderen Thread gesagt - falls Du es mit der One versucht hast - die wird von concordance (noch?) nicht unterstützt.
Was wo in der Config-Datei drinsteht, ist auch noch weitestgehend unerforscht.

Re: Langsame Software - OpenSource

Verfasst: 29. Januar 2010 06:48
von Mike1304
danke für die Antwort, da habe ich wohl
We currently support all models except for the 890 and 1000.
auf http://www.phildev.net/concordance/ falsch vertanden.

Re: Langsame Software - OpenSource

Verfasst: 29. Januar 2010 10:36
von a_r_schulz
..das war noch aus der Zeit, bevor die One auf den Markt kam. Etwas aktueller ist die Liste unter:
http://www.phildev.net/concordance/supp ... dels.shtml
In der fehlen aber auch noch die 700, 900 und 1100 (mit denen concordance auch nicht funktioniert).
Da Phil offenbar auch kaum noch Zeit für concordance hat, ist wohl auch nicht damit zu rechnen, dass sich das in nächster Zeit ändert...

Re: Langsame Software - OpenSource

Verfasst: 29. Januar 2010 15:32
von Mike1304
ok,

gibts irgendeine andere Möglichkeit die Codes der Befehle zu sehen, due tatsächlich verwendet werden?
Oder kann man die Datenbank von Logitech irgendwie einsehen?