octave-maintainers
[Top][All Lists]
Advanced

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

Synchronizing complex behaviour in commons-math


From: Ericbarnhill
Subject: Synchronizing complex behaviour in commons-math
Date: Mon, 09 May 2016 05:55:03 -0400

I would like to resolve an old Apache commons-math JIRA ticket (https://issues.apache.org/jira/browse/MATH-667) regarding the behavior of Complex objects in commons-math. In particular I think it would be nice to resolve it by synchronizing Complex[] behavior to Octave complex numbers (with an eye toward creating a bridge between them later). A couple of initial questions:

-- does Octave follow the C99 standard or some other?
-- is all the relevant behavior contained in libinterp/octave-value/ov-complex.cc ?

Thanks,
Eric

Sent from ProtonMail, encrypted email based in Switzerland.


-------- Original Message --------
Subject: Octave-maintainers Digest, Vol 122, Issue 18
Local Time: May 5, 2016 7:39 AM
UTC Time: May 5, 2016 5:39 AM
From: address@hidden
To: address@hidden

Send Octave-maintainers mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/octave-maintainers
or, via email, send a message with subject or body 'help' to
address@hidden

You can reach the person managing the list at
address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Octave-maintainers digest..."


Today's Topics:

1. mxe-octave gnuplot build failure in linux-native build (tmacchant)
2. Re: mxe-octave gnuplot build failure in linux-native build
(John W. Eaton)
3. Re: mxe-octave gnuplot build failure in linux-native build
(Mike Miller)
4. Re: Starting octave from texmacs (Jordi Guti?rrez Hermoso)
5. Re: mxe-octave gnuplot build failure in linux-native build
(Tatsuro MATSUOKA)
6. Re: mxe-octave gnuplot build failure in linux-native build
(Tatsuro MATSUOKA)
7. mxe-octave linux native build with --enable64 (Failed to
build package stable-octave!) (Tatsuro MATSUOKA)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 May 2016 17:48:07 -0700 (PDT)
From: tmacchant <address@hidden>
To: address@hidden
Subject: mxe-octave gnuplot build failure in linux-native build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

I am now trying to build octave with --enable-64 on Ubuntu 14.04
using mxe-octave using a tutorial
http://wiki.octave.org/MXE

I have met the following.

Failed to build package gnuplot!
------------------------------------------------------------
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/tmp-gnuplot/gnuplot-4.6.7/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/tmp-gnuplot/gnuplot-4.6.7'
make[1]: *** [build-only-gnuplot] Error 2
make[1]: Leaving directory
`/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64'
real 1m18.621s
user 0m58.493s
sys 0m13.425s
------------------------------------------------------------
[log]
/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/log/gnuplot

make: ***
[/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/installed-packages/gnuplot]
Error 1

Seeing the log file

checking for LUA... no
checking for LUA... no
configure: WARNING: Could not find support for lua using pkg-config.
checking for library containing luaL_openlibs... -llua5.1
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no

lua/TikZ terminal: yes ??????

gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term
-DBINDIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/bin\"
-DX11_DRIVER_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/libexec/gnuplot/4.6\"
-DQT_DRIVER_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/libexec/gnuplot/4.6\"
-DGNUPLOT_SHARE_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/share/gnuplot/4.6\"
-DGNUPLOT_PS_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/share/gnuplot/4.6/PostScript\"
-DGNUPLOT_JS_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/share/gnuplot/4.6/js\"
-DGNUPLOT_LUA_DIR=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/share/gnuplot/4.6/lua\"
-DCONTACT=\"address@hidden"
-DHELPFILE=\"/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/share/gnuplot/4.6/gnuplot.gih\"
-DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\"
-DXAPPLRESDIR=\"/etc/X11/app-defaults/\"
-I/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64/usr/include -g
-O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from term.h:426:0,
from term.c:1436:
../term/lua.trm:109:17: fatal error: lua.h: No such file or directory
#include <lua.h>
^

Apparently the configure behavior for lua is strange.
Perhaps this is bug of gnuplot 4.6.7.

I added --without-lua in gnuplot.mk for non-windows build.

I personally build gnuplot 4.6.7, 5.0.3 and development version.
Therefore I would like to skip building gnuplot because gnuplot is not
related --enable-64 mechanism.
How can I skip a particular building process on mxe-octave for native build?

Tatsuro



--
View this message in context: http://octave.1599824.n4.nabble.com/mxe-octave-gnuplot-build-failure-in-linux-native-build-tp4676761.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



------------------------------

Message: 2
Date: Wed, 4 May 2016 23:07:26 -0400
From: "John W. Eaton" <address@hidden>
To: address@hidden
Cc: address@hidden
Subject: Re: mxe-octave gnuplot build failure in linux-native build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 05/04/2016 08:48 PM, tmacchant wrote:

> I personally build gnuplot 4.6.7, 5.0.3 and development version.
> Therefore I would like to skip building gnuplot because gnuplot is not
> related --enable-64 mechanism.
> How can I skip a particular building process on mxe-octave for native build?

You can't without modifying the Makefile. Probably all you need to do
is modify the list of dependencies the default-octave.mk or
stable-octave.mk Makefile fragment.

Except for a few packages (like GCC or fontconfig, I think), mxe-octave
isn't really set up to use packages from the system, even when doing
native builds. It's really intended for building Octave and (nearly)
all dependencies on systems that don't have up to date dependencies.

If you want to extend mxe-octave to do something different, then submit
patches.

jwe






------------------------------

Message: 3
Date: Wed, 4 May 2016 20:17:42 -0700
From: Mike Miller <address@hidden>
To: tmacchant <address@hidden>
Cc: address@hidden
Subject: Re: mxe-octave gnuplot build failure in linux-native build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

On Wed, May 04, 2016 at 17:48:07 -0700, tmacchant wrote:
> I am now trying to build octave with --enable-64 on Ubuntu 14.04
> using mxe-octave using a tutorial
> http://wiki.octave.org/MXE
[?]
> I personally build gnuplot 4.6.7, 5.0.3 and development version.
> Therefore I would like to skip building gnuplot because gnuplot is not
> related --enable-64 mechanism.
> How can I skip a particular building process on mxe-octave for native build?

You could take a look at my repository for building Octave along with
all the necessary Fortran libraries for 64-bit indexing,

https://bitbucket.org/mtmiller/octave-64-bit-index-builder

It's similar to, but independent of mxe, I use it to build native Octave
on Debian with 64-bit indexing for testing.

--
mike



------------------------------

Message: 4
Date: Wed, 04 May 2016 23:52:56 -0400
From: Jordi Guti?rrez Hermoso <address@hidden>
To: pdiazs <address@hidden>
Cc: address@hidden
Subject: Re: Starting octave from texmacs
Message-ID: <address@hidden>
Content-Type: text/plain; charset="UTF-8"

On Wed, 2016-05-04 at 03:13 -0700, pdiazs wrote:
> I have noticed that after octave 4.0.1 has been launched i cannot connect to
> octave from it.
> I work in windows
> The script to launch it is:
>
> #!/bin/sh
> echo -ne "\002verbatim:"
> octave -v
> cd $TEXMACS_PATH/plugins/octave/octave; exec octave -qi tm-start.m
>
> Can anybody suggest an explanation?

You probably need the --no-gui option, since Octave by default now
launches a GUI. You could also run octave-cli instead.

- Jordi G. H.






------------------------------

Message: 5
Date: Thu, 5 May 2016 14:09:03 +0900 (JST)
From: Tatsuro MATSUOKA <address@hidden>
To: "John W. Eaton" <address@hidden>, "address@hidden"
<address@hidden>
Subject: Re: mxe-octave gnuplot build failure in linux-native build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-1



> From: John W. Eaton?
> To: octave-maintainers
> Cc: jwe
> Date: 2016/5/5, Thu 12:07
> Subject: Re: mxe-octave gnuplot build failure in linux-native build
>
> On 05/04/2016 08:48 PM, tmacchant wrote:
>
>> I personally build gnuplot 4.6.7, 5.0.3 and development version.
>> Therefore I would like to skip building gnuplot because gnuplot is not
>> related --enable-64 mechanism.
>> How can I skip a particular building process on mxe-octave for native
> build?
>
> You can't without modifying the Makefile.? Probably all you need to do is
> modify the list of dependencies the default-octave.mk or stable-octave.mk
> Makefile fragment.
>
> Except for a few packages (like GCC or fontconfig, I think), mxe-octave
> isn't really set up to use packages from the system, even when doing native
> builds.? It's really intended for building Octave and (nearly) all
> dependencies on systems that don't have up to date dependencies.
>
> If you want to extend mxe-octave to do something different, then submit patches.
>
> jwe


OK. I understand the situations.

Thanks!



------------------------------

Message: 6
Date: Thu, 5 May 2016 14:12:32 +0900 (JST)
From: Tatsuro MATSUOKA <address@hidden>
To: Mike Miller <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: mxe-octave gnuplot build failure in linux-native build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

----- Original Message -----

> From: Mike Miller?
> To: tmacchant?
> Cc: address@hidden
> Date: 2016/5/5, Thu 12:17
> Subject: Re: mxe-octave gnuplot build failure in linux-native build
>
> On Wed, May 04, 2016 at 17:48:07 -0700, tmacchant wrote:
>> I am now trying to build octave with --enable-64 on Ubuntu 14.04
>> using mxe-octave using a tutorial
>> http://wiki.octave.org/MXE
> [?]
>> I personally build gnuplot 4.6.7, 5.0.3 and development version.
>> Therefore I would like to skip building gnuplot because gnuplot is not
>> related --enable-64 mechanism.
>> How can I skip a particular building process on mxe-octave for native
> build?
>
> You could take a look at my repository for building Octave along with
> all the necessary Fortran libraries for 64-bit indexing,
>
> ? https://bitbucket.org/mtmiller/octave-64-bit-index-builder
>
> It's similar to, but independent of mxe, I use it to build native Octave
> on Debian with 64-bit indexing for testing.
>


OK. That looks like very convenient.
I will try it later.

Thanks!

Tatsuro



------------------------------

Message: 7
Date: Thu, 5 May 2016 14:38:40 +0900 (JST)
From: Tatsuro MATSUOKA <address@hidden>
To: "address@hidden" <address@hidden>
Subject: mxe-octave linux native build with --enable64 (Failed to
build package stable-octave!)
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-1

Hello

I am continuing to build octave with --enable-64

Failed to build package stable-octave!
------------------------------------------------------------
checking whether CDOTU is called correctly from Fortran... no
checking whether ZDOTU is called correctly from Fortran... no
checking whether the integer size is correct... no
configure: error: BLAS doesn't seem to support 64-bit integers. ?This is incompatible with --enable-64.
make[1]: *** [build-only-stable-octave] Error 1
make[1]: Leaving directory `/home/tatsuro/work/octave/mxe-octave/mxe-octave-lunix-e64'
real0m43.724s
user0m26.427s
sys0m11.553s
------------------------------------------------------------

Part of log for building blas

/home/tatsuro/work/octave/mxe-octave/mxe-octave-e64/usr/bin/x86_64-w64-mingw32-gfortran ?-fdefault-integer-8 -O3 -c isamax.f -o isamax.o
/home/tatsuro/work/octave/mxe-octave/mxe-octave-e64/usr/bin/x86_64-w64-mingw32-gfortran ?-fdefault-integer-8 -O3 -c sasum.f -o sasum.o


My configuration

cd ~/work/octave/mxe-octave
hg clone http://hg.octave.org/mxe-octave/ mxe-octave-lunix-e64
cd ~/work/octave/mxe-octave/mxe-octave-lunix-e64
autoconf
./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit --enable-octave=stable
LANG=C make



Why x86_64-w64-mingw32-gfortran was used?

My configure option is wrong?

Tatsuro



------------------------------

Subject: Digest Footer

_______________________________________________
Octave-maintainers mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/octave-maintainers


------------------------------

End of Octave-maintainers Digest, Vol 122, Issue 18
***************************************************


reply via email to

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