communications 1.2.2 package release

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

communications 1.2.2 package release

Nir Krakauer-3
Communications 1.2.2 has been released on Octave Forge and is
available for download [1].

This new version contains modifications to enable installation on
Octave 4.4 and newer [2].

[1] https://octave.sourceforge.io/communications/index.html
[2] https://octave.sourceforge.io/communications/NEWS.html

Reply | Threaded
Open this post in threaded view
|

Re: communications 1.2.2 package release

Nir Krakauer-3
I don't know what the problem you encountered is. Can you try
installing with the `-verbose` flag?

Reply | Threaded
Open this post in threaded view
|

Re: communications 1.2.2 package release

Nir Krakauer-3
It sounds like a problem with your Windows environment, which I don't know how to deal with. Probably you should just use a pre-compiled version of the package, cf. https://wiki.octave.org/wiki/index.php?title=Octave_for_Microsoft_Windows
Reply | Threaded
Open this post in threaded view
|

Re: communications 1.2.2 package release

nrjank
On Wed, Jan 8, 2020 at 1:12 PM Windhorn, Allen E [ACIM/LSA/MKT] <[hidden email]> wrote:
From: Nir Krakauer <[hidden email]>



Octave 5.1.0 on windows 10:

running into the same -forge problem here.

>> pkg install -forge communications
error: pkg: could not download file communications-1.2.2.tar.gz from url https://packages.octave.org/download/communications-1.2.2.tar.gz
error: called from
    pkg at line 414 column 13

So, not sure what the -forge issues is, but manually download from path shown in the error works fine.

then 
>> pkg install communications-1.1.1.tar.gz

works fine with a warning.

>> pkg install communications-1.1.1.tar.gz
warning: doc_cache_create: unusable help text found in file 'commsimages'
For information about changes from previous versions of the communications package, run 'news communications'.

from the error message it sounds like you have write permission errors.  We had this discussion before, some windows systems prevent execution in the profile temp folder where Octave is trying to compile the package.  so now on my system I made a separate temp folder that I point Octave to use at startup.

e.g., I made a C:\Octave\Temp

