compilation of communications package

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

compilation of communications package

jysimon
Hi all,

I am using gnu octave 4.2.1 on win7 64 bits.

I compiled and loaded signal package, but when I tried to compile
communications-1.2.1, I have
this error and I don't know how to solve.
======
genqamdemod.cc: In function 'octave_value_list Fgenqamdemod(const
octave_value_list&, int)':
genqamdemod.cc:39:23: warning: 'int empty_arg(const char*, octave_idx_type,
octave_idx_type)' is deprecated (declared at C
:\Temp\OCTAVE~1.1\include\octave-4.2.1\octave\../octave/utils.h:58): use
'octave_value::is_empty' instead [-Wdeprecated-de
clarations]
   int arg_is_empty1 = empty_arg ("genqamdemod", nr1, nc1);
                       ^
genqamdemod.cc:39:57: warning: 'int empty_arg(const char*, octave_idx_type,
octave_idx_type)' is deprecated (declared at C
:\Temp\OCTAVE~1.1\include\octave-4.2.1\octave\../octave/utils.h:58): use
'octave_value::is_empty' instead [-Wdeprecated-de
clarations]
   int arg_is_empty1 = empty_arg ("genqamdemod", nr1, nc1);
                                                         ^
In file included from galois.h:24:0,
                 from galois-def.cc:21:
C:\Temp\OCTAVE~1.1\include\octave-4.2.1\octave\../octave/config.h:28:2:
warning: #warning "config.h has been deprecated; t
here is no need to include it directly" [-Wcpp]
 #warning "config.h has been deprecated; there is no need to include it
directly"
  ^
In file included from galois-def.cc:21:0:
galois.h:25:28: fatal error: octave/base-lu.h: No such file or directory
 #include <octave/base-lu.h>
                            ^
compilation terminated.
make: *** [galois-def.o] Error 1
make: Entering directory `/tmp/oct-sukWQC/communications-1.2.1/src'
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES
__errcore__.cc -o __errcore__.oct
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES
__gfweight__.cc -o __gfweight__.oct
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES cyclgen.cc
-o cyclgen.oct
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES
cyclpoly.cc -o cyclpoly.oct
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES
genqamdemod.cc -o genqamdemod.oct
C:/Temp/OCTAVE~1.1/bin/mkoctfile-4.2.1.exe -DGALOIS_DISP_PRIVATES -c
galois-def.cc -o galois-def.o
make: Leaving directory `/tmp/oct-sukWQC/communications-1.2.1/src'

pkg: error running `make' for the communications package.
error: called from
    configure_make at line 95 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>
===
Can someone offer some assistance ?

Thanks and best regards
Jean-Yves Simon



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: compilation of communications package

Mike Miller-4
On Thu, Feb 01, 2018 at 09:50:55 -0700, jysimon wrote:
> I am using gnu octave 4.2.1 on win7 64 bits.
>
> I compiled and loaded signal package, but when I tried to compile
> communications-1.2.1, I have
> this error and I don't know how to solve.
[…]
> Can someone offer some assistance ?

The communications package is already built and included with the
Windows distribution of Octave. You don't have to pkg install anything.
Please see https://wiki.octave.org/Octave_for_Microsoft_Windows

--
mike


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compilation of communications package

nrjank
>> pkg list

will show you all the installed packages.

if you used the .zip package to install Octave 4.2.1 it will be empty until you run a

>> pkg rebuild





On Thu, Feb 1, 2018 at 12:44 PM, Mike Miller <[hidden email]> wrote:
On Thu, Feb 01, 2018 at 09:50:55 -0700, jysimon wrote:
> I am using gnu octave 4.2.1 on win7 64 bits.
>
> I compiled and loaded signal package, but when I tried to compile
> communications-1.2.1, I have
> this error and I don't know how to solve.
[…]
> Can someone offer some assistance ?

The communications package is already built and included with the
Windows distribution of Octave. You don't have to pkg install anything.
Please see https://wiki.octave.org/Octave_for_Microsoft_Windows

--
mike


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------




-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: compilation of communications package

jysimon
nrjank wrote
>>> pkg list
>
> will show you all the installed packages.
>
> if you used the .zip package to install Octave 4.2.1 it will be empty
> until
> you run a
>
>>> pkg rebuild


Thank you for all the answers.

I installed the .zip package but somehow I made a mistake as I
don't see the communications package. I did a pkg rebuild, pkg update
but still I don't see it, weird !


These are the first lines of the pkg list
>> pkg list

Package Name         | Version | Installation directory
---------------------+---------+-----------------------
            control  |   3.0.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\control-3.0.0
     data-smoothing  |   1.3.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\data-smoothing-1.3.0
           database  |   2.4.2 |
C:\Temp\OCTAVE~1.1\share\octave\packages\database-2.4.2
          dataframe  |   1.1.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\dataframe-1.1.0
              dicom  |   0.1.1 |
C:\Temp\OCTAVE~1.1\share\octave\packages\dicom-0.1.1
          financial  |   0.5.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\financial-0.5.0
               fits  |   1.0.7 |
C:\Temp\OCTAVE~1.1\share\octave\packages\fits-1.0.7
fuzzy-logic-toolkit  |   0.4.5 |
C:\Temp\OCTAVE~1.1\share\octave\packages\fuzzy-logic-toolkit-0.4.5
                 ga  |  0.10.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\ga-0.10.0
            general  |   2.0.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\general-2.0.0

Thanks and regards
Jean-Yves




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: compilation of communications package

nrjank
if you started trying to install and it failed, it may have eliminated the one that came preinstalled. you could try to re-extract it from the .zip if another install attempt fails.

On Fri, Feb 2, 2018 at 2:15 PM, jysimon <[hidden email]> wrote:
nrjank wrote
>>> pkg list
>
> will show you all the installed packages.
>
> if you used the .zip package to install Octave 4.2.1 it will be empty
> until
> you run a
>
>>> pkg rebuild


Thank you for all the answers.

I installed the .zip package but somehow I made a mistake as I
don't see the communications package. I did a pkg rebuild, pkg update
but still I don't see it, weird !


These are the first lines of the pkg list
>> pkg list

Package Name         | Version | Installation directory
---------------------+---------+-----------------------
            control  |   3.0.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\control-3.0.0
     data-smoothing  |   1.3.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\data-smoothing-1.3.0
           database  |   2.4.2 |
C:\Temp\OCTAVE~1.1\share\octave\packages\database-2.4.2
          dataframe  |   1.1.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\dataframe-1.1.0
              dicom  |   0.1.1 |
C:\Temp\OCTAVE~1.1\share\octave\packages\dicom-0.1.1
          financial  |   0.5.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\financial-0.5.0
               fits  |   1.0.7 |
C:\Temp\OCTAVE~1.1\share\octave\packages\fits-1.0.7
fuzzy-logic-toolkit  |   0.4.5 |
C:\Temp\OCTAVE~1.1\share\octave\packages\fuzzy-logic-toolkit-0.4.5
                 ga  |  0.10.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\ga-0.10.0
            general  |   2.0.0 |
C:\Temp\OCTAVE~1.1\share\octave\packages\general-2.0.0

Thanks and regards
Jean-Yves




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------



-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: compilation of communications package

jysimon
nrjank wrote
> if you started trying to install and it failed, it may have eliminated the
> one that came preinstalled. you could try to re-extract it from the .zip
> if
> another install attempt fails.

Hi,Thanks a lot ! That was my problem. I unzipped again octave
and did the pkg rebuild and voila, the communications package
was there!!

Thanks a lot,
Best regards
Jean-Yves.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------