Re,
Bon comme c'est en utilisant la version 13.04 que j'ai été le plus loin... je suis reparti de cette version.
Après quelques recherche sur le net et sur le wiki calaos... j'ai checké quelques dépendences et certaines manquées donc en plus de celles ci définis dans la doc:
Code:
build-essential libelementary-dev liblog4cpp5-dev libvmime-dev automake autoconf libtool libsigc++-2.0-dev libjansson-dev liblua5.1-0-dev git autopoint libssh-dev libevas1-engines-x libelementary-bin
j'ai installé celles-ci:
Code:
cdbs pkg-config libefl-dev libecore-dev libefl-dev libedje-dev libefl-dev libefreet-dev gettext libow-dev libssl-dev
Mais non pas au hasard (bon ok presque a force de fouiner...) --> j'ai tenu comptes des dépendances sur
https://github.com/calaos/calaos_base/bl...an/control et bingo c'est reparti ! ou presque...
Code:
calaos@MyUBU:~/calaos_base$ sudo ./autogen.sh --prefix=/usr
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
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)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
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 how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
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 ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CALAOS_COMMON... yes
checking for LUA... yes
checking for CALAOS_SERVER... yes
checking for CALAOS_HOME... yes
checking for dlopen... yes
checking whether Theme is to be built... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking whether the compiler supports -Wall -Wextra -Wno-unused-parameter -Wshadow -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections... yes
checking whether to enable assertions... yes
checking for unistd.h... (cached) yes
checking owcapi.h usability... yes
checking owcapi.h presence... yes
checking for owcapi.h... yes
checking for OW_init in -lowcapi... yes
checking for EWEBKIT... no
checking for ECORE_X... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/bin/Makefile
config.status: creating src/bin/calaos_server/Makefile
config.status: creating src/bin/calaos_home/Makefile
config.status: creating src/bin/tools/Makefile
config.status: creating src/widgets/Makefile
config.status: creating src/widgets/clock/Makefile
config.status: creating src/widgets/note/Makefile
config.status: creating data/Makefile
config.status: creating data/themes/Makefile
config.status: creating data/themes/default/Makefile
config.status: creating data/themes/widgets/Makefile
config.status: creating data/themes/widgets/clock/Makefile
config.status: creating data/themes/widgets/note/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
------------------------------------------------------------------------
calaos 2.0
------------------------------------------------------------------------
Configuration Options Summary:
Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
LDFLAGS..............:
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr
Build Calaos Server...: yes
Build Calaos Home.....: yes
Build theme.......... : yes
One Wire support......: yes
EWebkit support.......: no
Ecore_X support.......: yes
calaos@MyUBU:~/calaos_base$ sudo make -v && sudo make install
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
Ceci est un logiciel libre ; voir le source pour les conditions de copie.
Il n'y a PAS de garantie ; tant pour une utilisation COMMERCIALE que pour
RÉPONDRE À UN BESOIN PARTICULIER.
Ce logiciel est construit pour i686-pc-linux-gnu
Making install in src
make[1]: entrant dans le répertoire « /home/calaos/calaos_base/src »
Making install in lib
make[2]: entrant dans le répertoire « /home/calaos/calaos_base/src/lib »
CXX CalaosNetwork.lo
CXX Calendar.lo
CXX CThread.lo
CXX DownloadManager.lo
CXX EcoreTimer.lo
CXX EcoreFdHandler.lo
CXX FileDownloader.lo
CXX Firmwares.lo
CXX IPC.lo
CXX NTPClock.lo
CXX tcpsocket.lo
CXX threadManager.lo
CXX Utils.lo
CXX LuaScript/ScriptBindings.lo
CXX LuaScript/ScriptManager.lo
CXX TimeRange.lo
CXX Prefix.lo
CXXLD libcalaos_common.la
make[3]: entrant dans le répertoire « /home/calaos/calaos_base/src/lib »
make[3]: Rien à faire pour « install-exec-am ».
make[3]: Rien à faire pour « install-data-am ».
make[3]: quittant le répertoire « /home/calaos/calaos_base/src/lib »
make[2]: quittant le répertoire « /home/calaos/calaos_base/src/lib »
Making install in bin
make[2]: entrant dans le répertoire « /home/calaos/calaos_base/src/bin »
Making install in calaos_server
make[3]: entrant dans le répertoire « /home/calaos/calaos_base/src/bin/calaos_server »
CXX main.o
CXX Calaos.o
CXX Room.o
CXX IO/InputTime.o
CXX IO/InputTimer.o
CXX IO/OutputFake.o
CXX IO/IOFactory.o
CXX ListeRoom.o
CXX Rules/Action.o
CXX Rules/ActionStd.o
CXX Rules/ActionTouchscreen.o
CXX Rules/ActionMail.o
CXX Rules/ActionScript.o
CXX Rules/Condition.o
CXX Rules/ConditionStd.o
CXX Rules/ConditionOutput.o
CXX Rules/ConditionStart.o
CXX Rules/ConditionScript.o
CXX Rules/RulesFactory.o
CXX Rule.o
CXX DataLogger.o
CXX Output.o
CXX ListeRule.o
CXX CalaosConfig.o
CXX IO/Wago/WagoCtrl.o
CXX IO/Wago/WODigital.o
CXX IO/Wago/WagoMap.o
CXX IO/Wago/WIDigitalBP.o
CXX IO/Wago/WIDigitalTriple.o
CXX IO/Wago/WIDigitalLong.o
CXX TCPServer.o
CXX TCPConnection.o
CXX Audio/AudioDB.o
CXX Audio/AudioManager.o
CXX Audio/Squeezebox.o
CXX Audio/SqueezeboxDB.o
CXX Audio/AudioInput.o
CXX Audio/AudioOutput.o
CXX IO/IntValue.o
CXX IO/Wago/WITemp.o
CXX IO/OneWire/OWTemp.o
IO/OneWire/OWTemp.cpp: In member function ‘virtual void Calaos::OWTemp::readValue()’:
IO/OneWire/OWTemp.cpp:87:20: attention : ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
CXX IPCam/IPCam.o
CXX IPCam/CamInput.o
CXX IPCam/CamManager.o
CXX IPCam/CamOutput.o
CXX IO/Scenario.o
CXX IPCam/Gadspot.o
CXX IPCam/Axis.o
CXX IPCam/StandardMjpeg.o
CXX IO/Wago/WOVolet.o
CXX UDPServer.o
CXX IO/X10/X10Output.o
CXX IO/InPlageHoraire.o
CXX Input.o
CXX IPCam/Planet.o
CXX TCPProcessor/BaseCommand.o
CXX TCPProcessor/CameraCommand.o
CXX TCPProcessor/IOCommand.o
CXX TCPProcessor/HomeCommand.o
CXX TCPProcessor/RulesCommand.o
CXX TCPProcessor/ListenCommand.o
CXX TCPProcessor/ScenarioCommand.o
CXX IPCam/CamConnection.o
CXX IPCam/CamServer.o
CXX IO/Wago/WODali.o
CXX IO/Wago/WODaliRVB.o
CXX TCPProcessor/AudioCommand.o
CXX Audio/AudioPlayer.o
CXX IO/Wago/WOVoletSmart.o
CXX Scenario/AutoScenario.o
CXX IO/Wago/WOAnalog.o
CXX IO/Wago/WIAnalog.o
CXX PollListenner.o
CXX Audio/AVRManager.o
CXX Audio/AVReceiver.o
CXX Audio/AVRPioneer.o
CXX Audio/AVRDenon.o
CXX Audio/AVROnkyo.o
CXX Audio/AVRMarantz.o
CXX Audio/AVRYamaha.o
CXX IO/OutputLight.o
CXX IO/OutputLightDimmer.o
CXX IO/OutputLightRGB.o
CXX IO/InputSwitch.o
CXX IO/InputSwitchTriple.o
CXX IO/InputSwitchLongPress.o
CXX IO/InputTemp.o
CXX IO/InputAnalog.o
CXX IO/OutputAnalog.o
CXX IO/OutputShutter.o
CXX IO/OutputShutterSmart.o
CXX IO/Web/WebCtrl.o
CXX IO/Web/WebAnalogIn.o
CXX IO/Web/WebOutputLightRGB.o
CXX IO/Gpio/GpioCtrl.o
CXX IO/Gpio/GpioOutputSwitch.o
CXX JsonApiServer.o
CXX JsonApiClient.o
CXX IO/Zibase/Zibase.o
CXX IO/Zibase/ZibaseAnalogIn.o
CXX IO/Zibase/ZibaseDigitalIn.o
CXXLD calaos_server
make[4]: entrant dans le répertoire « /home/calaos/calaos_base/src/bin/calaos_server »
/bin/mkdir -p '/usr/bin'
/bin/bash ../../../libtool --mode=install /usr/bin/install -c calaos_server '/usr/bin'
libtool: install: /usr/bin/install -c calaos_server /usr/bin/calaos_server
make[4]: Rien à faire pour « install-data-am ».
make[4]: quittant le répertoire « /home/calaos/calaos_base/src/bin/calaos_server »
make[3]: quittant le répertoire « /home/calaos/calaos_base/src/bin/calaos_server »
Making install in calaos_home
make[3]: entrant dans le répertoire « /home/calaos/calaos_base/src/bin/calaos_home »
CXX main.o
CXX CommonUtils.o
CXX views/BaseView.o
CXX views/MainContentView.o
CXX ApplicationMain.o
CXX controllers/ApplicationController.o
controllers/ApplicationController.cpp: In lambda function:
controllers/ApplicationController.cpp:289:48: attention : ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
controllers/ApplicationController.cpp: In lambda function:
controllers/ApplicationController.cpp:299:23: attention : ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
controllers/ApplicationController.cpp:300:25: attention : ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
CXX views/ActivityView.o
CXX views/ActivityHomeView.o
CXX views/ActivityMediaView.o
CXX views/ActivityScenariosView.o
CXX views/ActivityConfigView.o
CXX views/ActivityConfigMenuView.o
CXX views/ActivityConfigClockView.o
CXX views/ActivityConfigPasswordView.o
CXX views/ActivityConfigScreensaverView.o
CXX views/ActivityWidgetsView.o
CXX views/ActivityMediaMenuView.o
CXX views/ActivityKeyboardView.o
CXX views/ActivityWebView.o
CXX controllers/ActivityController.o
CXX controllers/ActivityHomeController.o
CXX controllers/ActivityMediaController.o
CXX controllers/ActivityScenariosController.o
CXX controllers/ActivityConfigController.o
CXX controllers/ActivityConfigClockController.o
CXX controllers/ActivityConfigPasswordController.o
CXX controllers/ActivityConfigScreensaverController.o
CXX controllers/ActivityConfigMenuController.o
CXX controllers/ActivityWidgetsController.o
CXX controllers/ActivityMediaMenuController.o
CXX controllers/ActivityKeyboardController.o
CXX controllers/ActivityWebController.o
CXX views/IO/IOScenarioHomeView.o
CXX views/IOView.o
CXX EdjeObject.o
CXX views/MainMenuView.o
CXX CalaosDiscover.o
CXX CalaosConnection.o
CXX CalaosListener.o
CXX models/CalaosModel.o
CXX models/AudioModel.o
CXX models/CameraModel.o
CXX models/RoomModel.o
CXX models/ScenarioModel.o
CXX views/GenlistItems/GenlistItemBase.o
CXX views/GenlistItems/GenlistItemSimple.o
CXX views/GenlistItems/GenlistItemSimpleHeader.o
CXX views/IO/IOWODigitalHomeView.o
CXX views/IO/IOWODaliHomeView.o
CXX views/IO/IOInternalBoolHomeView.o
CXX views/IO/IOInternalIntHomeView.o
CXX views/IO/IOInternalStringHomeView.o
CXX views/IO/IOWODaliRVBHomeView.o
CXX views/IO/IOGenlistScenarioHomeView.o
CXX views/IO/IOWIAnalogHomeView.o
CXX views/IO/IOWOAnalogHomeView.o
CXX views/IO/IOWITempHomeView.o
CXX views/IO/IOWOVoletHomeView.o
CXX views/IO/IOWOVoletSmartHomeView.o
CXX views/IO/IOGenlistRoomGroup.o
CXX views/GenlistItems/GenlistItemPlaylist.o
CXX views/GenlistItems/GenlistItemAlbum.o
CXX views/GenlistItems/GenlistItemAlbumHeader.o
CXX views/GenlistItems/GenlistItemTrack.o
CXX views/GenlistItems/GenlistItemArtist.o
CXX views/GenlistItems/GenlistItemYear.o
CXX views/GenlistItems/GenlistItemGenre.o
CXX views/GenlistItems/GenlistItemBrowserPlaylist.o
CXX views/GenlistItems/GenlistItemPlaylistHeader.o
CXX views/GenlistItems/GenlistItemRadio.o
CXX views/GenlistItems/GenlistItemScenarioSchedule.o
CXX views/GenlistItems/GenlistItemScenarioScheduleTime.o
CXX views/GenlistItems/GenlistItemScenarioAction.o
CXX views/GenlistItems/GenlistItemScenarioHeader.o
CXX views/GenlistItems/GenlistItemWidget.o
CXX views/PagingView.o
CXX views/KeyboardView.o
CXX EvasSmart.o
CXX views/ActivityCameraListView.o
CXX views/ActivityCameraSelectView.o
CXX views/ActivityAudioListView.o
CXX views/ActivityAudioPlayerObject.o
CXX controllers/ActivityCameraListController.o
CXX controllers/ActivityCameraSelectController.o
CXX controllers/ActivityAudioListController.o
CXX views/ActivityEditScenarioView.o
CXX views/ActivityScheduleScenarioView.o
CXX controllers/ActivityEditScenarioController.o
CXX controllers/ActivityScheduleScenarioController.o
CXX Modules.o
CXX views/Widget.o
CXX views/GengridItems/GengridItemBase.o
CXX views/GengridItems/GengridItemConfig.o
CXX XUtils.o
CXX models/ScreenManager.o
CXX views/ScreenSuspendView.o
CXXLD calaos_home
/usr/lib/libedje.so: undefined reference to `ecore_compose_get'
collect2: error: ld returned 1 exit status
make[3]: *** [calaos_home] Erreur 1
make[3]: quittant le répertoire « /home/calaos/calaos_base/src/bin/calaos_home »
make[2]: *** [install-recursive] Erreur 1
make[2]: quittant le répertoire « /home/calaos/calaos_base/src/bin »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/calaos/calaos_base/src »
make: *** [install-recursive] Erreur 1
Toujours le même souci
mais ce coup la j'ai bien le calaos_server...
1st tentative de lancement:
Code:
Calaos Server Daemon - http://www.calaos.fr
# Using config path: /home/calaos/.config/calaos/
# Using cache path: /home/calaos/.cache/calaos/
Error resolving calaos.fr: System error (-11)
9 Mar 15:56:34 ntpdate[2128]: Can't find host calaos.fr: System error (-11)
9 Mar 15:56:34 ntpdate[2128]: no servers can be used, exiting
ERR<2125>:wago IO/Wago/WagoCtrl.cpp:68 bool Calaos::WagoCtrl::Connect()() WagoCtrl::Connect(): Can't connect...
Le temp de comprendre qu'il fallait que je change ma carte reseau dans VM pour utiliser la connexion filaire... au lieu du wifi (branché direct sur le Wago...)
Code:
calaos@MyUBU:~$ ping -a 10.0.0.123
PING 10.0.0.123 (10.0.0.123) 56(84) bytes of data.
64 bytes from 10.0.0.123: icmp_req=2 ttl=64 time=1.91 ms
Ca marche... 2sd tentative
Code:
calaos@MyUBU:~$ sudo calaos_server
Calaos Server Daemon - http://www.calaos.fr
# Using config path: /home/calaos/.config/calaos/
# Using cache path: /home/calaos/.cache/calaos/
Error resolving calaos.fr: System error (-11)
9 Mar 16:03:10 ntpdate[2273]: Can't find host calaos.fr: System error (-11)
9 Mar 16:03:10 ntpdate[2273]: no servers can be used, exiting
ERR<2270>:ecore_con ecore_con.c:1197 _ecore_con_event_server_error() Network is unreachable
ERR<2270>:ecore_con ecore_con.c:1197 _ecore_con_event_server_error() Network is unreachable
ERR<2270>:ecore_con ecore_con.c:1197 _ecore_con_event_server_error() Network is unreachable
ERR<2270>:wago IO/Wago/WagoCtrl.cpp:193 bool Calaos::WagoCtrl::read_words(Utils::UWord, int, std::vector<short unsigned int>&)() WagoCtrl::read_words(): Error reading words... !
Calaos_server semble donc fonctionner, mais je suis toujours coincé par cette erreur de lib
car je n'ai pas le prog calaos_home...
Si vous avez une idée, je suis preneur.
Thanks!