bugGNU Octave - Bugs: bug #54452, octave 4.4.0 with octave-signal

 
 

bug #54452: octave 4.4.0 with octave-signal

Submitter:  Abinaya Manikandan <abinaya>
Submitted:  Mon 06 Aug 2018 10:37:44 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 14 Aug 2018 10:31:26 AM UTC, comment #6: 

Below reported error has been fixed by installing libcurl component.

Abinaya Manikandan <abinaya>
Tue 14 Aug 2018 07:53:51 AM UTC, comment #5: 

Hello,

Again we try to build octave with curl-7.56.0 but when on "make" section facing below issues:

the command which we are using to build octave with curl is below:

**************************************************************
%configure --prefix=%{_prefix} --with-blas=/usr/lib64/libblas.so --enable-shared --disable-static --without-opengl  --with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod --enable-float-truncate --with-gfortran --with-curl-libdir=/opt/curl/x86_64/7.56.0/lib/ --with-curl-includedir=/opt/curl/x86_64/7.56.0/include
***************************************************************

***************************************************************
Issue:
------
/opt/curl/x86_64/7.56.0/include/curl/curl.h:1836:29: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope
 #define CURLOPT_FTPLISTONLY CURLOPT_DIRLISTONLY
                             ^
/opt/curl/x86_64/7.56.0/include/curl/curl.h:2733:68: note: in definition of macro 'curl_easy_setopt'
 #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
                                                                    ^~~
liboctave/util/url-transfer.cc:513:7: note: in expansion of macro 'SETOPTR'
       SETOPTR (CURLOPT_DIRLISTONLY, 0);
       ^~~~~~~
./config.h:142:29: note: in expansion of macro 'CURLOPT_FTPLISTONLY'
 #define CURLOPT_DIRLISTONLY CURLOPT_FTPLISTONLY
                             ^~~~~~~~~~~~~~~~~~~
liboctave/util/url-transfer.cc:513:16: note: in expansion of macro 'CURLOPT_DIRLISTONLY'
       SETOPTR (CURLOPT_DIRLISTONLY, 0);
                ^~~~~~~~~~~~~~~~~~~
make[2]: * [liboctave/util/liboctave_util_libutil_la-url-transfer.lo] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/octave-4.4.0'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/octave-4.4.0'
make: * [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ZxWlfN (%build)
**************************************************************

Please find below curl version which is installed on our machine:

**************************************************************
Installed curl version details:
--------------------------------
[root@abinaya-perl-module rpmbuild]$ curl --version
curl 7.56.0 (x86_64-unknown-linux-gnu) libcurl/7.56.0 OpenSSL/1.0.0 zlib/1.2.3 libssh2/1.4.2
Release-Date: 2017-10-04
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets HTTPS-proxy
[root@abinaya-perl-module rpmbuild]$
***************************************************************

Abinaya Manikandan <abinaya>
Tue 07 Aug 2018 07:04:49 AM UTC, comment #4: 

Thanks for the quick update.

Sorry for the wrong bug report.

We will follow the steps which you mentioned below.

Abinaya Manikandan <abinaya>
Tue 07 Aug 2018 07:02:05 AM UTC, comment #3: 

Thanks, it is clear from this transcript that there are a couple of problems, but no bugs, so this issue remains closed correctly.

1. The syntax 'pkg install signal' is not correct, it should be either 'pkg install -forge signal' or 'pkg install signal-1.4.0.tar.gz' if you have downloaded the file already.

2. It looks like your build of Octave did not find a viable version of the curl library to use for reading HTTP data. Even if you configured Octave with '--with-curl', which is the default anyway, if no useful version of libcurl was found, it's going to disable that feature. The 'configure' stage of the build would have warned you loudly about any missing features.

These are questions that you should ask on the help mailing list (https://lists.gnu.org/mailman/listinfo/help-octave), not on this bug tracker.

Mike Miller <mtmiller>
Group Member
Tue 07 Aug 2018 06:43:48 AM UTC, comment #2: 

Hi,

Yes Tried pkg install signal like below:

***************************************************************
[root@abinaya-llvm6 ~]# octave
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
GNU Octave, version 4.4.0
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-redhat-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> pkg install signal
error: support for URL transfers was disabled when Octave was built
error: called from
    pkg at line 427 column 30
octave:1>
***************************************************************

facing some URL transferred issue.


Abinaya Manikandan <abinaya>
Mon 06 Aug 2018 04:40:07 PM UTC, comment #1: 

You haven't installed the signal package in Octave, so 'pkg load' won't do anything.

Please use 'pkg install signal' (one time to install the package) followed by 'pkg load signal' (every time Octave runs, or in a startup file). Please file another bug report if there is a problem with the installation or use of the signal package.

Mike Miller <mtmiller>
Group Member
Mon 06 Aug 2018 10:37:44 AM UTC, original submission:  

Hello,

i know this is not an bug in octave but still i don't have any option other than this for my issues in octave.

As per our user request we are trying to build octave-4.4.0 as RPM for RedHat 6 and 7 machine.

Octave seems build and working perfectly without any issues.

Our users request to created octave with octave signal where one can load external modules/addons.

We are trying to build octave-4.4.0 with below command:
**************************************************************
%configure --prefix=%{_prefix} --with-blas=/usr/lib64/libblas.so --enable-shared  --without-opengl  --with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod --enable-float-truncate --with-gfortran --with-curl

make

make install
**************************************************************

installation seems fine and we could use octave command like below:

**************************************************************
[root@abinaya-llvm6 ~]# octave
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
GNU Octave, version 4.4.0
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-redhat-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1>
**************************************************************

But user need to run below command in octave-4.4.0:

**************************************************************
[root@abinaya-llvm6 ~]# octave
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
GNU Octave, version 4.4.0
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-redhat-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> pkg load signal
error: package signal is not installed
error: called from
    load_packages at line 41 column 7
    pkg at line 457 column 7
octave:1>
**************************************************************

Can anyone please help to add octave-signal with octave-4.4.0

Regards,
Abinaya

Abinaya Manikandan <abinaya>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by abinaya (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-06 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code