Skip to content

XAMPP Fixes#44

Open
SmushyTaco wants to merge 2 commits into
ApacheFriends:mainfrom
SmushyTaco:main
Open

XAMPP Fixes#44
SmushyTaco wants to merge 2 commits into
ApacheFriends:mainfrom
SmushyTaco:main

Conversation

@SmushyTaco

Copy link
Copy Markdown
  • Updated Docker to replace the broken InstallBuilder link, use a non deprecated image (Ubuntu), and use tcl (tclsh) instead of tclkit for the build process.
  • Updated the README.md to include mention of PHP 8.2 and to reflect the transition to tclsh.
  • Hardcoded the IBversion because the code to dynamically grab it was trying to get it from a non existent file.

@grooverdan grooverdan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've mode good progress on improving some things.

For other to recognise the value some further explanations are needed.

(I'm not the maintainer of this, just someone taking an interest).

Comment thread Dockerfile
Comment thread Dockerfile Outdated
Comment thread README.md
Comment thread src/util.tcl Outdated

proc buildProject {project be buildType {license {}} {extraSetVars {}} {onlyGenerateScript 0}} {
set IBversion [findInstallBuilderVersion $be]
set IBversion 24.7.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the current findInstallBuilderVersion now not correctly resolving the version?

Are there viable alternatives?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not very familiar with the tcl language, so I honestly have no idea. This is the solution I was able to come up with, if it isn't sufficient and you know how to better resolve this, please do!

@SmushyTaco

Copy link
Copy Markdown
Author

The original maintainer seems to have abandoned this project, so I don't see these improvements being merged. Nevertheless, I've updated the InstallBuilder version and if anybody finds a fix to the broken findInstallBuilderVersion function, please open a PR and I'll merge it into this.

@Neustradamus

Copy link
Copy Markdown

To follow this PR.

@DomiWag

DomiWag commented Oct 13, 2025

Copy link
Copy Markdown

Nevertheless, I've updated the InstallBuilder version and if anybody finds a fix to the broken findInstallBuilderVersion function, please open a PR and I'll merge it into this.

If I understand the code correctly, it reads a file named ibversion from src directory (same as where util.tcl is located).
It seems the file was not commited to the Git repo when it was initially created, and it is never referenced anywhere else.

To fix / test, create src/ibversion, put 24.7.0 in it and revert the removal of findInstallBuilderVersion from util.tcl (on SmushyTacos forked version).

Unfortunately, I currently do not have an environment to test this hypothesis. Hope I can get around to it later and report back.

@SmushyTaco

Copy link
Copy Markdown
Author

@DomiWag you're right in your assumption, when I was working on this fix I came across this myself, but the IBVersion largely remains constant, you really only change it if there's an update and you keep it consistent with the version set by the docker file. So it makes no sense to have a file with that name just to supply the version. If that's all that it's there for then it's no different than hardcoding it like I've currently done.

The optimal solution would be to change the function to dynamically grab the IB version through the command line so the only place the actual version number would need to specified is in the docker file.

@Neustradamus

Copy link
Copy Markdown

@beltran-rubo: Any progress on this PR done 2025-01-15 by @SmushyTaco?
Soon one year!

@Neustradamus

Neustradamus commented Feb 20, 2026

Copy link
Copy Markdown

@beltran-rubo: This PR done 2025-01-15 by @SmushyTaco is more one year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants