Closed alphastar868 closed 8 years ago
Here is some more info on the full list of RPMS I installed for I-Nex on Centos 7. Perhaps this can turn into a HowTo on the I-Nex Install page (http://i-nex.linux.pl/install/) for CentOS, once someone confirms that it works:
#Prerequisites
From Fedora Rawhide gambas3-runtime-3.8.1-1.fc24.x86_64 gambas3-gb-desktop-3.8.1-1.fc24.x86_64 gambas3-gb-form-3.8.1-1.fc24.x86_64 gambas3-gb-form-dialog-3.8.1-1.fc24.x86_64 gambas3-gb-form-stock-3.8.1-1.fc24.x86_64 gambas3-gb-gtk-3.8.1-1.fc24.x86_64 gambas3-gb-image-3.8.1-1.fc24.x86_64 gambas3-gb-settings-3.8.1-1.fc24.x86_64 gambas3-gb-qt4-3.8.1-1.fc24.x86_64 gambas3-gb-qt4-ext-3.8.1-1.fc24.x86_64
From brollylssj's fc23 build libcpuid11-0.2.1-1.x86_64
procps-ng-3.3.10-3.el7.x86_64 from Centos repo
#I-Nex RPMs, choices
You can now install the OpenSUSE fc20 RPMs using "rpm -Uvh --nodeps _I-Nex_rpmURL _I-Nex_Data_rpmURL" to bypass the now obsolete(?) requirement for gambas3-gb-geom coded in the OpenSUSE fc20 RPM.
Alternatively, you can install the brollylssj I-Nex builds using "yum install _I-Nex_rpmURL _I-Nex_Data_rpmURL".
Note that all the I-Nex installs require the installation of i-nex and i-nex-data RPMS at the same time are they are both (intentionally) dependencies of each other. Also, while the i-nex* RPM is architecture specific (i.e. "x86_64" or "i386" subfolder) the i-nex-data* RPM is found in the "noarch" subfolder.
#Custom building the latest I-Nex on GitHub for Centos
I built custom rpmbuild RPMs using a modified specfile from brollylssj's fc23 .src.rpm:
Produces the following files in ~/rpmbuild/RPMS/ if successful:
i-nex-7.4.0-1.el7.centos.x86_64 i-nex-data-7.4.0-1.el7.centos.noarch
#Required RPMs for Build Environment
To successfully compile the above on Centos 7, install the following RPMs and SRPMs using "yum install rpmname" e.g. "yum install rpm-build":
rpm-build-4.11.1-25.el7.x86_64
i-nex-7.4.0-1.fc23.src.rpm from brollylssj
ImageMagick-6.7.8.9-10.el7.x86_64 autoconf-2.69-11.el7.noarch automake-1.13.4-3.el7.noarch freeglut-2.8.1-3.el7.x86_64 gambas3-devel-3.8.1-1.fc24.i686 from Rawhide procps-ng-devel-3.3.10-3.el7.x86_64
fdupes-1.51-10.fc23.x86_64 from Rawhide
libXau-devel-1.0.8-2.1.el7.x86_64 libxcb-devel-1.9-5.el7.x86_64 libX11-devel-1.6.0-2.1.el7.x86_64 libXfixes-devel-5.0.1-2.1.el7.x86_64 mesa-libglapi-10.2.7-5.20140910.el7_1.1.x86_64 libXdamage-devel-1.1.4-4.1.el7.x86_64 libXext-devel-1.3.2-2.1.el7.x86_64 libXxf86vm-devel-1.1.3-2.1.el7.x86_64 mesa-libgbm-10.2.7-5.20140910.el7_1.1.x86_64 mesa-libGL-10.2.7-5.20140910.el7_1.1.x86_64 mesa-libGL-devel-10.2.7-5.20140910.el7_1.1.x86_64
libcpuid-devel-0.2.1-1.x86_64 from brollylssj
gcc-4.8.3-9.el7.x86_64
Note that the version numbers above may vary with the build version of CentOS 7. The above files were used on CentOS Linux release 7.1.1503 (Core)
Well, here's the progress I have made:
Voila!
# Technical Details
I discovered that the script in I-Nex/i-nex/Data/Data/screenfetch-dev produces a file called ~/.i-nex/screenfetch.json. Unfortunately, the "OS:" section of this file is output in double quotes i.e. ""centos"", which causes JSON.module to throw the ReadObject error at line 123 when I-Nex-7.4.0/I-Nex/i-nex/.src/Finfosys.class calls JSON.Decode on line 330.
# Quick Fix
The quick and dirty fix is to change I-Nex/i-nex/Data/Data/screenfetch-dev to read as follows on line 3381:
"Distro": $distro,
...thus allowing the screenfetch.json file to be properly parsed. I-Nex 7.4.0 (modified as above) takes quite a long time to load on my Core2Duo (almost 40 seconds, I think), so I'm not sure if everything is 100%, but it seems to run fine and I can access all functions (no SPD love though).
Also, the RPMs I built also included the additional bugfix for the I-Nex Library app on x86_64 architectures as well.
If these changes are applied to Step 4 (above) of the Custom Building instructions (before rezipping the source code), then you should be able to successfully build and install I-Nex 7.4.0 on Centos 7.
This issue is fixed for CentOS in https://github.com/eloaders/I-Nex/commit/5813d16340787a2287513f65755b3caa9599ef86
Been working on getting this going under Centos 7. Installed the following RPMS:
gambas3* (3.8.1) from Fedora Rawhide (fc23/fc24) at https://fedoraproject.org/wiki/Releases/Rawhide libcpuid11 (0.2.1) from brollylssj (fc23) at https://copr.fedoraproject.org/coprs/brollylssj/I-Nex/
and various versions of i-nex rpms OpenSUSE brollylssj, and custom compiled using a modified brollylssj SRPM SPEC file and I-Nex-master.zip sources from GitHub to produce i-nex-7.4.0-1.el7.centos.x86_64.rpm and i-nex-data-7.4.0-1.el7.centos.noarch.rpm.
Unfortunately, the OpenSUSE RPMs fail after a few lines of messages with
For the record, I can run i-nex-usage successfully:
Have I missed something in the dependencies, or is this a bug? Could my issues be based on the version of gambas3?
Thanks in advance for your help, alphastar