Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
Hi there, @alex_free. I'm looking into the prefix setup. According to the MacPorts Guide, to have more than one copy of MacPorts installed you have to build it from source. Would it be as simple as extracting the files to /usr/local/ttf and changing the path, or do two separate copies of MacPorts need to be installed?

Would it matter if the version of MacPorts used differs from the version that created my ports tree?

Thanks
 
I've learned how to compile MacPorts into a custom prefix but I think I also have to recompile everything for that prefix, right? It looks like that prefix is hard coded all throughout the existing ports and compiled into the binaries.
 
I'm very nearly done creating a full (graphical) installer package to set up a prefixed MacPorts installation. One question before I share it with the world. It's compiled on a G4. Will it still run on a G5?
 
Will you keep us up to date when a new release will come out ? TLS 1.2 is fine for at last 15 years from now when 1.4 comes out, assuming we are all still here by then.
 
I get what your saying, but why can I only get GCC 7.4.x from TigerPorts/LeopardPorts? Something else is going on, the GCC 7 compiler is only 4 years old as of 2021 (which is literally insane for this platform to have that power)...
gcc 7.5.0 has a bit of a show-stopper bug in it, wherein software randomly will crash due to an ABI difference between libstdc++ from gcc 7.5.0 and the one from the 10.4 and 10.4 system. The issue is technically called an ODR violation.

It happens intermittently -- building cmake for example -- and then randomly not for another build. It happens on both PPC and Intel.

We discussed it on MacPorts -- one option was to hold gcc7 back at 7.4.x, which did not exhibit the issue. The other was to press on to gcc7 7.5.x and let the chips fall as they may. The group decision was to do the latter. An attempt was made to work around the issue using DYLD_LIBRARY_PATH, which does work, if you can catch each and every invocation where it is needed.

As there is no visible improvement in gcc7 7.5.x compared to gcc7 7.4.x that I could see, no new features that were helpful, no new software that would build with gcc 7.5.0 that would not build with gcc 7.4.x -- I decided to hang back myself and use gcc 7.4.x until upstream fixes this.

Upstream has been working on it. gcc 9.x and gcc 10.x both will build and install on Tiger, and although they do not yet have the ODR fix in them, they are the most likely to get it.

Once that happens, my plan is to bump MacPorts to use that (libgcc 10 on Tiger) and then hopefully I can retire gcc 7.4.0 forever.

Regarding TigerPorts / LeopardPorts:

I've been building software on Tiger and Leopard for many years with MacPorts. I have many many thousands of ports installed in both, and I try to keep all of them as current as possible.

I came up the a compatibility library that MacPorts uses to help keep older systems going, and that was picked up by others as well and is enthusiastically supported now. I maintain the cctools port, and the ld64 port, and the clang ports and try to keep these working well on all the systems. The current cctools port works all the way back to Tiger, for example. clang-7.0 will install on Tiger Intel (with skills, not just "sudo port install clang-7.0" on Tiger), and it is not too far from working on Leopard PPC.

When something doesn't update on MacPorts during a "port upgrade" run, and something often doesn't update (this is Tiger we're talking about, after all) I can usually spot the needed fix in a minute or two. It's often the same collection of fixes, wearing different clothing.

I fix them, push the fixes to my TigerPorts/LeopardPorts repo so I don't forget what I did, and move on until the whole tree has been updated.

Then later, I look at the fixes I have done, and I try to see which ones will or will not be accepted into the main MacPorts repo. The ones that I think might be accepted, I either push or open a PR for. Some are more contentious, requiring a package to be held back from upgrading perhaps (eg libsdl2) or other more major surgery. There is limit to the amount of conditionalization that is tolerable in a Portfile.

The ones that I either can't sell to MacPorts, or I don't believe can be sold, I keep in Tiger/LeopardPorts until things seem ripe perhaps to upstream them.

I would invite everyone on this thread to be active in MacPorts if you would like the (already very good) Tiger/Leopard support to stay current. Ryan, who manages MacPorts, has a Leopard PPC buildbot -- just has not brought it online for some reason -- and has Tiger machines as well. I think to a certain extent they are looking to see how much enthusiasm there is to keep that support ongoing.

Your interest, comments, and in particular patches and fixes will be most appreciated!
 
I suppose it is not fair to call the ODR issue with gcc 7.5.0 a "bug". It is not a bug. It is just an undesirable interaction with 10.4 and 10.5's system libstdc++.
 
Hmm. Never used them. Just followed the guide with plain macports. Worked every time.

In all fairness though I haven't built on Tiger since iceweasel-ppc. I've been all leopard since then.

Plain Macports will fail to build some ports on Leopard for ppc32 and will fail to build multiple ports for ppc64 or universal (ppc+ppc64).
 
Digging up an old thread, trying to build TenFourFox on 10.4.8 and it seems legacy-support has been removed for 10.4.8. Am I correct that 10.5 is my only option since it appears 10.5 support still exists?
 
Digging up an old thread, trying to build TenFourFox on 10.4.8 and it seems legacy-support has been removed for 10.4.8. Am I correct that 10.5 is my only option since it appears 10.5 support still exists?

10.4 should certainly be supported.
 
My error in saying 10.4.8 - my system is actually up to date with 10.4.11. The directions on post #1 fail at the last step prior to building TenFourFox due to a legacy support dependency for libidl not being available on any of the mirrors. I’ve searched the mirrors manually and found the earliest version available is for Darwin 10.
 
The repo is broken. I had been doing the last few iwppc builds locally because of that. If you update the toolkit I'd remove it as it builds with a messed up toolbar from the repo.

I may still build iwppc yet. Just undecided as I have other projects going, and the code tff and iwppc are based on isn't going to magically work on today's web with the small hobby mode updates. So it's not a top priority for me at the moment.

Cheers
 
  • Like
Reactions: pipetogrep
These are very helpful because setting up MacPorts for the first time is not very straightforward for a newbie like me, but now all the relevant info is in one place. Big thanks!

Maybe there should be a general thread on building stuff from Macports with easy instructions...
 
I successfully built tenfourfox and the 'broken' InterWebPPC on my G5 after installing the toolkit. Thanks to all who helped! I'm posting from the tenfourfox build on my new to me G5 dual core 2.3.
 
i am mildly curious if one could get slightly newer web browsers to work on legacy mac OS X... i knew about leopard webkit from a video by the iBookGuy (which i believe is now the 8-bit guy, also the same dude who allegedly fried an IBM prototype from what i've heard), along with camino. i think i heard of tff from an old magazine i used to have... not sure where that went. mainly i am wondering if anyone has managed to update leopard webkit since that used to work very, very well for me, and it was much faster than the firefox forks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.