Re: [racket-dev] Unlucky with Racket 6.0 (2/2)

2014-03-12 Thread Matthew Flatt
At Wed, 12 Mar 2014 23:14:14 +, Paulo Matos wrote: > However, I notice a top-level Makefile in racket/, after taking a peek > and reading INSTALL.txt it seems that now I need to use this Makefile to > build everything. > > So, I try (as mentioned in the INSTALL.txt): > make in-place > > in-

[racket-dev] Changing the default error display handler to use exn:srclocs

2014-03-12 Thread Eric Dobson
A common issue I have is that the default error handler does not display error message's exn:srcloc if it has it racket -e "(require racket/match)" -e "(match 2)" => match: no matching clause for 2 context...: /Users/endobson/proj/rnacket/plt/racket/collects/racket/match/runtime.rkt:21:0: ma

Re: [racket-dev] Racket head fails to compile

2014-03-12 Thread Matthew Flatt
At Wed, 12 Mar 2014 20:37:14 +, Paulo Matos wrote: > make[7]: Entering directory `/home/pmatos/projects/BUILDS/racket/foreign' > gcc -O3 -Wall -Werror -c ../../../racket/racket/src/foreign/foreign.c -o > foreign.o > ../../../racket/racket/src/foreign/foreign.c:9:21: fatal error: > schpriv.h:

[racket-dev] Unlucky with Racket 6.0 (2/2)

2014-03-12 Thread Paulo Matos
The other alternative is to compile racket, however I seem to be doing something wrong. In the early days (I haven't done this in maybe 1 or 2 years), doing an in-place ./configure ; make ; make install was enough. With racket-6.0, I do: cd racket/racket/src ./configure --prefix=/home/pmatos/

Re: [racket-dev] Unlucky with Racket 6.0 (1/2)

2014-03-12 Thread Paulo Matos
On 12/03/14 22:38, Sam Tobin-Hochstadt wrote: On Wed, Mar 12, 2014 at 6:35 PM, Paulo Matos wrote: So, I decide to run the gracket command under gdb but now it segfaults immediately without displaying drracket window. $ gdb --args /home/pmatos/local-install/racket-6.0/bin/../lib/gracket -N loca

Re: [racket-dev] Unlucky with Racket 6.0 (1/2)

2014-03-12 Thread Sam Tobin-Hochstadt
On Wed, Mar 12, 2014 at 6:35 PM, Paulo Matos wrote: > > So, I decide to run the gracket command under gdb but now it segfaults > immediately without displaying drracket window. > $ gdb --args /home/pmatos/local-install/racket-6.0/bin/../lib/gracket -N > local-install/racket-6.0/bin/drracket -J DrR

[racket-dev] Unlucky with Racket 6.0 (1/2)

2014-03-12 Thread Paulo Matos
Hello, I have downloaded the Ubuntu precise script, installed it on a Kubuntu precise machine and ran it. Everything went smoothly. If I try to run DrRacket it starts, when I go to Preferences it SEGFAULTS. To obtain more information I go to drracket script and try to execute it under bash -

Re: [racket-dev] Racket head fails to compile

2014-03-12 Thread Paulo Matos
On 20/02/14 14:19, Matthew Flatt wrote: At Sun, 09 Feb 2014 08:35:03 +, "Paulo J. Matos" wrote: On 09/02/14 00:03, Matthew Flatt wrote: There should be many more flags passed to `gcc`, including some -I flags and some -D flags. Is something in your environment overriding the CFLAGS definit

Re: [racket-dev] Racket head fails to compile

2014-03-12 Thread Paulo Matos
On 20/02/14 14:19, Matthew Flatt wrote: At Sun, 09 Feb 2014 08:35:03 +, "Paulo J. Matos" wrote: On 09/02/14 00:03, Matthew Flatt wrote: There should be many more flags passed to `gcc`, including some -I flags and some -D flags. Is something in your environment overriding the CFLAGS definit