Tiny Core Extensions > Extension requests

Anydesk

<< < (4/16) > >>

Juanito:
You need to load the gtk2-dev extension.

It also looks like you will need to compile this: https://download.gnome.org/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz

Rabie:

--- Quote from: Juanito on December 19, 2021, 12:06:46 PM ---It also looks like you will need to compile this: https://download.gnome.org/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz

--- End quote ---
While compiling pangox i get an Error:


--- Code: ---./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets (MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PANGO... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pangox.pc
config.status: executing depfiles commands
config.status: executing libtool commands
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2# make
  CC     libpangox_1_0_la-pangox.lo
pangox.c: In function 'pango_x_get_shaper_map':
pangox.c:1359:3: warning: 'pango_find_map' is deprecated [-Wdeprecated-declarations]
   return pango_find_map (language, engine_type_id, render_type_id);
   ^~~~~~
In file included from pangox-private.h:26,
                 from pangox.c:30:
/usr/local/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here
 PangoMap *     pango_find_map        (PangoLanguage       *language,
                ^~~~~~~~~~~~~~
pangox.c: In function 'pango_x_font_find_shaper':
pangox.c:1381:3: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations]
   return (PangoEngineShape *)pango_map_get_engine (shape_map, script);
   ^~~~~~
In file included from pangox-private.h:26,
                 from pangox.c:30:
/usr/local/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here
 PangoEngine *  pango_map_get_engine  (PangoMap            *map,
                ^~~~~~~~~~~~~~~~~~~~
In function 'name_for_charset',
    inlined from 'pango_x_list_subfonts' at pangox.c:1144:12:
pangox.c:1048:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
    strncpy (result, xlfd, strlen (xlfd) - 2);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function 'pango_x_list_subfonts':
pangox.c:1048:27: note: length computed here
    strncpy (result, xlfd, strlen (xlfd) - 2);
                           ^~~~~~~~~~~~~
In function 'name_for_charset',
    inlined from 'pango_x_list_subfonts' at pangox.c:1144:12:
pangox.c:1037:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
    strncpy (result, xlfd, strlen (xlfd) - 4);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function 'pango_x_list_subfonts':
pangox.c:1037:27: note: length computed here
    strncpy (result, xlfd, strlen (xlfd) - 4);
                           ^~~~~~~~~~~~~
  CC     libpangox_1_0_la-pangox-fontcache.lo
  CC     libpangox_1_0_la-pangox-fontmap.lo
pangox-fontmap.c: In function 'pango_x_font_map_for_display':
pangox-fontmap.c:299:2: warning: 'pango_module_register' is deprecated [-Wdeprecated-declarations]
  pango_module_register (&_pango_included_x_modules[i]);
  ^~~~~~~~~~~~~~~~~~~~~
In file included from pangox-private.h:26,
                 from pangox-fontmap.c:39:
/usr/local/include/pango-1.0/pango/pango-modules.h:71:16: note: declared here
 void           pango_module_register (PangoIncludedModule *module);
                ^~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c:303:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
   g_type_init ();
   ^~~~~~~~~~~
In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/local/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/local/include/glib-2.0/glib-object.h:23,
                 from /usr/local/include/pango-1.0/pango/pango-types.h:26,
                 from /usr/local/include/pango-1.0/pango/pango-engine.h:25,
                 from pangox-fontmap.c:33:
/usr/local/include/glib-2.0/gobject/gtype.h:688:23: note: declared here
 void                  g_type_init                    (void);
                       ^~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_font_map_read_alias_file':
pangox-fontmap.c:826:7: warning: 'pango_read_line' is deprecated [-Wdeprecated-declarations]
       while ((lines_read = pango_read_line (infile, line_buf)))
       ^~~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:37:10: note: declared here
 gint     pango_read_line      (FILE        *stream,
          ^~~~~~~~~~~~~~~
pangox-fontmap.c:838:4: warning: 'pango_skip_space' is deprecated [-Wdeprecated-declarations]
    if (!pango_skip_space (&p))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:40:10: note: declared here
 gboolean pango_skip_space     (const char **pos);
          ^~~~~~~~~~~~~~~~
pangox-fontmap.c:841:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:851:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:858:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:865:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:872:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:879:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:887:8: warning: 'pango_trim_string' is deprecated [-Wdeprecated-declarations]
        char *trimmed = pango_trim_string (xlfds[i]);
        ^~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:35:10: note: declared here
 char    *pango_trim_string     (const char *str);
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_font_map_read_aliases':
pangox-fontmap.c:944:3: warning: 'pango_config_key_get' is deprecated [-Wdeprecated-declarations]
   char *files_str = pango_config_key_get ("PangoX/AliasFiles");
   ^~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:55:10: note: declared here
 char *   pango_config_key_get (const char  *key);
          ^~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c:950:3: warning: 'pango_split_file_list' is deprecated [-Wdeprecated-declarations]
   files = pango_split_file_list (files_str);
   ^~~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:32:10: note: declared here
 char **  pango_split_file_list (const char *str);
          ^~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'engine_shape_covers':
pangox-fontmap.c:1548:3: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations]
   g_return_val_if_fail (PANGO_IS_ENGINE_SHAPE (engine), PANGO_COVERAGE_NONE);
   ^~~~~~~~~~~~~~~~~~~~
In file included from pangox-fontmap.c:33:
/usr/local/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here
 GType pango_engine_shape_get_type (void) G_GNUC_CONST;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_face_get_coverage':
pangox-fontmap.c:1597:7: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations]
       engine = (PangoEngineShape *)pango_map_get_engine (shape_map, PANGO_SCRIPT_COMMON);
       ^~~~~~
In file included from pangox-private.h:26,
                 from pangox-fontmap.c:39:
/usr/local/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here
 PangoEngine *  pango_map_get_engine  (PangoMap            *map,
                ^~~~~~~~~~~~~~~~~~~~
  CC     libpangox_1_0_la-basic-x.lo
basic-x.c: In function 'basic_engine_shape':
basic-x.c:592:2: warning: 'pango_get_mirror_char' is deprecated: Use 'g_unichar_get_mirror_char' instead [-Wdeprecated-declarations]
  if (pango_get_mirror_char (wc, &mirrored_ch))
  ^~
In file included from /usr/local/include/pango-1.0/pango/pango-types.h:200,
                 from /usr/local/include/pango-1.0/pango/pango-engine.h:25,
                 from basic-x.c:24:
/usr/local/include/pango-1.0/pango/pango-bidi-type.h:134:16: note: declared here
 gboolean       pango_get_mirror_char        (gunichar     ch,
                ^~~~~~~~~~~~~~~~~~~~~
basic-x.c: In function 'basic_engine_x_class_init':
basic-x.c:687:23: warning: assignment to 'void (*)(PangoEngineShape *, PangoFont *, const char *, unsigned int,  const PangoAnalysis *, PangoGlyphString *, const char *, unsigned int)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, unsigned int,  const struct _PangoAnalysis *, struct _PangoGlyphString *, const char *, unsigned int)'} from incompatible pointer type 'void (*)(PangoEngineShape *, PangoFont *, const char *, gint,  const PangoAnalysis *, PangoGlyphString *)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, int,  const struct _PangoAnalysis *, struct _PangoGlyphString *)'} [-Wincompatible-pointer-types]
   class->script_shape = basic_engine_shape;
                       ^
basic-x.c: In function 'basic_engine_x_compat_register_type':
basic-x.c:690:1: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations]
 PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineXCompat, basic_engine_x_compat,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from basic-x.c:24:
