Package install error

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

Package install error

Chuck Cook
Fedora 33
Octave 5.2
I have already loaded the latest glib-devel    RPM

I get the following error:
>> pkg install -forge instrument-control
annobin: serial.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined
annobin: spi.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined

..... lots of similar warnings....

nnobin: vxi11_read.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined
annobin: __vxi11_pkg_lock__.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined
warning: reloading /home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53/gpib.oct clears the following functions:
warning: __gpib_pkg_lock__
warning: gpib
gpib: Your system doesn't support the GPIB interface
error: called from
/home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53/PKG_ADD at line 6 column1
doc_cache_create>gen_doc_cache_in_dir at line 139 column 5
doc_cache_create at line 55 column 12
install>generate_lookfor_cache at line 800 column 5
install at line 229 column 7
pkg at line 441 column 9

>> instrhwinfo
warning: load_path: /home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53: No suchfile or directory
warning: load-path: update failed for '/home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53', removing from path
warning: load_path: /home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53: No suchfile or directory
warning: load-path: update failed for '/home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53', removing from path
warning: load_path: /home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53: No suchfile or directory
warning: load-path: update failed for '/home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53', removing from path
error: 'instrhwinfo' undefined near line 1 column 1
>> pkg load instrument-control
warning: load_path: /home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53: No suchfile or directory
warning: load-path: update failed for '/home/ccook/octave/instrument-control-0.6.0/x86_64-redhat-linux-gnu-api-v53', removing from path
error: package instrument-control is not installed
error: called from
load_packages at line 41 column 7
pkg at line 461 column 7
>>
Reply | Threaded
Open this post in threaded view
|

Re: Package install error

Dmitri A. Sergatskov


On Wed, Nov 18, 2020 at 12:11 PM Chuck Cook <[hidden email]> wrote:
Fedora 33
Octave 5.2
I have already loaded the latest glib-devel    RPM

I get the following error:
>> pkg install -forge instrument-control
annobin: serial.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined
annobin: spi.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined

..... lots of similar warnings....



Works for me:
octave:1> pkg load instrument-control
octave:2> instrhwinfo
  scalar structure containing the fields:

    ToolboxVersion = 0.6.0
    ToolboxName = octave instrument control package
    SupportedInterfaces =
    {
      [1,1] = i2c
      [1,2] = spi
      [1,3] = parallel
      [1,4] = serial
      [1,5] = serialport
      [1,6] = tcp
      [1,7] = udp
      [1,8] = usbtmc
      [1,9] = vxi11
    }

Dmitri.
--

Reply | Threaded
Open this post in threaded view
|

Re: Package install error

Chuck Cook
I think my problem is in the package build process.

Warning: -D_GLIBCXX_ASSERTIONS not defined.

I am probably missing a RPM peculiar to Fedora.  But which one?

On Wed, 2020-11-18 at 12:27 -0500, Dmitri A. Sergatskov wrote:


On Wed, Nov 18, 2020 at 12:11 PM Chuck Cook <[hidden email]> wrote:
Fedora 33
Octave 5.2
I have already loaded the latest glib-devel    RPM

I get the following error:
>> pkg install -forge instrument-control
annobin: serial.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined
annobin: spi.cc: Warning: -D_GLIBCXX_ASSERTIONS not defined

..... lots of similar warnings....




Works for me:
octave:1> pkg load instrument-control
octave:2> instrhwinfo
  scalar structure containing the fields:

    ToolboxVersion = 0.6.0
    ToolboxName = octave instrument control package
    SupportedInterfaces =
    {
      [1,1] = i2c
      [1,2] = spi
      [1,3] = parallel
      [1,4] = serial
      [1,5] = serialport
      [1,6] = tcp
      [1,7] = udp
      [1,8] = usbtmc
      [1,9] = vxi11
    }

Dmitri.
--



Reply | Threaded
Open this post in threaded view
|

Re: Package install error

siko1056
On 11/19/20 2:54 AM, Chuck Cook wrote:
> I think my problem is in the package build process.
>
> Warning: -D_GLIBCXX_ASSERTIONS not defined.
>
> I am probably missing a RPM peculiar to Fedora.  But which one?
>

I am no Fedora user, but maybe related to a problem in the "annobin"
package?

https://bugzilla.redhat.com/show_bug.cgi?id=1862718

HTH,
Kai