the first version of Ubuntu packages of the library is ready:
They where build --without-cxx (for the reasons given before (see
below), this means no StoGo.
The Python package is for version 2.7 (I do not yet know how to build
packages for various Python versions simultaneously),
and the octave package is for 3.2.
Currently, there are packages for "oneiric" and "precise" (actually the
latter is just a copy of the first), and I haven't added debug packages
yet (maybe with the next release when the C++ issue is resolved?).
No guile or Matlab packages are available. If someone needs guile let me
know, I guess it's not too difficult to create the according package.
With Matlab you're on your own.
Try it out, comments welcome.
On Wed, 2012-05-09 at 10:21 -0700, Alfredo Correa wrote:
> Hi Gert,
> Having a nlopt PPA would be great.
> On Wed, May 9, 2012 at 3:11 AM, Gert Wollny
> > Hi,
> > currently, when building nlopt with C++ enabled, the library names are
> > changed from libnlopt.* to libnlopt_cxx.*, however
> > pkg-config --libs nlopt
> > always prints out -lnlopt so that it becomes useless.
> > This is of course a bug that should be fixed, but I'm not sure how.
> > My first intension was to build an extra C++ library, and provide a
> > nlopt++.pc file, but in /api/ the C++ code is called from C if C++ is
> > enabled, so that it is not possible to build an extra library.
> > My second proposal would be to drop the --with-cxx flag altogether and
> > always build with C++ support but since I don't know if there is any
> > deeper reason for this flag (like linking problems for language
> > bindings) I don't know if there would be any problems.
> > Other options are, of course to not change the library name regardless
> > of C++ support or to fix nlopt.pc.in.
> > In the latter case (just like now), switching from a -with-c++ build
> > a --without-c++ build requires a re-linking of all software that links
> > against the library. That's why I don't like that idea.
> > When this issue is fixed, I will make deb packages available (in an
> > Ubuntu PPA) . Currently, I have them for internal use, but without any
> > language bindings and without C++.
> > many thanks,
> > Gert
> > _______________________________________________
> > NLopt-discuss mailing list
> > [email protected]
> > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss