This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients amaury.forgeotdarc, giampaolo.rodola, mluis, neologix, ogait87, orsenthil, pitrou, python-dev, rosslagerwall, slanden, vinay.sajip, vstinner
Date 2011-10-07.16:03:55
SpamBayes Score 0.046420384
Marked as misclassified No
Message-id <>
> which would imply that on this system at least, the AF_CAN definition is 
> supposed to come from elsewhere.

Yes, from <bits/socket.h>.
Looks like a crappy libc version: <linux/can.h> is present, but AF_CAN is not defined.
Just for fun, is PF_CAN defined?

You might try the following in
# On Linux, can.h and can/raw.h require sys/socket.h
AC_CHECK_HEADERS(linux/can.h linux/can/raw.h,,,[
#include <sys/socket.h>
#ifndef AF_CAN
# error "AF_CAN not defined"
Date User Action Args
2011-10-07 16:03:56neologixsetrecipients: + neologix, vinay.sajip, amaury.forgeotdarc, orsenthil, pitrou, vstinner, giampaolo.rodola, slanden, rosslagerwall, python-dev, ogait87, mluis
2011-10-07 16:03:56neologixsetmessageid: <>
2011-10-07 16:03:55neologixlinkissue10141 messages
2011-10-07 16:03:55neologixcreate