Re: GNU Smalltalk 3.3 & VisualGST

Quenio dos Santos <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <CAJ6rE1zvWMnHDSB+z1MRieMUuv0OmeadBqGzR_7S082g5ay=kQ@mail.gmail.com>
Hello Holger,

Thanks for your reply.

I installed GNU Smalltalk like this:

$ brew install gnu-smalltalk

I then started using the “gst” command normally, without any issues. But
eventually I tried to execute VisualGST like this:

$ gst-browser

And got the following error:

Object: PackageLoader class error: Invalid argument Cairo: package not found
SystemExceptions.PackageNotAvailable(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.PackageNotAvailable(Exception)>>signal:
(ExcHandling.st:264)
SystemExceptions.PackageNotAvailable class(SystemExceptions.NotFound
class)>>signalOn:what: (SysExcept.st:731)
SystemExceptions.PackageNotAvailable class>>signal: (PkgLoader.st:57)
optimized [] in PackageLoader class>>fileInPackages: (PkgLoader.st:1965)
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:165)
Kernel.PackageDirectories>>at:ifAbsent: (PkgLoader.st:236)
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:165)
Set(HashedCollection)>>do: (HashedColl.st:201)
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:160)
PackageLoader class>>fileInPackages: (PkgLoader.st:1964)
PackageLoader class>>fileInPackage: (PkgLoader.st:1954)
Package(Kernel.PackageInfo)>>fileIn (PkgLoader.st:493)
optimized [] in UndefinedObject>>executeStatements
(/usr/local/Cellar/gnu-smalltalk/3.2.5_8/share/smalltalk/scripts/Load.st:125)
OrderedCollection>>do: (OrderColl.st:67)
[] in UndefinedObject>>executeStatements
(/usr/local/Cellar/gnu-smalltalk/3.2.5_8/share/smalltalk/scripts/Load.st:124)
[] in BlockClosure>>ifCurtailed: (BlkClosure.st:286)
BlockClosure>>ensure: (BlkClosure.st:268)
BlockClosure>>ifCurtailed: (BlkClosure.st:273)
UndefinedObject>>executeStatements
(/usr/local/Cellar/gnu-smalltalk/3.2.5_8/share/smalltalk/scripts/Load.st:114)

I also noticed that I don't have the "cairo" package in my local system:

$ ls /usr/local/share/smalltalk
Announcements.star LibSDL_image.star VFSAddOns.star
BLOXBrowser.star LibSDL_mixer.star VisualGST.star
CParser.star LibSDL_ttf.star WebServer.star
ClassPublisher.star Magritte-Seaside.star XML-DOM.star
Compiler.star Magritte.star XML-Expat.star
Complex.star NCurses.star XML-ParserTests.star
Continuations.star NetClients.star XML-PullParser.star
DBD-MySQL.star OpenGL.star XML-SAXDriver.star
DBD-PostgreSQL.star Parser.star XML-SAXParser.star
DBD-SQLite.star ProfileTools.star XML-XMLNodeBuilder.star
DBI.star ROE.star XML-XMLParser.star
DebugTools.star SUnit.star XPath.star
DhbNumericalMethods.star SandstoneDb.star XSL.star
Digest.star Seaside-Core.star ZLib.star
GDBM.star Seaside-Development.star examples
GNUPlot.star Seaside-Examples.star kernel
Glorp.star Seaside.star packages.xml
I18N.star Sockets.star scripts
Iconv.star Sport.star unsupported
Java.star Swazoo.star

I tried to download the "cairo" package:

$ gst-package --download cairo
gst-package: expected packages tag

But it didn't seem to have any effect.

Thanks for your help,
- Quenio



On Thu, 18 Jul 2019 at 20:57 Holger Freyther <[email protected]> wrote:

>
>
> > On 19. Jul 2019, at 00:01, Quenio dos Santos <[email protected]>
> wrote:
> >
> > Hello,
>
> Hi!
>
>
> > Just started trying out GNU Smalltalk. I'm finding it easier to use than
> > the alternatives, because it doesn't require you to program from within a
> > Smalltalk image.
>
>
> this is how I got started with GNU Smalltalk. I do most of the dev in Pharo
> these days though.
>
>
> > I was wondering if the project is still active. Looks like the last
> release
> > was the 3.3 alpha: http://smalltalk.gnu.org/news/gnu-smalltalk-3-2-91,
> in
> > 2015, but the final version of 3.3 doesn't seem to have come out. The
> > version I have running on MacOS is from Homebrew, which is 3.2.5_8.
>
> For 3.3 we re-worked the event-loop integration but unfortunately this
> could
> trigger some deadlocks with VisualGST (when stepping through code in the
> debugger)
> and I didn't want to make a release but lacked the time to resolve this.
>
> I think we should probably release 3.3 anyway and see if it matters. Given
> how long it took GTK+2 isn't that relevant either.
>
>
>
> > I'm also trying to run VisualGST on MacOS, but it is complaining that the
> > Cairo package is not available. I'm wondering if there's a way to get
> this
> > package on MacOS, and get VisualGST running.
>
>
> Maybe the Tcl/Tk browser gives you a better experience right now? It might
> be that GST isn't looking in the right directory for libcairo.dylib. What
> are
> the steps for reproducing this? brew install ...?
>
> holger
>
>
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.