Re: [racket-users] error when intalling racket 6.5 in solaris (a sparc machine)

2016-06-29 Thread WarGrey Gyoudmon Ju
Also, you may want '--disable-libffi' On Thu, Jun 30, 2016 at 11:11 AM, Matthew Flatt wrote: > I'm not sure, but it's possible that a newer version of libtool is > needed. > > Meanwhile, does dropping the `--enable-shared` flag help? (I recommend > that in any case, unless you specifically need

Re: [racket-users] error when intalling racket 6.5 in solaris (a sparc machine)

2016-06-29 Thread Matthew Flatt
I'm not sure, but it's possible that a newer version of libtool is needed. Meanwhile, does dropping the `--enable-shared` flag help? (I recommend that in any case, unless you specifically need a libracket shared library.) At Wed, 29 Jun 2016 22:33:59 -0400, HP Wei wrote: > I replaced ‘-KPIC’ with

Re: [racket-users] error when intalling racket 6.5 in solaris (a sparc machine)

2016-06-29 Thread HP Wei
I replaced ‘-KPIC’ with ‘-fPIC’ in all instances in the files that you listed. Start from a new build/; configure … ; make —> still get the same error. Then after the above failure, I noticed: libtool —config | grep pic_flag pic_flag= “ -KPIC -DPIC” libtool —config | grep CC CC=“cc” So, s

Re: [racket-users] Confused about the get-info function for #langs

2016-06-29 Thread Alexis King
First of all, +1 for this stuff being confusing. I’ve been implementing a language lately that needs its own lexer, reader, runtime configuration, etc., and while the Racket docs are usually very good, this stuff is sprawled out across the guide, the reference, the docs for syntax/module-reader, th

Re: [racket-users] error when intalling racket 6.5 in solaris (a sparc machine)

2016-06-29 Thread George Neuner
On 6/29/2016 6:00 PM, hpwe...@gmail.com wrote: I downloaded racket 6.5 sources to a Sun's Sparc machine running Solaris (SunOS 5.11) gcc version = 4.8.1 in the build directory, I did these two steps: ../configure --prefix=/a/path --enable-shared make --> It exited with the following error mess

[racket-users] TR/contract regression since 6.5 related to duplicated structure name?

2016-06-29 Thread 'John Clements' via Racket Users
I’m running into what look like some bugs in the interactions between typed and untyped code. Specifically, I’m getting errors that look like this: ct-error: Message: Record-role: contract violation expected: Record? given: (Record "test-class" "masteru...@example.com" (Record 0 "Instructor"

[racket-users] Confused about the get-info function for #langs

2016-06-29 Thread Alex Knauth
I'm trying to rewrite `make-meta-reader` to hopefully make more sense. A racket #lang language normally defines and provides a `get-info` function in its reader module along with `read` and `read-syntax`. However, there seems to be very little documentation about what this is supposed to do, and

[racket-users] error when intalling racket 6.5 in solaris (a sparc machine)

2016-06-29 Thread hpwei01
I downloaded racket 6.5 sources to a Sun's Sparc machine running Solaris (SunOS 5.11) gcc version = 4.8.1 in the build directory, I did these two steps: ../configure --prefix=/a/path --enable-shared make --> It exited with the following error message: cd sgc; make ../libmzgc.la make[7]: Enterin

Re: [racket-users] Require Transformers

2016-06-29 Thread Alexis King
Just for fun, if you want to be a little bit naughty, you can define a custom #%top transformer that will make unbound identifiers that are fully qualified automatically resolve to their imported values. Just do a little bit of processing on the unbound identifiers: #lang racket (require (for

Re: [racket-users] Require Transformers

2016-06-29 Thread Matthias Felleisen
Now cam someone show me how to get Racket-style requiring in Python :-) > On Jun 29, 2016, at 9:35 AM, Jay McCarthy wrote: > > I think you want this: > > #lang racket/base > (require (for-syntax racket/base > syntax/parse > racket/require-transform >

Re: [racket-users] Require Transformers

2016-06-29 Thread Jay McCarthy
I think you want this: #lang racket/base (require (for-syntax racket/base syntax/parse racket/require-transform racket/syntax)) (define-syntax ns-in (make-require-transformer (λ (stx) (syntax-parse stx [(_ mp:id)

Re: [racket-users] Require Transformers

2016-06-29 Thread Alex Knauth
> On Jun 29, 2016, at 9:05 AM, Shakna Israel wrote: > > I'm trying to introduce an implicit binding for require. > > One of the features I love about Python, is the namespace binding. > > import sys > > sys.stdout.write("Sweet") > > I know this can also be accomplished with require by specif

[racket-users] Require Transformers

2016-06-29 Thread Shakna Israel
I'm trying to introduce an implicit binding for require. One of the features I love about Python, is the namespace binding. import sys sys.stdout.write("Sweet") I know this can also be accomplished with require by specifying a prefix-in, or a prefix-out with a local-require. However, I want a