From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 674 invoked by alias); 9 Mar 2011 05:30:58 -0000 Received: (qmail 665 invoked by uid 22791); 9 Mar 2011 05:30:57 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from qmta11.emeryville.ca.mail.comcast.net (HELO qmta11.emeryville.ca.mail.comcast.net) (76.96.27.211) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Mar 2011 05:30:53 +0000 Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta11.emeryville.ca.mail.comcast.net with comcast id Gnbi1g00B1zF43QABtWsTn; Wed, 09 Mar 2011 05:30:52 +0000 Received: from [192.168.1.100] ([24.7.165.171]) by omta24.emeryville.ca.mail.comcast.net with comcast id GtWo1g0113iC1zs8ktWq6J; Wed, 09 Mar 2011 05:30:50 +0000 Message-Id: <0073C6DD-2FB7-4CD5-B9A9-082106E4ADC2@comcast.net> From: Ed To: insight@sourceware.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Insight GUI dies immediately after starting Date: Wed, 09 Mar 2011 05:30:00 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00017.txt.bz2 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