On Thu 27 Nov 2003, Gunnar Th?le list@gabistapler.de wrote:
Yes, hi, i am one of those people.
Hello Gunnar, and welcome to the list.
Is there anybody who has done a non-root install and can point me towards how to do it?
I can only tell you how to do a manual install because I don't use either CPAN.pm or CPANPLUS. It's not difficult though.
Some modules use ExtUtils::MakeMaker (they have a Makefile.PL) and others use Module::Build (they have a Build.PL though they may also have a Makefile.PL).
For Module::Build modules, see the OpenGuides TROUBLESHOOTING file, which comes with the distribution but can also be viewed online: http://search.cpan.org/src/KAKE/OpenGuides-0.29/TROUBLESHOOTING
You also want to read the second section of that file, which explains some extra things you will need to do to the CGI scripts after install.
For ExtUtils::MakeMaker modules, the incantation is:
perl Makefile.PL PREFIX=/my/directory make && make test && make install
(I have been assuming unix here since you mentioned root.)
Also, what about location information for non-UK cities?
It's not done yet, but you knew that already or you wouldn't have asked. You can use Locales, and you can use the map link, phone, address, etc fields - but not the OS X/OS Y fields. Now I can give you different fields - for latitude/longitude, or if your city is covered by a square grid like the British National Grid, boxes for those co-ordinates. Then the problem is one of *using* the data.
Square grids are easy to work out distances on. I'm considering those to be a solved problem.
Working out distance between places specified by latitude and longitude may be trickier. There is Geo::Distance on CPAN but its docs warn:
"The formula used for [great] circle distances is also somewhat unreliable for small distances (for locations separated less than about five degrees) because it uses arc cosine which is rather ill-conditioned for values close to zero."
And that's not so good when you consider that we're working out distances within a city.
Any ideas anyone?
Kake