Leslie Turriff schrieb am 25.05.2018 um 06:21:
Hi, I'm trying to compile the TDE text editor (http://adoxa.altervista.org/tde/), a 32-bit application, on my OpenSuSE Leap 42.3 X86_64 system, but I'm getting a prerequisite error:
~/Downloads/Packages/Non-RPMs/Linux/tde-5.1v $ make Compiling bj_ctype.c In file included from /usr/include/features.h:389:0, from /usr/include/stdio.h:27, from tdestr.h:19, from bj_ctype.c:20: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory # include <gnu/stubs-32.h> ^ compilation terminated. makefile:102: recipe for target 'unix/bj_ctype.o' failed make: *** [unix/bj_ctype.o] Error 1
I tried searching with zypper
$ zypper se --provides stubs-32.h Retrieving repository 'devel:libraries:c_c++' metadata ....................................................................... [done] Building repository 'devel:libraries:c_c++' cache ............................................................................ [done] Retrieving repository 'devel:libraries:c_c++' metadata ....................................................................... [done] Building repository 'devel:libraries:c_c++' cache ............................................................................ [done] Retrieving repository 'Packman Repository' metadata .......................................................................... [done] Building repository 'Packman Repository' cache ............................................................................... [done] Loading repository data... Reading installed packages... No matching items found.
and
$ zypper se glibc-devel Loading repository data... Reading installed packages...
S | Name | Summary | Type ---+-----------------------------+-------------------------------------------------------+----------- i+ | glibc-devel | Include Files and Libraries Mandatory for Development | package | glibc-devel-32bit | Include Files and Libraries Mandatory for Development | package i+ | glibc-devel-debuginfo | Debug information for package glibc-devel | package | glibc-devel-debuginfo-32bit | Debug information for package glibc-devel | package | glibc-devel-static | C library static libraries for -static linking | package i+ | glibc-devel-static-32bit | C library static libraries for -static linking | package i+ | linux-glibc-devel | Linux headers for userspace development | package | linux-glibc-devel | Linux headers for userspace development | srcpackage
but though glibc-devel-32bit is installed (which is where I would expect it to be, gcc can't find it anywhere. Can anyone tell me what provides gnu/stubs-32.h?
Leslie
Due to your output, glibc-devel-32bit is *not* installed on this system :) There is no "i" at the beginning of the line...
If the output is correct, use "zypper in glibc-devel-32bit" to install it. If the output is not correct and this package already has been installed, reinstall it via "zypper in -f glibc-devel-32bit". It really contains the missing file:
# rpm -ql glibc-devel-32bit-2.22-16.3.x86_64 | grep stub /usr/include/gnu/stubs-32.h
Werner