Difference between revisions of "OpenSUSE Build Instructions"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (OpenSUSEBuildInstructions moved to OpenSUSE Build Instructions)
(update for openSUSE-11.2)
 
(19 intermediate revisions by 6 users not shown)
Line 9: Line 9:
 
=== Missing devel packages ===
 
=== Missing devel packages ===
  
The default OpenSUSE installation [http://en.opensuse.org/Download media] does not include all packages because of CD/DVD space limitation.
+
The default openSUSE [http://software.opensuse.org/ installation media] do not include all the needed packages because of CD/DVD space limitation. The missing -devel packages, necessary to build OOo, are available via the full online installation sources at many [http://en.opensuse.org/Mirrors_Released_Version mirrors]. It is enough to add the respective installation source into YaST, for example::
The missing devel packages, necessary to build OOo, can be found at various openSUSE [http://en.opensuse.org/Mirrors_Development_Build mirrors]. It is enough to add the respective installation source into YaST. For example:
+
  
SL10.0 / OSS 10.0:
+
    ftp://ftp.rz.uni-wuerzburg.de/pub/linux/opensuse/distribution/10.3/repo/oss
 +
    ftp://ftp.rz.uni-wuerzburg.de/pub/linux/opensuse/distribution/10.3/repo/non-oss
  
    http://fr2.rpmfind.net/linux/opensuse/distribution/SL-10.0-OSS/inst-source
+
The corresponding repositories at the [http://download.opensuse.org/distribution/ primary site] are:
    http://fr2.rpmfind.net/linux/opensuse/distribution/SL-10.0-OSS/inst-source-java
+
  
 +
    http://download.opensuse.org/distribution/10.3/repo/oss/
 +
    http://download.opensuse.org/distribution/10.3/repo/non-oss/
  
SL-HEAD / OSS-HEAD (still used aslo for SL10.1 / OSS 10.1):
+
Some notes:
  
    http://fr2.rpmfind.net/linux/opensuse/distribution/SL-OSS-factory/inst-source
+
* The installation sources are quite big (provide packages for all architectures), and it takes a while until they are loaded. They are also quite memory demanding :-(
  
Some notes:
+
* The missing packages can also be found at [http://download.go-oo.org/openSUSE/ go-oo.org].
 +
 
 +
* For me, the following zypper line dragged in all packages I needed:
 +
 
 +
    zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
 +
    libxml libxml2-devel libxslt-devel python-devel boost-devel
 +
    openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3
 +
    kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
 +
    ant automake autoconf mono-devel libcurl-devel unixODBC-devel
 +
    mozilla-xulrunner181-devel neon-devel gstreamer010-plugins-base-devel
 +
    perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
 +
    icu libicu-devel hunspell-devel
 +
 
 +
* currently, libwp* requires the additional http://download.opensuse.org/repositories/home:/fstrba/openSUSE_10.3 repo,
 +
  and hunspell-devel the http://download.opensuse.org/repositories/home:/kkemenczy/openSUSE_10.3 one
 +
 
 +
* Then, fire up the build with
 +
 
 +
    ./autogen.sh --with-distro=SUSE-10.3 --with-ccache-allowed
 +
    ./download
 +
    make
 +
 
 +
=== openSUSE 11.0 devel packages ===
 +
 
 +
On a pretty much virgin 11.0 install, this should give you all the necessary packages:
 +
 
 +
    zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
 +
    libxml libxml2-devel libxslt-devel python-devel boost-devel
 +
    openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3 postgresql-devel
 +
    kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
 +
    ant ant-apache-regexp automake autoconf mono-devel libcurl-devel unixODBC-devel
 +
    mozilla-xulrunner181-devel neon-devel gstreamer010-plugins-base-devel
 +
    perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
 +
    icu libicu-devel hunspell-devel poppler-devel make subversion
 +
 
 +
=== openSUSE 11.1 devel packages ===
 +
 
 +
On a pretty much virgin 11.1 install, this should give you all the necessary packages:
 +
 
 +
    zypper si -d OpenOffice_org-bootstrap
 +
 
 +
If it does not work, you can try the full list:
 +
 
 +
    zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
 +
    libxml libxml2-devel libxslt-devel python-devel boost-devel
 +
    openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3 postgresql-devel
 +
    kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
 +
    ant ant-apache-regexp automake autoconf mono-devel libcurl-devel unixODBC-devel
 +
    mozilla-xulrunner190-devel neon-devel gstreamer010-plugins-base-devel
 +
    perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
 +
    icu libicu-devel hunspell-devel poppler-devel libexpat-devel
 +
    lpsolve-devel zip make subversion
 +
 
 +
=== openSUSE 11.2 devel packages ===
 +
 
 +
On a pretty much virgin 11.2 install, this should give you all the necessary packages:
  
* There is no installation source for HEAD and the commercial Java. Though, you can find the Sun Java on the SUSE Linux Add-on CD, for example: http://fr2.rpmfind.net/linux/opensuse/distribution/SL-10.1-RC1/SUSE-Linux-10.1-RC1-i386.torrent
+
    zypper si -d OpenOffice_org-bootstrap
  
* These installation sources are quite a big (provide packages for all architectures). It takes a while until they are load. It is also quite
+
If it does not work, you can try the full list:
memory demanding :-(
+
  
* The missing packages can be found at [http://go-ooo.org/packages/openSUSE/ go-ooo.org] as well.
+
    zypper install arts-devel avahi-lang brp-check-suse build-compare \
 +
        dbus-1-qt3-devel dbus-1-qt3 flac-devel gconf2-lang glib2-branding-upstream \
 +
        gnome-vfs2-lang gstreamer-0_10-lang gstreamer-0_10-plugins-base-lang \
 +
        hunspell-devel icu kdelibs3-arts kdelibs3-devel kdelibs3-doc kdelibs4-branding-upstream \
 +
        libbonobo-lang libicu-devel libjack-devel libogg-devel libsamplerate-devel libvorbis-devel \
 +
        libwpd-devel libwpg-devel libwps-devel lpsolve-devel pcre-tools post-build-checks \
 +
        postgresql-devel qt3-devel rpmlint-Factory rpmlint-mini sablot-devel unixODBC-devel \
 +
        unsermake xmlbeans-mini
  
[[Category: Development]]
+
[[Category: Distribution-Specific Build Instructions]][[Category:Build_System]]

Latest revision as of 18:47, 23 November 2009

About openSUSE

openSUSE project is a worldwide community program sponsored by Novell that promotes the use of Linux everywhere. The program provides anyone with free and easy access to SUSE Linux.

Build Instructions

The build procedure is the same as for other Linux systems.

Missing devel packages

The default openSUSE installation media do not include all the needed packages because of CD/DVD space limitation. The missing -devel packages, necessary to build OOo, are available via the full online installation sources at many mirrors. It is enough to add the respective installation source into YaST, for example::

   ftp://ftp.rz.uni-wuerzburg.de/pub/linux/opensuse/distribution/10.3/repo/oss
   ftp://ftp.rz.uni-wuerzburg.de/pub/linux/opensuse/distribution/10.3/repo/non-oss

The corresponding repositories at the primary site are:

   http://download.opensuse.org/distribution/10.3/repo/oss/
   http://download.opensuse.org/distribution/10.3/repo/non-oss/

Some notes:

  • The installation sources are quite big (provide packages for all architectures), and it takes a while until they are loaded. They are also quite memory demanding :-(
  • The missing packages can also be found at go-oo.org.
  • For me, the following zypper line dragged in all packages I needed:
   zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
   libxml libxml2-devel libxslt-devel python-devel boost-devel
   openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3
   kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
   ant automake autoconf mono-devel libcurl-devel unixODBC-devel
   mozilla-xulrunner181-devel neon-devel gstreamer010-plugins-base-devel
   perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
   icu libicu-devel hunspell-devel
 and hunspell-devel the http://download.opensuse.org/repositories/home:/kkemenczy/openSUSE_10.3 one
  • Then, fire up the build with
   ./autogen.sh --with-distro=SUSE-10.3 --with-ccache-allowed
   ./download
   make

openSUSE 11.0 devel packages

On a pretty much virgin 11.0 install, this should give you all the necessary packages:

   zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
   libxml libxml2-devel libxslt-devel python-devel boost-devel
   openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3 postgresql-devel
   kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
   ant ant-apache-regexp automake autoconf mono-devel libcurl-devel unixODBC-devel
   mozilla-xulrunner181-devel neon-devel gstreamer010-plugins-base-devel
   perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
   icu libicu-devel hunspell-devel poppler-devel make subversion 

openSUSE 11.1 devel packages

On a pretty much virgin 11.1 install, this should give you all the necessary packages:

   zypper si -d OpenOffice_org-bootstrap

If it does not work, you can try the full list:

   zypper install flex bison pam-devel gperf libxslt java-1_5_0-sun-devel
   libxml libxml2-devel libxslt-devel python-devel boost-devel
   openldap2-devel gnome-vfsmm-devel gstreamer010-devel kdesdk3 postgresql-devel
   kdelibs3-devel qt3-devel gcc-c++ ccache perl-Archive-Zip cups-devel
   ant ant-apache-regexp automake autoconf mono-devel libcurl-devel unixODBC-devel
   mozilla-xulrunner190-devel neon-devel gstreamer010-plugins-base-devel
   perl-SOAP-Lite libdb-4_5-devel libwpd-devel libwps-devel libwpg-devel
   icu libicu-devel hunspell-devel poppler-devel libexpat-devel
   lpsolve-devel zip make subversion 

openSUSE 11.2 devel packages

On a pretty much virgin 11.2 install, this should give you all the necessary packages:

   zypper si -d OpenOffice_org-bootstrap

If it does not work, you can try the full list:

   zypper install arts-devel avahi-lang brp-check-suse build-compare \
       dbus-1-qt3-devel dbus-1-qt3 flac-devel gconf2-lang glib2-branding-upstream \
       gnome-vfs2-lang gstreamer-0_10-lang gstreamer-0_10-plugins-base-lang \
       hunspell-devel icu kdelibs3-arts kdelibs3-devel kdelibs3-doc kdelibs4-branding-upstream \
       libbonobo-lang libicu-devel libjack-devel libogg-devel libsamplerate-devel libvorbis-devel \
       libwpd-devel libwpg-devel libwps-devel lpsolve-devel pcre-tools post-build-checks \
       postgresql-devel qt3-devel rpmlint-Factory rpmlint-mini sablot-devel unixODBC-devel \
       unsermake xmlbeans-mini
Personal tools