public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Insight GUI dies immediately after starting
@ 2011-03-09  5:30 Ed
  0 siblings, 0 replies; 2+ messages in thread
From: Ed @ 2011-03-09  5:30 UTC (permalink / raw)
  To: insight

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

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

* Insight GUI dies immediately after starting
@ 2011-03-09  5:29 Ed
  0 siblings, 0 replies; 2+ messages in thread
From: Ed @ 2011-03-09  5:29 UTC (permalink / raw)
  To: insight


> 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

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

end of thread, other threads:[~2011-03-09  5:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-09  5:30 Insight GUI dies immediately after starting Ed
  -- strict thread matches above, loose matches on Subject: below --
2011-03-09  5:29 Ed

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).