# configure: error: cannot compute sizeof (long long), 77

**URL:** https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379
**Category:** Zeek
**Created:** [September 10, 2008, 3:22pm UTC](https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379 "2008-09-10T15:22:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jim\_Bo](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@Jim\_Bo](https://community.zeek.org/u/Jim_Bo)
#### Post date: [September 10, 2008, 3:22pm UTC](https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379/1 "2008-09-10T15:22:27Z")

</div>

I am trying to install BRO-1.3.2 and I get the following error when I run ./configure:

checking for union semun… no  
checking for struct sembuf… yes  
checking for struct sockaddr\_in.sin\_len… no  
checking for long long… yes  
checking size of long long… configure: error: cannot compute sizeof (long long), 77

I can install version 1.2 without problems. Does anyone know how to solve this error? The error also happens  
with 1.4

Thanks,  
Jimbo

---

<div class="post-metadata">

### Author: ![Christian\_Kreibich3](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@Christian\_Kreibich3](https://community.zeek.org/u/Christian_Kreibich3)
#### Post date: [September 11, 2008, 11:28am UTC](https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379/2 "2008-09-11T11:28:06Z")

</div>

Hi,

> I am trying to install BRO-1.3.2

On what platform and using which compiler version?

> and I get the following error when I run ./configure:
> 
> checking for union semun... no  
> checking for struct sembuf... yes  
> checking for struct sockaddr\_in.sin\_len... no  
> checking for long long... yes  
> checking size of long long... configure: error: cannot compute sizeof  
> (long long), 77

Could you post or send to me the relevant part of config.log? (Do a  
quick search for "long long" in it; in your case it should be right at  
the end of the file.) Usually what happens in situations like yours is  
that an earlier problem spills over into the flags passed into  
subsequent build checks.

---

<div class="post-metadata">

### Author: ![Christian\_Kreibich3](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@Christian\_Kreibich3](https://community.zeek.org/u/Christian_Kreibich3)
#### Post date: [September 13, 2008, 9:19am UTC](https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379/3 "2008-09-13T09:19:24Z")

</div>

Fyi, Jim has indicated to me that he solved the problem by changing his  
dynamic linker search path, which suggests the problem was indeed rooted  
elsewhere. While I know no further details, it's likely the termcap  
linking problem that has crept up before:

[http://mailman.icsi.berkeley.edu/pipermail/bro/2006-June/002427.html](http://mailman.icsi.berkeley.edu/pipermail/bro/2006-June/002427.html)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:38pm UTC](https://community.zeek.org/t/configure-error-cannot-compute-sizeof-long-long-77/1379/4 "2022-05-06T15:38:38Z")

</div>


