public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Ed <sbfreddie@comcast.net>
To: insight@sourceware.org
Subject: Insight GUI dies immediately after starting
Date: Wed, 09 Mar 2011 05:30:00 -0000	[thread overview]
Message-ID: <0073C6DD-2FB7-4CD5-B9A9-082106E4ADC2@comcast.net> (raw)

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

             reply	other threads:[~2011-03-09  5:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09  5:30 Ed [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-09  5:29 Ed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0073C6DD-2FB7-4CD5-B9A9-082106E4ADC2@comcast.net \
    --to=sbfreddie@comcast.net \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).