On Fri, Sep 14, 2012 at 10:20:27AM -0700, gregid wrote:
> Thanks ninit,
> 
> Your patch did help. But being new to makefile it took me some time to
> figure out that "+" and "-" are not part of the makefile syntax but source
> control :D
> 
> Could this patch be applied to sourceforge or will it cause compatibility
> issues on other systems?

No, this patch can not be applied to the central repository. Instead,
the mingw built should be fixed to make mkoctfile return the correct
flags.

Olaf

> Thanks again guys
> 
> On 14 September 2012 07:53, nitnit [via Octave] <
> ml-node+s1599824n4644100...@n4.nabble.com> wrote:
> 
> >  gregid wrote
> > I tried to install optim package downloaded from forge website, -forge,
> > and svn trunk download.
> > All with the same result. Any advice on how to fix it? Anyone else having
> > similar problem?
> >
> > octave:117> pkg install -forge optim
> > __disna_optim__.o: In function
> > `Z16F__disna_optim__RK17octave_value_listi':
> > C:\Users\Me\AppData\Local\Temp\oct-24\optim-1.2.0\src/__disna_optim__.cc:132:
> > undefined reference to `sdisna_'
> > C:\Users\Me\AppData\Local\Temp\oct-24\optim-1.2.0\src/__disna_optim__.cc:144:
> > undefined reference to `ddisna_'
> > collect2: ld returned 1 exit status
> >
> > For my recent mingw built of the optim pkg, I had to add the "-lliblapack"
> > implicitly since it has not been returned by mkoctfile -p. See following
> > patch.
> >
> > Regards
> > Nitzan
> >
> > --- optim-1.2.0.tar.gz\optim-1.2.0\src\Makefile Tue Jun 12 16:42:55 2012
> > +++ optim-1.2.0_patched.tar.gz\optim-1.2.0\src\Makefile Sat Aug 04
> > 11:27:03 2012
> > @@ -1,9 +1,11 @@
> >  MKOCTFILE ?= mkoctfile
> >
> >  ifndef LAPACK_LIBS
> > -LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
> > +# LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
> > +LAPACK_LIBS := -lliblapack
> >  endif
> > -OCTAVE_LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
> > +# OCTAVE_LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
> > +OCTAVE_LAPACK_LIBS := -lliblapack
> >  # reported necessary for Apple's VecLib framework by Carlo de Falco
> >  # <carlo.defa...@gmail.com>
> >  ifndef BLAS_LIBS
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> > http://octave.1599824.n4.nabble.com/optim-package-on-Windows-doesn-t-install-tp4644095p4644100.html
> >  To unsubscribe from optim package on Windows doesn't install, click 
> > here<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4644095&code=Z3RyemVjaWFrQGdtYWlsLmNvbXw0NjQ0MDk1fC0xMDY1ODEwNzQx>
> > .
> > NAML<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
> 
> 
> 
> 
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/optim-package-on-Windows-doesn-t-install-tp4644095p4644112.html
> Sent from the Octave - Dev mailing list archive at Nabble.com.

> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html

> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev


-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to