/usr/local/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here
 GType pango_engine_shape_get_type (void) G_GNUC_CONST;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD   libpangox-1.0.la
/usr/local/bin/sed: can't read /usr/local/lib/libgobject-2.0.la: No such file or directory
libtool: link: `/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
make: *** [Makefile:389: libpangox-1.0.la] Error 1
--- End code ---

Juanito:
It might seem counterintuitive, but you need to delete all *.la files:
--- Code: ---$ sudo rm /usr/local/lib/*.la
$ sudo rm /usr/lib/*.la
--- End code ---

.. then delete the pangox-compat folder, untar the pangox-compat source and start again.

Rabie:

--- Quote from: Juanito on December 19, 2021, 02:12:56 PM ---It might seem counterintuitive, but you need to delete all *.la files:
--- Code: ---$ sudo rm /usr/local/lib/*.la
$ sudo rm /usr/lib/*.la
--- End code ---

.. then delete the pangox-compat folder, untar the pangox-compat source and start again.

--- End quote ---

never mind i just downloaded the missing *.la files and got this: (See Attachment)
or is that not the right way ?


Rabie:
and i went after that to the gtkglext dir to install it

./configure ran just fine

and make gives an Error:


--- Code: ---gdkglshapes.c:547:12: error: 'index' redeclared as different kind of symbol
 static int index[20][3] =
            ^~~~~
In file included from /usr/include/string.h:431,
                 from /usr/local/include/glib-2.0/glib/gtestutils.h:30,
                 from /usr/local/include/glib-2.0/glib.h:85,
                 from gdkglshapes.c:21:
/usr/include/strings.h:68:14: note: previous declaration of 'index' was here
 extern char *index (const char *__s, int __c)
              ^~~~~
make[4]: *** [Makefile:513: gdkglshapes.lo] Error 1
make[4]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[3]: *** [Makefile:558: all-recursive] Error 1
make[3]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[2]: *** [Makefile:428: all] Error 2
make[2]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[1]: *** [Makefile:363: all-recursive] Error 1
make[1]: Leaving directory '/opt/gtkglext-1.2.0'
make: *** [Makefile:279: all] Error 2


--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version