dosbox-macbuild - script for building 64-bit SVN on macOS

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

dosbox-macbuild - script for building 64-bit SVN on macOS

Postby emendelson » 2018-4-13 @ 15:01

Apologies if everyone knows about this, but there's a script by "gs11" on GitHub for building a 64-bit version of SVN - completely automated and very impressive:

https://github.com/gs11/dosbox-macbuild

As far as I can tell, the one thing it can't do is build a static-linked executable that can be used on systems without sdl installed. I've filed an issue about that, and I hope there's some chance it can be done. Dominus worked out a method for building static-linked SVN in macOS, but I haven't been able to make his method work with this script.
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00

Re: dosbox-macbuild - script for building 64-bit SVN on macOS

Postby emendelson » 2018-4-14 @ 02:51

Well, it turns out that gs11's script does produce a static-linked executable if SDL 1.2 is NOT installed in /usr/lib. When I got rid of SDL 1.2 in /usr/lib, all went well.
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00

Re: dosbox-macbuild - script for building 64-bit SVN on macOS

Postby Dominus » 2018-4-15 @ 09:34

you really shouldn't have anything in /usr/lib that Apple didn't put there. That is asking for trouble with every package manager and things like this script.

As for the script, be aware that this is a bare bone Dosbox. No SDL_net, no SDL_Sound, no libpng. So networked gaming won't work, image mounting is crippled and no screenshot support.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7539
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: dosbox-macbuild - script for building 64-bit SVN on macOS

Postby emendelson » 2018-4-15 @ 16:55

Dominus wrote:you really shouldn't have anything in /usr/lib that Apple didn't put there. That is asking for trouble with every package manager and things like this script.

As for the script, be aware that this is a bare bone Dosbox. No SDL_net, no SDL_Sound, no libpng. So networked gaming won't work, image mounting is crippled and no screenshot support.


Yes, and since I don't even remember how I got that stuff into /usr/lib, it's really time to get rid of it.

And yes, it's a barebones DOSBox. But it may be possible to add SDL_net and SDL_sound, etc. using the same method that it already adds SDL. I'll try this next week and will report back.
emendelson
Oldbie
 
Posts: 737
Joined: 2010-2-14 @ 02:00

Re: dosbox-macbuild - script for building 64-bit SVN on macOS

Postby Dominus » 2018-4-15 @ 16:58

Yes, should be easy to add all that (just remember for SDL_Sound for DOSBox you also need ogg/vorbis - bit none of the other dependencies of SDL_Sound).
User avatar
Dominus
DOSBox Moderator
 
Posts: 7539
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg


Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 1 guest