I downloaded Kile for my latex documentation.
Since im a bit new here, i wanted what steps do i need to follow after uncompressing the .gz gnu zip files. I know i need to compile them, but somehow my ‘make’ and ‘gcc’ kinda knowledge is not working here for compiling the source files.
Please guide me towards standard package installation from any bunch of source files. (tried the standard way mentioned online, but doesnt seem to work (./configure,make etc.)
You do not tell us where you are stuck, nor give any error messages, I have to guess what you have done and what not.
Normally when you unpack a tarbal there is somewhere a fiel README or the like. Have you found and read README?
Did you install gcc and make? They are not installed on a default installation, but this can easily be done using YaST because they are on the OSS repo.
there is no standard for any bunch of source files. It depends a lot on how the build structure of the program is constructed. Some use the traditional way of ./configure, make, make install and some just offer a Makefile where you only type make and then as root make install. Others instead use cmake which usually required you first make a directory called ‘build’, cd to it and execute something like cmake …
Usually, most programs offered in source code have a README, INSTALL or such files with instructions how to build it
ok, let me state simply. I didnt know opensuse doesnt come with make or gcc. I have the source files for Kile unzipped, and now looking for gcc, make etc… and would love to know shortest way to succesfully compile them towards my Kile tex files.
After your hint im looking for gcc rpms online, so that i can compile them somehow. Will you have some hints?
Of course SUSE comes with full building tools, they are just not installed by default. Go to yast software management, select at the top “patterns” and click on the C/C++ Development and RPM Build Environment patterns and install. You do not go hunt for GCC RPMs on some random site
Ok, the readme of latex 2.0.3 tells me to configure.
It says:
*2.) Building Kile from source
Extract the source code with tar xjf kile-2.0.x.tar.bz2
cd kile-2.0.x
./configure --prefix=path_to_KDE3 (/usr or /opt/kde3 generally) --with-qt-dir=path_to_QT3 library (/usr/lib/qt3 generally)
– If you don’t know what the path to KDE3 on your system is, you can use output of kde-config --prefix.
– Or you can choose --prefix=$HOME/.kde to not mess up with your distribution’s package management system.*
The output i get has this written at the end:
*
checking for Qt… configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.ecking for Qt… configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.checking for Qt… configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.*
OK, just installed all qt development tools (except for developement documentation), but i still get this error:
checking for Qt… configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
I think if i specify different command it will be ok… i mean to say that a path to qt will probably work, would someone know the path to qt???
the package you’re trying to build requires pretty old QT libs and tools which unfortunately are no more available in SUSE, iirc. Not much you can do besides contacting the project
the error won’t go away if it finds incompatible qt versions and headers. The only way to change this is to update the code of the program itself you’re trying to compile, or to install QT libs/headers which are compatible with it