For Programmers: Free Programming Magazines  


Home > Archive > Tcl > November 2007 > 8.5b3 build failure on FreeBSD 6.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 8.5b3 build failure on FreeBSD 6.2
neuronstorm@gmail.com

2007-11-23, 7:13 pm

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.
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com