Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Linux Tools Project/Eclipse Build"
m (Updated Debian build requirements.) |
(→HOW-TO build Eclipse SDK with eclipse-build released tarballs) |
||
Line 8: | Line 8: | ||
== HOW-TO build Eclipse SDK with eclipse-build released tarballs == | == HOW-TO build Eclipse SDK with eclipse-build released tarballs == | ||
− | * Download the [http:// | + | * Download the [http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build latest eclipse-build*.tar.gz] |
− | * Extract the downloaded [http:// | + | * Extract the downloaded [http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build eclipse-build*.tar.gz] |
− | * Download [http:// | + | * Download [http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build/eclipse-I20090611-1540-fetched-src.tar.bz2 Eclipse SDK sources] in the eclipse-build* directory. NOTE: Eclipse-build provides source tarball created from the same tag as the official releases but with additional sources needed for the build. |
* Run ./build.sh | * Run ./build.sh | ||
Line 16: | Line 16: | ||
Eclipse-build is verified to work on x86, x86_64 and ppc architectures. Additionally, a ppc64 build is provided in Fedora with additional patches which are not migrated to eclipse-build yet. Eclipse-build has been successfully tested on Fedora 11 and Debian unstable. | Eclipse-build is verified to work on x86, x86_64 and ppc architectures. Additionally, a ppc64 build is provided in Fedora with additional patches which are not migrated to eclipse-build yet. Eclipse-build has been successfully tested on Fedora 11 and Debian unstable. | ||
− | |||
== HOW-TO build Eclipse SDK from checked out eclipse-build trunk (useful for development) == | == HOW-TO build Eclipse SDK from checked out eclipse-build trunk (useful for development) == |
Revision as of 14:25, 18 August 2009
{{#eclipseproject:technology.linux-distros}}
Eclipse-build aims to ease the building of the Eclipse SDK for Linux distributions.
Contents
- 1 Prerequisites for building with eclipse-build
- 2 HOW-TO build Eclipse SDK with eclipse-build released tarballs
- 3 HOW-TO build Eclipse SDK from checked out eclipse-build trunk (useful for development)
- 4 Debian Build Requirements
- 5 Fedora Build Requirements
- 6 Dependencies (these are Fedora package names, let's make them generic)
- 7 To-do list
Prerequisites for building with eclipse-build
- ANT version 1.7.1 or newer
HOW-TO build Eclipse SDK with eclipse-build released tarballs
- Download the latest eclipse-build*.tar.gz
- Extract the downloaded eclipse-build*.tar.gz
- Download Eclipse SDK sources in the eclipse-build* directory. NOTE: Eclipse-build provides source tarball created from the same tag as the official releases but with additional sources needed for the build.
- Run ./build.sh
If the build finishes without error there will be a build/eclipse-$YOUR_BUILD_ID-fetched-src/installation directory containing a ready to use Eclipse SDK.
Eclipse-build is verified to work on x86, x86_64 and ppc architectures. Additionally, a ppc64 build is provided in Fedora with additional patches which are not migrated to eclipse-build yet. Eclipse-build has been successfully tested on Fedora 11 and Debian unstable.
HOW-TO build Eclipse SDK from checked out eclipse-build trunk (useful for development)
Debian Build Requirements
Incomplete list:
- openjdk-6-jdk
- ant
- ant-optional
- build-essential
- lsb-release
- zip
- unzip
- ecj
- junit
- junit4
- libicu4j-java
- libgtk2.0-dev
- libcairo2-dev
- pkg-config
- xulrunner-dev
- liblucene-java
- libxtst-dev
- gnome-devel
- libgnome-vfsmm-2.6-dev
- libgnomeui-dev
- libgl-dev (libgl-mesa-dev)
- libglu-dev (libglu1-mesa-dev)
- ...
Notes: At the time of writing (2009-08-13), the "ant" in testing is too old to build eclipse. Some elements are based on the previous Debian build and may not be required any longer.
Fedora Build Requirements
- ant
- cairo >= 1.0
- gcc
- gcc-c++
- gecko-devel >= 1.9
- glib2-devel
- gnome-vfs2-devel
- gtk2-devel
- java-devel >= 1.6.0
- java-javadoc
- libgnome-devel
- libgnomeui-devel
- libXt-devel
- libXtst-devel
- make
- mesa-libGL-devel
- mesa-libGLU-devel
- nspr-devel
- xulrunner-devel-unstable
Dependencies (these are Fedora package names, let's make them generic)
- ant
- ant-antlr
- ant-apache-bcel
- ant-apache-bsf
- ant-apache-log4j
- ant-apache-oro
- ant-apache-regexp
- ant-apache-resolver
- ant-commons-logging
- ant-commons-net
- ant-javamail
- ant-jdepend
- ant-jsch
- ant-junit
- ant-nodeps
- ant-swing
- ant-trax
- cairo >= 1.0
- desktop-file-utils
- gcc
- gcc-c++
- gecko-devel >= 1.9
- glib2-devel
- gnome-vfs2-devel
- gtk2-devel
- icu4j-eclipse >= 1:4.0.1-3
- jakarta-commons-beanutils
- jakarta-commons-codec
- jakarta-commons-collections
- jakarta-commons-dbcp
- jakarta-commons-digester
- jakarta-commons-el >= 1.0-9
- jakarta-commons-fileupload
- jakarta-commons-httpclient
- jakarta-commons-launcher
- jakarta-commons-logging >= 1.0.4-6jpp.3
- jakarta-commons-modeler
- jakarta-commons-pool
- java-devel >= 1.6.0
- java-javadoc
- jetty >= 5.1.14-1.6
- jpackage-utils >= 0:1.5
- jsch >= 0:0.1.41
- junit >= 3.8.1-3jpp
- junit4
- libgnome-devel
- libgnomeui-devel
- libXt-devel
- libXtst-devel
- lucene >= 2.3.1-3.4
- lucene-contrib >= 2.3.1-3.4
- make
- mesa-libGL-devel
- mesa-libGLU-devel
- mx4j >= 2.1
- nspr-devel
- objectweb-asm
- regexp
- sat4j >= 2.1.0-1
- tomcat5-jasper-eclipse >= 5.5.27-6.3
- tomcat6-servlet-2.5-api >= 6.0.18-9.2
- unzip
- xulrunner-devel-unstable
To-do list
- See eclipse-build open bugs
- Add an item
- In Eclipse bugzilla, watch linux.packagingtools-inbox@eclipse.org if you want to be notified of new bugs
Planned items
- Add ant install target similar to 'make install' procedure
- Provision every feature separately so we can move them in dropins
- Add ability to build only given feature e.g org.eclipse.swt (Maybe)