public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* error build sid on cygwin
@ 2004-10-24 12:55 we
  2004-10-24 14:03 ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: we @ 2004-10-24 12:55 UTC (permalink / raw)
  To: sid

I am trying to build SID,  and I get the following error.

I am using:
 cygwin 1.5.11-1  
 gcc version 3.3.3-3
 w32api-3.1-1

Here is the offending stuff from make.out:

creating Makefile
creating tclConfig.sh
creating tcl.hpj
configuring in cygwin
running /bin/sh ./configure  --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --prefix=/opt/sid --program-transform-name=s,y,y, --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... (cached) yes
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) .exe
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c
updating cache .././config.cache
creating ./config.status
creating Makefile
creating tclConfig.sh
make[1]: Entering directory `/cygdrive/h/bak/src-041024/tcl'
make[2]: Entering directory `/cygdrive/h/bak/src-041024/tcl/win'
gcc -c -g -O2  -Wall -Wconversion  -I"./../generic" -I"." -mwin32   -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int   -DBUILD_tcl "tclWin32Dll.c" -o tclWin32Dll.o
In file included from ../win/tclWinPort.h:72,
                 from ../generic/tclPort.h:22,
                 from tclWinInt.h:21,
                 from tclWin32Dll.c:15:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated macros have been defined in sys/types.      This may cause runtime problems with W32 sockets"
