Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 Compiere on RedHat (RPM)

closed-works-for-me
nobody
None
5
2005-05-31
2005-03-14
No

This is a source-RPM to download, build, configure and
install Compiere on Red Hat systems.

It is highly configurable through parameters, which
makes it very complex. The available parameters are
listed and explained in SOURCES/parameters.txt.

The specfile is preconfigured to do the following
(which can be considered minimal settings):
- download the last stable Compiere binary from CVS
- preconfigure the server to run with these settings
server name: server.mydomain.com
application server: jboss
database server: oracle (running on same machine as
compiere server)
java_home: /usr/java/java
oracle_home: /opt/oracle/oracle
database TNS name: erp.mydomain.com

(if you need different settings and just want to build,
install, and get started without going into the details
of available parameters, just build and install, then
execute RUN_setup.sh (as compiere user) after
installation and before starting up the server)

You absolutely need high-speed internet access to build
with this source RPM, as it downloads the binaries,
sources and any other information it needs dynamically
from the internet.
Just to give you an idea: With a 100 Mbps internet
connection, my build system downloads stuff for about 7
minutes before it even starts compiling (total build
time with most options enabled takes about 40 minutes).

This source RPM has been tested with following software:
build system: Fedora Core 3, Sun Java j2sdk1.4.2_06
target system (server): Fedora Core 3, Sun Java
j2sdk1.4.2_06, Oracle 10g 10.1.0.3.0

Read the instructions,
read SOURCES/parameters.txt,
build,
install,
have fun!

Discussion

  • How to build Compiere using this source RPM

     
    Attachments
  • Logged In: YES
    user_id=835286

    Updated desktop launchers to suppress log messages from
    clients (to avoid cluttering of /tmp directory).

     
  • Jorg Janke
    Jorg Janke
    2005-05-31

    • status: open --> closed-works-for-me
     
  • Logged In: YES
    user_id=835286

    Updated asset download mechanism to reflect changes in webstore

     
  • Logged In: YES
    user_id=835286

    Since FC4, Fedora recommends to use a binary installation of
    JAVA rather than sun's RPM.
    As a consequence, the dependency on java RPMs has been
    removed from this specfile, and also the default location to
    expect java has moved from /usr/java to /opt/java.

    Sourceforge have renamed their CVS servers, and this has
    also been reflected in the default CVS parameters of this
    specfile.

     
  • Logged In: YES
    user_id=835286
    Originator: YES

    File Added: compiere.src.rpm

     
  • Source-RPM for building compiere

     
    Attachments
  • Logged In: YES
    user_id=835286
    Originator: YES

    Switched from CVS to SVN for downloading source.

    Note:
    As of Fedora Core 5, you now need to download Crypt:SSLeay from CPAN before the source RPM can download assets from the webstore.
    The reason is that libwww-perl no longer includes SSL support because of its sensitive nature, so it is not included in the Fedora package. But if you download Crypt::SSLeay (which adds the SSL-glue to libwww-perl) from CPAN, everything works fine.