
@pocmatos yes

@githree Ah, thanks for the submissions for racket news.

have you thought about adding submission
label and/or milestones being newsletter number?

nope, but I will after you suggested it. :slightly_smiling_face:

:slightly_smiling_face:

…and done! :slightly_smiling_face:

nice! will be easy to track!

Thanks, I was able to include the patch in the PPA build and the rebuild looks successful.

@tahir has joined the channel

Just getting started with racket! qq: on a mac, I am seeing raco pkg install
pull files from 7.1
though I have 7.2
installed. Can someone point me to any documentation that would explain raco
’s different repos for platforms and builds?

did you by chance invoke an old raco
?

what does

which raco

say

I’m installing with brew install minimal-racket
and getting /usr/local/bin/raco
for which raco

What does

raco version

show?

raco version
is not recognized as a command

@tahir Sorry. Misread the output in my terminal (my path contains the version number)

what does racket --version
show?

7.2

I have no idea. But … why aren’t you using the official installers?


@tahir If you run which racket
, do you get /usr/local/bin/racket
as well? And if so, if you run raco setup
, what does it say in the first few lines of output? (It should have the version information there.)

@travis.hinkelman has joined the channel

tahir, i just went through this last week, same thing. i went through my system and deleted anything related to racket, and then it started working. it was very frustrating.

i.e., i had to do more than uninstall things through brew
; maybe there was a config file left over?

(i’m assuming you previously had an earlier version of racket installed)

(there are some advantages to using a system like brew, which is basically just installing racket-minimal-7.2-src-builtpkgs.tgz
. e.g. there are the usual benefits of using a package manager, which include a consistent way to uninstall and update packages.)

i have this in my bash files to keep tabs on which Racket i’m running
### Add current Racket's bin to path
if [ -L "/usr/local/bin/racket" ]; then
racket_v=$(racket --version \| sed 's/[^0-9.]*//g')
PATH="$PATH:$HOME/Library/Racket/${racket_v%.*}/bin"
fi
I install Racket with brew cask install racket

on a Mac

@jjwiseman You probably want to look at or nuke ~/Library/Racket

@d_run I don’t have a bin
under ~/Library/Racket/*

I usually install via the official dmg’s + rsync. Then either use drracket or raco pkg migrate
to move to the new version.

@tahir if you’ve got a mess of racket versions (brew list --versions --multiple
), then you can probably fix it up to the latest with brew unlink minimal-racket; brew link minimal-racket
. If that doesn’t fix it up, then you probably have a mix of brew and non-brew installs (or your pathing is strange?)

Great - thanks!

which racket
: /usr/local/bin/racket
. when I run raco setup
I get the following. I had installed minimal-racket
a day or so before 7.2 was released. I had installed some pkgs (like base16-drracket
which shows up below), but have since removed the racket installation with brew uninstall --force minimal-racket
. Still I’m getting this when I run raco setup
: raco setup: version: 7.2
raco setup: platform: x86_64-macosx [3m]
raco setup: target machine: racket
raco setup: installation name: 7.2
raco setup: variants: 3m
raco setup: main collects: /usr/local/Cellar/minimal-racket/7.2/share/racket/collects
raco setup: collects paths:
raco setup: /Users/tahir.butt/Library/Racket/7.2/collects
raco setup: /usr/local/Cellar/minimal-racket/7.2/share/racket/collects
raco setup: main pkgs: /usr/local/Cellar/minimal-racket/7.1/share/racket/pkg
raco setup: pkgs paths:
....
raco setup: source path: /usr/local/Cellar/minimal-racket/7.1/lib/racket/starter-sh
raco setup: destination path: /usr/local/bin/raco
raco setup: system error: No such file or directory; errno=2

@tahir It certainly seems like something about the homebrew installation isn’t configured properly, but I’m not totally sure what. Glancing at the minimal-racket formula, it seems to muck about with the location that Racket installs executables so that they end up in /usr/local
, which shouldn’t break anything on its own AFAICT, but it would explain why the executables don’t get cleaned up when you brew uninstall
the package.

I don’t think the minimal-racket formula is “official” in any capacity, though.

Ok, realized /usr/local/etc/racket
was not being deleted. now raco setup
runs and succeeds!

And raco pkg install ...
seems to only pull from 7.2

morning

i’m considering to go through HTDP2e book and wonder whether it is worth to buy a copy? some people on the net complain that the typesetting (despite of TeX usage) and the physical format are not top-notch. any comment?