Created
February 27, 2012 11:13
-
-
Save garrettwilkin/1923105 to your computer and use it in GitHub Desktop.
Install issues on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing DNS_SD libraries: | |
---------------------------- | |
garrett@li284-151:~/hook.io$ sudo apt-get install libavahi-compat-libdnssd-dev | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd1 libdbus-1-dev pkg-config | |
Recommended packages: | |
libnss-mdns | |
The following NEW packages will be installed: | |
libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libdbus-1-dev pkg-config | |
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 241kB/257kB of archives. | |
After this operation, 1,184kB of additional disk space will be used. | |
Do you want to continue [Y/n]? Y | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main libavahi-common-dev 0.6.25-1ubuntu6 [67.1kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main pkg-config 0.22-1build2 [52.9kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main libdbus-1-dev 1.2.16-2ubuntu4 [25.3kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/main libavahi-client-dev 0.6.25-1ubuntu6 [34.5kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/main libavahi-compat-libdnssd-dev 0.6.25-1ubuntu6 [61.0kB] | |
Fetched 241kB in 0s (322kB/s) | |
Selecting previously deselected package libavahi-common-dev. | |
(Reading database ... 22044 files and directories currently installed.) | |
Unpacking libavahi-common-dev (from .../libavahi-common-dev_0.6.25-1ubuntu6_i386.deb) ... | |
Selecting previously deselected package pkg-config. | |
Unpacking pkg-config (from .../pkg-config_0.22-1build2_i386.deb) ... | |
Selecting previously deselected package libdbus-1-dev. | |
Unpacking libdbus-1-dev (from .../libdbus-1-dev_1.2.16-2ubuntu4_i386.deb) ... | |
Selecting previously deselected package libavahi-client-dev. | |
Unpacking libavahi-client-dev (from .../libavahi-client-dev_0.6.25-1ubuntu6_i386.deb) ... | |
Selecting previously deselected package libavahi-compat-libdnssd1. | |
Unpacking libavahi-compat-libdnssd1 (from .../libavahi-compat-libdnssd1_0.6.25-1ubuntu6_i386.deb) ... | |
Selecting previously deselected package libavahi-compat-libdnssd-dev. | |
Unpacking libavahi-compat-libdnssd-dev (from .../libavahi-compat-libdnssd-dev_0.6.25-1ubuntu6_i386.deb) ... | |
Processing triggers for man-db ... | |
Setting up libavahi-common-dev (0.6.25-1ubuntu6) ... | |
Setting up pkg-config (0.22-1build2) ... | |
Setting up libdbus-1-dev (1.2.16-2ubuntu4) ... | |
Setting up libavahi-client-dev (0.6.25-1ubuntu6) ... | |
Setting up libavahi-compat-libdnssd1 (0.6.25-1ubuntu6) ... | |
Setting up libavahi-compat-libdnssd-dev (0.6.25-1ubuntu6) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
Adding recommended package: | |
-------------------------- | |
garrett@li284-151:~/hook.io$ sudo apt-get install libnss-mdns | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Suggested packages: | |
avahi-autoipd zeroconf | |
The following NEW packages will be installed: | |
libnss-mdns | |
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 0B/24.4kB of archives. | |
After this operation, 152kB of additional disk space will be used. | |
Selecting previously deselected package libnss-mdns. | |
(Reading database ... 22144 files and directories currently installed.) | |
Unpacking libnss-mdns (from .../libnss-mdns_0.10-3ubuntu4_i386.deb) ... | |
Setting up libnss-mdns (0.10-3ubuntu4) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
Attempting to link hook.io: | |
-------------------------- | |
garrett@li284-151:~/hook.io$ sudo apt-get install libnss-mdns | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Suggested packages: | |
avahi-autoipd zeroconf | |
The following NEW packages will be installed: | |
libnss-mdns | |
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 0B/24.4kB of archives. | |
After this operation, 152kB of additional disk space will be used. | |
Selecting previously deselected package libnss-mdns. | |
(Reading database ... 22144 files and directories currently installed.) | |
Unpacking libnss-mdns (from .../libnss-mdns_0.10-3ubuntu4_i386.deb) ... | |
Setting up libnss-mdns (0.10-3ubuntu4) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
garrett@li284-151:~/hook.io$ sudo npm link | |
npm WARN eyes@0.1.7 dependencies field should be hash of <name>:<version-range> pairs | |
npm http GET https://github.com/substack/socket.io-client/tarball/master | |
npm http GET https://registry.npmjs.org/mdns | |
npm http 304 https://registry.npmjs.org/mdns | |
npm http 200 https://github.com/substack/socket.io-client/tarball/master | |
> mdns@0.0.5 preinstall /home/garrett/hook.io/node_modules/mdns | |
> node-waf clean || (exit 0); node-waf configure build | |
Nothing to clean (project not configured) | |
Setting srcdir to : /home/garrett/hook.io/node_modules/mdns | |
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /usr/local | |
Checking for header dns_sd.h : yes | |
Checking for library dns_sd : yes | |
Checking for function DNSServiceGetAddrInfo : not found | |
'configure' finished successfully (0.248s) | |
Waf: Entering directory `/home/garrett/hook.io/node_modules/mdns/out' | |
[ 1/20] cxx: src/dns_sd.cpp -> out/default/src/dns_sd_1.o | |
[ 2/20] cxx: src/dns_service_browse.cpp -> out/default/src/dns_service_browse_1.o | |
[ 3/20] cxx: src/dns_service_enumerate_domains.cpp -> out/default/src/dns_service_enumerate_domains_1.o | |
[ 4/20] cxx: src/dns_service_process_result.cpp -> out/default/src/dns_service_process_result_1.o | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/dns_service_enumerate_domains.cpp:4: | |
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_sd.cpp:3: | |
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_service_process_result.cpp:3: | |
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_service_browse.cpp:3: | |
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/dns_service_enumerate_domains.cpp:4: | |
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_sd.cpp:3: | |
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_service_process_result.cpp:3: | |
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type | |
In file included from /usr/local/include/node/node.h:61, | |
from ../src/mdns_utils.hpp:10, | |
from ../src/dns_service_browse.cpp:3: | |
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared | |
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type | |
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used | |
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used | |
Waf: Leaving directory `/home/garrett/hook.io/node_modules/mdns/out' | |
Build failed: | |
-> task failed (err #1): | |
{task: cxx dns_service_enumerate_domains.cpp -> dns_service_enumerate_domains_1.o} | |
-> task failed (err #1): | |
{task: cxx dns_service_process_result.cpp -> dns_service_process_result_1.o} | |
-> task failed (err #1): | |
{task: cxx dns_sd.cpp -> dns_sd_1.o} | |
-> task failed (err #1): | |
{task: cxx dns_service_browse.cpp -> dns_service_browse_1.o} | |
npm ERR! error installing mdns@0.0.5 | |
npm ERR! mdns@0.0.5 preinstall: `node-waf clean || (exit 0); node-waf configure build` | |
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the mdns@0.0.5 preinstall script. | |
npm ERR! This is most likely a problem with the mdns package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-waf clean || (exit 0); node-waf configure build | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls mdns | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Linux 2.6.39.1-linode34 | |
npm ERR! command "node" "/usr/local/bin/npm" "link" | |
npm ERR! cwd /home/garrett/hook.io | |
npm ERR! node -v v0.7.0-pre | |
npm ERR! npm -v 1.1.2 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message mdns@0.0.5 preinstall: `node-waf clean || (exit 0); node-waf configure build` | |
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1 | |
npm ERR! errno {} | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /home/garrett/hook.io/npm-debug.log | |
npm not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment