Re: [racket-dev] Building without docs

2011-01-18 Thread Noel Welsh
For posterity, this works:

On Mon, Jan 17, 2011 at 3:12 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
 You can also set PLT_SETUP_OPTIONS to -D and then make install will
 avoid building the docs.

This does not:

 On Mon, Jan 17, 2011 at 9:02 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu 
 wrote:
 % make
 % make plain-install
 % raco setup -D

as make plain-install only creates racket.

Below is a Chef recipe for building Racket. As some point this will
appear on Github.

N.


package g++

# Fetch Racket tarball
remote_file /usr/local/racket-textual-5.0.2-src-unix.tgz do
  source 
http://download.racket-lang.org/installers/recent/racket-textual/racket-textual-5.0.2-src-unix.tgz;
  mode 0644
end

directory /usr/local/racket-textual-5.0.2 do
  mode 0755
  action :create
end

script install_racket-textual-5.0.2 do
  interpreter bash
  cwd /usr/local
#  user kahu
  code -EOH
  pwd
  ls
  tar zxf racket-textual-5.0.2-src-unix.tgz
  cd racket-textual-5.0.2/src
  mkdir build
  cd build
  pwd
  export PLT_SETUP_OPTIONS=-D
  ../configure
  make
  make install
  EOH
end

file /usr/local/racket-textual-5.0.2-src-unix.tgz do
  action :delete
end

directory /usr/local/racket-textual-5.0.2 do
#  owner kahu
#  group kahu
  mode 0755
end

link /usr/local/plt do
  to /usr/local/racket-textual-5.0.2
end
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Building without docs

2011-01-18 Thread Eli Barzilay
Two minutes ago, Noel Welsh wrote:
 For posterity, this works:
 
 On Mon, Jan 17, 2011 at 3:12 PM, Robby Findler
 ro...@eecs.northwestern.edu wrote:
  You can also set PLT_SETUP_OPTIONS to -D and then make install will
  avoid building the docs.
 
 This does not:
 
  On Mon, Jan 17, 2011 at 9:02 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu 
  wrote:
  % make
  % make plain-install
  % raco setup -D
 
 as make plain-install only creates racket.

You should use something like

  racket -N raco -l- raco setup -D

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] cgywin build working? Which line endings?

2011-01-18 Thread John Clements
I have a student who's trying to compile DrRacket for Windows using cygwin, and 
I have two questions:

1) Is using cygwin to build from source expected to work?
2) It looks like the cygwin build expects UNIX-style line endings, is that 
correct?

Many thanks,

John



smime.p7s
Description: S/MIME cryptographic signature
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] cgywin build working? Which line endings?

2011-01-18 Thread Guillaume Marceau
On Tue, Jan 18, 2011 at 5:03 PM, Stephen Chang stch...@ccs.neu.edu wrote:
 I tried once and got some problems. I dont remember exactly what went
 wrong, but I think the problem might have been with my cygwin install.

 I think it's expected to work. Here is a paragraph from the README file:

It's expected to work, but it's been buggy for a while. Last time I
tried was around four months ago or so.

One thing to be careful about that's not mentioned in the
documentation: the absolute path containing your source tree must not
have any spaces.
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev