Comments (7)
Logged In: YES
user_id=1071930
Originator: NO
Thanks for your hints.
Any patches for navit to make it work on BSD would be welcome.
Regards,
Original comment by: martin-s
from navit.
patch for posix potability
Original comment by: diekhans
from navit.
Logged In: YES
user_id=66101
Originator: YES
Attached is a patch that will allow navit to compile on FreeBSD 6.2 and probably fixes most posix portability
problems.
Note that by defining _LARGEFILE_SOURCE,
you don't need to call fopen64. I can't remember if this applies to the O_LARGEFILE to open, so I just added #define magic.
This doesn't fix everything, just the compile problems. There are still multiple warnings that should be fix. The program tries to execute pidof, which is not a posix program and not available on freebsd. The lack of error checking is a show stopper and doesn't make it worth tracking down the other problems:
Running from source directory
pidof: not found
navit:vehicle_new:enter
navit:vehicle_new:source='gpsd://localhost' type='gpsd'
navit:vehicle_new:invalid type
** (process:51437): WARNING **: failed to instantiate gui '(null)'
Using 'navit.xml'
No instance has been created, exiting
best wishes,
Mark
File Added: posix.patch
Original comment by: diekhans
from navit.
Logged In: YES
user_id=1071930
Originator: NO
Thanks for your patch, it is applied to cvs now
You can ignore the pidof error, pidof is just used for a special purpose on pda application.
The rest looks like the plugins don't get loaded. Does BSD have something like strace to find out why?
You can also try using the newest cvs version with the configure switch --disable-plugins which compiles everything as a static library and links it in at compile time.
Regards,
Original comment by: martin-s
from navit.
- status: open --> closed-fixed
Original comment by: kazer_
from navit.
Logged In: YES
user_id=1700563
Originator: NO
And patch was applied, so we can close this ticket. Thanks for your help.
Original comment by: kazer_
from navit.
Logged In: YES
user_id=1700563
Originator: NO
A few months ago, we moved our bugtracker to http://trac.navit-project.org.
We understand that it might be more convenient to use SF's bugtracker, but it lacks some features like milestones.
So please update your bookmarks. Accounts on the new bugtracker have to be manually created currently, but they are open to everyone. Please have a look at the tracker homepage.
Thank you for your interest in navit.
Original comment by: kazer_
from navit.
Related Issues (20)
- All works well expect for "Set As Destination" - it crashes Navit.
- With <navit imperial="1" in: ~/.navit/navit.xml, it still displays metric units. HOT 1
- Map Rendering Problems, background color, missing names. HOT 6
- Some settings changes do not stick HOT 14
- Planet Extractor Map Version HOT 2
- Saber ler o navit.log HOT 1
- do_draw:point count overflow errors HOT 1
- [Bug] Cannot skip interchange/exit names using TTS and samples HOT 2
- vehicle_file:vehicle_file_parsting:wrong checksum HOT 1
- error reading /home/user/.navit/navit.xml HOT 5
- error:navit:traffic_new:wrong type 'null' HOT 3
- Add to Taginfo Projects HOT 1
- How to compile on Raspberry PiOS bookworm? HOT 10
- Maptool error HOT 2
- Need your help in cross compiling for arm. HOT 8
- Request help for development
- Adding an attribute to attr_def.h breaks lookup when entering destination HOT 5
- Navit.sh HOT 2
- Source code HOT 2
- Allow flag “access=private” in vehicleprofile HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navit.