Here is couple links how to install/compile/package from source:
Compiling / Ubuntu
> Compiling things on Ubuntu Linux the Easy Way
> CompilingSoftware
> CheckInstall
Packaging / Ubuntu
> KubuntuTutorialsDay / Packaging
> PackagingGuide
> PackagingGuide/Python
Build like a Ninja
> Kubuntu/Ninjas
DEBIAN (K/X/Ubuntu is Debian derived Linux release)
> Compiling Software With Debian Linux
> DebianKDE
> Debian New Maintainers' Guide
> How to make deb packages
> Debian Library Packaging guide
> The Debian GNU/Linux FAQ
Chapter 7 - Basics of the Debian package management system
LINUX
> Installing software from source in Linux - 1.2
> An beginners guide to compiling programs under Linux.
README or INSTALL
When you have unpacked tar, check if there is README or INSTALL files. They could contain exact instructions how to compile
Example (from smplayer install.txt)
Packages for DIY compilers - errors and solutions
build-essential
Error message:
Do you have build-essential ? More at > configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Error message:
or
This package helpped here: kdebase-dev
More: X... configure: error: Can't find X includes
Error message:
This package helpped here: kde-devel
Error message:
These packages helpped: ffmpeg, libavutil, libavformat, libavcodec and libswscale.
Links to: Topic: k3b compiling trouble
http://kubuntuforums.net/forums/inde...opic=3091284.0
Error message:
?? But, i do have:
JDoyle: Ho to install kmediagrab
Alternative is to use:
Here it gives:
=> configuration successful
More at: Qt headers not found!
Here is example how to fulfill the dependencies
Compiling kalva-0.8.81.tar.bz2
Hmm - libraryqt3 is missing
Using Ubuntu packages
http://packages.ubuntu.com/
There is several libqt3 packages -> libqt3-mt, libqt3-mt-dev
installing libqt3-mt-dev (3:3.3.8really3.3.7-0ubuntu4)
--installs-->libxrandr-dev (2:1.2.0-3ubuntu1)
Another way to search packages:
How to: search for files in packages, installed or not
http://kubuntuforums.net/forums/inde...opic=3089149.0
Again
Hmm - search with error message (google), --> kde-devel --> installing it
kde-devel (5:47)
--installs-->
kdebase-dev (4:3.5.6-0ubuntu19)
kdelibs4-dev (4:3.5.6-0ubuntu13)
kdesdk (4:3.5.6-0ubuntu2)
kspy (4:3.5.6-0ubuntu2)
libarts1-dev (1.5.6-0ubuntu1)
libavahi-qt3-dev (0.6.17-0ubuntu3)
libkonq4-dev (4:3.5.6-0ubuntu19)
And again
Next step :
Next
And finally :
Linux distributions
There is differences between Linux distributions:
Example:
Michael Aust(Dolphin developer) wrote:
Note
If you install programs without package management then you can't find programs with package managers (apt, aptitude, adept, synaptic...)
More links
> CheckInstall
> Topic: TAR BALLS
> Installing Software in Ubuntu
> How to install ANYTHING in Ubuntu!
> FAQ: Package Managers
> Making Local Repository
Compiling / Ubuntu
> Compiling things on Ubuntu Linux the Easy Way
> CompilingSoftware
> CheckInstall
Packaging / Ubuntu
> KubuntuTutorialsDay / Packaging
> PackagingGuide
- Complete Guide
- Basic overview over files in the debian/ directory
- Material for a Hands-On session
- The basics of shared libraries, and the specifics of packaging them
- YouTube - Learning MOTU (first of three Videos)
> PackagingGuide/Python
Build like a Ninja
> Kubuntu/Ninjas
DEBIAN (K/X/Ubuntu is Debian derived Linux release)
> Compiling Software With Debian Linux
> DebianKDE
> Debian New Maintainers' Guide
> How to make deb packages
> Debian Library Packaging guide
> The Debian GNU/Linux FAQ
Chapter 7 - Basics of the Debian package management system
LINUX
> Installing software from source in Linux - 1.2
> An beginners guide to compiling programs under Linux.
README or INSTALL
When you have unpacked tar, check if there is README or INSTALL files. They could contain exact instructions how to compile
Example (from smplayer install.txt)
This document explains how to compile and install smplayer.
Compiling smplayer should be easy. It only depends on Qt. It can be compiled
with both Qt 3 and Qt 4.
First I'll explain how to do it in Linux. After that there's how to do it
in Windows.
1) Compiling with Qt 3
2) Compiling with Qt 4
3) Differences between Qt 3 and Qt 4
4) Compiling with Qt 3 + KDE 3 support
5) Changing installation path
6) How to make a rpm package
7) How to make a deb package
8 ) How to compile in Windows
1) Compiling with Qt 3
----------------------
Be sure you have installed the Qt 3 development package. Its name maybe
qt3-devel, libqt3-dev or something similar.
Uncompress the source code, open a console (konsole or similar) and cd
to the smplayer-0.5.x directory. Type "make". That's it.
If compilation fails, be sure QTDIR points to the right path.
To install it, type: "make install". That will install smplayer in
/usr/local.
You may run it without install it if you want to. It won't find the
translation files and other required files, but you'll be able to take a
look at it before installing.
To uninstall it, just type "make uninstall".
Compiling smplayer should be easy. It only depends on Qt. It can be compiled
with both Qt 3 and Qt 4.
First I'll explain how to do it in Linux. After that there's how to do it
in Windows.
1) Compiling with Qt 3
2) Compiling with Qt 4
3) Differences between Qt 3 and Qt 4
4) Compiling with Qt 3 + KDE 3 support
5) Changing installation path
6) How to make a rpm package
7) How to make a deb package
8 ) How to compile in Windows
1) Compiling with Qt 3
----------------------
Be sure you have installed the Qt 3 development package. Its name maybe
qt3-devel, libqt3-dev or something similar.
Uncompress the source code, open a console (konsole or similar) and cd
to the smplayer-0.5.x directory. Type "make". That's it.
If compilation fails, be sure QTDIR points to the right path.
To install it, type: "make install". That will install smplayer in
/usr/local.
You may run it without install it if you want to. It won't find the
translation files and other required files, but you'll be able to take a
look at it before installing.
To uninstall it, just type "make uninstall".
Packages for DIY compilers - errors and solutions
build-essential
informational list of build-essential packages
This package contains an informational list of packages which are
considered essential for building Debian packages. This package also
depends on the packages on that list, to make it easy to have the
build-essential packages installed.
This package contains an informational list of packages which are
considered essential for building Debian packages. This package also
depends on the packages on that list, to make it easy to have the
build-essential packages installed.
Error message:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Error message:
checking for X... configure: error: Can't find X includes.
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
development files for the KDE base module
This package contains headers and other development files needed to
compile software based on the KDE base module.
This package contains headers and other development files needed to
compile software based on the KDE base module.
Error message:
configure: error: "Header file konq_operations.h is missing. Please install kdebase-devel package.
the K Desktop Environment development files and modules
This metapackage includes official KDE modules that are useful to developers,
including KDE's software development kit (SDK), Qt3's designer tool, and all
core KDE header and development packages.
This metapackage includes official KDE modules that are useful to developers,
including KDE's software development kit (SDK), Qt3's designer tool, and all
core KDE header and development packages.
checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.
Links to: Topic: k3b compiling trouble
http://kubuntuforums.net/forums/inde...opic=3091284.0
Error message:
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
libqt3-headers; Qt3 header files
libqt3-compat-headers; Qt 1.x and 2.x compatibility includes
libqt3-mt; Qt GUI Library (Threaded runtime version), Version 3
libqt3-mt-dev; Qt development files (Threaded)
libqt4-dev; Qt 4 development files
libqt4-qt3support; Qt 3 compatibility library for Qt 4
libqt3-compat-headers; Qt 1.x and 2.x compatibility includes
libqt3-mt; Qt GUI Library (Threaded runtime version), Version 3
libqt3-mt-dev; Qt development files (Threaded)
libqt4-dev; Qt 4 development files
libqt4-qt3support; Qt 3 compatibility library for Qt 4
You need to set the qt directory in the PATH. Do this, add thes lines to your ~/.bashrc file
QTDIR=/usr/share/qt3
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
QTDIR=/usr/share/qt3
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
Code:
QTDIR=/usr/share/qt3 PATH=$QTDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QTDIR PATH MANPATH LD_LIBRARY_PATH ./configure
...
checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt
checking if Qt compiles without flags... yes
...
checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt
checking if Qt compiles without flags... yes
...
More at: Qt headers not found!
Here is example how to fulfill the dependencies
Compiling kalva-0.8.81.tar.bz2
Code:
:~$./configure
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support !
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support !
Using Ubuntu packages
http://packages.ubuntu.com/
There is several libqt3 packages -> libqt3-mt, libqt3-mt-dev
installing libqt3-mt-dev (3:3.3.8really3.3.7-0ubuntu4)
--installs-->libxrandr-dev (2:1.2.0-3ubuntu1)
Another way to search packages:
How to: search for files in packages, installed or not
http://kubuntuforums.net/forums/inde...opic=3089149.0
Again
Code:
:~$./configure
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
kde-devel (5:47)
--installs-->
kdebase-dev (4:3.5.6-0ubuntu19)
kdelibs4-dev (4:3.5.6-0ubuntu13)
kdesdk (4:3.5.6-0ubuntu2)
kspy (4:3.5.6-0ubuntu2)
libarts1-dev (1.5.6-0ubuntu1)
libavahi-qt3-dev (0.6.17-0ubuntu3)
libkonq4-dev (4:3.5.6-0ubuntu19)
And again
Code:
:~$./configure
Code:
:~$ make
Code:
:~$ sudo checkinstall
checkinstall — Track installation of local software, and produce
a binary manageable with your package management software.
a binary manageable with your package management software.
Done. The new package has been installed and saved to
/home/rog131/tmp/waiting/kalva-0.8.81/kalva_0.8.81-1_i386.deb
You can remove it from your system anytime using:
dpkg -r kalva
/home/rog131/tmp/waiting/kalva-0.8.81/kalva_0.8.81-1_i386.deb
You can remove it from your system anytime using:
dpkg -r kalva
Linux distributions
There is differences between Linux distributions:
Example:
Michael Aust(Dolphin developer) wrote:
THree seems to be a problem with the configure script we are using at
the moment. The documentation has bene placed in
/usr/share/doc/HTML/en/dolphin/ which is correct for non-debian
systems. However on debian systems the documentation should go in
/usr/share/doc/kde/HTML/en/dolphin/
If you copy the contents of /usr/share/doc/HTML/en/dolphin/ to
/usr/share/doc/kde/HTML/en/dolphin/ then the documentation will show.
Michael.
the moment. The documentation has bene placed in
/usr/share/doc/HTML/en/dolphin/ which is correct for non-debian
systems. However on debian systems the documentation should go in
/usr/share/doc/kde/HTML/en/dolphin/
If you copy the contents of /usr/share/doc/HTML/en/dolphin/ to
/usr/share/doc/kde/HTML/en/dolphin/ then the documentation will show.
Michael.
Note
If you install programs without package management then you can't find programs with package managers (apt, aptitude, adept, synaptic...)
More links
> CheckInstall
> Topic: TAR BALLS
> Installing Software in Ubuntu
> How to install ANYTHING in Ubuntu!
> FAQ: Package Managers
> Making Local Repository
Comment