[Nfd-dev] Error installing nfd @0.3.0_0 on Mac OSX 10.9.5

Josh Polterock josh at caida.org
Tue Feb 10 12:31:52 PST 2015


On Tue, Feb 10, 2015 at 01:24:07PM -0700, Junxiao Shi wrote:
> Hi Josh
> 
> Log says:
> :info:activate ERROR: TPM locator supplied does not match TPM locator in
> PIB: file: != tpm-file:
> :info:activate Command failed: HOME=/opt/local/var/lib/ndn/nfd
> ndnsec-keygen /localhost/daemons/nfd |  HOME=/opt/local/var/lib/ndn/nfd
> ndnsec-install-cert -
> :info:activate Exit code: 1
> 
> This seems related to one or more of #2242, #2384, #2391.
> @Yingdi and @Alex should take a look.
> 
> I'm not sure what you mean by "completely clean install".
> Does the system have NFD installed previously and you have uninstalled it,
> or does the system never have ndn-cxx and NFD previously?

The system had nfd and ndn-cxx installed previously.

I simply mean that I did a port uninstall of nfd and ndn-cxx. 

> 
> The workaround is:
> sudo rm -rf /opt/local/var/lib/ndn/nfd/.ndn

I executed this command. Should nfd then start?

Thanks,
Josh

> 
> Yours, Junxiao
> 
> On Tue, Feb 10, 2015 at 12:07 PM, Josh Polterock <josh at caida.org> wrote:
> 
> > I'm trying to do a completely clean install of NFD using ports.
> > The ndn-cxx install completed successfully. The NFD install
> > completes but finishes with the following error
> >
> > --->  Computing dependencies for nfd
> > --->  Fetching archive for nfd
> > --->  Attempting to fetch nfd-0.3.0_0.darwin_13.x86_64.tbz2 from
> > http://packages.macports.org/nfd
> > --->  Attempting to fetch nfd-0.3.0_0.darwin_13.x86_64.tbz2 from
> > http://nue.de.packages.macports.org/macports/packages/nfd
> > --->  Attempting to fetch nfd-0.3.0_0.darwin_13.x86_64.tbz2 from
> > http://mse.uk.packages.macports.org/sites/packages.macports.org/nfd
> > --->  Fetching distfiles for nfd
> > --->  Attempting to fetch NFD-NFD-0.3.0.tar.gz from
> > http://distfiles.macports.org/nfd
> > --->  Attempting to fetch NFD-NFD-0.3.0.tar.gz from
> > http://sea.us.distfiles.macports.org/macports/distfiles/nfd
> > --->  Attempting to fetch NFD-NFD-0.3.0.tar.gz from
> > https://github.com/named-data/NFD/tarball/NFD-0.3.0
> > --->  Verifying checksums for nfd
> > --->  Extracting nfd
> > --->  Configuring nfd
> > --->  Building nfd
> > --->  Staging nfd into destroot
> > --->  Installing nfd @0.3.0_0
> > --->  Activating nfd @0.3.0_0
> >
> >
> > To start NFD and ensure it is started when system boots:
> >
> >     nfd-start
> >
> > To stop NFD and disable auto-start when system boots:
> >
> >     nfd-stop
> >
> > NFD log files are located in /opt/local/var/log/ndn/
> >
> > Configuration file is in /opt/local/var/etc/ndn/
> >
> > Error: org.macports.activate for port nfd returned: command execution
> > failed
> > Please see the log file for port nfd for details:
> >
> > /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.named-data.net_macports_net_nfd/nfd/main.log
> > To report a bug, follow the instructions in the guide:
> >     http://guide.macports.org/#project.tickets
> > Error: Processing of port nfd failed
> >
> > _______________________________________________
> > Nfd-dev mailing list
> > Nfd-dev at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> >



More information about the Nfd-dev mailing list