Re: need help in some points to get gnumeric 'long' mature. introspection, GDA support, GNOME-DB support, Psiconv, PDF documentation.



Le dimanche 01 mai 2022 à 06:13 +0200, newbie nullzwei via gnumeric-
list a écrit :
 
I've been trying to get gnumeric 'long' out of the 'experimental'
state for some time now, 
and have come quite far. To make this round I still need help with
some peripheral points, 
see the result of my configuration log attached at the bottom of this
post. 
 
TIA for any help!! 
 
- Introspection - I don't know this and can't handle it, with
'double' builds all 5 tests t-300x hold, 
with long t3000, t3001 and t3004 fail, logs also copied below. I need
tips on what this can be, 
or how introspection is normally / manually used and how I can narrow
down the fails. 

GObject Introspection does not support long double as far as I know, so
you most probably need to choose between introspection and long double.

- GDA support - libgda is criticized already by 'double' builds in
the configuration - see attached - as 'libgda problem', 
I tried to install it with apt-get: 
└─# apt-get install libgda-5.0-dev  
    ->  libgda-5.0-dev is already the newest version (5.2.10-2).
└─# apt-get install libgda-6.0-dev
    ->  E: Unable to locate package libgda-6.0-dev
and manually acc. 'linuxfromscratch', two issues: 
-- gnumeric requires version 6.0 ( shows up somewhere in the logs ),
this is only supported 
by a few distributions, see
<https://gitlab.gnome.org/GNOME/libgda/-/issues/256> and 
<https://repology.org/project/libgda/versions>. 
-- manual installation and build fail because the README says:
'Please note that if you use the Git 
repository the INSTALL file doesn't exist before you run the
autogen.sh script. alas I can't find an 
autogen.sh in the repo ... :-(   Who has a working installation or
can give hints how I could get to one. 

libgda uses meson, read https://mesonbuild.com/Running-Meson.html if
you don't know how to make it run. Be certain to build wit ui support
otherwise libgda-ui will not be built. Note that the debian package
misses it.

- GNOME-DB support - is about the same? if not please tell me what I
have to do to activate it. 

This is obsolete and should be removed

- Psiconv support - what is it and what do I need to do to get rid of
'missing dependencies'?  

This is for Psion file format support. Not sure it is still very
useful. You need to install it from sources, apparently not provided by
Debian.

- PDF documentattion - how do I 'request' this, DBLatex had some
installation difficulties. 
 
my OS: Kali Linux 2021-4, debian based, 
 
--------  result of './configure --with-long-double --enable-
introspection=yes'  --------  
Configuration:
        Source code location:           .
        Compiler:                       gcc
        Compiler flags:                 -g -O2 -
DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS
-Wall -Werror=init-self -Werror=missing-include-dirs -Wsign-compare -
Werror=pointer-arith -Wchar-subscripts -Wwrite-strings -Wdeclaration-
after-statement -Wnested-externs -Wmissing-noreturn -Werror=missing-
prototypes -Werror=nested-externs -Werror=implicit-function-
declaration -Wmissing-declarations -Wno-pointer-sign -Werror=format-
security -Wstrict-prototypes -Wno-error=format-nonliteral
        Floating point type:            long double (EXPERIMENTAL)
        UI:                             Gtk
        Perl plugin support:            yes (using perl)
        Python plugin support:          yes (using /usr/bin/python3)
        Introspection python support:   Yes.
        GDA support:                    NO.  libgda problem
        GNOME-DB support:               no
        Psiconv support:                Missing dependencies
        PDF documentation:              No, not requested.
 
--------  result of test t3000-introspection-basic.pl  --------  
FAIL: t3000-introspection-basic.pl  
==================================  
 
| Traceback (most recent call last):  
|   File "/home/kali/gnome.lnk/straight/gnumeric_long/test/t3000-
introspection-basic.py", line 11, in <module>  
|     print(Gnm.qnorm(0.4,0,1,1,0))  
|   File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py",
line 32, in __getattr__  
|     return getattr(self._introspection_module, name)  
|   File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in
__getattr__  
|     raise AttributeError("%r object has no attribute %r" % (  
| AttributeError: 'gi.repository.Gnm' object has no attribute
'qnorm'  
Failed command: /usr/bin/python3
/home/kali/gnome.lnk/straight/gnumeric_long/test/t3000-introspection-
basic.py  
FAIL t3000-introspection-basic.pl (exit status: 1)  
  
--------  result of test t3001-introspection-simple.pl  --------  
FAIL: t3001-introspection-simple.pl  
===================================  
  
| Name: Sheet1  
| Number of columns: 256  
| Number of rows: 65536  
| Traceback (most recent call last):  
|   File "/home/kali/gnome.lnk/straight/gnumeric_long/test/t3001-
introspection-simple.py", line 31, in <module>  
|     sheet.cell_set_value(0,1,Gnm.Value.new_float(101.25))  
| AttributeError: type object 'Value' has no attribute 'new_float'  
Failed command: /usr/bin/python3
/home/kali/gnome.lnk/straight/gnumeric_long/test/t3001-introspection-
simple.py  
FAIL t3001-introspection-simple.pl (exit status:
1)                                                                   
                                                                     
                      
  
--------  result of test t3004-introspection-overrides.pl  --------  
FAIL: t3004-introspection-overrides.pl  
======================================  
  
| Using in-tree gi.overrides.Gnm  
| 
| Testing GnmValue overrides:  
| {EMPTY,None}  
| {BOOLEAN,0}  
| {BOOLEAN,1}  
| {FLOAT,12}  
| Traceback (most recent call last):  
|   File "/home/kali/gnome.lnk/straight/gnumeric_long/test/t3004-
introspection-overrides.py", line 26, in <module>  
|     print(Gnm.Value.new_float(12.5))  
| AttributeError: type object 'Value' has no attribute 'new_float'  
Failed command: /usr/bin/python3
/home/kali/gnome.lnk/straight/gnumeric_long/test/t3004-introspection-
overrides.py  
FAIL t3004-introspection-overrides.pl (exit status: 1) 
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list



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