Auteur Topic: cmake compilen bootstrap fout  (gelezen 7347 keer)

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
cmake compilen bootstrap fout
« Gepost op: 16 maart 2014, 16:29:07 »
Kan iemand mij vertellen wat hier mis gaat op het einde, ik probeer cmake te compilen, voor de verdere installatie van domoticz, heeft altijd gewerkt, maar na de update naar de laatste DSM versie 5.0 werkt t niet meer.


XX_HAS_UNSETENV=1 -DKWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=0 -c /tmp/cmake-2.8.10/Sou                                                                                                             rce/kwsys/SystemTools.cxx -o SystemTools.o
gcc -I/tmp/cmake-2.8.10/Bootstrap.cmk -I/tmp/cmake-2.8.10/Source   -I/tmp/cmake-                                                                                                             2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /tmp/cmake-2.8.10/Source/kwsys/                                                                                                             ProcessUNIX.c -o ProcessUNIX.o
gcc -I/tmp/cmake-2.8.10/Bootstrap.cmk -I/tmp/cmake-2.8.10/Source   -I/tmp/cmake-                                                                                                             2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -DKWSYS_STRING_C -c /tmp/cmake-2.8.                                                                                                             10/Source/kwsys/String.c -o String.o
gcc -I/tmp/cmake-2.8.10/Bootstrap.cmk -I/tmp/cmake-2.8.10/Source   -I/tmp/cmake-                                                                                                             2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /tmp/cmake-2.8.10/Source/kwsys/                                                                                                             System.c -o System.o
g++   -I/tmp/cmake-2.8.10/Bootstrap.cmk -I/tmp/cmake-2.8.10/Source   -I/tmp/cmak                                                                                                             e-2.8.10/Bootstrap.cmk  cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o c                                                                                                             mCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.                                                                                                             o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocument                                                                                                             ationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinit                                                                                                             ion.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerato                                                                                                             r.o cmExportInstallFileGenerator.o cmExportSet.o cmExportSetMap.o cmInstallDirec                                                                                                             toryGenerator.o cmGeneratedFileStream.o cmGeneratorTarget.o cmGeneratorExpressio                                                                                                             nDAGChecker.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o cmGe                                                                                                             neratorExpressionParser.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGen                                                                                                             erator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator                                                                                                             .o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmS                                                                                                             ourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o                                                                                                              cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGene                                                                                                             rator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.                                                                                                             o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmOSXBundleGene                                                                                                             rator.o cmNewLineStyle.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o                                                                                                              cmCustomCommand.o cmCustomCommandGenerator.o cmDocumentVariables.o cmCacheManage                                                                                                             r.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderD                                                                                                             irectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cm                                                                                                             ExprParser.o cmExprParserHelper.o cmGlobalNinjaGenerator.o cmLocalNinjaGenerator                                                                                                             .o cmNinjaTargetGenerator.o cmNinjaNormalTargetGenerator.o cmNinjaUtilityTargetG                                                                                                             enerator.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.                                                                                                             o ProcessUNIX.o String.o System.o -o cmake
Segmentation fault (core dumped)
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
NAS>
  • Mijn Synology: DS412+

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1340
  • -Ontvangen: 7795
  • Berichten: 43.189
  • FIFO / LIFO
    • Truebase
Re: cmake compilen bootstrap fout
« Reactie #1 Gepost op: 16 maart 2014, 18:13:36 »
De laatste regel begint met "g++" i.p.v. "gcc" kan dat het soms zijn ?


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-3
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeStation BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
Re: cmake compilen bootstrap fout
« Reactie #2 Gepost op: 16 maart 2014, 20:32:51 »
Bedankt voor de reactie, hoe zou ik dat kunnen veranderen?
Mvg
  • Mijn Synology: DS412+

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1340
  • -Ontvangen: 7795
  • Berichten: 43.189
  • FIFO / LIFO
    • Truebase
Re: cmake compilen bootstrap fout
« Reactie #3 Gepost op: 16 maart 2014, 20:43:10 »
Geen idee, ik compileer niet maar reageerde op
Citaat
Kan iemand mij vertellen wat hier mis gaat op het einde
en hoopte dat ik je hiermee op een goed spoor kon zetten.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-3
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeStation BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
Re: cmake compilen bootstrap fout
« Reactie #4 Gepost op: 16 maart 2014, 21:18:09 »
Ok, dank je wel, ik weet ook niet precies hoe dat allemaal werkt, voor mij is t copy paste  ::) 8)
  • Mijn Synology: DS412+

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1340
  • -Ontvangen: 7795
  • Berichten: 43.189
  • FIFO / LIFO
    • Truebase
