Ok i give up

I removed ever trace of cd,im,iup
And the system uses lua 5.3
So i did the following (just for the fun).The whole point is to compile everything against lua 5.3
1.Download sources of cd/im/iup.
2.Download sources of chdkptp.
3. CD and IM compiled nicely.IUP had issues..was trying to find lua5.1 despite i tried to "fix" the references in the config files.
4.I installed the above three suckers.
5.Tried to compile chdkptp.Issues all over , mainly with searching the wrong lua version in cd/im/iup.
So i thought to go the easy way.
1. Download binaries of cd/im/iup for lua 5.3 and installed them
2. Tried again to compile chdkptp for lua 5.3 ...no-go.
Somewhere there , i gave up

Too much effort !
The installation was openSUSE Tumbleweed ..maybe it is a matter of libs version or anything..i cant say..
My thoughts.
1. I believe that creators of im/cd/iup don't give a fck about these anymore.
They are created (pre-built binaries) in very few and specific distros that they are outdated by now.
So if someone wants to compile them from source , he must change some configuration files to make them "look" for newer versions of libs/headers/lua.
In my efforts, i had to install
A WHOLE BUNCH of libs/headers and some of them old versions...because the compiler configuration of these softwares wanted the specific versions.
2.As i said i am not a programmer...so i can't help you at changing framework or anything..i have alot of free time and i can test stuff..but i cant create something

I mentioned if it was possible to change framework at some point , because i was messing around with Agisoft Photoscan today...it has win/linux/macos builds.
I checked out the linux version..and it needed like zero libs/headers...pre-built binary..u click it...it works.
Same interface/gui with the windows version.
And from the little things i can understand it uses QT libs for the GUI...
Just throwing ideas here...
Surely photoscan has nothing to do with lua...entirely different program...but just saying

3. Another idea that just popped up in my head.
We know that chdkptp needs lua/cd/im/iup .
Is it possible to use a rather updated distro... compile locally lua/cd/im/iup..compile locally chdkptp using locally built lua/cd/im/iup and fix the config files..so the chdkptp binary will use these locally built dependencies ?(dependencies = lua/cd/im/iup)
Wrap all up into a tar.gz and pass it to the people...
So when someone will untar it and tries to use it..there is no need to have all these installed..chdkptp will use them from the same tallbar folders.
You can tell me that maybe this wont work..different compilers/libs and stuff..but if the distro on which the compile was made is pretty good updated..like a bleeding edge distro , maybe then things might work well

Just an idea
