Just trying again on a fresh Install of XUbuntu 24
Using your github Repo this time to compile, Mark:
Code: Select all
git clone --recurse-submodules https://github.com/mwieder/OpenXTalkEngine.git
All going well so far, but then I ran into a problem.
libesd0-dev
Code: Select all
Unable to locate package libesd0-dev
https://askubuntu.com/questions/1082722 ... untu-18-04
So, I'm currently seeing if I can add Repos from Xenial, then will retry...
Edit: after switching my sources list over to xenial, I could download libesd0-dev, then revert the sources.list back to 'Noble Numbat'
I also had to turn on "noble noble-updates noble-backports" to get Python2 as it's now depreciated too.
Package python2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Turns out I have to build it from source, so...
Download:
https://www.python.org/ftp/python/2.7.1 ... 2.7.18.tgz
Code: Select all
tar -xf '/home/user/Downloads/Python-2.7.18.tgz'
cd Python-2.7.18/
sudo apt install build-essential pkg-config \
libbz2-dev libffi-dev libgdbm-dev liblzma-dev \
libncurses5-dev libreadline6-dev libsqlite3-dev \
libssl-dev tk-dev uuid-dev zlib1g-dev
then...
Code: Select all
./configure --enable-optimizations \
--enable-shared \
--enable-loadable-sqlite-extensions \
--prefix /usr/local \
LDFLAGS=-Wl,-rpath=/usr/local/lib
then...
then (run Python)...
Now set the environment variable from within Python:
So, now I have Python2.7 installed, I run into my next issue:
Code: Select all
make config-linux
travis_fold:start:config
CONFIGURE
./config.sh --platform linux-x86_64
/home/user/Desktop/OpenXTalkEngine/./config.py:278: SyntaxWarning: invalid escape sequence '\d'
sdk, ver = re.match('^([^\d]*)(\d*)', target_sdk).groups()
ERROR: Java SDK not found; set $JAVA_SDK
make: *** [Makefile:101: config-linux-x86_64] Error 1
...so, now off to install and setup a Java SDK (another 312MB download)...
After that, we hit another hurdle (and come to a stop)
Code: Select all
make config-linux
travis_fold:start:config
CONFIGURE
./config.sh --platform linux-x86_64
/home/user/Desktop/OpenXTalkEngine/./config.py:278: SyntaxWarning: invalid escape sequence '\d'
sdk, ver = re.match('^([^\d]*)(\d*)', target_sdk).groups()
Traceback (most recent call last):
File "/home/user/Desktop/OpenXTalkEngine/./config.py", line 855, in <module>
configure(sys.argv[1:])
File "/home/user/Desktop/OpenXTalkEngine/./config.py", line 834, in configure
configure_procs[opts['OS']](opts)
File "/home/user/Desktop/OpenXTalkEngine/./config.py", line 745, in configure_linux
validate_java_tools(opts)
File "/home/user/Desktop/OpenXTalkEngine/./config.py", line 373, in validate_java_tools
sdk = guess_java_home(opts['HOST_PLATFORM'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/Desktop/OpenXTalkEngine/./config.py", line 353, in guess_java_home
javac_path.endswith(javac_str)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: endswith first arg must be bytes or a tuple of bytes, not str
make: *** [Makefile:101: config-linux-x86_64] Error 1