gnupic: Re: [gnupic] gpsim
Subject:
Re: [gnupic] gpsim
From:
Scott Dattalo ####@####.####
Date:
9 Jan 2007 01:23:53 +0000
Message-Id: <45A2EE6E.1020602@dattalo.com>
####@####.#### wrote:
> Scott,
> I just repeated the install and get identical failures. System is a Centrino Duo running
> and up to date Fedora Core 5.
>
Hi George,
I was able to duplicate *some* of this behavior and have determined that
in my case the problem is with gtkextra. In my case, I just installed
FC6 and used a copy of gtkextra from one of my old linux setups. This
built and installed just fine, but gpsim segfaults whenever the register
window is resized. So, I removed this version of gtkextra and installed
the one Borut create for gpsim Win32:
http://gpsim.sourceforge.net/gpsimWin32/gpsimWin32.html
and in particular:
http://gpsim.sourceforge.net/gpsimWin32/packages/gtk+extra-2.1.1-src-20060611.zip
Unfortunately, the text files use DOS end-of-line termination. So after
unzipping the file I ran dos2unix in the gtkextra directory. Here's a
copy of my history:
7XX mkdir gtk+extra-2.1.1
<snip>
715 mv gtk+extra-2.1.1-src-20060611.zip gtk+extra-2.1.1
716 cd gtk+extra-2.1.1
717 ls
718 unzip gtk+extra-2.1.1-src-20060611.zip
<snip>
729 dos2unix *
730 ls
731 ./configure
732 make
733 ls
734 aclocal
735 libtoolize --force
736 autoheader
737 automake
738 automake --add-missing
739 autoconf
740 ls
741 rm d2utmppUXY2J
742 ./configure
743 make
744 make install
The command at 741 is removing the failed result of dos2unix trying to
convert a directory.
After this I rebuilt gpsim and the register window resizes correctly.
Now I realize that you're having problems with the breadboard resizing
and not the register window. So here are a couple of things to try:
1) remove the file ~/.gpsim
This removes the history of the window states.
2) Invoke gpsim with no PIC source. Then open the breadboard window and
resize it to the size you like. Quit gpsim and then restart it with the
graphics LCD code. This should at least allow you to use gpsim.
If (1) fixes then I'll say your .gpsim file got corrupted. Solution (2)
is only a work around. I'd still recommend installing win32 version of
gtkextra though.
----
I don't know what to say about the 'install.sh' problem. Did you try
recreating configure.in using the commands I wrote in the previous message?
Scott