Just solved this issue - Running TileMill in Ubuntu 10.04 (lucid)

https://github.com/mapbox/tilemill/issues/789

Yes, you can run TileMill in Lucid now :-)

Noli

On 10/13/11, Noli Sicad <[email protected]> wrote:
> Hi Dane,
>
> I am trying to install TileMill in Ubuntu 10.04 using the link that you
> posted.
>
> <The instructions for Ubuntu ...  http://mapbox.com/tilemill/docs/source/
>
> It seems that there is problem with nodejs, then npm (below logs).
>
> I checked my /usr/lib
>
> There is nothing in my /usr/lib/nodejs. It is empty and there is not
> /usr/lib/node as well.
>
> Any suggestion how to fix this.
>
> Who packaged this nodejs for lucid?
>
> Thanks, Noli
>
> ###################
> Setting up libev3 (1:3.8-1) ...
>
> Setting up libev-dev (1:3.8-1) ...
> Setting up nodejs (0.4.12-1chl1~lucid1) ...
>
> Setting up nodejs-dev (0.4.12-1chl1~lucid1) ...
>
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
> noli@noli-laptop:~$ sudo curl http://npmjs.org/install.sh | sh
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
> 101  6366  101  6366    0     0   1306      0  0:00:04  0:00:04 --:--:--
> 3610
> tar=/bin/tar
> version:
> tar (GNU tar) 1.22
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
> fetching: http://registry.npmjs.org/npm/-/npm-1.0.94.tgz
> 0.4.12
> 1.0.94
> cleanup prefix=/usr
> find: `/usr/lib/node': No such file or directory
> find: `/usr/lib/node': No such file or directory
>
> All clean!
> ! [ -d .git ] || git submodule update --init --recursive
> node cli.js rm npm -g -f
> node cli.js install -g -f
> npm ERR! Could not create /usr/lib/node_modules/___npm.npm
> npm ERR! error installing [email protected] Error: EACCES, Permission denied
> '/usr/lib/node_modules'
> npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules'
> npm ERR! Report this *entire* log at:
> npm ERR!     <http://github.com/isaacs/npm/issues>
> npm ERR! or email it to:
> npm ERR!     <[email protected]>
> npm ERR!
> npm ERR! System Linux 2.6.32-25-generic
> npm ERR! command "node" "/tmp/npm.2995/package/cli.js" "install" "-g" "-f"
> npm ERR! cwd /tmp/npm.2995/package
> npm ERR! node -v v0.4.12
> npm ERR! npm -v 1.0.94
> npm ERR! path /usr/lib/node_modules
> npm ERR! code EACCES
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     /tmp/npm.2995/package/npm-debug.log
> npm not ok
> make: *** [install] Error 1
> npm ERR! Could not create /usr/lib/node_modules/___npm.npm
> npm ERR! error installing [email protected] Error: EACCES, Permission denied
> '/usr/lib/node_modules'
> npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules'
> npm ERR! Report this *entire* log at:
> npm ERR!     <http://github.com/isaacs/npm/issues>
> npm ERR! or email it to:
> npm ERR!     <[email protected]>
> npm ERR!
> npm ERR! System Linux 2.6.32-25-generic
> npm ERR! command "/usr/bin/node" "/tmp/npm.2995/package/cli.js" "install"
> "-gf"
> npm ERR! cwd /tmp/npm.2995/package
> npm ERR! node -v v0.4.12
> npm ERR! npm -v 1.0.94
> npm ERR! path /usr/lib/node_modules
> npm ERR! code EACCES
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     /tmp/npm.2995/package/npm-debug.log
> npm not ok
>
>
>
>
>
>
>
>
>
>
>
> On 10/13/11, Dane Springmeyer <[email protected]> wrote:
>>
>> On Oct 12, 2011, at 9:51 AM, Iván Sánchez Ortega wrote:
>>
>>> Hi all,
>>>
>>> After seeing it in action, I'm jumping to try out tilemill and carto
>>> first-
>>> hand. But I'm running into several problems...
>>>
>>> Environment: I run Debian testing/unstable, amd64 architecture. Boost
>>> 1.46,
>>> Python 2.7, Mapnik 2.0.0, Node.js 0.4.12, the works.
>>>
>>
>> That stack should work absolutely fine. I'm assuming that your Mapnik
>> 2.0.0
>> install is from source? (or at least you installed it yourself?) It
>> should
>> be.
>>
>>> On the tilemill front: I'm able to install it without too much fuzz
>>> (dpkg
>>> --
>>> force-all does wonders),
>>
>> Do not use the TileMill debian package if you have installed Mapnik
>> yourself
>> from source.
>>
>> The reason is that the TileMill .deb pulls in its own .deb of mapnik
>> which
>> will conflict with any source installed version.
>>
>> The expected outcome of conflicting mapnik versions is that tilemill's
>> server will segfault (really node-mapnik, the js bindings to mapnik will
>> segfault).
>>
>>> I'm able to start it up, and I'm able to point a web
>>> browser to localhost:8889. But as soon as the browser requests a tile,
>>> the
>>>
>>> tilemill server process segfaults without telling where or why.
>>>
>>> Question: How can I increase the verbosity of tilemill so I can trace
>>> the
>>> problem?
>>
>> You would need to run tilemill in gbd and then you would see a crash
>> somewhere in node-mapnik.
>>
>> So, the solution to this will not be more verbose output but to uninstall
>> the TileMill .deb and re-install TileMill from *source* and in doing so
>> it
>> will leverage your existing installation of Mapnik 2.x
>>
>> The instructions for Ubuntu should work fine for debian and are at:
>> http://mapbox.com/tilemill/docs/source/
>>
>>> On the carto front, javascript version. I can do "aptitude install npm"
>>> and
>>> then "npm install carto" without any problems. But when I try run it, I
>>> only
>>> got this:
>>>
>>> $ carto /usr/share/tilemill/examples/control-room/control-room.mml
>>> carto: Millstone not found. Externals will not be resolved.
>>
>> Do also:
>>
>> npm install millstone
>>
>>>
>>> On the carto-generator front, C version. When trying to compile it, it
>>> ultimately fails with:
>>>
>>> /usr/include/boost/spirit/home/karma/numeric/detail/real_utils.hpp:98:64:
>>> error: invalid cast from type
>>> ‘boost::fusion::extension::adt_attribute_proxy<mapnik::building_symbolizer,
>>> 2,
>>> true>’ to type ‘double’
>>
>> The C++ version requires at least boost 1.47. We plan to move this code
>> into
>> Mapnik core soon, and once we do this a configure time check will be able
>> to
>> warn you about this restriction.
>>
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to