Ticket Change Details
Overview

Artifact ID: 7296aa4c4e1b463776bb93c197285277ca900d52
Ticket: 920fc74cb0973b937d938705dfc20b2ab5c3bd75
kitcreator default action failing on sparc solaris 10
User & Date: rkeene on 2011-02-27 05:03:47
Changes

  1. comment changed to:
    <tt>
    I downloaded the code Feb 18, 2011. I execute it on a SPARC Solaris 10 system.
    I see this:
    $ ./kitcreator
    Building tcl ...File to patch: 
    
    I have no idea what file should be provided to the patch command.
    I suspect the code is dependant on a version of gnu patch newer than Solaris 10 has installed as "patch". Solaris 10 does have a "gpatch" that appears to be gnu patch 2.5.4 .  I suspect that one will work... well, not simply by making it earlier in the path.  So, I grepped and found a note in README about setting environment variables. 
    
    Setting MAKE and PATCH got past the prompt, but now the tcl build fails, and the rest of the package attempts to build, but cannot find the info from tcl to successfully do so.  Perhaps the script should stop if the Tcl configuration definitions are not created during the tcl build step.
    
    Anyways, here's the problem with the tcl step:
    
    gcc -c -O  -pipe  -DTCL_DBGX= -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I. -I/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/../generic -I/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DSTATIC_BUILD=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\"   -DUSE_TCLALLOC=0 /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/../generic/tclAlloc.c
    In file included from /usr/include/sys/signal.h:34,
                     from /usr/include/signal.h:26,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/tclUnixPort.h:45,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclPort.h:27,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclAlloc.c:29:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    
    
    In file included from /usr/include/signal.h:26,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/tclUnixPort.h:45,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclPort.h:27,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclAlloc.c:29:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/tclUnixPort.h:45,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclPort.h:27,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclAlloc.c:29:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    In file included from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/unix/tclUnixPort.h:117,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclPort.h:27,
                     from /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/generic/tclAlloc.c:29:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    gmake: *** [tclAlloc.o] Error 1
    
    then, things continue in the build script, hitting these errors:
    
    configure: error: Required resource tool 'windres' not found on PATH.
    Running: gmake
    gmake: *** No targets specified and no makefile found.  Stop.
    Running: ./configure --disable-shared --with-encoding=utf-8 --prefix="/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/inst"
    ./build.sh: line 106: ./configure: No such file or directory
    Running: gmake
    awk: illegal statement 603400
     record number 11
    gmake tcl \
            BUILD_STYLE=Development CONFIGURE_ARGS=--enable-symbols
    awk: illegal statement 603400
     record number 11
    
    
    gmake[2]: Entering directory `/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx'
    mkdir -p /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx/../../build/tcl/Development && cd /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx/../../build/tcl/Development && \
            if [ /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx/../unix/configure -nt config.status ]; then /tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx/../unix/configure \
            --prefix=/usr/local --bindir=/usr/local/bin --libdir=/Library/Frameworks \
            --mandir=/usr/local/man --enable-threads --enable-framework --enable-dtrace \
            --enable-symbols ; else ./config.status; fi
    /bin/sh: test: unknown operator -nt
    gmake[2]: *** [/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx/../../build/tcl/Development/Makefile] Error 1
    gmake[2]: Leaving directory `/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx'
    gmake[1]: *** [tcl] Error 2
    gmake[1]: Leaving directory `/tmp/.lwv/kitcreator/kitcreator-0.5.3/tcl/build/tcl8.4.19/macosx'
    gmake: *** [develop] Error 2
    </tt>
    
    <hr /><i>rkeene added on 2011-02-27 04:53:48 UTC:</i><br />
    It builds here:
    <pre>
    $ uname -a
    SunOS build 5.10 Generic_142909-17 sun4u sparc SUNW,SPARC-Enterprise
    $ ./kitcreator
    Building tcl ... done.
    Building tclvfs ... done.
    Building zlib ... done.
    Building tk ... done.
    Building itcl ... done.
    Building mk4tcl ... done.
    Building kitsh ... done.
    $ ls -l tclkit-8.4.19
    -rwxr-xr-x   1 rkeene users    2480068 Feb 26 20:40 tclkit-8.4.19
    $
    </pre>
    
    I'm looking into the errors you are getting.