Kolab2 installation error: obmtool:ERROR:bootstrapping failed

Thomas Lotterer thl at dev.de.cw.com
Thu Sep 30 09:07:28 CEST 2004


Re Tamayo,

On Tue, Sep 28, 2004, Tamayo Domingo wrote:
> [...] compiling until it stops with this error:
> configure: error" c++ preprocessor "/lib/cpp" fails
> 
in case you are building from source you encounter a chicken-egg
problem. To build the included development environment (gcc etc.) you
need a working development environment! There are several options to
solve this problem:

1.) start with development environment from OS vendor (easiest)

    OpenPKG lists the enviroment they use as OS prerequisites [1] so
    you can examine it and look for hints. It is certainly overkill
    to install exactly the same environment as everything is only
    required when building a whole OpenPKG release. After building the
    openpkg|make|binutils|gcc quartet you can remove the development
    tools from the OS.

    For Linux you usually have to install something like
    glibc-kernheaders, glibc-headers, glibc-devel, cpp, gcc, gcc-c++,
    libstdc++ and make. 

2.) start with minimal Kolab binaries (comfort)

    Download openpkg, make, binutils and gcc in binary form for /kolab,
    available from ZfOS [2] and with limited platform support from the
    Kolab ftp server [3]. You can then use them as-is or build themselves
    again if you like. Do the latter manually or replace @install by @trigger
    in obmtool.conf for a single run.

3.) start with OpenPKG binaries (barebone)

    Download openpkg, make, binutils and gcc in binary form for
    /openpkg, available from the OpenPKG ftp server [4]. Then
    you must ensure /openpkg/bin is in the PATH for the OpenPKG
    bootstrap to succeed and use must add "--use_cc=/openpkg/bin/gcc
    --use_make=/openpkg/bin/make" to the make, binutils and gcc @install
    lines in obmtool.conf. After building the openpkg|make|binutils|gcc
    quartet you can remove the whole /openpkg instance.

[1] http://cvs.openpkg.org/getfile/openpkg-re/osprereq.txt
[2] pick ftp download from http://www.zfos.org/kolab.html
[3] ftp://ftp.kolab.org/kolab/server/development/current/ix86-debian3.0/
[4] ftp://ftp.openpkg.org/release/2.1/BIN

--
Thomas.Lotterer at cw.com, Cable & Wireless




More information about the users mailing list