Re: /bin/sh - POSIX?

2017-03-07 Thread Julien Salort
René J.V. Bertin  wrote:

> Thanks. This doesn't really answer the question if /bin/sh is still bash
> but I suppose there is little chance that has changed since 10.9 .

I am running Sierra 10.12.3.

% /bin/sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
Copyright (C) 2007 Free Software Foundation, Inc.

HTH,

-- 
http://www.juliensalort.org



Re: running macports along with homebrew

2018-02-15 Thread Julien Salort

Le 15/02/2018 à 00:42, Michael a écrit :


I think we should look at ways in which MacPorts is harder to use and see if we 
can address those.

I'd say that being able to install software without having to use sudo would be 
my number one.

So, maybe a --user switch, similar to Python pip's ?
Or, possibly environments like Python venv or conda's ?

Julien


Re: User information about macOS Mojave

2018-09-19 Thread Julien Salort

Le 19/09/2018 à 17:12, Ken Cunningham a écrit :


I haven't dived into Mojave yet, but if all the system libraries  in /usr/lib 
and all the Frameworks are x86_64 only, then I don't see how that could work, 
even if you compiled against an SDK (like the 10.13 SDK) that still has i386 
support.
I don't have Mojave and will only install it once Macports fully 
supports it.
But, if I understand correctly, it is still possible to *run* 32-bits 
software. Therefore, I suppose there have to be 32-bits system 
librairies in /usr/lib, as well as 32-bits Frameworks.


Cocoa software is probably less of an issue than Carbon software which 
never supported 64-bits AFAIK...


Ventura builders

2022-12-28 Thread Julien Salort

Hello,

Forgive me if this is documented and I didn't find out. I just updated 
to Ventura, and reinstalled MacPorts (as I always do when I upgrade the 
OS).


I notice that everything gets compiled from source.

Is it because there are no Ventura builders, or did I do something wrong ?

Thanks,

Cheers,

Julien



Re: Ventura builders

2022-12-29 Thread Julien Salort

Le 29/12/2022 à 01:27, Chris Jones a écrit :



You don’t mention what architecture you are running ?

Builders are now available for x86_64 but not arm64 yet.

https://build.macports.org/waterfall


I see, thanks.

I am running arm64 indeed.

Cheers, and Happy Holidays,


Julien



Re: Vim on Leopard (each OS < 10.6)

2023-03-03 Thread Julien Salort

Le 02/03/2023 à 19:05, Eckard Brauer a écrit :


Maybe.

Contained in ports is MacOSX10.6.sdk, what could be installed even on
10.5 machines, as the port shows. Currently, it seems to have some
problem, but I'd rather try to have a deeper view inside.


My understanding is that the SDK is what allows an application to use 
and link against system features, i.e. it contains header files, etc.


It does not contain the libraries themselves. Installing the 
MacOS10.6sdk on 10.5 would allow to build an app targeted at Mac OS X 
10.6, on a Mac OS X 10.5 machine. But that won't bring 10.6 features to 
the 10.5 machine. Years ago when I used to write programs for Classic 
Mac OS, the common practise was to do "weak linking" and check at 
runtime if a particular symbol was available. I don't know if this is 
still a thing. This is the only case that I can think of where just 
installing the 10.6 SDK might be useful.



And even if Vim @9.* can't be installed on MacOSX 10.5, there should be
any installable version available -- or Macports should simply drop any
support for OS < 10.6, as Vim (an editor) seems to be very basic, I use
it for decades now.


So what needs figuring out is what is Grand Central Dispatch used for, 
and can it be disabled ? Then you would need to build for 10.5 with the 
Grand Central Dispatch features disabled. Since Grand Central Dispatch 
is Apple tech, and vim works on a variety of systems, it would be highly 
surprising that this is an actual requirement.


Cheers,

Julien



Re: Vim on Leopard (each OS < 10.6)

2023-03-01 Thread Julien Salort

Le 01/03/2023 à 11:14, Eckard Brauer a écrit :


Just set up my Powerbook with a virgin Leopard OS, installed fresh
Macports and tried to compile Vim. That does install all the
dependencies fine, but has errors compiling vim itself:

:info:build In file included from vim.h:283,
:info:build  from alloc.c:14:
:info:build os_mac.h:273:32: error: dispatch/dispatch.h: No such file or 
directory

As this file seems to be included with only Xcode versions for OS'
starting with Snow Leopard, I suspect that installing MacOSX10.6.sdk
could solve that - if it installs on 10.5 at all (still runing through
the deps, so I can't tell for now). In case it does, it should maybe
belong to the dependencies of vim, in case it doesn't, there seems to
be no way to install a recent vim version, so is there any previous
version one can install?
I think this is the header file for Grand Central Dispatch which was 
introduced in 10.6.


I don't think it can work on 10.5.

Cheers,

Julien