Code Monkey home page Code Monkey logo

dep_selector's People

Contributors

algorist avatar markan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dep_selector's Issues

please tag versions in the repo and release a 0.0.9 gem

Hi,

Could you please use git tags to label commits corresponding to new release? This would be very useful to follow the development.

Also, is it possible to release 0.0.9 as a gem on rubygems.org (possibly containing specs and examples). This is often the starting point for Debian packaging of Ruby libraries (Having the specs in the gem allows distribution to run them when preparing packages to test if everything is ok).

Thanks!

Cédric

dep_selector does not install on windows

I try:

gem install dep_selector

and get an error:

c:/tools/Ruby192/bin/ruby.exe extconf.rb

checking for main() in -lgecodesearch... no

Gecode >3.5 must be installed (http://www.gecode.org/).

OSX:
brew install gecode

For convenience, we have built Gecode for Debian/Ubuntu ( is lucid or maverick):
Add the following two lines to /etc/apt/sources.list.d/opscode.list:
deb http://apt.opscode.com main
deb-src http://apt.opscode.com main
Then run:
curl http://apt.opscode.com/[email protected] | sudo apt-key add -
sudo apt-get update
sudo apt-get install libgecode-dev

Other distributions can build from source.

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=c:/tools/Ruby192/bin/ruby
--with-gecodesearchlib
--without-gecodesearchlib
extconf.rb:57:in `

': Gecode not installed (RuntimeError)

I have installed geocode using the windows installer and restarted CMD so I see it added to my path. But the install still does not work.

port to gecode >= 4.0

Hi,

In 2013, the version 4.0 of the gecode library went out with major modifications breaking dep_selector: the notable changes are:

  • Restart class is now called RBS. This template class takes an additional parameter representing the engine to use. The constructor doesn't have a default value for the search option.
  • the statistics do not provide info about memory by default anymore
  • branching value selections are now functions.

You can see what changes were applied in Debian for the version 0.0.8 at
http://patch-tracker.debian.org/package/ruby-dep-selector/0.0.8-2 (not available at the moment but should be in a few hours). I adapted the patch to 0.0.9 in a pull request.

Thanks

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.