Hi all,
Paolo, don't works. I did: sudo make uninstall make clean ./configure make CFLAGS=-g sudo make install And when I try to load GTK package: st> PackageLoader fileInPackage: 'GTK' Loading package GTK Xlib: extension "RANDR" missing on display "/tmp/launch-4N4f3C/:0". Recompiling classes... Recompiling class: GTK.GtkRequisition class Recompiling classes... Recompiling classes... Recompiling classes... Recompiling class: GTK.GdkEventButton class Recompiling classes... Recompiling class: GTK.GdkEventMotion class Recompiling classes... Recompiling class: GTK.GdkEventConfigure class "Global garbage collection... done, heap grown" "Global garbage collection... done, heap grown" Object: CFunctionDescriptor new: 1 "<0x139ba88>" error: Invalid C call- out g_gtype_get_type SystemExceptions.CInterfaceError(Smalltalk.Exception)>>signal (AnsiExcept.st:216) SystemExceptions.CInterfaceError class(Smalltalk.Exception class)>>signal: (AnsiExcept.st:79) Smalltalk.CFunctionDescriptor(Smalltalk.CCallable)>>callInto: (CCallable.st:165) Smalltalk.UndefinedObject>>getType (GTK.star#VFS.ZipFile/Funcs.st:1) optimized [] in GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/ GtkDecl.st:94) Smalltalk.OrderedCollection(Smalltalk.SequenceableCollection)>>do: (SeqCollect.st:822) GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/GtkDecl.st:94) Smalltalk.UndefinedObject>>executeStatements (GTK.star#VFS.ZipFile/ GtkImpl.st:461) PackageLoader st> gtype-nightmare stills there Tomorrow more.... Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 08/18/2009 01:08 AM, Giuseppe Luigi Punzi Ruiz wrote:
> Hi all, > > Paolo, don't works. I have no clue. The fact that I could make it work on your machine (at least I got it to load GTK and run a sample program, even though I saw no window because I had no X display) just reinforces my convincement that it's a MacPorts problem. > ./configure Try "./configure --prefix=/opt/local" here. But I think you already tried and it did not work. Seriously, however, I cannot understand why it is so complicated. On my older Mac it worked flawlessly. Sorry, but at this point I'm not sure how much I care. If I have to spent time on this, I'd rather add some mechanism that allows to take an image done for Linux and move it say to Mac OS X with GTK-OSX. And hope it works for you. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Giuseppe
I will try it later at home.
Thanks otherwise. Enviado usando Real Mail de Vodafone. -----Original Message----- From: "Paolo Bonzini" <[hidden email]> Sent: Tue, 18 Aug 2009 07:01:45 +0200 To: "Giuseppe Luigi Punzi Ruiz" <[hidden email]> CC: "GNU Smalltalk" <[hidden email]> Received: 18-Aug-2009 07:01:58 +0200 Subject: Re: OSX versus GST+GTK On 08/18/2009 01:08 AM, Giuseppe Luigi Punzi Ruiz wrote: > Hi all, > > Paolo, don't works. I have no clue. The fact that I could make it work on your machine (at least I got it to load GTK and run a sample program, even though I saw no window because I had no X display) just reinforces my convincement that it's a MacPorts problem. > ./configure Try "./configure --prefix=/opt/local" here. But I think you already tried and it did not work. Seriously, however, I cannot understand why it is so complicated. On my older Mac it worked flawlessly. Sorry, but at this point I'm not sure how much I care. If I have to spent time on this, I'd rather add some mechanism that allows to take an image done for Linux and move it say to Mac OS X with GTK-OSX. And hope it works for you. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 08/18/2009 08:38 AM, Giuseppe Luigi Punzi Ruiz wrote:
> I will try it later at home. > > Thanks otherwise. Actually you may want to try with no /opt/local at all first (after pulling from git), using the GTK OSX installation you have on your machine. This will give a hint as to who to blame. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Giuseppe
I think I don't understand you :-/
I didn't use prefix /opt/local never At the moment, I have the folder clean, ready to pull, and configure etc... How you want I build it? Enviado usando Real Mail de Vodafone. -----Original Message----- From: "Paolo Bonzini" <[hidden email]> Sent: Tue, 18 Aug 2009 08:56:17 +0200 To: "Giuseppe Luigi Punzi Ruiz" <[hidden email]> CC: "GNU Smalltalk" <[hidden email]> Received: 18-Aug-2009 08:56:26 +0200 Subject: Re: OSX versus GST+GTK On 08/18/2009 08:38 AM, Giuseppe Luigi Punzi Ruiz wrote: > I will try it later at home. > > Thanks otherwise. Actually you may want to try with no /opt/local at all first (after pulling from git), using the GTK OSX installation you have on your machine. This will give a hint as to who to blame. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 08/18/2009 09:08 AM, Giuseppe Luigi Punzi Ruiz wrote:
> I think I don't understand you :-/ > > I didn't use prefix /opt/local never > > At the moment, I have the folder clean, ready to pull, and configure etc... > > How you want I build it? git pull mv /opt /optzzz # maybe sudo ./configure make CFLAGS=-g # just in case... tests/gst -I gst.im -f ../scripts/Load.st GTK tests/gst -I gst.im packages/gtk/example_arrow.st _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Giuseppe
I will try in 2 hours.
Cheers Enviado usando Real Mail de Vodafone. -----Original Message----- From: "Paolo Bonzini" <[hidden email]> Sent: Tue, 18 Aug 2009 12:44:25 +0200 To: "Giuseppe Luigi Punzi Ruiz" <[hidden email]> CC: "GNU Smalltalk" <[hidden email]> Received: 18-Aug-2009 12:44:30 +0200 Subject: Re: OSX versus GST+GTK On 08/18/2009 09:08 AM, Giuseppe Luigi Punzi Ruiz wrote: > I think I don't understand you :-/ > > I didn't use prefix /opt/local never > > At the moment, I have the folder clean, ready to pull, and configure etc... > > How you want I build it? git pull mv /opt /optzzz # maybe sudo ./configure make CFLAGS=-g # just in case... tests/gst -I gst.im -f ../scripts/Load.st GTK tests/gst -I gst.im packages/gtk/example_arrow.st _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Hi,
Can you try to launch gst/gtk+ with KTrace tool ? may be we can see what happens when we try to load the libraries :s Cheers, Gwenael On Tuesday 18 August 2009 13:06:29 Giuseppe Luigi Punzi Ruiz wrote: > I will try in 2 hours. > > Cheers > > > Enviado usando Real Mail de Vodafone. > > -----Original Message----- > > From: "Paolo Bonzini" <[hidden email]> > Sent: Tue, 18 Aug 2009 12:44:25 +0200 > To: "Giuseppe Luigi Punzi Ruiz" <[hidden email]> > CC: "GNU Smalltalk" <[hidden email]> > Received: 18-Aug-2009 12:44:30 +0200 > Subject: Re: OSX versus GST+GTK > > On 08/18/2009 09:08 AM, Giuseppe Luigi Punzi Ruiz wrote: > > I think I don't understand you :-/ > > > > I didn't use prefix /opt/local never > > > > At the moment, I have the folder clean, ready to pull, and configure > > etc... > > > > How you want I build it? > > git pull > mv /opt /optzzz # maybe sudo > ./configure > make CFLAGS=-g # just in case... > tests/gst -I gst.im -f ../scripts/Load.st GTK > tests/gst -I gst.im packages/gtk/example_arrow.st > > > > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/help-smalltalk -- VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/ _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
http://www.cyberciti.biz/tips/ktrace-freebsd-macosx-tool-howto.html
On Tuesday 18 August 2009 14:23:47 you wrote: > Hi Gwennael, > > something like: > > % ktrace gst > st> PackageLoader fileInPackage: 'GTK' ? > > ktrace is on OSX? > > I will check it too. > > I have some last-hour things to do, and I will not at home until night > (GTM+2). > > El mar, 18-08-2009 a las 14:15 +0200, Gwenael Casaccio escribió: > > Hi, > > > > Can you try to launch gst/gtk+ with KTrace tool ? may be we can see what > > happens when we try to load the libraries :s > > > > Cheers, > > Gwenael > > > > On Tuesday 18 August 2009 13:06:29 Giuseppe Luigi Punzi Ruiz wrote: > > > I will try in 2 hours. > > > > > > Cheers > > > > > > > > > Enviado usando Real Mail de Vodafone. > > > > > > -----Original Message----- > > > > > > From: "Paolo Bonzini" <[hidden email]> > > > Sent: Tue, 18 Aug 2009 12:44:25 +0200 > > > To: "Giuseppe Luigi Punzi Ruiz" <[hidden email]> > > > CC: "GNU Smalltalk" <[hidden email]> > > > Received: 18-Aug-2009 12:44:30 +0200 > > > Subject: Re: OSX versus GST+GTK > > > > > > On 08/18/2009 09:08 AM, Giuseppe Luigi Punzi Ruiz wrote: > > > > I think I don't understand you :-/ > > > > > > > > I didn't use prefix /opt/local never > > > > > > > > At the moment, I have the folder clean, ready to pull, and configure > > > > etc... > > > > > > > > How you want I build it? > > > > > > git pull > > > mv /opt /optzzz # maybe sudo > > > ./configure > > > make CFLAGS=-g # just in case... > > > tests/gst -I gst.im -f ../scripts/Load.st GTK > > > tests/gst -I gst.im packages/gtk/example_arrow.st > > > > > > > > > > > > > > > _______________________________________________ > > > help-smalltalk mailing list > > > [hidden email] > > > http://lists.gnu.org/mailman/listinfo/help-smalltalk -- VisualGST for GNU Smalltalk : http://visualgst.bioskop.fr/ _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Paolo Bonzini-2
Sorry for the delay, I has a lot of work, and now I'm on holidays :D
I can't tried this, because I'm getting an error in make -cflags=-g callin.c: In function ‘_gst_byte_array_to_oop’: callin.c:575: warning: pointer targets in passing argument 1 of ‘_gst_byte_array_new’ differ in signedness libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DKERNEL_PATH=\"/usr/ local/share/smalltalk/kernel\" -DIMAGE_PATH=\"/usr/local/var/lib/ smalltalk\" -DMODULE_PATH=\"/usr/local/lib/smalltalk\" -DLIBEXEC_PATH= \"/usr/local/libexec/smalltalk\" -DDEFAULT_EXECUTABLE=\"/usr/local/bin/ gst\" -I../lib-src -I../lib-src -I../libffi/include -I../libffi/ include -I../snprintfv -I../snprintfv -I../sigsegv/src -I../sigsegv/ src -I../lightning -I../lightning -I.. -I.. -fomit-frame-pointer -g - MT callin.lo -MD -MP -MF .deps/callin.Tpo -c callin.c -o callin.o >/ dev/null 2>&1 mv -f .deps/callin.Tpo .deps/callin.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I.. -DKERNEL_PATH=\""/usr/local/share/smalltalk/kernel"\" - DIMAGE_PATH=\""/usr/local/var/lib/smalltalk"\" -DMODULE_PATH=\""/usr/ local/lib/smalltalk"\" -DLIBEXEC_PATH=\""/usr/local/libexec/ smalltalk"\" -DDEFAULT_EXECUTABLE=\""/usr/local/bin/gst"\" -I../lib- src -I../lib-src -I../libffi/include -I../libffi/include -I../ snprintfv -I../snprintfv -I../sigsegv/src -I../sigsegv/src -I../ lightning -I../lightning -I.. -I.. -fomit-frame-pointer -g -MT xlat.lo -MD -MP -MF .deps/xlat.Tpo -c -o xlat.lo xlat.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DKERNEL_PATH=\"/usr/ local/share/smalltalk/kernel\" -DIMAGE_PATH=\"/usr/local/var/lib/ smalltalk\" -DMODULE_PATH=\"/usr/local/lib/smalltalk\" -DLIBEXEC_PATH= \"/usr/local/libexec/smalltalk\" -DDEFAULT_EXECUTABLE=\"/usr/local/bin/ gst\" -I../lib-src -I../lib-src -I../libffi/include -I../libffi/ include -I../snprintfv -I../snprintfv -I../sigsegv/src -I../sigsegv/ src -I../lightning -I../lightning -I.. -I.. -fomit-frame-pointer -g - MT xlat.lo -MD -MP -MF .deps/xlat.Tpo -c xlat.c -fno-common -DPIC - o .libs/xlat.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DKERNEL_PATH=\"/usr/ local/share/smalltalk/kernel\" -DIMAGE_PATH=\"/usr/local/var/lib/ smalltalk\" -DMODULE_PATH=\"/usr/local/lib/smalltalk\" -DLIBEXEC_PATH= \"/usr/local/libexec/smalltalk\" -DDEFAULT_EXECUTABLE=\"/usr/local/bin/ gst\" -I../lib-src -I../lib-src -I../libffi/include -I../libffi/ include -I../snprintfv -I../snprintfv -I../sigsegv/src -I../sigsegv/ src -I../lightning -I../lightning -I.. -I.. -fomit-frame-pointer -g - MT xlat.lo -MD -MP -MF .deps/xlat.Tpo -c xlat.c -o xlat.o >/dev/null 2>&1 mv -f .deps/xlat.Tpo .deps/xlat.Plo make[3]: *** No rule to make target `events.c', needed by `events.lo'. Stop. make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Cheers. El 18/08/2009, a las 12:44, Paolo Bonzini escribió: > On 08/18/2009 09:08 AM, Giuseppe Luigi Punzi Ruiz wrote: >> I think I don't understand you :-/ >> >> I didn't use prefix /opt/local never >> >> At the moment, I have the folder clean, ready to pull, and >> configure etc... >> >> How you want I build it? > > git pull > mv /opt /optzzz # maybe sudo > ./configure > make CFLAGS=-g # just in case... > tests/gst -I gst.im -f ../scripts/Load.st GTK > tests/gst -I gst.im packages/gtk/example_arrow.st > Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 08/25/2009 05:53 PM, Giuseppe Luigi Punzi Ruiz wrote:
> I can't tried this, because I'm getting an error in make -cflags=-g You have to rerun automake. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |