configure ok; make failure of octave-2.9.17

David Bateman adb014 at gmail.com
Sun Dec 2 13:27:49 CST 2007


Hans-Jürgen Greif wrote:
> Dear David Batemam,
> 
> thank you  for your tip.  Today pcre was updated and  I have commented 
> out the whole block in regexp.cc:
> /*
> c#if defined (HAVE_PCRE_PCRE_H)
> c#include <pcre/pcre.h>
> c#elif defined (HAVE_PCRE_H)
> c#include <pcre.h>
> c#elif defined (HAVE_REGEX)
> c#if defined (__MINGW32__)
> c#define __restrict
> #endif
> #include <regex.h>
> #endif
> */
> and have set simply
> 
> #include <sys/types.h>
> #include <regex.h>
> 
> and it works.
> 
> Best regards,
>  gre

I presume that worked only because you didn't reconfigure Octave after
commentting out that block and the pcre libraries was therefore not
used.. The above will break pcre. In any case it therefore seems that
this issue is indeed the missing sys/types.h include.. John, please
consider the attached patch.

D.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch40
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20071202/fe51df16/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch40.changelog
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20071202/fe51df16/attachment-0001.ksh 


More information about the Bug-octave mailing list