Re: Cannot build DOSBOX

2022-09-20 Thread Ken Cunningham
use dosbox-x instead.

I added it to MP largely because it is 64bit and maintained actively. It’s been 
updated a number of times lately I see.

K

K


Re: Cannot build DOSBOX

2022-09-19 Thread Ryan Schmidt
On Sep 18, 2022, at 23:39, Dave Horsfall wrote:

>--->  Computing dependencies for dosbox
>Error: Cannot install dosbox for the arch 'i386' because
>Error: its dependency libsdl does not build for the required arch by 
> default
>Error: and the configured universal_archs '' are not sufficient.
> 
> macports.conf:
> 
># Space-delimited list of CPU architectures to target when building
># universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
># "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
># macOS 10.14 and 10.15 (these SDKs are not universal), and
># "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
># universal building.
>#universal_archsx86_64 i386
>universal_archs
> 
> Should I hardwire it to those?  I ain't likely to use PPC etc.

dosbox is only available for 32-bit (i386).

On your OS version, software builds 64-bit (x86_64) by default.

Therefore, anything that is 32-bit only and has dependencies must install those 
dependencies universal (32-bit and 64-bit) on your system.

You have disabled universal building by setting universal_archs to empty, 
therefore you cannot install dosbox.

If you want to allow universal builds, remove the line "universal_archs" from 
macports.conf to let the default value (x86_64 i386 on your system) take effect.

The compilers in Xcode on your OS version cannot compile for ppc so including 
ppc in universal_archs won't work.




Re: Cannot build DOSBOX

2022-09-19 Thread Chris Jones



> On 19 Sep 2022, at 5:40 am, Dave Horsfall  wrote:
> 
> Sigh; it never rains but it pours...
> 
> Trying to build DOSBOX I get:
> 
>--->  Computing dependencies for dosbox
>Error: Cannot install dosbox for the arch 'i386' because
>Error: its dependency libsdl does not build for the required arch by 
> default
>Error: and the configured universal_archs '' are not sufficient.
> 
> macports.conf:
> 
># Space-delimited list of CPU architectures to target when building
># universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
># "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
># macOS 10.14 and 10.15 (these SDKs are not universal), and
># "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
># universal building.
>#universal_archsx86_64 i386
>universal_archs
> 
> Should I hardwire it to those?  I ain't likely to use PPC etc.

By default macports.conf does not explicitly set universal_archs at all, so you 
must have manually adding that setting yourself at some point. Presumably you 
cannot remember why ? If not, i suggest just removing it and thus go back to 
using the default settings.
> 
> I vaguely remember seeing the same thing with WINE and was going to
> report it.
> 
> -- Dave


Cannot build DOSBOX

2022-09-18 Thread Dave Horsfall
Sigh; it never rains but it pours...

Trying to build DOSBOX I get:

--->  Computing dependencies for dosbox
Error: Cannot install dosbox for the arch 'i386' because
Error: its dependency libsdl does not build for the required arch by default
Error: and the configured universal_archs '' are not sufficient.

macports.conf:

# Space-delimited list of CPU architectures to target when building
# universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
# "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
# macOS 10.14 and 10.15 (these SDKs are not universal), and
# "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
# universal building.
#universal_archsx86_64 i386
universal_archs

Should I hardwire it to those?  I ain't likely to use PPC etc.

I vaguely remember seeing the same thing with WINE and was going to
report it.

-- Dave