Giter VIP home page Giter VIP logo

Comments (7)

aerostitch avatar aerostitch commented on July 30, 2024

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.

aerostitch avatar aerostitch commented on July 30, 2024

patch for posix potability

Original comment by: diekhans

from navit.

aerostitch avatar aerostitch commented on July 30, 2024

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.

aerostitch avatar aerostitch commented on July 30, 2024

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.

aerostitch avatar aerostitch commented on July 30, 2024
  • status: open --> closed-fixed

Original comment by: kazer_

from navit.

aerostitch avatar aerostitch commented on July 30, 2024

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.

aerostitch avatar aerostitch commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.