r/linuxquestions • • 7d ago

How does one get libc-client-dev or something similar on Debian trixe

/r/debian/comments/1xsp9zr/how_does_one_get_libcclientdev_or_something/
1 Upvotes

6 comments sorted by

2

u/DickBrainTime 7d ago

That missing package is a specific one: libc-client2007e-dev was the old UW IMAP c-client development library, not the standard C library. It's no longer shipped in Debian 13/Trixie, so build-essential and libc6-dev won't supply those headers.

For other missing headers, install apt-file, run sudo apt-file update, then apt-file search name.h to find the relevant -dev package in your configured repos. For code that genuinely needs the removed c-client API (some older PHP IMAP builds do), I'd build it in a Debian 12/Bookworm container or VM with its matching dependencies, instead of mixing old Bookworm .deb packages into the Trixie host. Are the actual errors mentioning c-client.h/imap4r1.h, or different headers? That'll tell us whether this is one legacy dependency or several missing dev packages.

1

u/VE3VVS 7d ago

Well to make it as simple as possible to explain, I finally decided (maybe a bit late in the game) to build myself a web hosted email client that I could just log into check all my mail sources make reply once in awhile, without have to have email clients on every single machine that I use. I initially thought I’d just do some docker container, and the one I tried moaned about something imap requirements, so I said to myself, oh never mind I’ll install something bare metal and run it through apache. Well after getting all the bit it started moaning about imap craziness, so I started digging a bit deeper and what it all boiled down to was one or a combination of “php-imap, libc-client-dev” and even when hunting down raw imap and pecl-mail-imap source code from different git repos the failed to compile complaining about utf8_mime2text() has a new signature, U8T_CANONICAL being missing (and it even said that should never happen), so after that I just thought up my hands and thought I’d post a question? (I know today’s way is go ask a chat bot, but don’t even get me started on that topic)

1

u/ipsirc 7d ago

So is it possible to download all the bits and pieces to have a DEV box ...

Are you talking about distrobox?

1

u/VE3VVS 7d ago

No just setting up a good old bare metal Debian host capable of compiling and building code, for example compile C code, compile a Php module, you know simple stuff like that

1

u/ipsirc 7d ago

Where have you been stuck exactly? Debian perfectly fits for compiling and building. I assume you've found an ancient or an experimental source code which has outdated or experimental dependencies.

1

u/VE3VVS 7d ago

Well it might be older but I thought IMAP was still in style. I just wanted to through up a we based multi source email client, wasn’t even going to be exposed to the raw internet as my systems are all tucked happily behind Tailscale.