Discussion:
cannot install sbo packages to 15.0
(too old to reply)
bad sector
2022-03-15 16:22:20 UTC
Permalink
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)

-----------------------------------
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/fltk-1.3.8':
configure: error: C compiler cannot create executables
See `config.log' for more details
-----------------------------------

What to do? Thanks



the config.log: (I added blank lines for readability)
-----------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64/ --includedir=/usr/include/ --datadir=/usr/share/ --localstatedir=/var --mandir=/usr/man --enable-gl --enable-largefile --enable-shared --enable-threads --enable-xinerama --enable-xft --enable-xdbe --enable-cairo --build=x86_64-slackware-linux

## --------- ##
## Platform. ##
## --------- ##

hostname = darkstar.example.net
uname -m = x86_64
uname -r = 5.15.27
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Mar 8 18:18:11 CST 2022

/usr/bin/uname -p = Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2512: checking build system type
configure:2526: result: x86_64-slackware-linux-gnu
configure:2546: checking host system type
configure:2559: result: x86_64-slackware-linux-gnu
configure:2636: checking for gcc
configure:2652: found /usr/bin/gcc
configure:2663: result: gcc
configure:2892: checking for C compiler version
configure:2901: gcc --version >&5
gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2912: $? = 0
configure:2901: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/11.2.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/11.2.0/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,brig,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --disable-libstdcxx-pch --disable-libunwind-exceptions --enable-__cxa_atexit --disable-libssp --enable-gnu-unique-object --enable-plugin --enable-lto --disable-install-libiberty --disable-werror --with-gnu-ld --with-isl --verbose --with-arch-directory=amd64 --disable-gtktest --enable-clocale=gnu --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC)
configure:2912: $? = 0
configure:2901: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.







configure:2912: $? = 1
configure:2901: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.










configure:2912: $? = 1
configure:2932: checking whether the C compiler works
configure:2954: gcc -O2 -fPIC conftest.c >&5
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
compilation terminated.








configure:2958: $? = 1
configure:2996: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3001: error: in `/tmp/SBo/fltk-1.3.8':
configure:3003: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-slackware-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fPIC'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -fPIC'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-slackware-linux
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-slackware-linux-gnu
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
ARCHFLAGS=''
AUDIOLIBS=''
BINARY_DIR=''
CAIRODIR=''
CAIRODSONAME=''
CAIROFLAGS=''
CAIROLIBBASENAME=''
CAIROLIBNAME=''
CAIROLIBS=''
CAT1EXT=''
CAT3EXT=''
CAT6EXT=''
CC='gcc'
CFLAGS='-O2 -fPIC'
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS='-O2 -fPIC'
DEFS=''
DOXYDOC=''
DSOCOMMAND=''
DSOFLAGS=''
DSOLINK=''
DSONAME=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FLDSONAME=''
FLLIBBASENAME=''
FLLIBNAME=''
FLTKCAIROOPTION=''
FLTK_VERSION=''
FLTK_VERSION_MAJOR=''
FLTK_VERSION_MINOR=''
FLTK_VERSION_PATCH=''
FLUID=''
FLUID_BUILD=''
FL_ABI_VERSION=''
FL_DSO_VERSION=''
FTCONFIG=''
GLDEMOS=''
GLDSONAME=''
GLLIBBASENAME=''
GLLIBNAME=''
GLLIBS=''
GREP=''
GROFF=''
HLINKS=''
IMAGELIBS=''
IMGDSONAME=''
IMGLIBBASENAME=''
IMGLIBNAME=''
INSTALL_DATA=''
INSTALL_DESKTOP=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JPEG=''
JPEGINC=''
LARGEFILE=''
LDFLAGS=''
LIBBASENAME=''
LIBCOMMAND=''
LIBEXT=''
LIBNAME=''
LIBOBJS=''
LIBS=''
LINKFLTK=''
LINKFLTKCAIRO=''
LINKFLTKFORMS=''
LINKFLTKGL=''
LINKFLTKIMG=''
LINKSHARED=''
LTLIBOBJS=''
MAKEDEPEND=''
NROFF=''
OBJEXT=''
OPTIM=''
OSX_ONLY=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGCONFIG=''
PNG=''
PNGINC=''
PTHREAD_FLAGS=''
RANLIB=''
RC=''
SHAREDSUFFIX=''
SHELL='/bin/sh'
STATICIMAGELIBS=''
THREADS=''
UNINSTALL_DESKTOP=''
USEMMFILES=''
XMKMF=''
XPROP=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZLIB=''
ZLIBINC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-slackware-linux-gnu'
build_alias='x86_64-slackware-linux'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='slackware'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-slackware-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='slackware'
htmldir='${docdir}'
includedir='/usr/include'
infodir='${datarootdir}/info'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77
bad sector
2022-03-15 16:32:48 UTC
Permalink
Post by bad sector
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)
-----------------------------------
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: C compiler cannot create executables
See `config.log' for more details
-----------------------------------
What to do? Thanks
sorry, shudda added 'using slkpkg',

the above was for one of the depends for zynaddsubfx

# slpkg -s sbo zynaddsubfx
Mike
2022-03-15 18:53:08 UTC
Permalink
Post by bad sector
checking whether the C compiler works... no
configure: error: C compiler cannot create executables
C compiler likely DOES work ... ;)

Problem may be trying to create and execute *in* /tmp ...
if I recall the default settings for security prevent
malware etc. creating/overwriting things that are in /tmp
an executable.

My (Slack 13.37) /etc/fstab says :-

# /tmp should be noexec
/dev/slackvg/tmp /tmp ext3 defaults,relatime,noexec 1 8

Note: "noexec" -- could this be stopping you?
--
--------------------------------------+------------------------------------
Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk
bad sector
2022-03-15 19:48:13 UTC
Permalink
Post by Mike
Post by bad sector
checking whether the C compiler works... no
configure: error: C compiler cannot create executables
C compiler likely DOES work ... ;)
Problem may be trying to create and execute *in* /tmp ...
if I recall the default settings for security prevent
malware etc. creating/overwriting things that are in /tmp
an executable.
My (Slack 13.37) /etc/fstab says :-
# /tmp should be noexec
/dev/slackvg/tmp /tmp ext3 defaults,relatime,noexec 1 8
Note: "noexec" -- could this be stopping you?
--
--------------------------------------+------------------------------------
Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk
there's a tmpfs entry like so (no entry for /tmp as such):

tmpfs /dev/shm tmpfs nosuid,nodev,noexec 0 0
Rich
2022-03-15 21:32:54 UTC
Permalink
Post by bad sector
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
Did you install everyting in 15, or did you 'pick and choose'?

The assembler 'as' is usually part of binutils, is that package
installed?
bad sector
2022-03-15 22:06:39 UTC
Permalink
Post by Rich
Post by bad sector
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
Did you install everyting in 15, or did you 'pick and choose'?
The assembler 'as' is usually part of binutils, is that package
installed?
THANKS!

Every slack install I ever done was 'install everything'
but I seldom used it except for getting out out of binds
on other systems (like suse segfaulting during dd's for
months on end last year). Never installed anything that
wasn't part of the distro DVD and never learned much
about slack either.

The short of the long is that binutils was NOT aboard.
This is on my laptop, later tonight I'll check the desktop.

slackpkg install binutils
slpkg -s sbo zynaddsubfx

all done, no errors
bad sector
2022-03-15 23:23:04 UTC
Permalink
Post by bad sector
The short of the long is that binutils was NOT aboard.
This is on my laptop, later tonight I'll check the desktop.
wasn't installed on the desktop either (64 bit both machines)
Henrik Carlqvist
2022-03-16 06:28:50 UTC
Permalink
Post by bad sector
The short of the long is that binutils was NOT aboard. This is on my
laptop, later tonight I'll check the desktop.
wasn't installed on the desktop either (64 bit both machines)
Unless you have made a full install you can expect that more packages
from SBO will fail to build.

m v h Henrik
Rich
2022-03-16 13:05:19 UTC
Permalink
Post by Henrik Carlqvist
Post by bad sector
The short of the long is that binutils was NOT aboard. This is on my
laptop, later tonight I'll check the desktop.
wasn't installed on the desktop either (64 bit both machines)
Unless you have made a full install you can expect that more packages
from SBO will fail to build.
With binutils missing, he has clearly either *not* done a full install,
or he has gone around and removed a bunch of critical packages after
having done a full install.
Rich
2022-03-16 13:04:05 UTC
Permalink
Post by bad sector
Post by Rich
Post by bad sector
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
Did you install everyting in 15, or did you 'pick and choose'?
The assembler 'as' is usually part of binutils, is that package
installed?
THANKS!
Every slack install I ever done was 'install everything'
Then explain why binutils was missing? It is part of the default that
you get with "install everything" and you have to go way out of your
way to either not install it up front, or to explicitly remove it
later.
Post by bad sector
The short of the long is that binutils was NOT aboard.
Which is not what happens from an "install all" installation.
bad sector
2022-03-16 13:48:55 UTC
Permalink
Post by Rich
Post by bad sector
Post by Rich
Post by bad sector
Now that sbo packages are up I tried to add some
to my new Slackware-15.0 but most end with an
error such as this (already reinstalled glibc and gcc)
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
Did you install everyting in 15, or did you 'pick and choose'?
The assembler 'as' is usually part of binutils, is that package
installed?
THANKS!
Every slack install I ever done was 'install everything'
Then explain why binutils was missing? It is part of the default that
you get with "install everything" and you have to go way out of your
way to either not install it up front, or to explicitly remove it
later.
Post by bad sector
The short of the long is that binutils was NOT aboard.
Which is not what happens from an "install all" installation.
I'm just a clueless dumfuck mortal user but with a number of spare
partitions I'll see if tonight I can do a quick install somewhere to
find out more. I can't do that right now cause that machine is in the
middle of a pink-panther download with 7 hours remaining at 78 kiB/s. I
certainly don't recall having uninstalled anything, having had no reason
whatsoever to do so.
bad sector
2022-03-17 00:09:14 UTC
Permalink
Post by bad sector
Post by Rich
Which is not what happens from an "install all" installation.
I'm just a clueless dumfuck mortal user but with a number of spare
partitions I'll see if tonight I can do a quick install somewhere to
find out more. I can't do that right now cause that machine is in
the middle of a pink-panther download with 7 hours remaining at 78
kiB/s. I certainly don't recall having uninstalled anything, having
had no reason whatsoever to do so.
Wednesday is Devuan day but I did load the Slackware
15.0 install with the everything option and left to have
supper. When I came back it was stuck with a 'failed to
install binutils' annunciation. I would normally just
continue with such a warning but not with several.
Then I got two more for bison and cvs at which point
I aborted the exercise in pointlessness.

Given that I gotta have a faultless DVD I will have to
download the iso again and burn another one.
--
Loading Image...
Loading...