help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cygwin compilation


From: marco atzeri
Subject: Re: Cygwin compilation
Date: Mon, 10 Dec 2012 11:03:16 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/10/2012 8:28 AM, Danilo Zanatta wrote:
On Fri, Dec 7, 2012 at 3:21 PM, Danilo Zanatta <address@hidden
<mailto:address@hidden>> wrote:

    Ok, I just updated to the version below and ./configure is
    working.... will try to compile as soon as configure is finished.

    $ hg summary
    parent: 15743:5238ff93777d tip
      Correctly locate octave.jar in VPATH builds (bug #37815)
    branch: default
    commit: 1 unknown (clean)
    update: (current)

    Thanks,
    Danilo


After a while a lots of making, a got the following error:

make[3]: Entering directory
`/home/danilo.zanatta/octave-dev/oct_build/doc/interpreter'
../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('voronoi', 'eps');"
       0 [main] octave 7084 child_info_fork::abort:
C:\Work\cygwin\home\danilo.zanatta\octave-dev\oct_build\liboctave\.libs\cygoctave-1.dll:
Loaded to different address: parent(0x11240000) != child(0x11580000)
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/private/__gnuplot_open_stream__.m
at line 30, column 44
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/__gnuplot_drawnow__.m
at line 39, column 19
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/private/__gnuplot_print__.m
at line 192, column 5
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/private/__gnuplot_print__.m
at line 176, column 5
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/private/__gnuplot_print__.m
at line 68, column 7
error:
/home/danilo.zanatta/octave-dev/oct_build/../octave/scripts/plot/print.m
at line 415, column 12
error:
/home/danilo.zanatta/octave-dev/octave/doc/interpreter/geometryimages.m
at line 55, column 5

Seems like a(nother) cygwin fork problem. I already tried to do a
"rebaseall" to no avail...

Any thoughts?

It is a fork issue and you need to use

rebaseall -T file_list

if you want to rebase also the just build dlls.
Rebase has no knowledge of them

find /home/danilo.zanatta/octave-dev/oct_build -name "*.dll" > file_list

However the dlls just build are VERY large and a fork issue is
still possible. An alternative solution is

make install-strip
(it will fail at the same point, no problem)

find /usr/local -name "*.dll" > file_list
find /usr/local -name "*.oct" >> file_list

(from dash)
rebaseall -T file_list

cd /home/danilo.zanatta/octave-dev/oct_build/doc/interpreter
sed -e "s/\$(top_builddir)\/run-octave/octave-cli/" Makefile > Makefile_doc

make -f Makefile_doc
(so to build all the images you use the just installed stripped dll's that are smaller)

cd /home/danilo.zanatta/octave-dev/oct_build
make
(the build should complete now)


> Thx,
> Danilo
>

Regards
Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]