• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Kaj
28-May-2013
[7965]
The apps you see in your Applications use all sorts of Unix infrastructure 
underneath, such as the cURL library, Ruby language and Git tool 
you just found
Gregg
28-May-2013
[7966]
Think of Red as REBOL that can be compiled. The main docs are for 
Red/System at this point. 

http://static.red-lang.org/red-system-specs.html#section-19.2
Kaj
28-May-2013
[7967x2]
Red programs are like the Mac Applications: they don't have to be 
installed and don't care where they run
However, my bindings, like Mac Applications, use infrastructure that 
is included in the ancient Unix parts of the system. So a clash appears, 
when that infrastructure is not installed yet
Geomol
28-May-2013
[7969]
Seems like I got brew installed, and it sais:

You should run `brew doctor' *before* you install anything.
Kaj
28-May-2013
[7970]
Interesting
Geomol
28-May-2013
[7971]
Doing that gives me 7 warnings.
Kaj
28-May-2013
[7972]
Anything serious?
Geomol
28-May-2013
[7973x3]
Warning: Some directories in /usr/local/share/man aren't writable.
Warning: You have leftover files from an older version of Xcode.
Warning: Unbrewed dylibs were found in /usr/local/lib.
Warning: Unbrewed .la files were found in /usr/local/lib.

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
Warning: Unbrewed static libraries were found in /usr/local/lib.
Warning: Your Xcode (4.5.1) is outdated
:)
I have no idea, if it's serious.
at the bottom: Please install Xcode 4.6.2.
Kaj
28-May-2013
[7976]
Doesn't sound serious, except Xcode
Geomol
28-May-2013
[7977x3]
hm, well, maybe that's as fra I get now.
*far*
So Red/System is like a base for Red?
Kaj
28-May-2013
[7980]
Like C is the base for World, yes
Geomol
28-May-2013
[7981x2]
ok
And how far is it developed?
Kaj
28-May-2013
[7983]
Enough to write Red in it :-)
Geomol
28-May-2013
[7984x2]
ok, and how far is Red?
So if I would try install the gtk+ using brew, do I write:
brew install gtk+
?
Kaj
28-May-2013
[7986]
As I said above, best to run GTK-browser to get a feel for the state 
of Red
Geomol
28-May-2013
[7987]
yes, and I needed gtk+ for that, right? And I needed brew to get 
gtk+.
Kaj
28-May-2013
[7988x2]
Yes, so?
Not sure if the name is exactly gtk+. Was that the name of the formula?
Geomol
28-May-2013
[7990x2]
So I'm asking, if I know should write
	brew install gtk+

or what? I suggest that, because I see something similar on the brew 
page:
http://mxcl.github.io/homebrew/
, where they do a
	brew install wget
gtk+.br
Kaj
28-May-2013
[7992]
Yes, you need to fill in the name of the formula
Geomol
28-May-2013
[7993]
I try. :)
Kaj
28-May-2013
[7994]
Then the command should be correct. But you should upgrade Xcode 
first
Geomol
28-May-2013
[7995x2]
It's doing something.
nah, I try. :)
Kaj
28-May-2013
[7997]
You get to keep the pieces if you break it
Geomol
28-May-2013
[7998]
Downloading http://tukaani.org/xz/xz-5.0.4.tar.bz2
make install

Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.1

Downloading http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.1
make install
Installing gtk+ dependency: glib

Downloading http://ftp.gnome.org/pub/gnome/sources/glib/2.36/glib-2.36.2.tar
Downloading patches

./configure --disable-maintainer-mode --disable-dtrace --disable-modular-tes
make
make install
Installing gtk+ dependency: jpeg

Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.lio
Installing gtk+ dependency: libtiff
Downloading http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz
make install
...
and a lot in between. continuing...
Kaj
28-May-2013
[7999x2]
Looks good
Now you have an impression what I've been doing on Syllable in the 
past decade :-)
Geomol
28-May-2013
[8001x3]
Installing gtk+ dependency: gdk-pixbuf

Downloading http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.28/gdk-pixbu
make
make install
Installing gtk+ dependency: icu4c

Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-51.1.
Installing gtk+ dependency: fontconfig

Downloading http://fontconfig.org/release/fontconfig-2.10.93.tar.bz2
Patching
make install
...
:D
It reminds me a bit on my RedHat days.
Kaj
28-May-2013
[8004]
Yep
Geomol
28-May-2013
[8005]
Installing gtk+ dependency: harfbuzz

Downloading http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.
make install
Installing gtk+ dependency: pixman

Downloading http://cairographics.org/releases/pixman-0.30.0.tar.gz
make install
...
Kaj
28-May-2013
[8006]
My Red/System bindings include partial bindings for the GLib and 
GDK-PixBuf libraries you see there, to support GTK
Geomol
28-May-2013
[8007]
Installing gtk+ dependency: cairo

Downloading http://cairographics.org/releases/cairo-1.12.14.tar.xz
...

I begin to hear the fans in my MacBook.
Kaj
28-May-2013
[8008]
Yep, building is mostly CPU bound
Geomol
28-May-2013
[8009]
cairo is a large download
Kaj
28-May-2013
[8010x2]
Mwah, not really, compared to the rest. Perhaps the site is slow
If you look in /usr/local/lib do you see new *.a files?
Geomol
28-May-2013
[8012x3]
make install
Installing gtk+ dependency: pango

Downloading http://ftp.gnome.org/pub/GNOME/sources/pango/1.34/pango-1.34.1.t
make
make install
Installing gtk+ dependency: atk

Downloading http://ftp.gnome.org/pub/gnome/sources/atk/2.8/atk-2.8.0.tar.xz
make
make install
Installing gtk+

!!! yay! there it is
Downloading http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.18.ta
make install
...

a couple GB taken so far, it seems.
from the HD