Re: cmake compilen bootstrap fout
« Reactie #5 Gepost op: 16 maart 2014, 21:20:24 »
Ah...Wat copy paste je dan ?


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-3
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeStation BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
Re: cmake compilen bootstrap fout
« Reactie #6 Gepost op: 16 maart 2014, 21:32:15 »
Is er inmiddels al een duidelijke omschrijving of eenvoudige manier om voor een leek domoticz op een synology ds412+ te laten draaien?
Met vriendelijke groet,
Thijs

juist gisteren gedaan (hele avond gekost vanwege ncurses en libcurl probleem, i.c.m. niet helemaal jofele eerdere bootstrap):

Installatie domoticz op DS412+, DSM 4.3 beta

A. Bootstrappen
1.   Bootstrap de DS412+ (http://www.synology-forum.nl/optware-ipkg-telnet/bootstrap(ipkg)-voor-ds412-dsm-4-2/)

B. Packages installeren
2.   ipkg install ncurses-dev
3.   kopieer de map + inhoud  /opt/include/ncurses naar een andere lokatie
4.   ipkg remove ncurses-dev

5.   ipkg install gcc (als ipkg niet gevonden word, probeer dan /opt/bin/ipkg. Als dat helpt: PATH variabele uitbreiden met /opt/bin)
6.   ipkg install make
7.   ipkg install optware-devel

Als de optware installatie eindigt in een wget-ssl error, eerst onderstaande stappen uitvoeren:
en dan opnieuw stap 7 uitvoeren

8.   ipkg install boost-dev
9.   ipkg install boost-thread
10.   ipkg install boost-system
11.   ipkg install boost-date-time
12.   ipkg install libidn
13.   kopieer de inhoud van de in stap 3 apart gezette map terug naar /opt/include/ncurses
14.   ln -s /opt/include/ncurses/ncurses_dll.h /opt/include/ncurses_dll.h
15.   ln -s /opt/include/ncurses/unctrl.h /opt/include/unctrl.h
16.   ln -s /opt/lib/libidn.so.11.6.8 /lib/libidn.so.11

C. Cmake compilen
17.   wget http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz
18.   tar xvf cmake-2.8.10.tar.gz
19.   cd cmake-2.8.10
20.   ./bootstrap
20a  ipkg –force-overwrite –install ncurses-dev

D. Pthread problem oplossen
21. Backup the pthread libraries found in /opt/i686-linux-gnu/lib/:
  • mkdir /opt/i686-linux-gnu/lib_disabled
  • mv /opt/i686-linux-gnu/lib/libpthread* /opt/i686-linux-gnu/lib_disabled
22. Copy the pthread libraries found in /opt/lib and make symbolic links
  • cp /lib/libpthread.so.0 /opt/i686-linux-gnu/lib/
  • cd /opt/i686-linux-gnui/lib/
  • ln -s libpthread.so.0 libpthread.so
  • ln -s libpthread.so.0 libpthread-2.5.so
23.   cp /opt/lib/libboost_* /lib

C. Vervolg Cmake compilen

24.   make
25.   make install
26.   cd ..
27.   rm -R cmake-2.8.10
28.   rm cmake-2.8.10.tar.gz


E. Domoticz installeren:
29.   Getting the source code:
  • first make a directory where you want to place the source code and go to that directory
  • svn checkout svn://svn.code.sf.net/p/domoticz/code/domoticz

30.   domoticz compilen
  • cd domoticz
  • cmake CMakeLists.txt
  • make

31. now you should have the binary application, you can start it with ./domoticz
For additional parameters type: ./domoticz -h

32. ik bleek ook nog een curl package te missen, ik weet niet meer in welke stap ik daar tegen opliep, maar het was aan het eind (bij het compilen van domoticz denk ik)
  • ipkg install libcurl

33. Zorgen dat Domoticz start na een reboot:
- maak een bestand /opt/etc/init.d/domoticz.sh
- vul het met deze code
#!/bin/sh
#python=/opt/bin/python2.5
mydomoticz="/volume1/@appstore/domoticz/domoticz/domoticz -www 8095"
domoticzdir=`dirname $mydomoticz`
pidfile=/var/run/domoticz.pid
log=/var/log/domoticz.log

insmod /lib/modules/usbserial.ko
insmod /lib/modules/ftdi_sio.ko
mknod /dev/usb/ttyUSB0 c 188 0

case $1 in
    start)
       if [ -e $pidfile ] ; then
           echo "domoticz server already running. PID=`cat $pidfile`"
           exit
       fi
       echo "Starting domoticz server..."
       c=`pwd`
       cd $domoticzdir
       $mydomoticz >>$log 2>&1 &
       pid=$!
       echo $pid > $pidfile
       cd $c
   ;;

   stop)
       if [ -e $pidfile ] ; then
           echo "Stopping domoticz server..."
           kill `cat $pidfile`
           rm $pidfile
       else
           echo "domoticz server is not running.  No PID file."
       fi
   ;;
   restart)
       $0 stop
       sleep 1
       $0 start
   ;;
