Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Fonctionnalités LINKNX
#5
J'ai partiellement résolu mon probleme, il me manquait des packages,
toutefois, ça ne compile pas encore. il semble que configure de linknx
ne soit pas copain copain avec mon package lua...

Un log serait plus parlant pour celui qui voudra bien m'aider Wink

$ ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig && make && make
install
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.exe
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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... version 2.0.7, installed under /usr/local
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 argp.h usability... yes
checking argp.h presence... yes
checking for argp.h... yes
checking for library containing argp_parse... -largp
checking for cppunit-config... no
checking for Cppunit - version >= 1.9.6... checking for gawk...
(cached) gawk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 7.19.2
checking for libcurl >= version 7.14.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for struct tm.tm_gmtoff... no
checking for struct tm.__tm_gmtoff... no
checking for mysql_config executable... not found
checking libesmtp.h usability... no
checking libesmtp.h presence... no
checking for libesmtp.h... no
checking whether to use libesmtp... no
checking for log4cpp-config... /usr/local/bin/log4cpp-config
checking for log4cpp... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LOG4CPP... yes
checking for lua... yes
checking for LUA... Package lua was not found in the pkg-config search
path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found
checking for LUA... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for dup2... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating ticpp/Makefile
config.status: creating include/Makefile
config.status: creating test/Makefile
config.status: creating conf/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/home/Administrateur'
Making all in ticpp
make[2]: Entering directory `/home/Administrateur/ticpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Administrateur/ticpp'
Making all in src
make[2]: Entering directory `/home/Administrateur/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../ticpp -I/usr/
local/includ
e -I/usr/local/include -O2 -DNDEBUG -I/usr/local/include -I/usr/
local/include
-g -O2 -MT luacondition.o -MD -MP -MF ".deps/luacondition.Tpo" -c -
o luacond
ition.o luacondition.cpp; \
then mv -f ".deps/luacondition.Tpo" ".deps/luacondition.Po";
else rm -f
".deps/luacondition.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../ticpp -I/usr/
local/includ
e -I/usr/local/include -O2 -DNDEBUG -I/usr/local/include -I/usr/
local/include
-g -O2 -MT ioport.o -MD -MP -MF ".deps/ioport.Tpo" -c -o ioport.o
ioport.cpp
; \
then mv -f ".deps/ioport.Tpo" ".deps/ioport.Po"; else rm -f
".deps/iopor
t.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../ticpp -I/usr/
local/includ
e -I/usr/local/include -O2 -DNDEBUG -I/usr/local/include -I/usr/
local/include
-g -O2 -MT logger.o -MD -MP -MF ".deps/logger.Tpo" -c -o logger.o
logger.cpp
; \
then mv -f ".deps/logger.Tpo" ".deps/logger.Po"; else rm -f
".deps/logge
r.Tpo"; exit 1; fi
g++ -g -O2 -o linknx.exe linknx.o ruleserver.o objectcontroller.o
common.o e
ibclient.o threads.o timermanager.o persistentstorage.o xmlserver.o
smsgateway.o
emailgateway.o knxconnection.o services.o suncalc.o luacondition.o
ioport.o log
ger.o ../ticpp/libticpp.a -L/usr/local/lib -lpthsem -ldl -L/usr/local/
lib -lcurl
-L/usr/local/lib -llog4cpp -L/usr/local/lib -llua -lm -lm -largp
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find
-llua
collect2: ld returned 1 exit status
make[2]: *** [linknx.exe] Error 1
make[2]: Leaving directory `/home/Administrateur/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrateur'
make: *** [all] Error 2

On 5 mai, 12:50, Casi <supp...@magikdo.com> wrote:
> Merci pour le patch, pour moi ça me conviens comme solution.
>
> Par contre impossible de compiler, voici le config.log
>
> ---------------------------------------------------------------------------­-------------------------------
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by linknx configure 0.0.1.26, which was
> generated by GNU Autoconf 2.60.  Invocation command line was
>
>   $ ./configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = srvdomo-f3ade4
> uname -m = i686
> uname -r = 1.5.25(0.156/4/2)
> uname -s = CYGWIN_NT-5.1
> uname -v = 2008-06-12 19:34
>
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
>
> /bin/arch              = i686
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/X11R6/bin
> PATH: /cygdrive/c/WINDOWS/system32
> PATH: /cygdrive/c/WINDOWS
> PATH: /cygdrive/c/WINDOWS/System32/Wbem
> PATH: /cygdrive/c/Program Files/Sybase/Shared/PowerBuilder/
> PATH: /cygdrive/c/Program Files/Sybase/Shared/PowerBuilder/
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1809: checking for a BSD-compatible install
> configure:1865: result: /usr/bin/install -c
> configure:1876: checking whether build environment is sane
> configure:1919: result: yes
> configure:1984: checking for gawk
> configure:2000: found /usr/bin/gawk
> configure:2011: result: gawk
> configure:2022: checking whether make sets $(MAKE)
> configure:2043: result: yes
> configure:2292: checking for g++
> configure:2308: found /usr/bin/g++
> configure:2319: result: g++
> configure:2350: checking for C++ compiler version
> configure:2357: g++ --version >&5
> g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Copyright © 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:2360: $? = 0
> configure:2367: g++ -v >&5
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/
> configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/
> usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --
> mandir=/usr/share/man --infodir=/usr/share/info --enable-
> languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-
> included-gettext --enable-version-specific-runtime-libs --without-x --
> enable-libgcj --disable-java-awt --with-system-zlib --enable-
> interpreter --disable-libgcj-debug --enable-threads=posix --enable-
> java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --
> enable-hash-synchronization --enable-libstdcxx-debug
> Thread model: posix
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> configure:2370: $? = 0
> configure:2377: g++ -V >&5
> g++: `-V' option must have argument
> configure:2380: $? = 1
> configure:2403: checking for C++ compiler default output file name
> configure:2430: g++    conftest.cpp  >&5
> configure:2433: $? = 0
> configure:2479: result: a.exe
> configure:2484: checking whether the C++ compiler works
> configure:2494: ./a.exe
> configure:2497: $? = 0
> configure:2514: result: yes
> configure:2521: checking whether we are cross compiling
> configure:2523: result: no
> configure:2526: checking for suffix of executables
> configure:2533: g++ -o conftest.exe    conftest.cpp  >&5
> configure:2536: $? = 0
> configure:2560: result: .exe
> configure:2566: checking for suffix of object files
> configure:2592: g++ -c   conftest.cpp >&5
> configure:2595: $? = 0
> configure:2618: result: o
> configure:2622: checking whether we are using the GNU C++ compiler
> configure:2651: g++ -c   conftest.cpp >&5
> configure:2657: $? = 0
> configure:2664: test -z "$ac_cxx_werror_flag" || test ! -s
> conftest.err
> configure:2667: $? = 0
> configure:2674: test -s conftest.o
> configure:2677: $? = 0
> configure:2691: result: yes
> configure:2696: checking whether g++ accepts -g
> configure:2726: g++ -c -g  conftest.cpp >&5
> configure:2732: $? = 0
> configure:2739: test -z "$ac_cxx_werror_flag" || test ! -s
> conftest.err
> configure:2742: $? = 0
> configure:2749: test -s conftest.o
> configure:2752: $? = 0
> configure:2882: result: yes
> configure:2916: checking for style of include used by make
> configure:2944: result: GNU
> configure:2972: checking dependency style of g++
> configure:3062: result: gcc3
> configure:3127: checking for gcc
> configure:3143: found /usr/bin/gcc
> configure:3154: result: gcc
> configure:3392: checking for C compiler version
> configure:3399: gcc --version >&5
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Copyright © 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:3402: $? = 0
> configure:3409: gcc -v >&5
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/
> configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/
> usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --
> mandir=/usr/share/man --infodir=/usr/share/info --enable-
> languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-
> included-gettext --enable-version-specific-runtime-libs --without-x --
> enable-libgcj --disable-java-awt --with-system-zlib --enable-
> interpreter --disable-libgcj-debug --enable-threads=posix --enable-
> java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --
> enable-hash-synchronization --enable-libstdcxx-debug
> Thread model: posix
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> configure:3412: $? = 0
> configure:3419: gcc -V >&5
> gcc: `-V' option must have argument
> configure:3422: $? = 1
> configure:3425: checking whether we are using the GNU C compiler
> configure:3454: gcc -c   conftest.c >&5
> configure:3460: $? = 0
> configure:3467: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:3470: $? = 0
> configure:3477: test -s conftest.o
> configure:3480: $? = 0
> configure:3494: result: yes
> configure:3499: checking whether gcc accepts -g
> configure:3529: gcc -c -g  conftest.c >&5
> configure:3535: $? = 0
> configure:3542: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:3545: $? = 0
> configure:3552: test -s conftest.o
> configure:3555: $? = 0
> configure:3685: result: yes
> configure:3702: checking for gcc option to accept ISO C89
> configure:3776: gcc  -c -g -O2  conftest.c >&5
> configure:3782: $? = 0
> configure:3789: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:3792: $? = 0
> configure:3799: test -s conftest.o
> configure:3802: $? = 0
> configure:3822: result: none needed
> configure:3842: checking dependency style of gcc
> configure:3932: result: gcc3
> configure:3992: checking for ranlib
> configure:4008: found /usr/bin/ranlib
> configure:4019: result: ranlib
> configure:4050: checking how to run the C preprocessor
> configure:4090: gcc -E  conftest.c
> configure:4096: $? = 0
> configure:4134: gcc -E  conftest.c
> conftest.c:10:28: ac_nonexistent.h: No such file or directory
> configure:4140: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "linknx"
> | #define PACKAGE_TARNAME "linknx"
> | #define PACKAGE_VERSION "0.0.1.26"
> | #define PACKAGE_STRING "linknx 0.0.1.26"
> | #define PACKAGE_BUGREPORT "lin...@ouaye.net"
> | #define PACKAGE "linknx"
> | #define VERSION "0.0.1.26"
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:4180: result: gcc -E
> configure:4209: gcc -E  conftest.c
> configure:4215: $? = 0
> configure:4253: gcc -E  conftest.c
> conftest.c:10:28: ac_nonexistent.h: No such file or directory
> configure:4259: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "linknx"
> | #define PACKAGE_TARNAME "linknx"
> | #define PACKAGE_VERSION "0.0.1.26"
> | #define PACKAGE_STRING "linknx 0.0.1.26"
> | #define PACKAGE_BUGREPORT "lin...@ouaye.net"
> | #define PACKAGE "linknx"
> | #define VERSION "0.0.1.26"
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:4313: checking for GNU Pth
> configure:4618: gcc -E  -I/usr/local/include conftest.c
> configure:4624: $? = 0
> configure:4706: gcc -o conftest.exe -g -O2 -I/usr/local/include  -I/
> usr/local/include  -L/usr/local/lib conftest.c  -lpthsem -ldl >&5
> configure:4712: $? = 0
> configure:4719: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:4722: $? = 0
> configure:4729: test -s conftest.exe
> configure:4732: $? = 0
> configure:4803: gcc -o conftest.exe -g -O2 -I/usr/local/include  -I/
> usr/local/include  -L/usr/local/lib conftest.c  -lpthsem -ldl >&5
> configure:4806: $? = 0
> configure:4812: ./conftest.exe
> configure:4815: $? = 0
> configure:4931: result: version 2.0.7, installed under /usr/local
> configure:4940: checking for grep that handles long lines and -e
> configure:5014: result: /usr/bin/grep
> configure:5019: checking for egrep
> configure:5097: result: /usr/bin/grep -E
> configure:5102: checking for ANSI C header files
> configure:5132: gcc -c -g -O2  conftest.c >&5
> configure:5138: $? = 0
> configure:5145: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:5148: $? = 0
> configure:5155: test -s conftest.o
> configure:5158: $? = 0
> configure:5254: gcc -o conftest.exe -g -O2   conftest.c  >&5
> configure:5257: $? = 0
> configure:5263: ./conftest.exe
> configure:5266: $? = 0
> configure:5283: result: yes
> configure:5307: checking for sys/types.h
> configure:5328: gcc -c -g -O2  conftest.c >&5
> configure:5334: $? = 0
> configure:5341: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:5344: $? = 0
> configure:5351: test -s conftest.o
> configure:5354: $? = 0 ...
>
> plus de détails »


Messages dans ce sujet
Fonctionnalités LINKNX - par Casi - 03/05/2009, 23:17:35
Fonctionnalités LINKNX - par jef2000 - 05/05/2009, 00:52:09
Fonctionnalités LINKNX - par sam974 - 05/05/2009, 05:01:58
Fonctionnalités LINKNX - par Casi - 05/05/2009, 11:50:59
Fonctionnalités LINKNX - par Casi - 06/05/2009, 00:24:06
Fonctionnalités LINKNX - par jef2000 - 06/05/2009, 07:24:03
Fonctionnalités LINKNX - par Casi - 06/05/2009, 16:26:51
Fonctionnalités LINKNX - par Casi - 06/05/2009, 21:26:22
Fonctionnalités LINKNX - par jef2000 - 12/05/2009, 08:39:27
Fonctionnalités LINKNX - par Casi - 12/05/2009, 12:23:28
Fonctionnalités LINKNX - par Casi - 12/05/2009, 13:51:44
Fonctionnalités LINKNX - par jef2000 - 12/05/2009, 14:26:15

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)