[Gross] Can't run configure on system with glibc-2.7

Eino Tuominen eino at utu.fi
Tue Dec 9 13:33:39 EET 2008


Steve wrote:
>
> checking for library containing sem_init... no
> configure: error: Can't compile without semaphores.
> tisiphone ~ # 
> ----
> 
> But everyting is there:
> ----
> tisiphone ~ # grep -R "sem_init" /usr/include/
> /usr/include/semaphore.h:extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value)
> tisiphone ~ # ls -lah /usr/include/semaphore.h
> -rw-r--r-- 1 root root 2.5K Dec  7 13:20 /usr/include/semaphore.h
> tisiphone ~ #
> ----

Hi,

Check config.log first. There you should find the test program configure 
is trying to compile. It may be that configure is unable to find the 
library function for some reason.

-- 
   Eino Tuominen



More information about the Gross mailing list