esac
- maak hem executable met chmod +x /opt/etc/init.d/domoticz.sh
  • Mijn Synology: DS412+

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1340
  • -Ontvangen: 7795
  • Berichten: 43.189
  • FIFO / LIFO
    • Truebase
Re: cmake compilen bootstrap fout
« Reactie #7 Gepost op: 16 maart 2014, 21:53:53 »
En dan gaat het fout in: 20.   ./bootstrap ?
Nope...geen idee....sorry.

Maar, misschien kun je gizmocuz vragen ?
http://sourceforge.net/u/gizmocuz/profile/


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-3
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeStation BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline peeweesyn

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 7
  • -Ontvangen: 88
  • Berichten: 379
Re: cmake compilen bootstrap fout
« Reactie #8 Gepost op: 17 maart 2014, 08:11:37 »
Hallo Arkie,

Kun je je foutmelding opnieuw posten maar dan met de code tags er om heen (de # button boven de smileys), want ik kan zo niet goed zien wat er staat
  • Mijn Synology: 918+
  • HDD's: 2x 4Tb WD Red
  • Extra's: 12GB
3rd party packages: TVHeadend, Domoticz, Kopano (in virtual machine)

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1340
  • -Ontvangen: 7795
  • Berichten: 43.189
  • FIFO / LIFO
    • Truebase
Re: cmake compilen bootstrap fout
« Reactie #9 Gepost op: 17 maart 2014, 12:57:00 »
De laatste regel begint met "g++" i.p.v. "gcc" kan dat het soms zijn ?
Kom er net achter dat g++ OOK een compiler is dus ga ik er maar vanuit dat het goed is.
 ;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-3
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeStation BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
Re: cmake compilen bootstrap fout
« Reactie #10 Gepost op: 17 maart 2014, 19:35:20 »
Bij deze de complete bootstrap:

NAS> cd cmake-2.8.10
NAS> ./bootstrap
---------------------------------------------
CMake 2.8.10, Copyright 2000-2011 Kitware, Inc.
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use <>
g++ supports member templates
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ has struct stat with st_mtim member
g++ has ios::binary openmode
g++ has ANSI for scoping
---------------------------------------------
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmake.cxx -o cmake.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmakemain.cxx -o cmakemain.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmakewizard.cxx -o cmakewizard.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmCommandArgumentLexer.cxx -o cmCommandArgumen                                                                                                             tLexer.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmCommandArgumentParser.cxx -o cmCommandArgume                                                                                                             ntParser.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Boot                                                                                                             strap.cmk -c /cmake-2.8.10/Source/cmCommandArgumentParserHelper.cxx -o cmCommand                                                                                                             ArgumentParserHelper.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDefinitions.cxx -o cmDefinitions.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDepends.cxx -o cmDepends.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDependsC.cxx -o cmDependsC.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDocumentationFormatter.cxx -o cmDocumentationFormatter.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDocumentationFormatterText.cxx -o cmDocumentationFormatterText.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmPolicies.cxx -o cmPolicies.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmProperty.cxx -o cmProperty.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmPropertyMap.cxx -o cmPropertyMap.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmPropertyDefinition.cxx -o cmPropertyDefinition.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmPropertyDefinitionMap.cxx -o cmPropertyDefinitionMap.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakeDepend.cxx -o cmMakeDepend.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakefile.cxx -o cmMakefile.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExportFileGenerator.cxx -o cmExportFileGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExportInstallFileGenerator.cxx -o cmExportInstallFileGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExportSet.cxx -o cmExportSet.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExportSetMap.cxx -o cmExportSetMap.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallDirectoryGenerator.cxx -o cmInstallDirectoryGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratedFileStream.cxx -o cmGeneratedFileStream.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorTarget.cxx -o cmGeneratorTarget.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorExpressionDAGChecker.cxx -o cmGeneratorExpressionDAGChecker.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorExpressionEvaluator.cxx -o cmGeneratorExpressionEvaluator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorExpressionLexer.cxx -o cmGeneratorExpressionLexer.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorExpressionParser.cxx -o cmGeneratorExpressionParser.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGeneratorExpression.cxx -o cmGeneratorExpression.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGlobalGenerator.cxx -o cmGlobalGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmLocalGenerator.cxx -o cmLocalGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallGenerator.cxx -o cmInstallGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallExportGenerator.cxx -o cmInstallExportGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallFilesGenerator.cxx -o cmInstallFilesGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallScriptGenerator.cxx -o cmInstallScriptGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmInstallTargetGenerator.cxx -o cmInstallTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmScriptGenerator.cxx -o cmScriptGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmSourceFile.cxx -o cmSourceFile.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmSourceFileLocation.cxx -o cmSourceFileLocation.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmSystemTools.cxx -o cmSystemTools.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmTestGenerator.cxx -o cmTestGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmVersion.cxx -o cmVersion.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmFileTimeComparison.cxx -o cmFileTimeComparison.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGlobalUnixMakefileGenerator3.cxx -o cmGlobalUnixMakefileGenerator3.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmLocalUnixMakefileGenerator3.cxx -o cmLocalUnixMakefileGenerator3.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakefileExecutableTargetGenerator.cxx -o cmMakefileExecutableTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakefileLibraryTargetGenerator.cxx -o cmMakefileLibraryTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakefileTargetGenerator.cxx -o cmMakefileTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmMakefileUtilityTargetGenerator.cxx -o cmMakefileUtilityTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmOSXBundleGenerator.cxx -o cmOSXBundleGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmNewLineStyle.cxx -o cmNewLineStyle.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmBootstrapCommands.cxx -o cmBootstrapCommands.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmCommands.cxx -o cmCommands.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmTarget.cxx -o cmTarget.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmTest.cxx -o cmTest.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmCustomCommand.cxx -o cmCustomCommand.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmCustomCommandGenerator.cxx -o cmCustomCommandGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmDocumentVariables.cxx -o cmDocumentVariables.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmCacheManager.cxx -o cmCacheManager.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmListFileCache.cxx -o cmListFileCache.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmComputeLinkDepends.cxx -o cmComputeLinkDepends.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmComputeLinkInformation.cxx -o cmComputeLinkInformation.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmOrderDirectories.cxx -o cmOrderDirectories.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmComputeTargetDepends.cxx -o cmComputeTargetDepends.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmComputeComponentGraph.cxx -o cmComputeComponentGraph.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExprLexer.cxx -o cmExprLexer.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExprParser.cxx -o cmExprParser.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmExprParserHelper.cxx -o cmExprParserHelper.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmGlobalNinjaGenerator.cxx -o cmGlobalNinjaGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmLocalNinjaGenerator.cxx -o cmLocalNinjaGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmNinjaTargetGenerator.cxx -o cmNinjaTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmNinjaNormalTargetGenerator.cxx -o cmNinjaNormalTargetGenerator.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmNinjaUtilityTargetGenerator.cxx -o cmNinjaUtilityTargetGenerator.o
gcc -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -c /cmake-2.8.10/Source/cmListFileLexer.c -o cmListFileLexer.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /cmake-2.8.10/Source/kwsys/Directory.cxx -o Directory.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /cmake-2.8.10/Source/kwsys/Glob.cxx -o Glob.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /cmake-2.8.10/Source/kwsys/RegularExpression.cxx -o RegularExpression.o
g++  -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -DKWSYS_CXX_HAS_SETENV=1 -DKWSYS_CXX_HAS_UNSETENV=1 -DKWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=0 -c /cmake-2.8.10/Source/kwsys/SystemTools.cxx -o SystemTools.o
gcc -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /cmake-2.8.10/Source/kwsys/ProcessUNIX.c -o ProcessUNIX.o
gcc -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -DKWSYS_STRING_C -c /cmake-2.8.10/Source/kwsys/String.c -o String.o
gcc -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys  -c /cmake-2.8.10/Source/kwsys/System.c -o System.o
g++   -I/cmake-2.8.10/Bootstrap.cmk -I/cmake-2.8.10/Source   -I/cmake-2.8.10/Bootstrap.cmk  cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o cmExportSetMap.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cmGeneratorTarget.o cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o cmGeneratorExpressionParser.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmOSXBundleGenerator.o cmNewLineStyle.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o cmCustomCommandGenerator.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmGlobalNinjaGenerator.o cmLocalNinjaGenerator.o cmNinjaTargetGenerator.o cmNinjaNormalTargetGenerator.o cmNinjaUtilityTargetGenerator.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake
Segmentation fault (core dumped)
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
NAS>
  • Mijn Synology: DS412+

Offline peeweesyn

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 7
  • -Ontvangen: 88
  • Berichten: 379
Re: cmake compilen bootstrap fout
« Reactie #11 Gepost op: 15 augustus 2014, 13:56:44 »
Hoi Arkie,

Ik heb enige tijd geleden ook DSM 5.0 geinstalleerd en sindsdien heb ik hetzelfde probleem (zowel met cmake 2.8 als 3.0). heb jij het weten op te lossen?
  • Mijn Synology: 918+
  • HDD's: 2x 4Tb WD Red
  • Extra's: 12GB
3rd party packages: TVHeadend, Domoticz, Kopano (in virtual machine)

Offline Arkie

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 1
  • Berichten: 17
Re: cmake compilen bootstrap fout
« Reactie #12 Gepost op: 15 augustus 2014, 20:39:17 »
Hey Peeweesyn, ik was het een beetje zat om bij iedere update domoticz kwijt te zijn dus heb nu speciaal voor domoticz een raspberry pi aangeschaft, werkt super.

Grt
  • Mijn Synology: DS412+

Offline ivom74

  • Bedankjes
  • -Gegeven: 1
  • -Ontvangen: 0
  • Berichten: 39
Re: cmake compilen bootstrap fout
« Reactie #13 Gepost op: 05 september 2014, 15:12:42 »
Na stap 20 bootstrap voor cmake krijg ik een foutmelding, iemand een idee? :?:
meijerweb> ./bootstrap
---------------------------------------------
CMake 2.8.10, Copyright 2000-2011 Kitware, Inc.
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use <>
g++ supports member templates
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ has struct stat with st_mtim member
g++ has ios::binary openmode
g++ has ANSI for scoping
---------------------------------------------
make: `cmake' is up to date.
loading initial cache file /volume2/homes/Ivo/cmake-2.8.10/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at Utilities/cmcurl/CMake/OtherTests.cmake:89 (MESSAGE):
  Unable to link function recv
Call Stack (most recent call first):
  Utilities/cmcurl/CMakeLists.txt:677 (INCLUDE)


-- Configuring incomplete, errors occurred!
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
meijerweb>


Is er inmiddels al een duidelijke omschrijving of eenvoudige manier om voor een leek domoticz op een synology ds412+ te laten draaien?
Met vriendelijke groet,
Thijs

juist gisteren gedaan (hele avond gekost vanwege ncurses en libcurl probleem, i.c.m. niet helemaal jofele eerdere bootstrap):

Installatie domoticz op DS412+, DSM 4.3 beta

A. Bootstrappen
1.   Bootstrap de DS412+ (http://www.synology-forum.nl/optware-ipkg-telnet/bootstrap(ipkg)-voor-ds412-dsm-4-2/)

B. Packages installeren
2.   ipkg install ncurses-dev
3.   kopieer de map + inhoud  /opt/include/ncurses naar een andere lokatie
4.   ipkg remove ncurses-dev

5.   ipkg install gcc (als ipkg niet gevonden word, probeer dan /opt/bin/ipkg. Als dat helpt: PATH variabele uitbreiden met /opt/bin)
6.   ipkg install make
7.   ipkg install optware-devel

Als de optware installatie eindigt in een wget-ssl error, eerst onderstaande stappen uitvoeren:
en dan opnieuw stap 7 uitvoeren

8.   ipkg install boost-dev
9.   ipkg install boost-thread
10.   ipkg install boost-system
11.   ipkg install boost-date-time
12.   ipkg install libidn
13.   kopieer de inhoud van de in stap 3 apart gezette map terug naar /opt/include/ncurses
14.   ln -s /opt/include/ncurses/ncurses_dll.h /opt/include/ncurses_dll.h
15.   ln -s /opt/include/ncurses/unctrl.h /opt/include/unctrl.h
16.   ln -s /opt/lib/libidn.so.11.6.8 /lib/libidn.so.11

C. Cmake compilen
17.   wget http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz
18.   tar xvf cmake-2.8.10.tar.gz
19.   cd cmake-2.8.10
20.   ./bootstrap
20a  ipkg –force-overwrite –install ncurses-dev

D. Pthread problem oplossen
21. Backup the pthread libraries found in /opt/i686-linux-gnu/lib/:
  • mkdir /opt/i686-linux-gnu/lib_disabled
  • mv /opt/i686-linux-gnu/lib/libpthread* /opt/i686-linux-gnu/lib_disabled
22. Copy the pthread libraries found in /opt/lib and make symbolic links
  • cp /lib/libpthread.so.0 /opt/i686-linux-gnu/lib/
  • cd /opt/i686-linux-gnui/lib/
  • ln -s libpthread.so.0 libpthread.so
  • ln -s libpthread.so.0 libpthread-2.5.so
23.   cp /opt/lib/libboost_* /lib

C. Vervolg Cmake compilen

24.   make
25.   make install
26.   cd ..
27.   rm -R cmake-2.8.10
28.   rm cmake-2.8.10.tar.gz


E. Domoticz installeren:
29.   Getting the source code:
  • first make a directory where you want to place the source code and go to that directory
  • svn checkout svn://svn.code.sf.net/p/domoticz/code/domoticz

30.   domoticz compilen
  • cd domoticz
  • cmake CMakeLists.txt
  • make

31. now you should have the binary application, you can start it with ./domoticz
For additional parameters type: ./domoticz -h

32. ik bleek ook nog een curl package te missen, ik weet niet meer in welke stap ik daar tegen opliep, maar het was aan het eind (bij het compilen van domoticz denk ik)
  • ipkg install libcurl

33. Zorgen dat Domoticz start na een reboot:
- maak een bestand /opt/etc/init.d/domoticz.sh
- vul het met deze code
#!/bin/sh
#python=/opt/bin/python2.5
mydomoticz="/volume1/@appstore/domoticz/domoticz/domoticz -www 8095"
domoticzdir=`dirname $mydomoticz`
pidfile=/var/run/domoticz.pid
log=/var/log/domoticz.log

insmod /lib/modules/usbserial.ko
insmod /lib/modules/ftdi_sio.ko
mknod /dev/usb/ttyUSB0 c 188 0

case $1 in
    start)
       if [ -e $pidfile ] ; then
           echo "domoticz server already running. PID=`cat $pidfile`"
           exit
       fi
       echo "Starting domoticz server..."
       c=`pwd`
       cd $domoticzdir
       $mydomoticz >>$log 2>&1 &
       pid=$!
       echo $pid > $pidfile
       cd $c
   ;;

   stop)
       if [ -e $pidfile ] ; then
           echo "Stopping domoticz server..."
           kill `cat $pidfile`
           rm $pidfile
       else
           echo "domoticz server is not running.  No PID file."
       fi
   ;;
   restart)
       $0 stop
       sleep 1
       $0 start
   ;;
esac
- maak hem executable met chmod +x /opt/etc/init.d/domoticz.sh

Offline MySynology

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 7
Re: cmake compilen bootstrap fout
« Reactie #14 Gepost op: 03 februari 2015, 18:04:38 »
Ik heb exact hetzelfde probleem als Arkie. Iemand intussen al een oplossing (anders dan een RB Pi aanschaffen :) )?
  • Mijn Synology: DS214PLAY


 

Error bootstrap CMake: Unable to link function recv en meer

Gestart door HoofdstraatBoard Optware / IPKG / Telnet

Reacties: 0
Gelezen: 2667
Laatste bericht 10 november 2014, 16:56:41
door Hoofdstraat