Giter Club home page Giter Club logo

Comments (6)

raisin avatar raisin commented on August 25, 2024

The entire input and output in the shell is provided.

debianuser@debian:~/cppad.git$ bin/get_colpack.sh

prefix=/home/debianuser/cppad.git/build/prefix
Executing get_colpack.sh
cd external
cd colpack.git
git checkout --quiet v1.0.10
./configure --prefix=/home/debianuser/cppad.git/build/prefix --libdir=/home/debianuser/cppad.git/build
/prefix/lib64 --enable-static --enable-shared
bin/get_colpack.sh: line 67: ./configure: No such file or directory

from cppad.

bradbell avatar bradbell commented on August 25, 2024

It appears that you do not have the autotools installed on your system and colpack requires that. There error messaging for this case should be better.

Looking just below line 118 in
https://github.com/coin-or/CppAD/blob/master/bin/get_colpack.sh
we see

echo_eval cd $package.git
echo_eval git checkout --quiet v$version
# -----------------------------------------------------------------------------
if which autoconf >& /dev/null
then
   echo_eval libtoolize
   echo_eval autoreconf --install --force
fi

Feel free to post a pull request that gives a better error message. Note that colpack is optional and can be left out (while including other optional packages); see package_prefix on
https://cppad.readthedocs.io/latest/cmake.html#package-prefix

from cppad.

raisin avatar raisin commented on August 25, 2024

Thanks - That was helpful. I'll create a pull request with a better error message. The README.md may be a bit misleading as indicated in the following annotation:

AutotoolsRequired

from cppad.

raisin avatar raisin commented on August 25, 2024

I created the following merge request:

#190

from cppad.

bradbell avatar bradbell commented on August 25, 2024

colpack uses the autotools to do it's install.
CppAD uses cmake to build its tests and do its install.
CppAD can use colpack (if it is installed).

from cppad.

raisin avatar raisin commented on August 25, 2024

Thanks for the explanation. I see that you reviewed and merged my pull request. Thanks. I'm closing this issue.

from cppad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.