[linknx] AC_CHECK_PTHSEM(2.0.4,yes,yes,no)

129 views
Skip to first unread message

Roby

unread,
Dec 9, 2011, 4:50:56 AM12/9/11
to domotique-EIB
(pour ne pas polluer le topic sur knxweb2, je me permet de refaire un
topic sur ce souci)

Bonjour,
J'ai voulu essayer, mais il me dit que mon linknx est trop vieux ...
J'ai donc pris celui la :
http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/
Mais impossible de le compiler ...
"checking for ranlib... ranlib
./configure: line 4412: syntax error near unexpected token
`2.0.4,yes,yes,no'
./configure: line 4412: `AC_CHECK_PTHSEM(2.0.4,yes,yes,no)'
make: *** [config.status] Erreur 2"
Quelqu'un a une idée ? (sachant que je n'avais pas de souci pour la
dernière version et que j'ai bien pthsem 2.0.8 d'installé)
merci

Roby

unread,
Dec 10, 2011, 2:13:53 AM12/10/11
to domotique-EIB
Bon, j'ai re installé pthsem et rebooter le pc, maintenant je bloque
sur libcurl, je vais faire pareil, on va bien voir :)

Roby

unread,
Dec 10, 2011, 9:46:38 AM12/10/11
to domotique-EIB
Pour libcurl, j'ai commenté la ligne dans le configure puis après j'ai
eu un souci avec mysql, donc j'ai fait --without-mysql et la c'est
bon :)

Faut que je creuse quand même :)

chitloft

unread,
Dec 11, 2011, 11:13:08 AM12/11/11
to domotique-EIB
Hello, j'ai le meme soucis...mais ca n'a pas fonctionné le reboot...
donc tjs au stade

checking for ranlib... ranlib
./configure: line 4404: syntax error near unexpected token
`2.0.4,yes,yes,no'
./configure: line 4404: `AC_CHECK_PTHSEM(2.0.4,yes,yes,no)'


je cherche...
Arnaud

Anthony PENHARD

unread,
Dec 11, 2011, 4:54:45 PM12/11/11
to domoti...@googlegroups.com
bonsoir,

j'ai essayé aussi pour voir et j'ai eu le même problème ...
le premier ./configure avec un dossier "neuf" passe bien mais le make bloque
et les ./configure suivants donne cette anomalie

