Hello Dan, I'm doing pretty much the same stuff. I'm setting up Jenkins continuous integration and by chance I have those versions of Ubuntu mentioned in the previous emails.
I've had success building on 12.04.2 LTS and 12.10 but failed on 13.04. Below are the commands I used to get things going, please review to see if there's any difference with your steps: ===start of commands=== #no automatic upgrades (dpkg-reconfigure unattended-upgrades) #sudo visudo #install vmtools #install jdk #create snapshot 'clean' sudo apt-get update sudo apt-get install -y doxygen valgrind libpcap-dev mercurial python-pip cmake build-essential pkg-config libglib2.0-dev hg clone 'http://hg.linux-ha.org/%7Cexperimental/assimilation/' sudo pip install testify ctypesgen py2neo==1.4.5 tornado pip freeze wget -O - http://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add - # Create an Apt sources.list file echo 'deb http://debian.neo4j.org/repo stable/' | sudo tee /etc/apt/sources.list.d/neo4j.list # Find out about the files in our repository sudo apt-get update -qq # Install Neo4j, community edition sudo apt-get install -qq neo4j # start neo4j server, available at http://localhost:7474 of the target machine sudo service neo4j-service stop sudo service neo4j-service start mkdir root_of_binary_tree cd root_of_binary_tree cmake ../assimilation cpack sudo dpkg -i assimilation-nanoprobe-0.1.0-amd64.deb /usr/share/assimilation/discovery_agents/netconfig cd testcode sudo ../../assimilation/testcode/grind.sh cd ../../assimilation/cma testify tests ../../root_of_binary_tree/testcode/pinger ::1 ====end of commands==== I have all the screen output too if you want them to compare and debug, let me know if you need. -- JC On Mon, Aug 5, 2013 at 6:52 PM, Alan Robertson <[email protected]> wrote: > Sorry for the problems. From what I can see, the folks who wrote cpack > added Linux support pretty recently - and like I said - it's not very good > anyway. But it did work for me on earlier releases - obviously newer than > what you were using. > > > > On 08/05/2013 02:07 PM, Dan Linder wrote: > > I'll build a new 13.04 system and see if I can get it tested later this > week. > > Dan > > > On Sun, Aug 4, 2013 at 9:08 PM, Alan Robertson <[email protected]> wrote: > >> By the way, your latin quote appears in the current version of my talk >> ;-) >> >> Here's what happens when I built it on 13.04 in a new workspace: >> >> >> $ cpack >> CPack: Create package using DEB >> CPack: Install projects >> CPack: - Run preinstall target for: assimilation >> CPack: - Install project: assimilation >> CPack: - Install component: cma-component >> CPack: - Install component: nanoprobe-component >> CPack: Create package >> CPack: - package: /home/alanr/Download/bin/assimilation-cma-0.1.0-all.deb >> generated. >> CPack: - package: >> /home/alanr/Download/bin/assimilation-nanoprobe-0.1.0-amd64.deb generated. >> >> So, it works for me on the newer version of Ubuntu. I don't remember >> what version I was using when I put that release out, but it did work on >> earlier releases too... >> >> Let me see if I can figure that out... >> >> OK. I can't. My only cached copy of an OS script output was 11.10 - >> which long predates using cpack. So, I don't know... >> >> Could you try a make before the make cpack? Or did you do that already? >> >> If you already did a make before doing the cpack, then I don't know what >> to do. >> >> You may have to do a make install for the moment (which is far from ideal >> - I know). >> >> This appears to be a dependency not getting made - probably a change in >> cmake between that version and the one I'm using. >> >> >> >> >> On 08/04/2013 07:50 PM, Alan Robertson wrote: >> >> OK. >> >> I have a script which I run every time I (try) and push things upstream. >> It didn't do a cpack. It does now. But it still seems to work for me >> given the tip version. >> >> I'll now try the released version and see what happens on the version of >> Ubuntu I'm running. Looks like I'm running 13.04 on this machine: >> >> { >> "discovertype": "OS", >> "description": "OS information", >> "host": "servidor", >> "source": "./os", >> "data": { >> "nodename": "servidor", >> "operating-system": "GNU/Linux", >> "machine": "x86_64", >> "processor": "x86_64", >> "hardware-platform": "x86_64", >> "kernel-name": "Linux", >> "kernel-release": "3.8.0-27-generic", >> "kernel-version": "#40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013", >> "Distributor ID": "Ubuntu", >> "Description": "Ubuntu 13.04", >> "Release": "13.04", >> "Codename": "raring" >> } >> } >> >> This is from the 'os' discovery module ;-). >> >> >> >> On 08/04/2013 02:15 PM, Dan Linder wrote: >> >> FWIW, this is a basic Ubuntu 12.04.2 server install. >> >> Neo4J is 1.9.2 (done using the steps listed here: >> http://www.neo4j.org/download/linux). >> >> Since there doesn't appear to be an "apt" repository supplying it, >> py2neo is installed using "pip install py2neo" after installing the >> "python-pip" package. (Using these notes: >> http://book.py2neo.org/en/latest/install/#installation) The pip output >> reported it was downloading "py2neo-1.5.1.tar.gz". >> >> Thanks, >> Dan >> >> >> On Sun, Aug 4, 2013 at 2:56 PM, Alan Robertson <[email protected]> wrote: >> >>> Hi Dan, >>> >>> I probably biffed something. Thanks for reporting this. I'll try and >>> reproduce it on my machines and see what I get... >>> >>> Cpack is kind of a mystery to me too. It doesn't make very good >>> packages - and I'm not terribly happy with it - but I had hopes it would >>> make nice packages for all environments. Doesn't quite live up to that. >>> >>> >>> I haven't run that version in a while - but I surely had installed it >>> before... >>> >>> What version of Neo4j and py2neo do you have installed? (it's not >>> important for your error, but it will cause you troubles RealSoonNow if >>> it's too new for that release). >>> >>> >>> >>> >>> On 08/04/2013 11:43 AM, Dan Linder wrote: >>> >>> Using the Getting Started ( >>> http://linux-ha.org/source-doc/assimilation/html/_getting_started.html) >>> directions, I'm running into trouble with the "cpack" command. To start, I >>> downloaded the latest stable version ( >>> http://hg.linux-ha.org/%7Cexperimental/assimilation/archive/v0.1.0.tar.gz). >>> and 'cmake' appears to have worked fine (no errors reported), but when the >>> "cpack" command is run, I get an error. >>> >>> Here is the output from both: >>> 1: "cmake" output >>> dan@CMA01:~/Assim/bin$ cmake ../Assimilation-v0.1.0 >>> -- found gnu >>> -- Notice: Enabling the strictest GCC flags. >>> -- Configuring done >>> -- Generating done >>> -- Build files have been written to: /home/dan/Assim/bin >>> >>> 2: "cpack" output >>> dan@CMA01:~/Assim/bin$ cpack >>> CPack: Create package using DEB >>> CPack: Install projects >>> CPack: - Run preinstall target for: assimilation >>> CPack: - Install project: assimilation >>> CPack: - Install component: cma-component >>> CMake Error at /home/dan/Assim/bin/cma/cmake_install.cmake:60 (FILE): >>> file INSTALL cannot find >>> "/home/dan/Assim/Assimilation-v0.1.0/cma/AssimCtypes.py-install". >>> Call Stack (most recent call first): >>> /home/dan/Assim/bin/cmake_install.cmake:66 (INCLUDE) >>> >>> >>> CPack Error: Error when generating package: assimilation >>> >>> I'm new to the cmake/cpack files so I don't understand how the >>> AssimCtypes.py-install is created. >>> >>> I searched with Google but didn't get any hits... >>> >>> Suggestions? >>> >>> Dan >>> >>> -- >>> ***************** ************* *********** ******* ***** *** ** >>> "Quis custodiet ipsos custodes?" >>> (Who can watch the watchmen?) >>> -- from the Satires of Juvenal >>> "I do not fear computers, I fear the lack of them." >>> -- Isaac Asimov (Author) >>> ** *** ***** ******* *********** ************* ***************** >>> >>> >>> _______________________________________________ >>> Assimilation mailing list - Discovery-Driven >>> [email protected]http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilationhttp://assimmon.org/ >>> >>> >>> >>> -- >>> Alan Robertson <[email protected]> <[email protected]> - @OSSAlanR >>> >>> "Openness is the foundation and preservative of friendship... Let me claim >>> from you at all times your undisguised opinions." - William Wilberforce >>> >>> >> >> >> -- >> ***************** ************* *********** ******* ***** *** ** >> "Quis custodiet ipsos custodes?" >> (Who can watch the watchmen?) >> -- from the Satires of Juvenal >> "I do not fear computers, I fear the lack of them." >> -- Isaac Asimov (Author) >> ** *** ***** ******* *********** ************* ***************** >> >> >> >> -- >> Alan Robertson <[email protected]> <[email protected]> - @OSSAlanR >> >> "Openness is the foundation and preservative of friendship... Let me claim >> from you at all times your undisguised opinions." - William Wilberforce >> >> >> >> _______________________________________________ >> Assimilation mailing list - Discovery-Driven >> [email protected]http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilationhttp://assimmon.org/ >> >> >> >> -- >> Alan Robertson <[email protected]> <[email protected]> - @OSSAlanR >> >> "Openness is the foundation and preservative of friendship... Let me claim >> from you at all times your undisguised opinions." - William Wilberforce >> >> >> _______________________________________________ >> Assimilation mailing list - Discovery-Driven Monitoring >> [email protected] >> http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation >> http://assimmon.org/ >> >> > > > -- > ***************** ************* *********** ******* ***** *** ** > "Quis custodiet ipsos custodes?" > (Who can watch the watchmen?) > -- from the Satires of Juvenal > "I do not fear computers, I fear the lack of them." > -- Isaac Asimov (Author) > ** *** ***** ******* *********** ************* ***************** > > > > -- > Alan Robertson <[email protected]> <[email protected]> - @OSSAlanR > > "Openness is the foundation and preservative of friendship... Let me claim > from you at all times your undisguised opinions." - William Wilberforce > > > _______________________________________________ > Assimilation mailing list - Discovery-Driven Monitoring > [email protected] > http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation > http://assimmon.org/ > >
_______________________________________________ Assimilation mailing list - Discovery-Driven Monitoring [email protected] http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation http://assimmon.org/
