| neuronstorm@gmail.com 2007-11-23, 7:13 pm |
| On Nov 23, 5:18 pm, "neuronst...@gmail.com" <neuronst...@gmail.com>
wrote:
> Hi,
> Attempting to build 8.5b3 checked out today on FreeBSD 6.2
> I get the message below. Any tips?
>
> The procedure I used is the same I've always used successfully in the
> past on FreeBSD
> %setenv CC gcc
> %cd tcl/unix
> %./configure --enable-threads --prefix=/tcl
> make
>
> TCL_UNLOAD_DLLS=1 /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/
> tclUnixChan.c
> /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/tclUnixChan.c: In
> function `CreateSocketAddress':
> /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/tclUnixChan.c:2689:
> error: `EAI_ADDRFAMILY' undeclared (first use in this function)
> /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/tclUnixChan.c:2689:
> error: (Each undeclared identifier is reported only once
> /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/tclUnixChan.c:2689:
> error: for each function it appears in.)
> /usr/local/buildtcl/8.5b3_1/tcl/unix/../unix/tclUnixChan.c:2690:
> error: `EAI_NODATA' undeclared (first use in this function)
> *** Error code 1
>
> Stop in /usr/local/buildtcl/8.5b3_1/tcl/unix.
I managed to get it to build by editing tclUnixChan using the info I
found here:
http://fixunix.com/kerberos/60907-c...ed-patches.html
Cheers,
Julian
|