Hi all,

I have been trying to get a second C/C++ project built that depends on a
first C/C++ project's make install step, but I have been struggling. I
have been using the apache-httpd and apr projects as a template on how to
do this, but it doesn't seem to work for me.

The ./configure line of the second project is:

/udd001/hoops/gump/hoops-feed/configure --with-hoops=/udd001/hoops/gump/hoops
        --with-monacoxml=/udd001/hoops/gump/monaco-xml
        --prefix=/udd001/hoops/gump/hoops-feed/dest-15072005

Both the --with-hoops and the --with-monacoxml parameters are inserting
the directory of the source build, not the target directory of "make
install", and so the ./configure step fails with errors about libraries
not found.

The project file for the configuration of the second project looks like this:

  <project name="hoops-feed-configure">
    <configure>
      <arg name="--prefix" path="dest-@@DATE@@"/>
      <arg name="--with-hoops" project="hoops-make-install"
           path="dest-@@DATE@@"/>
      <arg name="--with-monacoxml" project="monaco-xml-make-install"
           path="dest-@@DATE@@"/>
    </configure>
    <depend project="hoops-make-install"/>
    <license name="LICENSE.txt" />
    <nag to="[EMAIL PROTECTED]" from="SVN FO Hoops
&lt;[EMAIL PROTECTED]&gt;" />
  </project>

The definitions of the first project (which builds fine) are:

  <project name="hoops-configure">
    <configure>
      <arg name="--prefix" path="dest-@@DATE@@"/>
    </configure>
    <home nested="dest-@@DATE@@"/>
    <license name="LICENSE.txt" />
  </project>

  <project name="hoops-make">
    <make>
    </make>
    <depend project="hoops-configure"/>
    <license name="LICENSE.txt" />
  </project>

  <project name="hoops-make-install">
    <make target="install"/>
    <depend project="hoops-make"/>
    <license name="LICENSE.txt" />
  </project>

Can anyone see anything obvious I have overlooked?

Regards,
Graham
--


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to