Stefan Strasser a écrit :
Package: libtao-orbsvcs-dev
Version: 5.4.2.1.0-3
Severity: normal


make[1]: Entering directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC' make[2]: Entering directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC/Factory' make[3]: Entering directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC/Factory' make[3]: GNUmakefile.CosEC_Factory_Server: Datei oder Verzeichnis nicht gefunden make[3]: *** Keine Regel, um »GNUmakefile.CosEC_Factory_Server« zu erstellen. Schluss. make[3]: Leaving directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC/Factory' make[2]: *** [CosEC_Factory_Server] Fehler 2 make[2]: Leaving directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC/Factory' make[1]: *** [all] Fehler 2 make[1]: Leaving directory /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC' make: *** [all] Fehler 2

There are actually two errors:

1. ACE_ROOT environment variable must be defined to /usr/share/ace.
   Please note that defining ACE_ROOT is never necessary for everything
   you might write because MPC and tao_idl were patched for that.
   But it is here because the examples GNUmakefiles were not regenerated
   (to save some space) after patching MPC.

2. If you export ACE_ROOT=/usr/share/ace, then you'll get another error
   about a non existing makefile (GNUmakefile.CosEC_Factory_Server),
   which happen to exist in a compressed form.

Anyway, since you can't compile under the path where examples get
installed, I would recommend you to copy the example you want to play
with in a directory of yours, says $HOME/ex1. The following instructions
should help you. Note that you don't need to define $ACE_ROOT if you
perform all these steps. You will also need mpc-ace package.

[EMAIL PROTECTED]:~$ mkdir $HOME/ex1
[EMAIL PROTECTED]:~$ cp -a /usr/share/doc/libtao-orbsvcs-dev/examples/CosEC $HOME/ex1
[EMAIL PROTECTED]:~$ cd $HOME/ex1
[EMAIL PROTECTED]:~/ex1$ find . -name '*.gz' | xargs gunzip
[EMAIL PROTECTED]:~/ex1$ mwc.pl -recurse -value_project install=. -value_project libout=.
[EMAIL PROTECTED]:~/ex1$ make


I have tested this here and it works. This is rather complicated, but I
think these steps can't be avoided:
  o step 1 to 3 are needed because examples are in directory where you
    can't (or at least shouldn't) write.
  o step 4 is needed because big files in /usr/share/doc get compressed.
  o step 5 needs extra -value_project flags because example MPC
    fragments do not define file installation location, and therefore
    they default to $ACE_ROOT/bin and $ACE_ROOT/lib.

Hope this helps,

Thomas




Reply via email to