help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 133, Issue 34


From: Jim Noon
Subject: Re: Help-octave Digest, Vol 133, Issue 34
Date: Mon, 24 Apr 2017 11:28:06 -0400

This is why I have been afraid to use Octave. The app seems to be run and maintained by a committee.

-----Original Message----- From: address@hidden
Sent: Monday, April 24, 2017 11:21 AM
To: address@hidden
Subject: Help-octave Digest, Vol 133, Issue 34

Send Help-octave mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/help-octave
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 Help-octave digest..."


Today's Topics:

  1. Re: Build problems with Octave 4.2.1 (Mike Miller)
  2. Fwd: error: package image is not installed (Himanshu Joshi)
  3. Re: Help Plotting Symbolic Vector Fields with Substitutions
     (Colin Macdonald)
  4. Authentication header in function urlread (babelproofreader)
  5. Re: Authentication header in function urlread (Mike Miller)


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

Message: 1
Date: Sun, 23 Apr 2017 14:53:13 -0700
From: Mike Miller <address@hidden>
To: Adrian Victor Crisciu <address@hidden>
Cc: address@hidden
Subject: Re: Build problems with Octave 4.2.1
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

On Sun, Apr 23, 2017 at 21:05:47 +0300, Adrian Victor Crisciu wrote:
Hi,

I tried to build Octave 4.2.1 from sources and got the errors listed in the
attached file. I tried with both gcc-5.3.0 and gcc-6.3.0 on my Slackware
platform with a 2.6.33.4 linux kernel and glibc 2.11.1.

Any idea on what is happening and how can I build Octave 4.2.1 on my
machine?

It looks to me like you have successfully compiled Octave with a newer
version of gcc as you mention above, but you are linking against a
libstdc++ from an older version of gcc, probably whichever is the
default gcc for your distribution.

You probably need to set your LDFLAGS and possibly LD_LIBRARY_PATH
appropriately to find the shared library. I am guessing from the log
file that you might look in /opt/gcc-5.3.0/lib64.

--
mike



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

Message: 2
Date: Mon, 24 Apr 2017 10:30:09 +0530
From: Himanshu Joshi <address@hidden>
To: address@hidden
Subject: Fwd: error: package image is not installed
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="utf-8"

Dear Avinoam and Marco,

Thanks for your reply..



you can download the image-1.0.11.tar.gz from
https://sourceforge.net/projects/octave/files/Octave%20Forge
%20Packages/Individual%20Package%20Releases/

and trying again.
As per you suggestion I have downloaded image-1.0.11.tar.gz

and did
sudo cp image-1.0.11.tar.gz /usr/share/octave/packages

then I ran octave from terminal: After changing the current directory to
/usr/share/octave/packages, I ran the commend below in command window

pkg install image-1.0.11.tar.gz

It also produces the same error as was with image-2.6.1.tar.gz

"pkg: error running `make' for the image package.
error: called from 'configure_make' in file
/usr/share/octave/4.0.2/m/pkg/private/configure_make.m
near line 96, column 9"

Unfortunately by running "pkg install image-1.0.11.tar.gz" an older file
named image-2.6.1.tar.gz is not there in the folder
/usr/share/octave/packages
But, a new file named octave-workspace is created in
/usr/share/octave/packages folder

If you tell us which system you are running we could eventually
suggest other solutions.

I am using Ubuntu 12.04 LTS

Regards
Marco



_______________________________________________
Help-octave mailing list
[hidden email] <http:///user/SendEmail.jtp?type=node&node=4682972&i=0>
https://lists.gnu.org/mailman/listinfo/help-octave

You can try

pkg install -forge image

This command in octave command window also says

"pkg: error running the configure script for image.
error: called from 'configure_make' in file
/usr/share/octave/4.0.2/m/pkg/private/configure_make.m
near line 79, column 9"


Avinoam

I doubted this error to be an issue of permission so tried doing

chmod -R 777 /usr/share/octave/4.0.2/m/pkg/private but this also did not
worked for me

Thanks and regards

On Sun, Apr 23, 2017 at 1:39 AM, Avinoam [via Octave] <
address@hidden> wrote:

marco atzeri-2 wrote
On 22/04/2017 08:38, Himanshu Joshi wrote:
> Hello Octave experts,
>
> I am running Octave, version 4.0.2: I am getting the following error
>
> "error: package image is not installed"
>
> I have tried using "pkg install image-1.0.0.tar.gz" from the octave
prompt
> but it says file image-1.0.0.tar.gz does not exist
>
> How can I get this file to get rid of the above mentioned error?
> Or is there an alternate by which I can install the package "image"?
>
>
> Thanking you in anticipation
>
> Regards
> --
> Himanshu Joshi


you can download the image-1.0.11.tar.gz from
https://sourceforge.net/projects/octave/files/Octave%20Forge
%20Packages/Individual%20Package%20Releases/

and trying again.


If you tell us which system you are running we could eventually
suggest other solutions.

Regards
Marco



_______________________________________________
Help-octave mailing list
[hidden email] <http:///user/SendEmail.jtp?type=node&node=4682972&i=0>
https://lists.gnu.org/mailman/listinfo/help-octave

