[plt-scheme] trunk r8997 failed to build on vanilla x86 Linux; probably two unrelated problems

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Mar 17 07:19:54 EDT 2008

On Mar 16, Eric Hanchrow wrote:
> Linux never 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
> i686 GNU/Linux
> 
> I did a clean build -- by which I mean I deleted all files that
> weren't in the repository.
> 
> Then I did "cd src; ./configure; make all install".
> 
> I saw 
> 
>     make[2]: Leaving directory `/usr/local/src/plt-trunk/src'
>     mzscheme/mzscheme3m -X "/usr/local/src/plt-trunk/collects" -l setup
>     setup-plt: bootstrapping from source...
>     setup-plt: Setup version is 3.99.0.18 [3m]
>     setup-plt: Available variants: 3m
>     setup-plt: Main collection path is /usr/local/src/plt-trunk/collects
>     setup-plt: Collection search path is
>     setup-plt:   /home/erich/.plt-scheme/3.99.0.18/collects
>     setup-plt:   /usr/local/src/plt-trunk/collects
>     make-cc*: Internal error: cc had invalid info-path: #<path:/home/erich/plt-collects/offby1/.>

Looks like you had some weird path set in PLTCOLLECTS.  I've made
setup-plt simplify all paths when it starts, and hopefully this will
solve the problem.  I couldn't replicate the problem myself, so if it
still doesn't work, I'll need to know more -- like the value of your
PLTCOLLECTS etc.


> I then reran "make all install", and it got lots further; it then
> died like this:
> 
>     setup-plt: Post-Installing /usr/local/src/plt-trunk/collects/mzcom
>     Warning: can't install MzCOM on non-Windows machine
>     setup-plt: Done setting up
>     setup-plt: 
>     setup-plt: Error during Early Install for /usr/local/src/plt-trunk/collects/sgl
>     setup-plt:   make: Failed to make compiled/gl-info_ss.zo; compile: bad syntax; function application is not allowed, because no #%app syntax transformer is bound in: (module gl-info mzscheme (provide (all-defined)) (define gl-byte-size 1) (define gl-ubyte-size 1) (define gl-short-size 2) (define gl-ushort-size 2) (define gl-int-size 4) (define gl-uint-size 4) (define gl-boolean-size 1) (define gl-sizei-size 4) (defi...

Yes, it looks like there is some (unrelated) problem in compiling the
gl-info file.  Maybe due to yesterday's changes to the compiler
collection.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.