Notices


Reply
Thread Tools
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#171
Ooops, sorry, didn't remember to look there. Thanks !
 
Posts: 75 | Thanked: 4 times | Joined on Apr 2006
#172
I'm going on a trip next week, and I want to have as many POIs for the place I'm going (Kaua'i) as possible. I have a bunch of addresses for bank branches for my bank, grocery stores, kmart, costco, as well as campsites, etc. So I needed a quick way to generate POIs directly from street addresses. I created this patch against 1.4.4:
http://www2.hawaii.edu/~mandrew/maem...-against-1.4.4

It's basically just a copy of the download route function but makes the origin and destination the same and downloads the "route" to a temporary route (so as not to disturb the actual route), extracts the first non-zero lat/long and loads the poi_dialog so the user can name it, assign a poi category to it and create a description (which is pre-filled-in with the address).

It compiles and works fine on the old version of scratchbox I have installed, but I can't get an arm version to compile. I installed the newest scratchbox (1.0.7) and the i386 version compiles fine, but when I switch to the arm target, it complains about XML::Parser not being found (which IS installed).

here's what happens when I run ./configure:

Code:
...
checking for intltool >= 0.23... 0.33 found
checking for perl... /scratchbox/tools/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
[sbox-770: ~/build/maemo-mapper-1.4.4-770] > /scratchbox/tools/bin/perl
use XML::Parser;  
Can't load '/usr/lib/perl5/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: /usr/lib/perl5/auto/XML/Parser/Expat/Expat.so: cannot open shared object file: No such file or directory at /scratchbox/tools/lib/perl5/5.8.4/i686-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/lib/perl5/XML/Parser.pm line 14
Compilation failed in require at /usr/lib/perl5/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/XML/Parser.pm line 18.
Compilation failed in require at - line 1.
BEGIN failed--compilation aborted at - line 1.
[sbox-770: ~/build/maemo-mapper-1.4.4-770] > file /usr/lib/perl5/auto/XML/Parser/Expat/Expat.so
/usr/lib/perl5/auto/XML/Parser/Expat/Expat.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped
anybody have any hints? I've only ever used scratchbox for maemo mapper and I've never tried to compile it for an arm target before this.
 
Posts: 75 | Thanked: 4 times | Joined on Apr 2006
#173
I finally did get it to compile for 770 with the old scratchbox. Here's the deb of maemo-mapper 1.4.4 (unmodified) for os2006 2.2006.39-14:
maemo-mapper_1.4.4-1_armel.deb

and here's the deb of my modified version (also for os2006 2.2006.39-14):
maemo-mapper_1.4.4-1-mza_armel.deb

Both work fine on my 770.

Here's a screenshot:


enjoy!
 
thorbo's Avatar
Posts: 161 | Thanked: 55 times | Joined on Dec 2006 @ SLO, CA; United States
#174
Is anyone else having Mapper install issues with the new firmware? I did the install, it claims to have installed correctly, but it just doesn't run. Argh. Any help would be appreciated.

Thor
 
Posts: 150 | Thanked: 3 times | Joined on Jan 2007
#175
Mapped works good on my freshly flashed N800, but not with 100% original repos. Have you tried "maemo-mapper" command from within the console? This should give a hint. Maybe there are some libraries missing, which dependencies were not resolved?
 
thorbo's Avatar
Posts: 161 | Thanked: 55 times | Joined on Dec 2006 @ SLO, CA; United States
#176
Says "Segmentation fault".... not sure what that would mean.... bummer.

Thor
 
Posts: 150 | Thanked: 3 times | Joined on Jan 2007
#177
Hmpf, could be related to many things
AFAIK some problems with the RAM...

EDIT: NULL-Pointers, bad memory allocation/rellocation for the the process, getting memory space without rights to write to it... and and and... bäh, the www is full of segfault error-messages

EDIT2: Did you have swap enabled? How's your memory "consumption" Normally the system handles that stuff automatically, perhaps something went wrong. Did you restart your N800?

Last edited by DCr33P; 2007-03-23 at 23:35.
 
Posts: 75 | Thanked: 4 times | Joined on Apr 2006
#178
I wanted to put the scale on the lower right of my display (this precludes the ability to display other things there), so in maemo-mapper.c, I changed this line:
Code:
    _scale_rect.x = (_screen_width_pixels - SCALE_WIDTH) / 2;
to this:
Code:
    _scale_rect.x = _screen_width_pixels - SCALE_WIDTH;
and voila.
 
Posts: 101 | Thanked: 14 times | Joined on Jan 2007
#179
I had to do a backup/restore on my 800...now mapper displays an error that it can't open the POI database and the POI option is grayed out when holding down on a point on the map..any ideas? Seems to work in all other respects
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#180
Can anyone please HELP!

I am running OS 2006 (Scirocco, not Gregale) and Maemo Mapper v1.35 on my n770. I have a Holux 240 GPS. Everything has been working splendidly until today when I was riding down I-95 in Florida following a route I had downloaded using my bluetooth cellphone. MaemoMapper suddenly shut itself down. When I tried to re-open it, it would start to load, then the "loading" dialog box disappeared without loading MM. When I tried to load it again, it loaded, then shut down suddenly again while trying to download the route again. This occured two or three times. Ultimately, I was unable to ever get MM to load again. What is worse, other apps fail to load now too. The n770 locks up and then either reboots itself or I have to put the cover on it to get it to shut down as the hard button won't cause it to shut down. Application manager won't load, and causes a reboot. Also, File Manager and Web browsing won't load and cause a reboot. I am really unhappy as my tablet is now pretty much useless! What to do??

thanks,
Neil
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:01.