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.

classification
Title: config.h defines socklen_t, kills wxPython build
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: jhylton Nosy List: dubois, gvanrossum, jhylton
Priority: high Keywords:

Created on 2000-08-30 19:51 by dubois, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (4)
msg1144 - (view) Author: Paul F. Dubois (dubois) (Python triager) Date: 2000-08-30 19:51
Building wxPython fails with 1.6  because config.h defines socklen_t; according to a comment, it checks sys/types.h. But /usr/include/bits/socket.h on Linux at least, tries to make a typedef with this name.

msg1145 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-09-04 04:08
Could this be dependent on the Linux version? It seems my config.h had socklen_t defined on Red Hat 6.1, but it is undefined on Red Hat 6.2 (which would fix your problem if I understand it correctly).

What platform are you using?
msg1146 - (view) Author: Paul F. Dubois (dubois) (Python triager) Date: 2000-09-04 05:10
My system is 6.1 I think. (I didn't install it.) 
Here is uname -a:
Linux bruno.llnl.gov 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT 1999 i686 unknown
msg1147 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-09-13 11:21
Jeremy, you still have Red Hat 6.1, right?
Can you reproduce this? Run configure, and check config.h.
If it defines socklen_t, the bug is there.

It may be possible to fix the test for socklen_t by using AC_TRY_COMPILE() of a test program. This is done for example for uintptr_t. (The current test uses AC_CHECK_TYPE which only greps through CPP output.) A good way to learn more about autoconf. :-)
History
Date User Action Args
2022-04-10 16:02:20adminsetgithub: 33016
2000-08-30 19:51:39duboiscreate