I have zero experience installing NOX/OpenFlow/SNAC from packages, but personally, I'd give the following a shot...
apt-get install libboost-filesystem1.40.0 libboost-serialization1.40.0 apt-get install libboost-test1.40.0 python2.6 .. and then try installing the SNAC packages again. I have no idea what the openflow-pki issue is, though at a quick glance, it looks like it was either installed by hand previously, or installation failed in some unfortunate way. I think I'd just try installing it with --force if SNAC failed to run after doing the previous. -- Murphy On Fri, 2010-07-02 at 12:20 +0100, Kiani, Parham wrote: > > Hi > I am very sorry for posting this problem here. unfortunatly i posted this > issue in snac > _users mailing support but nobuddy help me. > I installed openflow and flowvisor on my computer as well as nox az a > controller. after i found snac,i am interested in using SNAC, so, i have been > trying to install this software in my computer as a controller according to > instruction that you provided ( http://www.openflowswitch.org/wp/snac/ ). but > all the time i got following error. before install i checked for > dependencies and i saw in ubuntu they already installed. I am using ubuntu > 10.04 LTS. i was wondering if you could help me .moreover, i coulde not > underestand how can i run this software. (i put here two kind of error that i > got.) > regards > ar...@parham-lab1:~$ sudo aptitude install libboost-filesystem1.34.1 > [sudo] password for parham: > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initialising package states... Done > Writing extended state information... Done > No candidate version found for libboost-filesystem1.34.1 > No candidate version found for libboost-filesystem1.34.1 > The following partially installed packages will be configured: > openflow-pki > 0 packages upgraded, 0 newly installed, 0 to remove and 40 not upgraded. > Need to get 0B of archives. After unpacking 0B will be used. > Writing extended state information... Done > Setting up openflow-pki (0.8.9-rev4) ... > /usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and > --force not specified > dpkg: error processing openflow-pki (--configure): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > openflow-pki > E: Sub-process /usr/bin/dpkg returned an error code (1) > A package failed to install. Trying to recover: > Setting up openflow-pki (0.8.9-rev4) ... > /usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and > --force not specified > dpkg: error processing openflow-pki (--configure): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > openflow-pki > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initialising package states... Done > > > par...@parham-lab1:/snac_packages$ sudo dpkg -i *.deb > [sudo] password for parham: > Selecting previously deselected package noxcore. > (Reading database ... 176973 files and directories currently installed.) > Unpacking noxcore (from noxcore_0.4.0~beta_i386.deb) ... > Preparing to replace nox-dbg 0.4.0~beta (using nox-dbg_0.4.0~beta_i386.deb) > ... > Unpacking replacement nox-dbg ... > Selecting previously deselected package noxext. > Unpacking noxext (from noxext_0.4.0~beta_i386.deb) ... > Selecting previously deselected package nox-monitor. > Unpacking nox-monitor (from nox-monitor_0.4.0~beta_i386.deb) ... > Preparing to replace openflow-common 0.8.9-rev4 (using > openflow-common_0.8.9-rev4_i386.deb) ... > Unpacking replacement openflow-common ... > Preparing to replace openflow-pki 0.8.9-rev4 (using > openflow-pki_0.8.9-rev4_all.deb) ... > Unpacking replacement openflow-pki ... > Selecting previously deselected package snacdocs. > Unpacking snacdocs (from snacdocs_0.4.0~beta_i386.deb) ... > dpkg: dependency problems prevent configuration of noxcore: > noxcore depends on libboost-filesystem1.34.1 (>= 1.34.1-8); however: > Package libboost-filesystem1.34.1 is not installed. > noxcore depends on libboost-serialization1.34.1 (>= 1.34.1-8); however: > Package libboost-serialization1.34.1 is not installed. > noxcore depends on libboost-test1.34.1 (>= 1.34.1-8); however: > Package libboost-test1.34.1 is not installed. > noxcore depends on python2.5 (>= 2.5); however: > Package python2.5 is not installed. > dpkg: error processing noxcore (--install): > dependency problems - leaving unconfigured > Setting up nox-dbg (0.4.0~beta) ... > dpkg: dependency problems prevent configuration of noxext: > noxext depends on noxcore (= 0.4.0~beta); however: > Package noxcore is not configured yet. > dpkg: error processing noxext (--install): > dependency problems - leaving unconfigured > dpkg: dependency problems prevent configuration of nox-monitor: > nox-monitor depends on noxcore; however: > Package noxcore is not configured yet. > dpkg: error processing nox-monitor (--install): > dependency problems - leaving unconfigured > Setting up openflow-common (0.8.9-rev4) ... > dpkg: dependency problems prevent configuration of snacdocs: > snacdocs depends on noxext (= 0.4.0~beta); however: > Package noxext is not configured yet. > dpkg: error processing snacdocs (--install): > dependency problems - leaving unconfigured > Processing triggers for man-db ... > Setting up openflow-pki (0.8.9-rev4) ... > /usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and > --force not specified > dpkg: error processing openflow-pki (--install): > subprocess installed post-installation script returned error exit status 1 > Processing triggers for ureadahead ... > Errors were encountered while processing: > noxcore > noxext > nox-monitor > snacdocs > openflow-pki > > par...@parham-lab1:/snac_packages$ ps -Af | grep nox_core > parham 5483 1786 0 16:43 pts/0 00:00:00 grep --color=auto nox_core > > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org _______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org