Forum KNX francophone / English KNX forum
knxweb2 et linknx 0.0.1.29 - Version imprimable

+- Forum KNX francophone / English KNX forum (https://www.knx-fr.com)
+-- Forum : Français (https://www.knx-fr.com/forumdisplay.php?fid=3)
+--- Forum : Logiciels libres (linknx, knxweb, pKNyX,...) (https://www.knx-fr.com/forumdisplay.php?fid=10)
+--- Sujet : knxweb2 et linknx 0.0.1.29 (/showthread.php?tid=2123)



knxweb2 et linknx 0.0.1.29 - ber001 - 25/01/2012

Bonjour,

Je viens d'installer linknx 0.0.1.28 et EIBD sur une debian (sur sheevaplug)
J'ai également placer les fichiers knxweb2 dans /var/www.
Mais dois apparemment avoir la version 0.0.1.29 de linknx pour pouvoir l'utiliser.
Etant novice (et pas un expert linux), je ne sais pas comment upgrader linknx de 0.0.1.28 vers 0.0.1.29 et je trouve aucun howto.

Je vois juste qu'il faut mettre à jour le csv mais je ne sais pas trop ce que c'est... ;o)

Quelqu'un pourrait m'expliquer comment réaliser cet upgrade ?
Merci d'avance.
Bertrand.


RE: knxweb2 et linknx 0.0.1.29 - chtiloft - 25/01/2012

oui, il faut la 1.29

tu l'as installé comment ton linknx à l origine ?

sinon, pour infos, c pas csv, mais cvs, c pas pareil Wink


RE: knxweb2 et linknx 0.0.1.29 - ber001 - 25/01/2012

(25/01/2012, 11:13:43)chtiloft a écrit : oui, il faut la 1.29

tu l'as installé comment ton linknx à l origine ?

sinon, pour infos, c pas csv, mais cvs, c pas pareil Wink

J'ai suivi le howto suivant :
http://plugcomputer.org/plugwiki/index.php/EIBD_KNX_Controller

et tout à l'air OK excepté le fait que le check_Insall de knxweb2 me donne le message suivant :
Cannot determine linknx version, you probably have an old version of linknx. You must upgrade to the last CVS version of linknx to use with this version of knxweb.

A oui c'est CVS ;o)
Merci
Bertrand


RE: knxweb2 et linknx 0.0.1.29 - chtiloft - 25/01/2012

cd /home
mkdir linknx
cd /home/linknx

wget -O linknxcvs.tar "http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/?view=tar"
tar -xzf linknx-linknx.tar.gz

cd /home/linknx/ "nom du repertoire linknx détarre"
./configure --without-log4cpp --with-lua --with-mysql=/usr/bin/mysql_config --enable-smtp
make
make install

A adapter peut etre Smile
Arnaud


RE: knxweb2 et linknx 0.0.1.29 - ber001 - 25/01/2012

(25/01/2012, 12:19:25)chtiloft a écrit : cd /home
mkdir linknx
cd /home/linknx

wget -O linknxcvs.tar "http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/?view=tar"
tar -xzf linknx-linknx.tar.gz

cd /home/linknx/ "nom du repertoire linknx détarre"
./configure --without-log4cpp --with-lua --with-mysql=/usr/bin/mysql_config --enable-smtp
make
make install

A adapter peut etre Smile
Arnaud

Merci !

J'ai du install GCC et G++ -> J'ai trouvé pas trop de soucis mais par contre maintenant je reçois le message suivant :

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

qd je fais le ./configure
Pourtant pthsem est installé. N'étant pas un expert linux, je ne sais pas comment lui renseigner la location (je ne sais déjà même pas où il est installé d'ailleurs ;o)



RE: knxweb2 et linknx 0.0.1.29 - chtiloft - 25/01/2012

export LD_LIBRARY_PATH=/usr/local/lib


RE: knxweb2 et linknx 0.0.1.29 - ber001 - 25/01/2012

(25/01/2012, 16:18:27)chtiloft a écrit : export LD_LIBRARY_PATH=/usr/local/lib

Merci mais rien n'y change


root@sheeva:/etc/apt# export LD_LIBRARY_PATH=/usr/local/lib
root@sheeva:/etc/apt# cd /home/linknx/knx/
root@sheeva:/home/linknx/knx# ./configure --without-log4cpp --with-lua --with-mysql=/usr/bin/mysql_config --enable-smtp
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... none
checking dependency style of g++... none
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... none
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).
+------------------------------------------------------------------------+



RE: knxweb2 et linknx 0.0.1.29 - chtiloft - 25/01/2012

il suffit de lire

use --with-pth=DIR

donc dans ton ./configure ajoute --with-pth=/usr/local/lib

a voir si c le bon Repertoire.

good luck


RE: knxweb2 et linknx 0.0.1.29 - ber001 - 26/01/2012

Au secours ! Je deviens fou avec ce pthsem !

J'ai décider de réinstaller ma debian sur mon sheeva plug et de suivre le howto suivant pour installer Linknx EIBD Knwweb : http://www.suricat.net/web/index.php/2011/05/18/1001-knx-eibd-linknx-knxweb-recit-d-une-nuit