You can try

pkg install -forge image

Avinoam


------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://octave.1599824.n4.nabble.com/error-package-image-is-
not-installed-tp4682968p4682972.html
This email was sent by Avinoam
<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=371169>
(via Nabble)
To receive all replies by email, subscribe to this discussion
<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=subscribe_by_code&node=4682968&code=YW5zaHVoaW0yMEBnbWFpbC5jb218NDY4Mjk2OHwtMTA3NzQ4NjM4MA==>




--
Himanshu Joshi
M.Tech. Cognitive & Neuroscience.
Ph.D Scholar,
Department of Psychiatry
NIMHANS, Bangalore
Publications
<https://scholar.google.co.in/citations?hl=en&user=OspDsGUAAAAJ&view_op=list_works&gmla=AJsN-F4EvpCnES94r26jSpcDQFnN_-rSpEtp0PNdwObxCjniNpjkL55yPooOzK6epx6bHLvPuwJ2LIL3Wgkvxn4xeZXy5Wh0NpiR4E_Ebq88a1jaCS4r5q14b_4jCaeeDct8aeK15Bxr>
Multimodal Brain Image Analysis Laboratory
<http://mbial.weebly.com/himanshu-joshi.html>



--
Himanshu Joshi
M.Tech. Cognitive & Neuroscience.
Ph.D Scholar,
Department of Psychiatry
NIMHANS, Bangalore
Publications
<https://scholar.google.co.in/citations?hl=en&user=OspDsGUAAAAJ&view_op=list_works&gmla=AJsN-F4EvpCnES94r26jSpcDQFnN_-rSpEtp0PNdwObxCjniNpjkL55yPooOzK6epx6bHLvPuwJ2LIL3Wgkvxn4xeZXy5Wh0NpiR4E_Ebq88a1jaCS4r5q14b_4jCaeeDct8aeK15Bxr>
Multimodal Brain Image Analysis Laboratory
<http://mbial.weebly.com/himanshu-joshi.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/help-octave/attachments/20170424/5c19a1de/attachment.html>

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

Message: 3
Date: Sun, 23 Apr 2017 23:26:46 -0700
From: Colin Macdonald <address@hidden>
To: address@hidden
Subject: Re: Help Plotting Symbolic Vector Fields with Substitutions
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8; format=flowed

On 22/04/17 01:39 PM, WARDEVIL_UFO wrote:
I went ahead and posted the code with your mods on the Octave Symbolic page.
Would you mind taking a look, and tell me what you think?

I proofread it a bit and made some minor edits.  Thanks for this.
One little (potential) hiccup remains. If a symbolic function had an actual
floating point valued coefficient or exponent, would using rat() for
heuristics be acceptable in that case, or is there some other preferred way?
For instance, if  I modify  my iComponent to be sin(pi .*y ./2.01) that
triggers rats() warning.

sin (pi * y * sym(201)/100)

I recommend never put floating point numbers into symbolic expressions.

Colin



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

Message: 4
Date: Mon, 24 Apr 2017 06:05:11 -0700 (PDT)
From: babelproofreader <address@hidden>
To: address@hidden
Subject: Authentication header in function urlread
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

I would like to access a web api that requires an authentication/bearer token
in an authorization header. The website gives a curl example of

curl -H "Authorization: Bearer 12345678900987654321-abc34135acde13f13530"
https://api-fxtrade.oanda.com/v1/accounts

How would I use this as input arguments to the urlread function?



--
View this message in context: http://octave.1599824.n4.nabble.com/Authentication-header-in-function-urlread-tp4682997.html
Sent from the Octave - General mailing list archive at Nabble.com.



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

Message: 5
Date: Mon, 24 Apr 2017 08:20:58 -0700
From: Mike Miller <address@hidden>
To: address@hidden
Subject: Re: Authentication header in function urlread
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

On Mon, Apr 24, 2017 at 06:05:11 -0700, babelproofreader wrote:
I would like to access a web api that requires an authentication/bearer token
in an authorization header. The website gives a curl example of

curl -H "Authorization: Bearer 12345678900987654321-abc34135acde13f13530"
https://api-fxtrade.oanda.com/v1/accounts

How would I use this as input arguments to the urlread function?

The urlread function does not support custom HTTP headers.

The way to do this in Matlab would be with the matlab.net.http package,
which Octave does not support yet.

To do this in Octave now, the best options would be to use the Java or
Python (in development) interfaces, like this

   h = javaObject ("java.net.URL", "https://api-fxtrade...";);
   c = h.openConnection ();
   c.setRequestProperty("Authorization", ...);
   ...

or this

   c = py.httplib.HTTPSConnection ("api-fxtrade.oanda.com");
   h = py.dict (pyargs ("Authorization", "..."));
   c.request ("GET", "/v1/accounts", "", h);
   r = c.getresponse ();
   ...

(not fully working examples).

Or shell out to the curl program.

--
mike



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

Subject: Digest Footer

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


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

End of Help-octave Digest, Vol 133, Issue 34
********************************************



reply via email to

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