and added:  
setenv('tmpdir','c:\Octave\Temp\')

to my C:\Users\*username*\.octaverc  

you can try manually executing that setenv command with an appropriate alternate folder and see if that lets it compile.

Reply | Threaded
Open this post in threaded view
|

RE: communications 1.2.2 package release

Windhorn, Allen E [ACIM/LSA/MKT]
From: Nir Krakauer <mailto:[hidden email]>

> Octave 5.1.0 on windows 10:
> running into the same -forge problem here.
> ...
> So, not sure what the -forge issues is, but manually download from path
> shown in the error works fine.
> then 
>> pkg install communications-1.1.1.tar.gz
> works fine with a warning.

Yes, that's what I did, but it doesn't work on my system.

> from the error message it sounds like you have write permission errors...
>  I made a separate temp folder that I point Octave to use at startup.
> and added:  
> setenv('tmpdir','c:\Octave\Temp\')

Tried that and got a more interesting error message (below), but same end
result.  I made the Octave directory, so should have permission for anything
below that.

Regards,
Allen

>> setenv('tmpdir','c:\Octave\Temp\')
>> pkg install C:/Octave/Octave-5.1.0.0/home/communications-1.2.2.tar.gz
./configure: line 70: 11272 Segmentation fault      (core dumped) ( test "X`printf %s $as_echo`" = "X
$as_echo" ) 2> /dev/null
                        ./configure: line 79: 12860 Segmentation fault      (core dumped) ( PATH='/bi
n;/bin'; FPATH=$PATH; sh -c : ) > /dev/null 2>&1
                                                ./configure: line 133: 13652 Segmentation fault
(core dumped) ( unset CDPATH ) > /dev/null 2>&1
                                               ./configure: line 275: 11848 Segmentation fault      (
core dumped) ( eval "$as_required" ) 2> /dev/null
                                                 ./configure: line 275:  2448 Segmentation fault
 (core dumped) ( unset BASH_ENV ) > /dev/null 2>&1
                                                  ./configure: line 70:  1020 Segmentation fault
 (core dumped) ( test "X`printf %s $as_echo`" = "X$as_echo" ) 2> /dev/null
                                                                          ./configure: line 79: 10952
 Segmentation fault      (core dumped) ( PATH='/bin;/bin'; FPATH=$PATH; sh -c : ) > /dev/null 2>&1
                                                                                                  ./c
onfigure: line 133:   240 Segmentation fault      (core dumped) ( unset CDPATH ) > /dev/null 2>&1
                                                                                                 ./co
nfigure: line 157: 11548 Segmentation fault      (core dumped) ( unset BASH_ENV ) > /dev/null 2>&1
                                                                                                  ./c
onfigure: line 70:  9500 Segmentation fault      (core dumped) ( test "X`printf %s $as_echo`" = "X$as
_echo" ) 2> /dev/null
                     ./configure: line 79: 10032 Segmentation fault      (core dumped) ( PATH='/bin;/
bin'; FPATH=$PATH; sh -c : ) > /dev/null 2>&1
                                             ./configure: line 133:  4436 Segmentation fault      (co
re dumped) ( unset CDPATH ) > /dev/null 2>&1
                                            ./configure: line 383: 12592 Segmentation fault      (cor
e dumped) ( eval "as_var=1; as_var+=2; test x\$as_var = x12" ) 2> /dev/null
                                                                           ./configure: line 400: 132
72 Segmentation fault      (core dumped) ( eval "test \$(( 1 + 1 )) = 2" ) 2> /dev/null
                                                                                       ./configure: l
ine 430: 12652 Segmentation fault      (core dumped) ( basename -- / ) > /dev/null 2>&1
                                                                                       ./configure: l
ine 436:  9072 Segmentation fault      (core dumped) ( as_dir=`dirname -- /` && test "X$as_dir" = X/
) > /dev/null
                                                                                       ./configure: l
ine 436:  9072 Segmentation fault      (core dumped) ( as_dir=`dirname -- /` && test "X$as_dir" = X/
) > /dev/null 2>&1
                  ./configure: line 536: 12440 Segmentation fault      (core dumped) ( echo > conf$$.
file ) 2> /dev/null
                   ./configure: line 1734: 14332 Segmentation fault      (core dumped) $as_echo "PATH
: $as_dir"
          ./configure: line 1734:  5648 Segmentation fault      (core dumped) $as_echo "PATH: $as_dir
"
 ./configure: line 1734: 12908 Segmentation fault      (core dumped) $as_echo "PATH: $as_dir"
                                                                                             ./config
ure: line 1734:  9372 Segmentation fault      (core dumped) $as_echo "PATH: $as_dir"
                                                                                    ./configure: line
 1734:  9092 Segmentation fault      (core dumped) $as_echo "PATH: $as_dir"
                                                                           ./configure: line 1734: 12
100 Segmentation fault      (core dumped) $as_echo "PATH: $as_dir"
                                                                  ./configure: line 1734:  6556 Segme
ntation fault      (core dumped) $as_echo "PATH: $as_dir"
                                                         ./configure: line 1734: 11004 Segmentation f
ault      (core dumped) $as_echo "PATH: $as_dir"
                                                ./configure: line 1734:  2944 Segmentation fault
 (core dumped) $as_echo "PATH: $as_dir"
                                       ./configure: line 1734: 13176 Segmentation fault      (core du
mped) $as_echo "PATH: $as_dir"
                              ./configure: line 1734: 10284 Segmentation fault      (core dumped) $as
_echo "PATH: $as_dir"
                     ./configure: line 1949: 13032 Segmentation fault      (core dumped) $as_echo "$a
s_me: loading site script $ac_site_file" 1>&6
                                             as_echo: eval: line 1: syntax error: unexpected end of f
ile
   ./configure: line 2095:  8116 Segmentation fault      (core dumped) $as_echo "$as_me:${as_lineno-$
LINENO}: result: $MKOCTFILE" 1>&5
                                 ./configure: line 2095:  2440 Segmentation fault      (core dumped)
$a $as_echo "$MKOCTFILE" 1>&6
                          as_echo: eval: line 1: syntax error: unexpected end of file
                                                                                     as_echo: eval: l
ine 1: syntax error: unexpected end of file
./configure: line 2189:  6640 Segmentation fault      (core dumped) $as_echo "$as_me:${as_lineno-$LIN
ENO}: result: $ac_ct_CXX" 1>&5
                              ./configure: line 2247:  9524 Segmentation fault      (core dumped) $as
_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" 1>&5
                                                                           ./configure: line 2250:  8
648 Segmentation fault      (core dumped) ( eval "$ac_compiler $ac_option >&5" ) 2> conftest.err
                                                                                                ./con
figure: line 2250: 14224 Segmentation fault      (core dumped) $as_echo "$as_me:${as_lineno-$LINENO}:
 \$? = $ac_status" 1>&5
                       ./configure: line 2250:  3668 Segmentation fault      (core dumped) ( eval "$a
c_compiler $ac_option >&5" ) 2> conftest.err
                                            ./configure: line 2250: 10312 Segmentation fault      (co
re dumped) $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" 1>&5
                                                                        ./configure: line 2250:  1020
 Segmentation fault      (core dumped) ( eval "$ac_compiler $ac_option >&5" ) 2> conftest.err
                                                                                             ./config
ure: line 2250: 13464 Segmentation fault      (core dumped) $as_echo "$ac_try_echo"
                                                                                   ./configure: line
2250: 10032 Segmentation fault      (core dumped) ( eval "$ac_compiler $ac_option >&5" ) 2> conftest.
err
   ./configure: line 2288:  9072 Segmentation fault      (core dumped) $as_echo_n "checking whether t
he C++ compiler works... " 1>&6
                               ./configure: line 2349:  3876 Segmentation fault      (core dumped) (
eval "$ac_link_default" ) 2>&5
                              ./configure: line 2363: 10132 Segmentation fault      (core dumped) $as
_echo "$as_me: failed program was:" 1>&5
                                        ./configure: line 2363:  3604 Segmentation fault      (core d
umped) $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" 1>&5
                                                                         ./configure: line 2363:  412
4 Segmentation fault      $as_echo "$as_me: error: in \`$ac_pwd':" 1>&2
                                                                       ./configure: line 409:  9680 S
egmentation fault      $as_echo "$as_me: error: $2" 1>&2
                                                        ./configure: line 83: 13464 Segmentation faul
t      (core dumped) exit $1
                            C:/Octave/OCTAVE~1.0/mingw64/bin/octave-5.1.0.bat
g++
no                                                                                                    
pkg: error running the configure script for communications.
error: called from
    configure_make at line 82 column 9
    install at line 184 column 7
    pkg at line 441 column 9
>>

Reply | Threaded
Open this post in threaded view
|

Re: communications 1.2.2 package release

nrjank

On Wed, Jan 8, 2020 at 2:21 PM Windhorn, Allen E [ACIM/LSA/MKT] <[hidden email]> wrote:
From: Nir Krakauer <mailto:[hidden email]>

> Octave 5.1.0 on windows 10:
> running into the same -forge problem here.
> ...
> So, not sure what the -forge issues is, but manually download from path
> shown in the error works fine.
> then 
>> pkg install communications-1.1.1.tar.gz
> works fine with a warning.

Yes, that's what I did, but it doesn't work on my system.

> from the error message it sounds like you have write permission errors...
>  I made a separate temp folder that I point Octave to use at startup.
> and added:  
> setenv('tmpdir','c:\Octave\Temp\')

Tried that and got a more interesting error message (below), but same end
result.  I made the Octave directory, so should have permission for anything
below that.

Regards,
Allen

>> setenv('tmpdir','c:\Octave\Temp\')
>> pkg install C:/Octave/Octave-5.1.0.0/home/communications-1.2.2.tar.gz
./configure: line 70: 11272 Segmentation fault      (core dumped) ( test "X`printf %s $as_echo`" = "X
$as_echo" ) 2> /dev/null

<snip>

yikes. no idea where all that is coming from.  

on a side note, after the pkg update completed, i retried a fast install package:

>> pkg install -forge ga

which worked fine, and then

>> pkg install -forge communications
warning: doc_cache_create: unusable help text found in file 'commsimages'
For information about changes from previous versions of the communications package, run 'news communications'.

which this time downloaded and installed fine. So it seems the -forge issue was just temporary.   Don't know if the warning above is a concern, and not sure what's causing all the segfaults on Allen's system.