tclWin32Dll.c:54: error: initializer element is not constant
tclWin32Dll.c:54: error: (near initialization for `asciiProcs.buildCommDCBProc')
tclWin32Dll.c:55: error: initializer element is not constant
tclWin32Dll.c:55: error: (near initialization for `asciiProcs.charLowerProc')
tclWin32Dll.c:56: error: initializer element is not constant
tclWin32Dll.c:56: error: (near initialization for `asciiProcs.copyFileProc')
tclWin32Dll.c:122: error: initializer element is not constant
tclWin32Dll.c:122: error: (near initialization for `unicodeProcs.searchPathProc')
tclWin32Dll.c:123: error: initializer element is not constant
tclWin32Dll.c:123: error: (near initialization for `unicodeProcs.setCurrentDirectoryProc')
tclWin32Dll.c:124: error: initializer element is not constant
tclWin32Dll.c:124: error: (near initialization for `unicodeProcs.setFileAttributesProc')
tclWin32Dll.c:41: warning: `ESP' defined but not used
tclWin32Dll.c:42: warning: `EBP' defined but not used
tclWin32Dll.c:403: warning: `_except_checkstackspace_handler' defined but not used
make[2]: *** [tclWin32Dll.o] Error 1
make[2]: Leaving directory `/cygdrive/h/bak/src-041024/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/h/bak/src-041024/tcl'
make: *** [all-tcl] Error 2
I have used the new cvs version and the snapshot-20041016, and it seems the same.

could someone help?


----------------------------------------------
À¬»øÓʼþ vs À¬»øɱÊÖ£¬whoÅÂwho£¿ 
http://www.polesoft.com/china/index_21cn.html 
Òƶ¯¿¨À²ok£¬¶À¼ÒÊÔ³ª 
http://mms.21cn.com/ring/ring.jsp 
רÌ⣺ÕÔޱָʹ˾»ú´òÈËʼþ 
http://news.21cn.com/social/ 
21CNÉÌÎñÓÊÏäÎåÒ»8ÕÛÓŻݣ¬·áºñ½±Æ·µÈÄãÄà 
http://mail.21cn.com/huodong/0405/business/detail.html 
ÆóÒµÓÊÏäÏÄÈÕ´óÓŻݣ¬ÊÖ»ú¡¢MP3¼´Ê±ËÍ 
http://mail.21cn.com/huodong/0405/corpmail/ 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error build sid on cygwin
  2004-10-24 12:55 error build sid on cygwin we
@ 2004-10-24 14:03 ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2004-10-24 14:03 UTC (permalink / raw)
  To: we; +Cc: sid

Hi -


> I am trying to build SID,  and I get the following error.
> [...]
> make[2]: Entering directory `/cygdrive/h/bak/src-041024/tcl/win'
> gcc -c -g -O2  -Wall -Wconversion  -I"./../generic" -I"." -mwin32   -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int   -DBUILD_tcl "tclWin32Dll.c" -o tclWin32Dll.o
> In file included from ../win/tclWinPort.h:72,
>                  from ../generic/tclPort.h:22,
>                  from tclWinInt.h:21,
>                  from tclWin32Dll.c:15:
> /usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated macros have been defined in sys/types.      This may cause runtime problems with W32 sockets"
> tclWin32Dll.c:54: error: initializer element is not constant
> [...]

That's odd in that I would expect the UNIX / cygwin port of tcl to be
selected, not the Windows one, in such a configuration.  Maybe some
major src/tcl replacement has occurred that broke this logic.

I recommend removing (!) the tcl and tk subdirectories from the sid
sources, then configuring anew.  In this case, the configury should
attempt to find the system's tcl libraries (if any), and failing that,
it should just omit the tcl-bridge component.


- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

* error build sid on cygwin
@ 2004-10-24 16:59 we
  0 siblings, 0 replies; 3+ messages in thread
From: we @ 2004-10-24 16:59 UTC (permalink / raw)
  To: sid

Thank for your help!
I do as you say, and i'm sure already had the tcl84 installed,but i still get this error :

 Considering target file `maybe-all-tcl'.
         File `maybe-all-tcl' does not exist.
         Finished prerequisites of target file `maybe-all-tcl'.
        Must remake target `maybe-all-tcl'.
        Successfully remade target file `maybe-all-tcl'.
        Considering target file `maybe-all-expect'.
         File `maybe-all-expect' does not exist.
          Considering target file `all-expect'.
           File `all-expect' does not exist.
            Considering target file `configure-expect'.
             File `configure-expect' does not exist.
              Considering target file `maybe-configure-tcl'.
               File `maybe-configure-tcl' does not exist.
               Finished prerequisites of target file `maybe-configure-tcl'.
              Must remake target `maybe-configure-tcl'.
              Successfully remade target file `maybe-configure-tcl'.
              Considering target file `maybe-configure-tk'.
               File `maybe-configure-tk' does not exist.
               Finished prerequisites of target file `maybe-configure-tk'.
              Must remake target `maybe-configure-tk'.
              Successfully remade target file `maybe-configure-tk'.
             Finished prerequisites of target file `configure-expect'.
            Must remake target `configure-expect'.
Putting child 0x1001e6c0 (configure-expect) PID 868 on the chain.
Live child 0x1001e6c0 (configure-expect) PID 868 
Configuring in expect
configuring Expect 5.26.0
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking shell to use within Make... /bin/sh
checking for Tcl configuration... configure: warning: Can't find Tcl configuration definitions
.: Can't open #: No such file or directory



----------------------------------------------
À¬»øÓʼþ vs À¬»øɱÊÖ£¬whoÅÂwho£¿ 
http://www.polesoft.com/china/index_21cn.html 
Òƶ¯¿¨À²ok£¬¶À¼ÒÊÔ³ª 
http://mms.21cn.com/ring/ring.jsp 
רÌ⣺ÕÔޱָʹ˾»ú´òÈËʼþ 
http://news.21cn.com/social/ 
21CNÉÌÎñÓÊÏäÎåÒ»8ÕÛÓŻݣ¬·áºñ½±Æ·µÈÄãÄà 
http://mail.21cn.com/huodong/0405/business/detail.html 
ÆóÒµÓÊÏäÏÄÈÕ´óÓŻݣ¬ÊÖ»ú¡¢MP3¼´Ê±ËÍ 
http://mail.21cn.com/huodong/0405/corpmail/ 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-24 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-24 12:55 error build sid on cygwin we
2004-10-24 14:03 ` Frank Ch. Eigler
2004-10-24 16:59 we

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).