From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31345 invoked by alias); 9 Mar 2011 05:29:26 -0000 Received: (qmail 31173 invoked by uid 22791); 9 Mar 2011 05:29:23 -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 qmta09.emeryville.ca.mail.comcast.net (HELO qmta09.emeryville.ca.mail.comcast.net) (76.96.30.96) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Mar 2011 05:29:15 +0000 Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta09.emeryville.ca.mail.comcast.net with comcast id Gt6k1g0031smiN4A9tVEm6; Wed, 09 Mar 2011 05:29:14 +0000 Received: from [192.168.1.100] ([24.7.165.171]) by omta20.emeryville.ca.mail.comcast.net with comcast id GtVB1g00l3iC1zs8gtVCwZ; Wed, 09 Mar 2011 05:29:13 +0000 Message-Id: <92A70827-848F-4BA6-A637-82CB651511F5@comcast.net> From: Ed To: insight@sources.redhat.com 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:29: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/msg00016.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