|
List Info
Thread: Newbie compile/usage question for 2.95a
|
|
| Newbie compile/usage question for 2.95a |
  South Africa |
2007-05-09 09:47:20 |
Hi there,
I've been bitten by the Smalltalk bug and was really
impressed with the
version that came with Ubuntu Linux. I'm trying to compile
2.95a with
gtk blox support. I do a:
./configure --enable-gtk=blox
and get no errors configuring or building - but where is the
binary for
the gui? I see no blox-gtk, blox-gst or anything else. I
really do need
a gui environment as I am a complete smalltalk beginner.
TIA,
--
Paul Furber
Group senior writer
http://www.itweb.co.za
083-677-2225
011-234-2600
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: Newbie compile/usage question for
2.95a |
  Switzerland |
2007-05-09 09:59:55 |
Paul Furber wrote:
> Hi there,
>
> I've been bitten by the Smalltalk bug and was really
impressed with the
> version that came with Ubuntu Linux. I'm trying to
compile 2.95a with
> gtk blox support. I do a:
>
> ./configure --enable-gtk=blox
>
> and get no errors configuring or building - but where
is the binary for
> the gui? I see no blox-gtk, blox-gst or anything else.
I really do need
> a gui environment as I am a complete smalltalk
beginner.
The configure option is just --enable-gtk; the command to
start the
browser is
gst -qK browser/Run.st
Probably, Ubuntu is bundling a blox-gst script to start it,
or something
like that. (Anybody can confirm?)
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: Newbie compile/usage question for
2.95a |
  France |
2007-05-09 11:00:08 |
On Wed, May 09, 2007 at 04:59:55PM +0200, Paolo Bonzini
wrote:
> Paul Furber wrote:
> >Hi there,
> >
> >I've been bitten by the Smalltalk bug and was
really impressed with the
> >version that came with Ubuntu Linux. I'm trying to
compile 2.95a with
> >gtk blox support. I do a:
> >
> >./configure --enable-gtk=blox
> >
> >and get no errors configuring or building - but
where is the binary for
> >the gui? I see no blox-gtk, blox-gst or anything
else. I really do need
> >a gui environment as I am a complete smalltalk
beginner.
>
> The configure option is just --enable-gtk; the command
to start the
> browser is
>
> gst -qK browser/Run.st
>
>
> Probably, Ubuntu is bundling a blox-gst script to start
it, or something
> like that. (Anybody can confirm?)
Indeed,
Ubuntu version has a /usr/bin/gst-blox shell wrapper that
launches:
gst -qgK browser/Run.st
Regards,
Thomas
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: Newbie compile/usage question for
2.95a |
  France |
2007-05-10 05:07:42 |
On Thu, May 10, 2007 at 08:15:25AM +0200, Paolo Bonzini
wrote:
> >>Probably, Ubuntu is bundling a blox-gst script
to start it, or something
> >>like that. (Anybody can confirm?)
> >
> >Indeed,
> >
> >Ubuntu version has a /usr/bin/gst-blox shell
wrapper that launches:
> > gst -qgK browser/Run.st
>
> Would it be useful to add a
>
> #! bindir /gst -qgf
>
> header to browser/Run.st and install it as gst-blox?
Is there a new `-f' option in GNU Smalltalk? I can't find
it, so I can't
check whether it would work.
Thomas
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: Newbie compile/usage question for
2.95a |
  Switzerland |
2007-05-10 06:12:53 |
>> #! bindir /gst -qgf
>>
>> header to browser/Run.st and install it as
gst-blox?
>
> Is there a new `-f' option in GNU Smalltalk? I can't
find it, so I can't
> check whether it would work.
It's been there since 2.3.
gst -f FILE ARGS
is the same as
gst FILE -a ARGS
In practice, "-a" is almost never used in
practice. It is used
internally by Smalltalk images, which have "#!
/usr/bin/env gst -aI" in
their first line.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: Newbie compile/usage question for
2.95a |
  France |
2007-05-10 12:47:13 |
On Thu, May 10, 2007 at 01:12:53PM +0200, Paolo Bonzini
wrote:
>
> >>#! bindir /gst -qgf
> >>
> >>header to browser/Run.st and install it as
gst-blox?
> >
> >Is there a new `-f' option in GNU Smalltalk? I
can't find it, so I can't
> >check whether it would work.
>
> It's been there since 2.3.
[...]
Right, sorry. `-f' option is available.
I can confirm that using the shebang above and copying
browser/Run.st to
/usr/bin/gst-blox works.
> In practice, "-a" is almost never used in
practice. It is used
> internally by Smalltalk images, which have "#!
/usr/bin/env gst -aI" in
> their first line.
It reminds me of a patch (attached) I apply to GNU Smalltalk
for Debian
package because the shebang in the image does not work. I
was told that
what is behind the shebang is passed as a single argument.
The following snippet illustrate this. On my Debian
GNU/Linux box:
me mymachine$ cat shebang1
#! /bin/echo -e
me mymachine$ ./shebang1
./shebang1
me mymachine$ ./shebang1 whatever
./shebang1 whatever
me mymachine$ cat shebang2
#! /bin/echo -e whatever
me mymachine$ ./shebang2
-e whatever ./shebang2
That is, /bin/echo from shebang2 receives '-e whatever' as
first argument.
Hence /usr/bin/env receives `gst -aI...' and fails. With the
patch,
executing gst.im works.
The patch is crude because it hardcodes the path to gst, I
guess it could be
modified to use automake variable and work in all
cases; but then we'll need
to check if dummy[64] is not exceeded.
Regards,
Thomas
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
|
| Re: Newbie compile/usage question for
2.95a |
  United States |
2007-05-10 13:06:17 |
On Thu, 2007-05-10 at 19:47 +0200, Thomas Girard wrote:
> The patch is crude because it hardcodes the path to
gst, I guess it could be
> modified to use automake variable and work in all
cases; but then we'll need
> to check if dummy[64] is not exceeded.
See examples/shell or (gst.info)Invocation:: 's words on the
-f option
for an alternative to this.
--
;;; Stephen Compall ** http://scompall.no
candysw.com/blog **
Failure to imagine vast possibilities usually stems from a
lack of
imagination, not a lack of possibility.
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
[1-7]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|