From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11322 invoked by alias); 11 Nov 2010 22:21:47 -0000 Received: (qmail 11311 invoked by uid 22791); 11 Nov 2010 22:21:44 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from nm8.bullet.mail.sp2.yahoo.com (HELO nm8.bullet.mail.sp2.yahoo.com) (98.139.91.78) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 11 Nov 2010 22:21:39 +0000 Received: from [98.139.91.68] by nm8.bullet.mail.sp2.yahoo.com with NNFMP; 11 Nov 2010 22:21:37 -0000 Received: from [98.139.91.16] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 11 Nov 2010 22:21:37 -0000 Received: from [127.0.0.1] by omp1016.mail.sp2.yahoo.com with NNFMP; 11 Nov 2010 22:21:37 -0000 Received: (qmail 56543 invoked by uid 60001); 11 Nov 2010 22:21:36 -0000 Message-ID: <772464.56246.qm@web110203.mail.gq1.yahoo.com> Received: from [92.129.76.87] by web110203.mail.gq1.yahoo.com via HTTP; Thu, 11 Nov 2010 14:21:35 PST Date: Thu, 11 Nov 2010 22:21:00 -0000 From: Clemens Valens Subject: Re: Build failure on MinGW To: insight@sourceware.org In-Reply-To: <672571.17578.qm@web110215.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q4/txt/msg00007.txt.bz2 I managed to get a bit further by putting my TCL/TK build results in the Mi= nGW\msys\1.0\lib (.a & .sh) and MinGW\msys\1.0\bin (dll & exe) folders. Now= I have this error: gcc -DHAVE_CONFIG_H -I. -I../../../insight-7.0.50-20091130/libgui/src -I.. = -I/home/mips/arm-none-eabi/include -I/home/mips/arm-none-eabi/install/tcl8= .5.9/generic -I/home/mips/arm-none-eabi/install/tcl8.5.9/win -I/home/mips/a= rm-none-eabi/install/tk8.5.9/generic -I/home/mips/arm-none-eabi/install/tk8= .5.9/win -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION= =3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DSTDC_HEADERS= =3D1 -DHAVE_NO_SEH=3D1 -DEXCEPTION_DISPOSITION=3D int -DHAVE_WINNT_IGNORE_VOID=3D1 -DHAVE_ALLOCA_GCC_INLINE=3D1 -DHAVE_CAST_T= O_UNION=3D1 -DTCL_CFGVAL_ENCODING=3D\"cp1252\" -DHAVE_SYS_TYPES_H=3D1 -DHAV= E_SYS_STAT_H=3D1 -DHAV E_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1= -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DTCL_CFG_OP= TIMIZED=3D1 -DTCL_CFG_DEBUG=3D1 -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D= \"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE _STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP= ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA= VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H= =3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_UXTHEME_ H=3D1 -DTCL_CFG_OPTIMIZED=3D1 -DTCL_CFG_DEBUG=3D1 -DTBL_VERSION=3D\"2.7\" = -DTBL_COMMAND=3D\"table\" -DTBL_RUNTIME=3D\"tkTable.tcl\" -DTBL_RUNTIME_DIR= =3D\"/home/mips/arm-none -eabi/share/redhat/gui\" -DSTATIC_BUILD -g -O2 -D__USE_MINGW_ACCESS -c .= ./../../insight-7.0.50-20091130/libgui/src/tclwinprint.c In file included from ../../../insight-7.0.50-20091130/libgui/src/tclwinpri= nt.c:13:0: C:/MinGW/msys/1.0/home/mips/arm-none-eabi/install/tk8.5.9/generic/tk.h:78:2= 3: fatal error: X11/Xlib.h: No such file or directory compilation terminated. make[4]: *** [tclwinprint.o] Error 1 make[4]: Leaving directory `/home/mips/arm-none-eabi/install/build/libgui/s= rc' make[4]: Entering directory `/home/mips/arm-none-eabi/install/build/libgui' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mips/arm-none-eabi/install/build/libgui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mips/arm-none-eabi/install/build/libgui' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mips/arm-none-eabi/install/build/libgui' make[1]: *** [all-libgui] Error 2 make[1]: Leaving directory `/home/mips/arm-none-eabi/install/build' make: *** [all] Error 2 I do have a file tk8.5.9/xlib/X11/Xlib.h Do I have to set a path or something? Clemens --- On Thu, 11/11/10, Clemens Valens wrote: > From: Clemens Valens > Subject: Re: Build failure on MinGW > To: "Keith Seitz" > Cc: insight@sourceware.org > Date: Thursday, November 11, 2010, 7:05 PM > I tried to follow the instructions > from here (including CVS snaphot): > http://sourceware.org/ml/insight/2010-q3/msg00015.html > but they are not detailed enough for me. > I installed ActiveTCL and did manage to compile TCL & > TK without errors on MinGW, but what am I supposed to do > with it? (I am unfortunately not a linux specialist.) >=20 > The build now fails with this error: >=20 > Configuring in ./libgui >=20 > >=20 > checking for Tcl configuration... configure: WARNING: Can't > find Tcl configurati > on definitions > checking for existence of # no Tcl configs > found/tclConfig.sh... could not find > # no Tcl configs found/tclConfig.sh > checking for Tk configuration... configure: WARNING: Can't > find Tk configuration > definitions > checking for existence of # no Tk configs > found/tkConfig.sh... could not find # > no Tk configs found/tkConfig.sh > checking for Tcl headers... configure: error: could not > find Tcl headers > make[1]: *** [configure-libgui] Error 1 > make[1]: Leaving directory > `/home/mips/arm-none-eabi/install/build' > make: *** [all] Error 2 >=20 > I guess I can fix this if only I knew what to do with my > TCL/TK build. >=20 > Clemens >=20 >=20 >=20 > =A0 =A0 =A0=20 >=20