Si ce n'est que j'ai downloader linknx 0.0.1.29 à la place du 28 et knxweb2 plutôt que knxweb.

Et lorsque je fais mon ./configure pour installer pthsem 2.0.8, il ne me donne aucun message d'erreur mais je n'ai pas de make...

Grrrr, j'en marre de ce pthsem.

Please Help me

./configure :

root@sheeva:/usr/local/linknx/pthsem-2.0.8# ./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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
Configuring pthsem (Portable Threads), Version 2.0.8
Copyright © 2005-2009 Martin Koegler <mkoegler@auto.tuwien.ac.at>
Copyright © 1999-2006 Ralf S. Engelschall <rse@engelschall.com>
Platform: armv5tel-unknown-linux-gnueabi

Build Tools:
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 for style of include used by make... none
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether make sets $(MAKE)... (cached) no
checking for compilation debug mode... disabled
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/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

Mandatory Platform Environment:
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for gettimeofday... yes
checking for select... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigpending... yes
checking for sigsuspend... yes
decision on mandatory system headers and functions... all fine

Optional Platform Environment:
checking for number of signals... 65
checking for default value of FD_SETSIZE... 1024
checking for poll... yes
checking for define POLLIN in poll.h... yes
checking whether poll(2) facility has to be faked... no
checking for define CLOCK_MONOTONIC in time.h... yes
checking for define __NR_clock_gettime in sys/syscall.h... yes
checking for library containing clock_gettime... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for readv... yes
checking for writev... yes
checking whether readv(2)/writev(2) facility has to be faked... no
checking for usleep... yes
checking for strerror... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for library containing gethostname... none required
checking for library containing accept... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for typedef sig_atomic_t... yes
checking for typedef pid_t... yes
checking for typedef size_t... yes
checking for typedef ssize_t... yes
checking for typedef off_t... yes
checking for typedef stack_t... yes
checking for attribute ss_base in struct sigaltstack from sys/signal.h... no
checking for attribute ss_sp in struct sigaltstack from sys/signal.h... yes
checking for a single-argument based gettimeofday... no
checking for struct timespec... yes
checking for typedef socklen_t... yes
checking for type of argument 3 for accept()... socklen_t *__restrict
checking for fallback socklen_t... socklen_t
checking for typedef nfds_t... yes
checking for type of argument 2 for poll()... nfds_t
checking for fallback nfds_t... nfds_t
checking for built-in type long long... yes
checking for built-in type long double... yes

Machine Context Implementation:
checking for ucontext.h... yes
checking for makecontext... no
checking for swapcontext... no
checking for getcontext... no
checking for setcontext... no
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... no
checking for signal.h... (cached) yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for setjmp... yes
checking for longjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
checking for typedef stack_t... (cached) yes
checking for direction of stack growth... down
checking for makecontext... (cached) no
checking for stack setup via makecontext... N.A.
checking for sigaltstack... (cached) yes
checking for typedef stack_t... (cached) yes
checking for stack setup via sigaltstack... ok
checking for sigstack... (cached) yes
checking for stack setup via sigstack... ok
decision on mctx implementation... sjlj/ssjlj/sas

System Call Mapping:
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/socketcall.h usability... no
checking sys/socketcall.h presence... no
checking for sys/socketcall.h... no
checking for syscall... yes
checking for define SYS_read in sys/syscall.h... yes
checking for dlfcn.h... (cached) yes
checking for define RTLD_NEXT in dlfcn.h... no
checking for syscall dynamic libraries... /usr/lib/libc.so
checking whether soft system call mapping is used... no
checking whether hard system call mapping is used... no

Build Parameters:
no
checking whether to build Pthread library... no
checking whether to build against external OSSP ex library... no
checking whether to build against external Sfio library... no
checking whether to build against external Dmalloc library... no

Output Substitution:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/Makefile
config.status: creating compat/Makefile
config.status: creating pthread-config
config.status: WARNING: 'pthread-config.in' seems to ignore the --datarootdir setting
config.status: creating pthread.h
config.status: creating compat/pth-config
config.status: creating pth-config
config.status: WARNING: 'pth-config.in' seems to ignore the --datarootdir setting
config.status: creating pthsem.pc
config.status: creating pth.h
config.status: creating pth_acmac.h
config.status: creating pth_acdef.h
config.status: pth_acdef.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands



RE: knxweb2 et linknx 0.0.1.29 - chtiloft - 26/01/2012

ca veut dire quoi tu n'as pas de make ???

Allez, respire 1 bon coup...


RE: knxweb2 et linknx 0.0.1.29 - tityann - 26/01/2012

salut
je ne suis pas sur que le
Code :
--with-lua  --enable-smtp
soit obligatoire
chez moi j'ai juste fait un
Code :
./configure
et après la compilation, le support de lua et smtp étaient activés (visualisé au premier lancement de knxweb)

pour pthsem sur debian moi je l'ai eu grâce au paquet bcusdk qui comprend eibd et pthsem
dispo sous
Code :
deb http://www.auto.tuwien.ac.at/~mkoegler/debian eib main

voir la page
paquet debian pour eibd

bye