Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - Linknx-Installation scheitert an pthsem

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    - √ - Linknx-Installation scheitert an pthsem

    Hallo,

    leider klappt die Installation von Linknx nicht so einfach, wie im Wiki beschrieben - bei ./configure (als root) meldet mir debian 4.0r2 (auf VIA-Epia Board) folgendes

    fe-knx:/home/frank/linknx-0.0.1.23# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    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 ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for GNU Pth... *FAILED*
    +------------------------------------------------------------------------+
    | Unable to locate pthsem in any system-wide location (see $PATH).
    | Please specify the correct path to either a pthsem installation tree
    | (use --with-pth=DIR if you used --prefix=DIR for installing pthsem in
    | the past) or to a pthsem source tree (use --with-pth=DIR if DIR is a
    | path to a pthsem-X.Y.Z/ directory; but make sure the package is already
    | built, i.e., the "configure; make" step was already performed there).
    +------------------------------------------------------------------------+

    Und das, obwohl ich vorher eibd sauber installieren konnte und auch funktioniert. Soweit ich weis, wird dort doch schon pthsem eingerichtet. Warum findet linknx die jetzt nicht?

    locate pthsem ergibt:

    fe-knx:/home/frank/linknx-0.0.1.23# locate pthsem
    /usr/lib/libpthsem.so.20
    /usr/lib/libpthsem.so.20.0.27
    /usr/share/doc/pthsem
    /usr/share/doc/pthsem/changelog.Debian.gz
    /usr/share/doc/pthsem/changelog.gz
    /usr/share/doc/pthsem/copyright
    /var/cache/apt/archives/pthsem_2.0.7_i386.deb
    /var/lib/dpkg/info/pthsem.list
    /var/lib/dpkg/info/pthsem.md5sums
    /var/lib/dpkg/info/pthsem.postinst
    /var/lib/dpkg/info/pthsem.postrm
    /var/lib/dpkg/info/pthsem.shlibs
    fe-knx:/home/frank/linknx-0.0.1.23#

    So wie es aussieht gibt es also kein DIR-Tree, so wie in der Fehlermeldung angegeben. Habe es so versucht ./configure --with-pth=/usr/lib - leider auch kein Erfolg.

    Wie komme ich da weiter?

    Frank

    #2
    Um etwas mit pthsem zu kompilieren, musst du auch pthsem-dev_2.0.7_i386.deb Pakete einrichten. Dieses Pakete enthalt die ".h" (header files), die erförderlich für kompilieren sind.

    Gruss,

    Jean-François

    Kommentar


      #3
      Vielen Dank! Das hat geholfen.

      Kommentar

      Lädt...
      X