Re: [mxe] stable build from source

"John W. Eaton" <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On 7/15/20 3:37 PM, Stefan Pofahl wrote:
> 
> 
> Am Mi., 15. Juli 2020 um 10:50 Uhr schrieb John W. Eaton <[email protected] 
> <mailto:[email protected]>>:
> 
>     On 7/15/20 4:33 AM, Stefan Pofahl wrote:
> 
>      > I am still lost, maybe I misunderstood something.
>      > First I had to install: "PCRE library" (on ubuntu 20.04:
>     "pcre2-utils")
>      > because of this message:
>      > configure: error: to build Octave, you must have the PCRE library
>     and
>      > header files installed
>      >
>      > After "./bootstrap" I stayed inside the root-dir of the
>     repository clone
>      > (for me: '~/hg/mxe-octave')
>      > and gave the command:
>      >
>      > |nice -n 19 make ||all 7z-dist ||JOBS=||8||hg-octave-dist
>     hg-octave-branch=stable|
> 
>     Don't include the "all 7z-dist" targets here.  Building the octave
>     source distribution from the hg archive must be done as a separate
>     step.
>        Try
> 
>         make JOBS=8 hg-octave-dist hg-octave-branch=stable
> 
>     If that is successful, then you can do
> 
>         make all 7z-dist JOBS=8
> 
>     to build Octave for Windows with all the packages.  Use whatever number
>     of jobs makes sense for your hardware.
> 
>     jwe
> 
> Unfortunately, the installation of "pcre2-utils" was not sufficient, the 
> error message is as follows:
> ----------------------------------------------------------------------------------------------------------------------------------
> [...]
> configure: error: to build Octave, you must have the PCRE library and 
> header files installed
> make: *** [/home/spofahl/hg/mxe-octave/hg-octave-dist.mk:34 
> <http://hg-octave-dist.mk:34>: hg-octave-dist] Fehler 1
> (base) X6630G:~/hg/mxe-octave$
> ----------------------------------------------------------------------------------------------------------------------------------
> 
> But I will try to sort this out as well.

If you are using Ubuntu, I would recommend starting with

   apt build-dep octave

jwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.