My mistake -- I pasted from the wrong screen when in a hurry.
ykarant@localhost texstudio-org-texstudio-b6ce6f5]$ ./BUILD.sh
TeXstudio compilation :
----------------------------------------
Enter SYSTEM (1: UNIX ; 2: MACOSX) (default is 1) :
1
Enter PREFIX (/usr , /usr/local or /opt) (default is /usr/local) :
/opt
Enter path to QT4/5 base directory (e.g. /usr/lib/qt4, you can leave it
empty if qmake is in PATH) (default is ) :
/usr/lib/qt5
Enter path to QT4/5 executable file (e.g. qmake or qmake-qt5) (default
is qmake) :
Do you want to use the internal pdf viewer (requires the Poppler
library)? (yes/no) (default is yes) :
Do you want to use the video player in pdf files (requires the Phonon
library)? (yes/no) (default is no) :
Do you want an internal terminal widget (requires the qtermwidget5
library)? (yes/no) (default is yes) :
Do you want to build a debug or release version? (default is debug) :
release
Do you want to enable the debug logger? (yes/no) (default is no) :
Do you want to install TexStudio after building it? (yes/no) (default is
yes) :
Warning, QT path may be invalid
Starting compilation
./BUILD.sh: line 134: qmake: command not found
make: *** No targets specified and no makefile found. Stop.
Compilation done
make: *** No rule to make target `install'. Stop.
Installation done
Icons and desktop file can be found in the /opt/share/texstudio directory
[ykarant@localhost texstudio-org-texstudio-b6ce6f5]$ which qmake
/usr/bin/which: no qmake in
(/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/var/lib/snapd/snap/bin:/home/ykarant/.local/bin:/home/ykarant/bin)
[ykarant@localhost texstudio-org-texstudio-b6ce6f5]$
I have looked for qmake and even after that is found, I suspect that
there will be additional missing utilities, dependencies, or revision
levels.
Thanks.
Again, please reply to [email protected]
On 8/25/20 6:50 PM, Chris Schanzle wrote:
On 8/25/20 7:48 PM, Yasha Karant wrote:
Please reply to [email protected]
Take care. Stay safe.
I was attempting to migrate from production release of Texstudio 2.x to
Texstudio 3.x . I could not find any EL7 RPM packages for Texstudio 3.x . I
then downloaded the source and attempted to build with the result below --
failure. Does any have or is planning to have a Texstudio 3 EL7 RPM (or SNAP
package)?
Thanks,
Yasha Karant
[root@localhost Downloads]# yum install ./texstudio-3.0.0-6.1.x86_64.rpm
Loaded plugins: langpacks, nvidia
Repository sl is listed more than once in the configuration
Examining ./texstudio-3.0.0-6.1.x86_64.rpm: texstudio-3.0.0-6.1.x86_64
Marking ./texstudio-3.0.0-6.1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package texstudio.x86_64 0:3.0.0-6.1 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package:
texstudio-3.0.0-6.1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package:
texstudio-3.0.0-6.1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package:
texstudio-3.0.0-6.1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package:
texstudio-3.0.0-6.1.x86_64
--> Processing Dependency: libpoppler-qt5.so.1()(64bit) for package:
texstudio-3.0.0-6.1.x86_64
--> Finished Dependency Resolution
Error: Package: texstudio-3.0.0-6.1.x86_64 (/texstudio-3.0.0-6.1.x86_64)
Requires: libpoppler-qt5.so.1()(64bit)
Error: Package: texstudio-3.0.0-6.1.x86_64 (/texstudio-3.0.0-6.1.x86_64)
Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: texstudio-3.0.0-6.1.x86_64 (/texstudio-3.0.0-6.1.x86_64)
Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: texstudio-3.0.0-6.1.x86_64 (/texstudio-3.0.0-6.1.x86_64)
Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: texstudio-3.0.0-6.1.x86_64 (/texstudio-3.0.0-6.1.x86_64)
Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
You could try using --skip-broken to work around the problem
Given the info provided, you didn't download "source" and "build" you downloaded a binary rpm for
likely a different distribution with different libraries, perhaps from
https://urldefense.proofpoint.com/v2/url?u=http-3A__download.opensuse.org_repositories_home-3A_jsundermeyer_Fedora-5F24_x86-5F64_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=x59CEm3-GhJHXFZzUgBZD9r7wCdv47xnFJFvcZJ5h0E&s=bn5s_ENenBjDKXmFlVcED_MT0asKeMinpfCZav0WAng&e=
which as the URL describes, is Fedora 24 and appears to be the official downloads texstudio.org points to.
Making an installable binary rpm by "building from source" requires a src.rpm
and using rpmbuild or mock to create the installable rpm.
My best suggestion is to contact someone at texstudio.org for a CentOS/SL/RHEL
7 build. Perhaps trying to build the .src.rpm, found in ../src, might prove
fruitful. A quick attempt on my part resulted in:
$ rpmbuild --rebuild texstudio-3.0.0-6.1.src.rpm
...
+ cd texstudio-3.0.0
+ make -j40
make: *** No targets specified and no makefile found. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.XZhDuc (%build)
A closer inspection of the texstudio.spec file shows nonstandard macros unset on standard
system (e.g., "rhel_version"), thus qmake-qt5 is not being run to create the
Makefile. There are deeper issues, such as missing dependencies for clang-libs and
poppler-qt5-devel.
I know that doesn't help much to get texstudio 3.0 running on your sl7 box, but
I hope that clarifies things for you and other readers.
Work with the guys at the source.