bugGNU Octave - Bugs: bug #44028, failure in building mxe octave...

 
 

bug #44028: failure in building mxe octave with default-octave

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Sat 17 Jan 2015 04:25:29 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 17 Jan 2015 10:32:28 PM UTC, comment #5: 


Thanks for your help, now I understand the problem.
I think that this bug report can be closed now

Avinoam Kalma <avinoam>
Group Member
Sat 17 Jan 2015 10:24:48 PM UTC, comment #4: 

The problem is that the build process is trying to re-create the documentation, because it can see that you have changed a file that contains documentation strings.

This isn't going to work because it needs to run Octave to create parts of the documentation and the build host only has Octave built for the target (Windows).

I think what you want to do is clone the Mercurial repo for Octave (not MXE-Octave) and create a distribution tarball (make dist).  Copy this distribution tarball into MXE-Octave's pkg directory.  And then proceed normally.

To create the tarball:


hg clone http://www.octave.org/hg/octave
cd octave
./bootstrap
./configure --any-options-you-like
make
make dist


Rik <rik5>
Group administrator
Sat 17 Jan 2015 10:20:13 PM UTC, comment #3: 

after default-octave has been started, I use


cp ~/octave/libinterp/dldfcn/audiodevinfo.cc ~/mxe-octave/tmp-default-octave/octave-4.1.0+/libinterp/dldfcn/


Avinoam Kalma <avinoam>
Group Member
Sat 17 Jan 2015 09:49:40 PM UTC, comment #2: 

How are you 'copying in' the latest audiodevinfo.cc.

John Donoghue <lostbard>
Group Member
Sat 17 Jan 2015 08:07:58 PM UTC, comment #1: 

I built 4.1.0+ yesterday with MXE (and it runs fine).

The only difference I see between your and my setup is your
"make update-checksum-default-octave`
command - I don´t run that. But at first sight I don´t think that should matter.

Hint:
go through Makefile in mxe/octave´s root dir and check the settings.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 17 Jan 2015 04:25:29 PM UTC, original submission:  


I am using the following script to build mxe-octave in Ubuntu:


cd ~/mxe-octave
hg  pull
hg  update

PATH=`pwd`/usr/bin:$PATH
autoconf
make update-checksum-default-octave
./configure --enable-octave=default
make nsis-installer


to build Octave correctly I copy the latest octave/libinterp/dldfcn/audiodevinfo.cc, but still there a build
problem:

I get:

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/home/avinoam/mxe-octave/usr/i686-w64-mingw32)

.....

Making install in interpreter
make[5]: Entering directory `/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/.build/doc/interpreter'

.....
../../run-octave -f -q -H /home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/doc/interpreter/mk_doc_cache.m doc-cache /home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/doc/interpreter/macros.texi ../../scripts/DOCSTRINGS ../../libinterp/DOCSTRINGS || { rm -f doc-cache; exit 1; }
/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/.build/libtool: line 10075: /home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/.build/src/octave: No such file or directory
make[5]: *** [doc-cache] Error 1
make[5]: Leaving directory `/home/avinoam/mxe-octave/tmp-default-octave/octave-4.1.0+/.build/doc/interpreter'
make[4]: *** [install-recursive] Error 1


It seems the makefile looks for unix executable octave, but the directory contains only windows executables.

Thanks,

Avinoam

Avinoam Kalma <avinoam>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-18 rik5 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code