Error with type socklen_t in building Guile on CentOS

Asked 2 years ago, Updated 2 years ago, 104 views

In CentOS 6.9 (real machine), ./configure
when trying to build guide-2.2.2 running

checking for socklen_t...no
checking for socklen_tequivalent...configure:error:Cannot find a type to use in place of socklen_t

An anomaly with appears.config.log is the last line,

#define GNULIB_TEST_SOCKET1

configure:exit1

I don't know the details of the abnormality or what needs to be done.
As for the socklen_t type, I have deployed gcc 4.4.7 as a package, so I don't think there is a problem with the library.
Could you tell me how to solve this problem?

OS: CentOS 6.9x86_64GNU/Linux
gcc: gcc 4.4.7 (Current; actually, I needed a guide to update this)
guide —1.8.7 (currently)

centos gcc

2022-09-30 16:49

1 Answers

Based on the advice in the comments, I used the latest gcc7 built outside, and it was successfully compiled.
It remains a mystery that no information was displayed in this config.log.

This post was posted as a community wiki based on @cmplstofB's comments.


2022-09-30 16:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.