en cherchant un peu on tombe sur le forum allemand avec un problème similaire
mais je crois avec bcusdk 0.0.5
( http://knx-user-forum.de/knx-eib-forum/8646-eibd-und-usb-3.html )
Martin Koegler donne une "solution" de "copie" mais dans mon cas cela ne change rien
par contre la commande :
autoreconf -i -I /usr/share/aclocal

a l'air de régler le problème ( je sais pas ce que cela fait ...)

@+
Anthony

Roby

unread,
Dec 12, 2011, 4:12:02 AM12/12/11
to domotique-EIB
et après tu as le souci avec libcurl ou pas ? et mysql ?

comme dit, moi j'ai remis phtsem puis rebooté, mais j'ai tellement
bidouillé ...

Anthony PENHARD

unread,
Dec 12, 2011, 5:17:25 AM12/12/11
to domoti...@googlegroups.com
Salut,

non pas de problème avec libcurl ni mysql
j'ai tout activé et c'est ok


> comme dit, moi j'ai remis phtsem puis rebooté, mais j'ai tellement
> bidouillé ...

il faudrait peut-être mieux que tu recommence de "zéro" pour linknx ...

@+
Anthony

Roby

unread,
Dec 12, 2011, 5:28:16 AM12/12/11
to domotique-EIB
Ben comme dit, j'ai réussi a faire fonctionner la 29, sans le support
de mysql (mais pour le moment je l'utilise pas)

je vais réessayer avec la commande que tu donnes :)

chitloft

unread,
Dec 24, 2011, 10:08:01 AM12/24/11
to domotique-EIB
Hello tous,

bon je trifouille dans tous les sens, et je n'arrive pas a installer
linknx 1.0.29.
j'ai tout repris :
wget http://downloads.sourceforge.net/sourceforge/bcusdk/pthsem_2.0.8.tar.gz
wget http://downloads.sourceforge.net/sourceforge/bcusdk/bcusdk_0.0.5.tar.gz
wget http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.4.tar.bz2
récupérer le tar linknx 1.0.29 depuis la page
http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/

tar xvjf libesmtp-1.0.4.tar.bz2
tar -xzf bcusdk_0.0.5.tar.gz
tar -xzvf pthsem_2.0.8.tar.gz
tar -xzf linknx-linknx.tar.gz

config / make / make install pour tout le monde,
cas particulier pour pthsem

cd /home/linknx/pthsem-2.0.8/
./configure
make
make test
make install
export LD_LIBRARY_PATH=/usr/local/lib
autoreconf -i -I /usr/share/aclocal

puis j'obtiens
/home/linknx/linknx# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/linknx/linknx/
missing --run aclocal-1.11
cd . && /bin/bash /home/linknx/linknx/missing --run automake-1.11 --
foreign
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/linknx/linknx/
missing --run autoconf
configure.ac:13: error: possibly undefined macro: AC_CHECK_PTHSEM
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Erreur 1

Si quelqu'un y voit plus clair... moi j'ai les yeux trop pleins la...

Merci.
Arnaud

Cyrille Demaret

unread,
Dec 24, 2011, 10:34:53 AM12/24/11
to domoti...@googlegroups.com
Quelle distribution?

Cyrille

-----Message d'origine-----
De : domoti...@googlegroups.com [mailto:domoti...@googlegroups.com]
De la part de chitloft
Envoyé : samedi 24 décembre 2011 16:08
À : domotique-EIB
Objet : Re: AC_CHECK_PTHSEM(2.0.4,yes,yes,no)

Cyrille Demaret

unread,
Dec 24, 2011, 11:33:54 AM12/24/11
to domoti...@googlegroups.com
Je viens de retester sur une CentOS 6 64bits fraichement installée avec
l'ISO CentOS-6.2-x86_64-minimal.iso et je n'ai eu aucun problème. Voici le
log complet :

http://ziki.net/linknx-cvs-build.log

J'ai tout compilé et installé en root.

Cyrille

-----Message d'origine-----
De : domoti...@googlegroups.com [mailto:domoti...@googlegroups.com]

De la part de Cyrille Demaret
Envoyé : samedi 24 décembre 2011 16:35
À : domoti...@googlegroups.com
Objet : RE: AC_CHECK_PTHSEM(2.0.4,yes,yes,no)

Arnaud Cognard

unread,
Dec 24, 2011, 12:02:23 PM12/24/11
to domoti...@googlegroups.com
c 1 Debian squeeze, mais sur 1 dockstar, avec mysql + nginx.

Le 24/12/2011 16:34, Cyrille Demaret a �crit :


> Quelle distribution?
>
> Cyrille
>
> -----Message d'origine-----
> De : domoti...@googlegroups.com [mailto:domoti...@googlegroups.com]
> De la part de chitloft

> Envoy� : samedi 24 d�cembre 2011 16:08
> � : domotique-EIB


> Objet : Re: AC_CHECK_PTHSEM(2.0.4,yes,yes,no)
>
> Hello tous,
>
> bon je trifouille dans tous les sens, et je n'arrive pas a installer linknx
> 1.0.29.
> j'ai tout repris :
> wget http://downloads.sourceforge.net/sourceforge/bcusdk/pthsem_2.0.8.tar.gz
> wget http://downloads.sourceforge.net/sourceforge/bcusdk/bcusdk_0.0.5.tar.gz
> wget http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.4.tar.bz2

> r�cup�rer le tar linknx 1.0.29 depuis la page


> http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/
>
> tar xvjf libesmtp-1.0.4.tar.bz2
> tar -xzf bcusdk_0.0.5.tar.gz
> tar -xzvf pthsem_2.0.8.tar.gz
> tar -xzf linknx-linknx.tar.gz
>
> config / make / make install pour tout le monde, cas particulier pour
> pthsem
>
> cd /home/linknx/pthsem-2.0.8/
> ./configure
> make
> make test
> make install
> export LD_LIBRARY_PATH=/usr/local/lib
> autoreconf -i -I /usr/share/aclocal
>
> puis j'obtiens
> /home/linknx/linknx# make

> CDPATH="${ZSH_VERSION+.}:"&& cd .&& /bin/bash /home/linknx/linknx/ missing
> --run aclocal-1.11 cd .&& /bin/bash /home/linknx/linknx/missing --run
> automake-1.11 -- foreign CDPATH="${ZSH_VERSION+.}:"&& cd .&& /bin/bash


> /home/linknx/linknx/ missing --run autoconf
> configure.ac:13: error: possibly undefined macro: AC_CHECK_PTHSEM
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> make: *** [configure] Erreur 1
>
> Si quelqu'un y voit plus clair... moi j'ai les yeux trop pleins la...
>
> Merci.
> Arnaud
>

> On 12 d�c, 11:28, Roby<goo...@macuba.net> wrote:
>> Ben comme dit, j'ai r�ussi a faire fonctionner la 29, sans le support


>> de mysql (mais pour le moment je l'utilise pas)
>>

>> je vais r�essayer avec la commande que tu donnes :)


>>
>> On 12 d�c, 11:17, Anthony PENHARD<a.penh...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Salut,

>>> non pas de probl�me avec libcurl ni mysql j'ai tout activ� et c'est
>>> ok
>>>> comme dit, moi j'ai remis phtsem puis reboot�, mais j'ai tellement
>>>> bidouill� ...
>>> il faudrait peut-�tre mieux que tu recommence de "z�ro" pour linknx ...
>>> @+
>>> Anthony
>

Cyrille

unread,
Dec 25, 2011, 11:25:26 AM12/25/11
to domoti...@googlegroups.com
J'ai installé pthsem sur Debian Wheezy (l'actuelle testing) sans problème.
Mon configure.ac ne contient pas de AC_CHECK_PTHSEM.

Je joins mon config.log à tout hasard...

Cyrille


config.log

tru

unread,
Feb 5, 2012, 8:00:45 AM2/5/12
to domotique-EIB
Salut,

> /home/linknx/linknx# make
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/linknx/linknx/ missing
> --run aclocal-1.11  cd . && /bin/bash /home/linknx/linknx/missing --run
> automake-1.11 -- foreign CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
> /home/linknx/linknx/ missing --run autoconf
> configure.ac:13: error: possibly undefined macro: AC_CHECK_PTHSEM
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> make: *** [configure] Erreur 1
>
> Si quelqu'un y voit plus clair... moi j'ai les yeux trop pleins la...

Autre possibilité: "# touch aclocal.m4 Makefile.in config.h.in
configure" avant "# ./configure" pour éviter cette erreur. C'est parce-
que les dépendences ne sont pas actuelles dans ls CVS
(linknx-0.0.1.29). Moi j'aimerai travailler avec un tar-file
officielle pour linknx-0.0.1.29.

Regards, Othmar
Reply all
Reply to author
Forward
0 new messages