diff options
-rw-r--r-- | Distrib/PortingIssues.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Distrib/PortingIssues.mdwn b/Distrib/PortingIssues.mdwn index a39e56a8..d32a03c6 100644 --- a/Distrib/PortingIssues.mdwn +++ b/Distrib/PortingIssues.mdwn @@ -115,6 +115,10 @@ Change it to use termios.h (check for it properly with autoconf HAVE\_TERMIOS\_H The autoconf check for AC\_HEADER\_TERMIO tryes to check tfor termios, but it's only really checking for termio in termios.h. It is better to use AC\_CHECK\_HEADERS(termio.h termios.h) +## <a name="broken_libc6_dependency"> broken libc6 dependency </a> + +Some packages use an erroneous dependency on libc6-dev. This is incorrect because libc6 is specific to GNU/Linux. The corresponding package for GNU is libc0.3-dev but other OSes will have different ones. You can locate the problem in the debian/control file of the source tree. Typical solutions include detecting the OS using dpkg-architecture and hardcoding the soname, or better, use a logical OR. eg: libc6-dev | libc0.3-dev | libc-dev. The libc-dev is a virtual package that works for any soname but you have to put it only as the last option. + -- [[Main/RobertMillan]] - 22 Jul 2002 Formatting and minor grammatical fixes. @@ -128,3 +132,7 @@ Added more examples and misc semantical fixes. Added xgethostname example. -- [[Main/RobertMillan]] - 15 Nov 2002 + +Added broken libc6 dependency + +-- [[Main/RobertMillan]] - 21 Nov 2002 |