Official:Compile with Autotools: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
(Created page with "Compiling with autotools Compiling with autotools ==Compiling and Installing using autotools== '''These instructions apply to Scr...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Official|Compiling with autotools]] [[Category:Installation|Compiling with autotools]]
[[Category:Official|Compiling with autotools]] [[Category:Installation|Compiling with autotools]]{{Delete}}
==Compiling and Installing using autotools==
==Compiling and Installing using autotools==


Line 17: Line 17:
  make install
  make install


The <code>make install</code> command will have to be done with root access if you have not run the <code>./configure</code> command with a <code>--prefix=[dir]</code> option to specify a different install directory. The following is an example of how to configure and install into your home directory. (For more informaiton than the following line, look at the [[/index.php?lang=en&page=parallel-install|Parallel Install]] section for more on having more than one version of Scribus installed at once)
The <code>make install</code> command will have to be done with root access if you have not run the <code>./configure</code> command with a <code>--prefix=[dir]</code> option to specify a different install directory. The following is an example of how to configure and install into your home directory. (For more informaiton than the following line, look at the [[Official:Parallel_Install]] section for more on having more than one version of Scribus installed at once)


   
   
Line 28: Line 28:
  automake --version
  automake --version


If they are not at least of the versions mentioned in the [[/canvas/install2.html"|Requirements]] section, you may, depending on your distribution, need to tell it to use a higher version like following:
If they are not at least of the versions mentioned in the [[Official:Compilation_Requirements|Requirements]] section, you may, depending on your distribution, need to tell it to use a higher version like following:


   
   
Line 37: Line 37:
Having run those two commands, recheck the versions. If they still do not comply to those required, you will need to upgrade those programs, however most distributions contain a high enough version.
Having run those two commands, recheck the versions. If they still do not comply to those required, you will need to upgrade those programs, however most distributions contain a high enough version.


Since Scribus uses <code>autoconf</code>, as long as you have the correct developement versions of the libraries, you should have little difficulty compiling it. Should you run into problems please report them to the Scribus mailing list or IRC channel. See [[/index.php?lang=en&page=resources|Community Resources]] section of this manual.
Since Scribus uses <code>autoconf</code>, as long as you have the correct development versions of the libraries, you should have little difficulty compiling it. Should you run into problems please report them to the Scribus mailing list or IRC channel. See [[Official:Community_Resources|Community Resources]] section of this manual.


Lastly:
Lastly:

Latest revision as of 03:54, 15 January 2011


Shred.png
This article is a candidate for deletion because it is either grossly inaccurate, misleading, or completely outdated. If you believe that this article still has value or would like to correct it please label it correctly.

Compiling and Installing using autotools

These instructions apply to Scribus 1.3.3.x SVN and below. Note that this is the end-of-life branch. No more releases are expected, so these instructions are more then likely obsolete.

If you have downloaded source from SVN, you will need to start the intial build process:


cd Scribus
make -f Makefile.svn

In order to compile and install Scribus on your system, type the following in the base directory of the Scribus distribution after uncompressing the downloaded package:


./configure
make
make install

The make install command will have to be done with root access if you have not run the ./configure command with a --prefix=[dir] option to specify a different install directory. The following is an example of how to configure and install into your home directory. (For more informaiton than the following line, look at the Official:Parallel_Install section for more on having more than one version of Scribus installed at once)


./configure --prefix=/usr;make;make install prefix=~/scribus/svn

If you receive warnings when running ./configure, you will need to verify the versions of autoconf and automake by running:


autoconf --version
automake --version

If they are not at least of the versions mentioned in the Requirements section, you may, depending on your distribution, need to tell it to use a higher version like following:


export WANT_AUTOCONF="2.5"
export WANT_AUTOMAKE="1.7"

Having run those two commands, recheck the versions. If they still do not comply to those required, you will need to upgrade those programs, however most distributions contain a high enough version.

Since Scribus uses autoconf, as long as you have the correct development versions of the libraries, you should have little difficulty compiling it. Should you run into problems please report them to the Scribus mailing list or IRC channel. See Community Resources section of this manual.

Lastly:

man scribus

will list additional info for startup.