Insight GUI dies immediately after starting

Ed <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
> Hi:
> System is Mac OS X (10.5.8)
> Insight and all other AVR tools compiled and install in /usr/local/avr
> When starting Insight I used to get the usual display concerning bad  
> paths to Itcl & Itk, so I made this short script to setup the paths  
> correctly:
>
> export PATH="$PATH:${DESTDIR}/bin"
> export  LD_LIBRARY_PATH=/usr/local/avr/lib:/usr/local/avr/i386-apple- 
> darwin9.8.0/avr/lib:/usr/local/avr/i386-apple-darwin9.8.0/avr/include
> export  LD_RUN_PATH=/usr/local/avr/lib
> export ITCL_LIBRARY=/usr/local/avr/share/itcl3.2
> export ITK_LIBRARY=/usr/local/avr/share/itk3.2
>
> exec avr-insight
>
> When avr-insight is executed I see an Icon in the dock very briefly  
> and then it disappears, and then nothing.  So I looked in the logs  
> and found this:
>
> Mar 08 20:52:36  [196] kCGErrorIllegalArgument:  
> CGXSetWindowListTags: Operation on a window 0x6 not owned by caller  
> avr-insight
>
> Any idea as to what's going on?
>
> Here is the configure script:
>
>
> DESTDIR="/usr/local/avr"
>
> COMMON_CFG="--target=avr --prefix=${DESTDIR} -v"
> INSIGHT_CFG="--program-prefix=avr- --with-gnu-ld --with-gnu-as -- 
> quiet --disable-werror --disable-nls --with-tcl=/Library/Frameworks/ 
> Tcl.framework --with-tk=/Library/Frameworks/Tk.framework "
>
> # Install Insight
>
>  echo "Building insight..." >> make.log
>  cecho "${GREEN}Building INSIGHT..."
>  cd /Users/freddie/avrtoochain/build-avr/insight-6.8-1
>  if [[ -d buildavr ]]; then
>    rm -rf buildavr  #remove the build directory if its there.
>  fi
>  mkdir buildavr
>  cd buildavr
>  CFLAGS="-m32 -g" ../configure ${COMMON_CFG} ${INSIGHT_CFG} >> ../ 
> make.log 2>&1
>  cerror "Insight configure failed"
>  cecho "${GREEN}Configure was successful..."
>
>  make ${MAKEFLAGS} all >> ../make.log 2>&1
>  cerror "Insight make failed"
>  cecho "${GREEN}Make was successful..."
>
>  make install >> ../make.log 2>&1
>  cerror "Insight make install failed"
>
>  cecho "${GREEN}Completed installing Insight"
>  echo "Completed installing Insight" >> make.log
>  echo "___________________"  >> make.log
>
> exit 0
>
>
> The configure when fine as well as the make and make install
>
> Any help would be much appreciated.
> Thanks,
> Ed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.