Trying to recompile using gcc8 I get an error that tells me it can't find stdio.h. So I assume means I haven't installed the correct package(s) for that and the other usual C routines. However when I use synaptic I can't
find a package whose name tells me its what I need as the required library.
Apologies for the ignorance. But can someome remind me? A search with synaptic doesn't show up what's needed.
Jim Lesurf <noise@audiomisc.co.uk> wrote:
Trying to recompile using gcc8 I get an error that tells me it can't
find stdio.h. So I assume means I haven't installed the correct
package(s) for that and the other usual C routines. However when I
use synaptic I can't find a package whose name tells me its what I
need as the required library.
Apologies for the ignorance. But can someome remind me? A search
with synaptic doesn't show up what's needed.
I normally just use https://packages.debian.org/ or https://package.ubuntu.com/ to search for the package with a
particular file in it, but you can also use apt-file:
sudo apt install apt-file
sudo apt-file update
apt-file find /stdio.h
(the / is so you don't match things like 'PREFIXstdio.h', of which
there are a number)
In this case there's quite a few hits, but the one to go for is
libc6-dev.
I've had a new laptop for a while and been using copies of many of my old programmes on it OK. All compiled from 'C' using gcc on older machices.
However I've (re-)hit a problem I've encountered in past years and have forgotten exactly what I need to install to fix it.
xfce Mint distro
Trying to recompile using gcc8 I get an error that tells me it can't find stdio.h. So I assume means I haven't installed the correct package(s) for that and the other usual C routines. However when I use synaptic I can't
find a package whose name tells me its what I need as the required library.
Apologies for the ignorance. But can someome remind me? A search with synaptic doesn't show up what's needed.
Jim Lesurf <noise@audiomisc.co.uk> writes:
I've had a new laptop for a while and been using copies of many of my old
programmes on it OK. All compiled from 'C' using gcc on older machices.
However I've (re-)hit a problem I've encountered in past years and have
forgotten exactly what I need to install to fix it.
xfce Mint distro
Trying to recompile using gcc8 I get an error that tells me it can't find
stdio.h. So I assume means I haven't installed the correct package(s) for
that and the other usual C routines. However when I use synaptic I can't
find a package whose name tells me its what I need as the required library. >>
Apologies for the ignorance. But can someome remind me? A search with
synaptic doesn't show up what's needed.
Others have pointed you at the specific package you need. Personally I
always install build-essential. Technically that is to ensure Debian
packages can be built but it’s a quick way to get the most basic >dependencies for any C/C++ work.
Others have pointed you at the specific package you need. Personally I
always install build-essential. Technically that is to ensure Debian
packages can be built but it's a quick way to get the most basic
dependencies for any C/C++ work.
In this case there's quite a few hits, but the one to go for is
libc6-dev.
Now done I think. But seems to have moved me on to another hurdle.
I'm now told I need libxcb-shape.so.0, but when I do a Synaptic search on libxcb-shape I get two packages listed which are already installed. No
others that aren't.
Others have pointed you at the specific package you need. Personally I >always install build-essential. Technically that is to ensure Debian >packages can be built but it's a quick way to get the most basic >dependencies for any C/C++ work.
Same here. Install once then forget about it :)
In article <20221228112444.325ec3eb@devuan>, Folderol
<general@musically.me.uk> wrote:
Others have pointed you at the specific package you need. Personally I
always install build-essential. Technically that is to ensure Debian
packages can be built but it's a quick way to get the most basic
dependencies for any C/C++ work.
Same here. Install once then forget about it :)
Synaptic seemst to show two packages when I search for "build-essential". Both of which are marked as installed. But I stil get
"libxcb-shape0-dev" and no coconut! :-/
Jim
On 2022-12-29, Jim Lesurf <noise@audiomisc.co.uk> wrote:
In article <20221228112444.325ec3eb@devuan>, Folderol >><general@musically.me.uk> wrote:
Others have pointed you at the specific package you need. Personally I
always install build-essential. Technically that is to ensure Debian
packages can be built but it's a quick way to get the most basic
dependencies for any C/C++ work.
Same here. Install once then forget about it :)
Synaptic seemst to show two packages when I search for "build-essential".
Both of which are marked as installed. But I stil get
"libxcb-shape0-dev" and no coconut! :-/
Jim
On Debian:
$ apt search libxcb-shape
Sorting... Done
Full Text Search... Done
libxcb-shape0/stable,now 1.14-3 amd64
X C Binding, shape extension
libxcb-shape0-dev/stable,now 1.14-3 amd64
X C Binding, shape extension, development files
$ apt install libxcb-shape0-dev
Folderol <general@musically.me.uk> wrote:
Others have pointed you at the specific package you need. Personally
I always install build-essential. Technically that is to ensure
Debian packages can be built but it's a quick way to get the most
basic dependencies for any C/C++ work.
Same here. Install once then forget about it :)
Synaptic seemst to show two packages when I search for "build-essential". Both of which are marked as installed.
But I stil get
"libxcb-shape0-dev" and no coconut! :-/
Jim Lesurf <noise@audiomisc.co.uk> writes:
Folderol <general@musically.me.uk> wrote:
Others have pointed you at the specific package you need. Personally
I always install build-essential. Technically that is to ensure
Debian packages can be built but it's a quick way to get the most
basic dependencies for any C/C++ work.
Same here. Install once then forget about it :)
Synaptic seemst to show two packages when I search for
"build-essential". Both of which are marked as installed.
You're reading it wrong somehow. There's at most one copy of
build-essential installed.
But I stil get
"libxcb-shape0-dev" and no coconut! :-/
I'm not sure what you're try to say here. If you want libxcb-shape0-dev
then install that too.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 58:43:05 |
Calls: | 6,914 |
Calls today: | 4 |
Files: | 12,379 |
Messages: | 5,430,926 |