Hi,

I think for Camm the only purposes of using MacPorts is to easily get
GCC and various open source tools installed in his Catalina box. For
examples, after a successful installation, a simple command like "sudo
port install gcc13" will get GCC installed, so is "gmp" and "git", etc.

Then, if GCL can be successfully built by the normal workflow (i.e.
./configure and make), then it's the job of MacPorts packager (Kirill)
to update the Portfile for GCL. I think there's no need to involve Camm
to the extra complexities of MacPorts including its long building paths.

@Camm, according to a 3rd-party Xcode release web site [1], the latest
Xcode supported on macOS Catalina is Xcode 12.4.  I think it won't hurt
your working macOS environment to install Xcode and its "command line
tools" if it prompts you to download and install on Xcode startup. (It's
the major and minor macOS version updates being dangerous.)  In short
words, to make the GCC installation from MacPorts actually work, the
command "xcode-select --install" must be executed once with the required
software installed, otherwise even "stdio.h" is not available to GCC.

[1] https://xcodereleases.com

Chun

On 31/01/24 06:19, Kirill A. Korinsky wrote:
> Greetings,
> 
> On Tue, 30 Jan 2024 17:28:11 +0100,
> Camm Maguire wrote:
>>
>> I have an old mac virtualbox which I never use except at the last point
>> in gcl releases.  Nonetheless I have fired it up, and run into the
>> problem that sed cannot put newlines into the replacement text.  You
>> guys are surely past this point.  I know next to nothing about macosx
>> versions and software installations -- perhaps you could point me to a
>> hopefully painless way to upgrade this virtualbox image to the latest
>> reasonable without destroying it.
> 
> The simplest way is using image that you have without any upgrade.
> 
> If you install MacPorts you may use my not published port to reproduce it.
> 
> The simplest way after instalation (without switching MacPorts to git) is:
> 
> 1. Replace content of
>    
> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcl/Portfile
>    into
>    
> https://raw.githubusercontent.com/catap/macports-ports/gcl-devel/lang/gcl/Portfile
> 
> 2. Move to 
> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/port
> 
> 3. Run portindex
> 
> It adds gcl-devel port which you may build as `port build gcl-devel`.
> 
> Portfile contains used gitcommit at line 78 and checksum at line 82.
> 
> The simplest way to update it is:
> 1. Update git commit
> 2. Run `port bump gcl-devel`
> 
> If you need access to a build folder you may find one as `port work 
> gcl-devel`,
> and output log are available as `port logfile gcl-devel`.
> 
> Keep in mind that after editing Portfile the work directory will be removed.
> 
> --
> wbr, Kirill
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to