Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
v3.99.0.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matthew Flatt  
View profile  
 More options Nov 13 2007, 8:33 am
From: Matthew Flatt <mfl...@cs.utah.edu>
Date: Tue, 13 Nov 2007 06:33:23 -0700
Local: Tues, Nov 13 2007 8:33 am
Subject: [plt-scheme] v3.99.0.2
The SVN trunk now contains version 3.99.0.2.

Below is a summary of the significant changes. For more information,
see "plt/doc/release-notes/mzscheme.MzScheme_4.txt".

 - The documentation is being re-organized and re-written. For now,
   start with "plt/doc/start/index.html" (which is created by
   `setup-plt').

 - Pairs created with `cons', `list', `map', etc. are immutable.  A
   separate datatype, "mpair", implements mutable pairs, with the
   operations `mcons', `mcar', `mcdr', `set-mcar!', and `set-mcdr!'.
   The identifiers `set-car!' and `set-cdr!' are not bound.

   See "Immutable and Mutable Pairs" in "MzScheme_4.txt" for more
   information.

 - The `mzscheme' command-line syntax has changed. Most notably, if no
   flags are provided:

    * The first argument, if any, is prefixed with the `-u' flag.

    * If there are no arguments, `-i' is added to start the
      interactive REPL.

   See "MzScheme Command Line and Initialization" in "MzScheme_4.txt"
   for more information.

 - A plain identifier as a module reference now refers to a library
   collection, instead of an interactively declared module. For
   example,

      (require net/url)

   is equivalent to the old form

      (require (lib "url.ss" "net"))

   To refer to an interactively declared module, quote the name:
   `(require 'my-mod)'.

   See "Module Paths" in "MzScheme_4.txt" for more information.

 - The `mzscheme' module is no longer the preferred base language for
   PLT Scheme code. The following are the most common languages:

     * `scheme/base' is the most like `mzscheme' in scale and scope,
       but with some improved syntax and a more consistent set of
       precedures. See "scheme/base" below for more information.

     * `scheme' builds on `scheme/base', and it is analogous to the
       old "Pretty Big" language. The `scheme' language is the default
       language for using the `mzscheme' REPL.

     * `scheme/gui' builds on `scheme', adding the MrEd GUI classes
       and functions.

   Library code should generally start with `scheme/base', which is a
   `mzscheme'-like compromise in terms of size (i.e., code size and
   likelihood of name collisions) and convenience (i.e., the most
   commonly used bindings are available). The `scheme' choice is
   appropriate for programs where the additional functionality of
   `scheme' is likely to be needed or loaded, anyway.

 - The `#lang' shorthand for `module' is now preferred for a module
   declaration in a file. In "my-library.ss", instead of

      (scheme my-library scheme/base
        (define my-stuff ....)
        ....)

    write

      #lang scheme/base
      (define my-stuff ....)
      ....

    Note the absence of the parenthesis wrapping the module content
    (it is terminated by the end-of-file) and the absence of the
    redundant identifier `my-library'.

 - Under Unix, "~" is no longer automatically expanded to a user's
   home directory. The `expand-path' function takes an optional
   argument to explicitly expand the abbreviation.

 - Hash table printing is enabled by default.

 - Graph input syntax, such as `#0=(1 . #0#)' is no longer allowed in
   program syntax parsed by `read-syntax', though it is still allowed
   for `read'.

 - In fully expanded code, `#%datum' expands to `quote'. When using
   the `mzscheme' language, beware that `if' in expansions is the `if'
   of `scheme/base'. When using the `scheme/base' language, beware
   that `lambda' and `#%app' expand to `#%plain-lambda' and
   `#%plain-app' (which are also the `lambda' and `#%app' of the
   `mzscheme' language). The `require' and `provide' forms expand to
   `#%require' and `#%provide'.

 - The naming convention for compiled files has changed to preserve
   the original file suffix. For example, the bytecode version of
   "x.ss" is now named "x_ss.zo". The "_loader" protocol for
   native-code extensions is no longer supported.

 - Windows console binary names are converted like Unix binary names:
   downcased with " " replaced by "-".

Matthew

_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "v3.99.0.2, dvh mysqlclient.ss no build" by Geoff Knauth
Geoff Knauth  
View profile  
 More options Nov 13 2007, 1:59 pm
From: Geoff Knauth <ge...@knauth.org>
Date: Tue, 13 Nov 2007 13:59:20 -0500
Local: Tues, Nov 13 2007 1:59 pm
Subject: [plt-scheme] v3.99.0.2, dvh mysqlclient.ss no build

I have some MySQL connectivity code from David Van Horn that has been  
working great.  After my SVN update this morning, the mysqlclient.ss  
extension no longer builds.

mzc -v --save-temps --debug ++ccf --save-temps --auto-dir --extension +
+ldf /opt/local/lib/mysql5/mysql/libmysqlclient.dylib ++cppf -I/opt/
local/include/mysql5/mysql ++ccf -I/opt/local/include/mysql5/mysql  
mysqlclient.ss
mzc v3.99.0.2 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
Warning: compilation to C is usually less effective
for performance than relying on the bytecode JIT compiler.
"mysqlclient.ss":
  Reading...  expanding...
       [cpu: 140ms, real: 185ms, gc: 46ms]
  extracting core expressions
c-syntax.ss:123:10: #%variable-reference: identifier cannot refer to  
an imported binding at: values in: (#%variable-reference values)

  === context ===
/usr/local/plt/collects/compiler/private/driver.ss:697:25: core-thunk
/usr/local/plt/collects/compiler/private/driver.ss:507:8: verbose-time
/usr/local/plt/collects/compiler/private/driver.ss:563:8: s:compile

Here is a snippet from David's c-syntax.ss:

(module c-syntax mzscheme
   (require (lib "cffi.ss" "compiler")   ;; c-lambda, c-declare syntax.
            "c-syntax-transformer.ss")
   ; ...
   (define-syntax (c-enum stx)
     (syntax-case stx ()
       ((_ enum-name)
        (identifier? (syntax enum-name))
        (with-syntax ([str (format "___result = ~a;"
                                   (scheme-symbol->c-enum-string
                                    (syntax-e (syntax enum-name))))])
          (syntax
           ((c-lambda () int str)))))))
   ; ...
   (define-syntax define-c-enums
     (syntax-rules ()
       ((_ i ...)
        (define-values (i ...)
          (values (c-enum i) ...)))))     ;; <== this is line 123
   ; ...
   )

How do I fix this, or how should I approach fixing this?

Geoffrey
--
Geoffrey S. Knauth | http://knauth.org/gsk

_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Flatt  
View profile  
 More options Nov 13 2007, 8:26 pm
From: Matthew Flatt <mfl...@cs.utah.edu>
Date: Tue, 13 Nov 2007 18:26:19 -0700
Local: Tues, Nov 13 2007 8:26 pm
Subject: Re: [plt-scheme] v3.99.0.2, dvh mysqlclient.ss no build
`mzc --extension' had lots of problems. Many of them are fixed now in
SVN, but I need to run a lot more tests to make sure that it's working
right.

Matthew

At Tue, 13 Nov 2007 13:59:20 -0500, Geoff Knauth wrote:

_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Geoffrey S. Knauth  
View profile  
 More options Nov 13 2007, 11:21 pm
From: "Geoffrey S. Knauth" <ge...@knauth.org>
Date: Tue, 13 Nov 2007 23:21:10 -0500
Local: Tues, Nov 13 2007 11:21 pm
Subject: Re: [plt-scheme] v3.99.0.2, dvh mysqlclient.ss no build

On Nov 13, 2007, at 20:26, Matthew Flatt wrote:

> `mzc --extension' had lots of problems. Many of them are fixed now in
> SVN, but I need to run a lot more tests to make sure that it's working
> right.

Matthew, whatever you did as of revision 7714 fixed my problem with  
mysqlclient.ss.  Thank you!

At the moment I'm operational, except I cannot re-install DivaScheme.

Welcome to MzScheme v3.99.0.2 [3m], Copyright (c) 2004-2007 PLT Scheme  
Inc.
 > (require (planet "install.ss" ("divascheme" "divascheme.plt" 1 3)))
default-load-handler: cannot open input file: "/usr/local/plt/collects/
srfi/32/sort.ss" (No such file or directory; errno=2)
setup-plt: Error during Compiling .zos for srfi-alias (/Users/gknauth/
Library/PLT Scheme/planet/300/3.99.0.2/cache/dyoo/srfi-alias.plt/1/2)
setup-plt:   default-load-handler: cannot open input file: "/usr/local/
plt/collects/srfi/32/sort.ss" (No such file or directory; errno=2)
semi-read-syntax/lexer.ss:120:49: compile: unbound variable in module  
in: reverse!
setup-plt: Error during Compiling .zos for DivaScheme (/Users/gknauth/
Library/PLT Scheme/planet/300/3.99.0.2/cache/divascheme/divascheme.plt/
1/3)
setup-plt:   semi-read-syntax/lexer.ss:120:49: compile: unbound  
variable in module in: reverse!
dynamic-require: unknown module: '#%mred-kernel

  === context ===
/usr/local/plt/collects/scheme/private/misc.ss:42:7

On DrScheme startup:

Error invoking tool #<path:/Users/gknauth/Library/PLT Scheme/planet/
300/3.99.0.2/cache/divascheme/divascheme.plt/1/3>;("tool.ss")

...gknauth/Library/PLT Scheme/planet/300/3.99.0.2/cache/divascheme/
divascheme.plt/1/3/interpreter.ss:7:42: #%require: no such provided  
variable at: circular-list in: (#%require (lib "etc.ss") (lib  
"list.ss") (lib "plt-match.ss") (lib "class.ss") (lib "struct.ss")  
(only (lib "1.ss" "srfi") last circular-list partition find)  
"traversal.ss" "structures.ss" (all-except "utilities.ss" insert-rope)  
(prefix action: "action...

  === context ===
/usr/local/plt/collects/drscheme/private/tools.ss:239:6
/usr/local/plt/collects/drscheme/private/tools.ss:57:2: load/invoke-
all-tools

_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »