Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Elf


i have.  look at the difference between the chicken3 branch and the other.
the problem is that the msys environment is NOT the same as the mingw 
environment.  period.  msys is a fork of cygwin 1.3 (when it was still 
free) with the compilers kept mildly up to date with mingw.  msys is a 
full build environment, though, and mingw installed in conjunction with
msys will try using pieces of it all the time. 
mingw installed without msys uses windows paths, etc.


the confusions here stem primarily from the poor explanations given in the
mingw/msys documentation.  it also explains why its fairly rare for devs
to target both mingw and msys building :)

bottom line: to test a mingw build, have a mingw installation without msys.
to test a msys build, do a full mingw/msys installation.  do not combine 
them, cause you will get peculiar behaviour.


(this particular bug comes from using type (or cat) to try to read a file with
shell redirects.  it works fine in msys.  in mingw its using cmd.exe, not
bash.exe, and the behaviour is broken even for windows, so it gives a broken
directory listing.  you can see exactly where the break happens from where
the slashes go from the front of each word to the back of each word (eg 
/a /b /foo bar/ c/ d/).  this is not a problem in the chicken3 branch mingw

makefile, as i had fixed it previously.)

-elf

On Thu, 26 Mar 2009, felix winkelmann wrote:


On Wed, Mar 25, 2009 at 10:11 PM, Elf  wrote:


no.  what happened is that the quoting rules are screwed up.  i forgot to
backport the makefile from 3.  ill do it in a few.



Please don't touch it, unless we have figured out what exactly goes
wrong.


cheers,
felix
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Chicken 3.4 Ubuntu packages

2009-03-26 Thread Stephen Eilert
Well, if it is Ubuntu-only, you could try a PPA as well.

--Stephen

programmer, n:
   A red eyed, mumbling mammal capable of conversing with inanimate
monsters.


On Thu, Mar 26, 2009 at 8:11 AM, underspecified wrote:

> Greetings,
>
> I noticed that the Chicken packages in Ubuntu are horribly out of date,
> so I have built the Chicken 3.4 debs hosted on chicken.wiki.br and am
> hosting them on my repository Ubuntu-NLP
> [http://cl.naist.jp/~eric-n/ubuntu-nlp/
> ].
> You can install them as follows:
>
> 1) Add Ubuntu NLP to your /etc/apt/sources.list file:
>
> # Ubuntu-NLP 
> 
> >
> deb 
> http://cl.naist.jp/~eric-n/ubuntu-nlp
>  
> scheme
> deb-src 
> http://cl.naist.jp/~eric-n/ubuntu-nlp
>  
> scheme
>
> where  is one of the following: gutsy, hardy, intrepid
>
> 2) Add my public key to your keyring for package verication:
>
> wget 
> http://cl.naist.jp/~eric-n/ubuntu-nlp/8ABD1965.gpg
>  -O-
> | sudo apt-key add -
>
> 3) Refresh the apt sources:
>
> $ sudo apt-get update
>
> 4) Install chicken-bin;
>
> $ sudo apt-get install chicken-bin
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>  libchicken-dev libchicken3 libpcre3-dev libpcrecpp0
> The following NEW packages will be installed:
>  chicken-bin libchicken-dev libchicken3 libpcre3-dev libpcrecpp0
> 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
> Need to get 5691kB/6046kB of archives.
> After this operation, 22.3MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> ...
>
> 5) Enjoy the latest chicken under Ubuntu
>
> $ csi
>
> CHICKEN
> (c)2008 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 3.4.0 - linux-unix-gnu-x86-64   [ 64bit manyargs dload ptables
> applyhook ]
> SVN rev. 11987  compiled 2009-02-27 on thyme (Linux)
>
> #;1>
>
> Let me know if you have any questions or comments.
>
> Eric Nichols
> Computational Linguistics Laboratory
> Graduate School of Information Science
> Nara Institute of Science and Technology
>  
> http://cl.naist.jp/~eric-n/
>
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Alex Queiroz
Hallo,

[Putting chicken-users back...]

On Thu, Mar 26, 2009 at 5:00 PM, Leonardo Valeri Manera
 wrote:
> That's true, but you can't build chicken with mingw+cmd.exe using
> MSYS' make. As I found out today. It will hilariously fail to find
> basic stuff because its convinced the paths are different. I'm not
> sure what happens when you try to build eggs, but I'm sure that's
> another fertile breeding ground for hilarious failtrains.
>
> Anyways, on a completely different topic, it should build with all
> versions of MSVC ya? I'm gonna try 2k8 and 2k8+ICC11 tomorrow.
>

 Yes, you cannot. That's why you should use *MinGW*'s make.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Alex Queiroz
Hallo,

On Thu, Mar 26, 2009 at 4:50 PM, Leonardo Valeri Manera
 wrote:
> MSYS sh (and possibly the MSYS-* apps) do really convoluted quote,
> slash and path mangling to make sh on windows feel like sh on unix.
>

 I guess the point is that you can build Chicken with MinGW +
cmd.exe and use it inside MSYS without problems. Thus, no need for
both makefiles.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Leonardo Valeri Manera
MSYS sh (and possibly the MSYS-* apps) do really convoluted quote,
slash and path mangling to make sh on windows feel like sh on unix.

Cheers,
Leo



2009/3/26 John Cowan :
> felix winkelmann scripsit:
>
>> mingw-msys is for people who need basic GNU tools and sh (that would
>> be me, for example).
>
> I understand why people would want to use msys.  What I don't understand
> is what makes the plain mingw build so painful if you have msys too,
> such that we need a separate build for that case.
>
> --
> There are three kinds of people in the world:   John Cowan
> those who can count,                            co...@ccil.org
> and those who can't.
>


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread John Cowan
felix winkelmann scripsit:

> mingw-msys is for people who need basic GNU tools and sh (that would
> be me, for example).

I understand why people would want to use msys.  What I don't understand
is what makes the plain mingw build so painful if you have msys too,
such that we need a separate build for that case.

-- 
There are three kinds of people in the world:   John Cowan
those who can count,co...@ccil.org
and those who can't.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Leonardo Valeri Manera
It was an experiment more than anything, I'll embark on this with any
seriousity when 4 is actually released.

Leo



2009/3/26 Tobia Conforto :
> Leonardo Valeri Manera wrote:
>>
>> make PLATFORM=mingw PREFIX= ARCH=x86_64
>> HOSTSYSTEM=x86_64-pc-mingw32 TARGETSYSTEM=x86_64-pc-mingw32
>
> Try ARCH=x86-64
>
> And move discussion to a new thread ;-)
>
> -Tobia
>
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Tobia Conforto

Leonardo Valeri Manera wrote:
make PLATFORM=mingw PREFIX= ARCH=x86_64 HOSTSYSTEM=x86_64-pc- 
mingw32 TARGETSYSTEM=x86_64-pc-mingw32


Try ARCH=x86-64

And move discussion to a new thread ;-)

-Tobia


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Leonardo Valeri Manera
So, MinGW64 build falls flat on its face after 3 lines.

MinGW64 needs target and host set as 'x86_64-pc-mingw32'. This give
you this commandline:

make PLATFORM=mingw PREFIX= ARCH=x86_64
HOSTSYSTEM=x86_64-pc-mingw32 TARGETSYSTEM=x86_64-pc-mingw32

Resulting in:

make -f ./Makefile.mingw all
make[1]: Entering directory `D:/software/Dev/Chicken/chicken-4.0.0'
echo 0>buildsvnrevision
make[1]: *** No rule to make target `.\\apply-hack.x86_64.s', needed
by `apply-hack.x86_64.o'.  Stop.
make[1]: Leaving directory `D:/software/Dev/Chicken/chicken-4.0.0'
make: *** [all] Error 2

Am I the first person to try this? I feel positively pioneer-ish.

Cheers,
Leo



2009/3/26 felix winkelmann :
>> I'll give Mingw64 a whirl if that's even possible. Is it? ARCH=x86_64
>> with Mingw?
>
> Oh boy - another combination of configuration options.
>
> Sure, try it out!
>
>
> cheers,
> felix
>


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Chicken 3.4 Ubuntu packages

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 8:11 AM, underspecified
 wrote:
>
> I noticed that the Chicken packages in Ubuntu are horribly out of date,
> so I have built the Chicken 3.4 debs hosted on chicken.wiki.br and am
> hosting them on my repository Ubuntu-NLP
> [http://cl.naist.jp/~eric-n/ubuntu-nlp/].

Thanks, Eric. Adding an entry here would be much appreciated:

https://galinha.ucpel.tche.br/cgi-bin/svnwiki/default//platforms?action=edit§ion=Ubuntu%20Linux


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 3:09 PM, John Cowan  wrote:
> felix winkelmann scripsit:
>
>> - mingw-msys: you have mingw + msys
>> - mingw: you *DON'T* have msys, just cmd.exe and bare bones mingw
>
> I have never understood why we have both these builds, when it seems that
> mingw would suffice.  It just means more documentation, more support, more
> stuff to convert at each release.

mingw is a reasonable platform to develop on, if you want absolutely
bare-bones support for chicken and are not interested in GNU tools.
It's a build for Windows that only needs gcc and make.

mingw-msys is for people who need basic GNU tools and sh (that would
be me, for example).


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread John Cowan
felix winkelmann scripsit:

> - mingw-msys: you have mingw + msys
> - mingw: you *DON'T* have msys, just cmd.exe and bare bones mingw

I have never understood why we have both these builds, when it seems that
mingw would suffice.  It just means more documentation, more support, more
stuff to convert at each release.

-- 
John Cowan  co...@ccil.org  http://www.ccil.org/~cowan
Does anybody want any flotsam? / I've gotsam.
Does anybody want any jetsam? / I can getsam.
--Ogden Nash, No Doctors Today, Thank You


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 1:59 PM, Leonardo Valeri Manera
 wrote:
>
> You learn something every day I guess, I never suspected MSYS-make
> would break when used outside of MSYS, though considering the PATH
> mangling MSYS does its not surprising at all.

MSYS does many evil things. MSYS make also searches for suitable
sh, I think. I can't follow anymore, there are too many MSYS-related
options and setups.

So, the situation is:

- mingw-msys: you have mingw + msys
- mingw: you *DON'T* have msys, just cmd.exe and bare bones mingw
- msvc: *NO* mingw/msys, just GNU make and MSVC and cmd.exe

Everything else is not supported. Have a nice day.

> I'll give Mingw64 a whirl if that's even possible. Is it? ARCH=x86_64
> with Mingw?

Oh boy - another combination of configuration options.

Sure, try it out!


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Leonardo Valeri Manera
I don't give up that easily.

Slapped a gnuwin32 install into the PATH, ran with backslashes, success!

You learn something every day I guess, I never suspected MSYS-make
would break when used outside of MSYS, though considering the PATH
mangling MSYS does its not surprising at all.

I'd feel daft, but instead I'll chalk it down to my being a taurus and
barreling through problems horns-down.

I'll give Mingw64 a whirl if that's even possible. Is it? ARCH=x86_64
with Mingw?

Leo


2009/3/26 felix winkelmann :
> On Thu, Mar 26, 2009 at 12:55 PM, Leonardo Valeri Manera
>  wrote:
>> Eh, I'll have to install make an other stuffs outside of MSYS' path
>> then. Exactly what is required outside of GNU make? Calling msys make
>> via absolute path unsurprisingly fails with the same errors.
>>
>> In any case, the README needs to be changed then, it says:
>>
>> - When installing under mingw, with a windows shell ("cmd.exe"),
>>  pass an absolute pathname as PREFIX and use forward slashes.
>>
>> TDM-mingw (gcc 4.3) (seems) to be working fine with MSYS.
>>
>
> Ok, I guess it doesn't make sense then to try to emulate a non-MSYS
> mingw build. If the mingw-msys build works fine for you, you should use
> that one.
>
> Thanks for providing the infomation. I'll fix the README.
>
>
> cheers,
> felix
>


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
2009/3/26 Peter Bex :
> On Thu, Mar 26, 2009 at 10:19:08AM +0100, felix winkelmann wrote:
>> On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev  wrote:
>> >
>> > Error: (import) during expansion of (import ...) - cannot import from 
>> > undefined module: scheme
>> >
>>
>> Is the build installed in /usr/pkg/lib, or is this before the install?
>
> -
> This is before install. I have previous version, which I'm actively using for 
> serious work.
> Previously I could run tests before installation.
> If it was due to lucky coincidence, it would be nice to have it still.
> -

I'm not sure what happens there. The passing of -Wl,-R... will use the
runpath from
the currently installed version, which is wrong in any case. I'm afraid I don't
have a quick fix in the moment. Note that you can build the chicken
with a PREFIX
set to some temporary location, install it there and run "make check" using that
installation.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: testing release candidate for 4.0.0

2009-03-26 Thread Peter Bex
On Thu, Mar 26, 2009 at 10:19:08AM +0100, felix winkelmann wrote:
> On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev  wrote:
> >
> > Error: (import) during expansion of (import ...) - cannot import from 
> > undefined module: scheme
> >
> 
> Is the build installed in /usr/pkg/lib, or is this before the install?

Alexsej asked me to forward his reply because he had some problems with
the SMTP server:

-
This is before install. I have previous version, which I'm actively using for 
serious work.
Previously I could run tests before installation.
If it was due to lucky coincidence, it would be nice to have it still.
-

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
-- Donald Knuth


pgp3JTnBwxnRH.pgp
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 4:24 AM, Taylor Venable  wrote:
>
> I get the following when running "make fullcheck" --
>

scripts/makedist.scm is not in the tarball. I should add it...

Thanks.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
On Wed, Mar 25, 2009 at 10:11 PM, Elf  wrote:
>
> no.  what happened is that the quoting rules are screwed up.  i forgot to
> backport the makefile from 3.  ill do it in a few.
>

Please don't touch it, unless we have figured out what exactly goes
wrong.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
2009/3/25 Ivan Shcheklein :
> Hi Felix,
>
> MSVC+Cygwin's tools. Build failed since both chichen-defaults and
> chicken-config contain something like this:

I don't understand: MSVC + cygwin?


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: testing release candidate for 4.0.0

2009-03-26 Thread felix winkelmann
On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev  wrote:
>
> Error: (import) during expansion of (import ...) - cannot import from 
> undefined module: scheme
>

Is the build installed in /usr/pkg/lib, or is this before the install?


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Chicken 3.4 Ubuntu packages

2009-03-26 Thread underspecified
Greetings,

I noticed that the Chicken packages in Ubuntu are horribly out of date,
so I have built the Chicken 3.4 debs hosted on chicken.wiki.br and am
hosting them on my repository Ubuntu-NLP
[http://cl.naist.jp/~eric-n/ubuntu-nlp/].
You can install them as follows:

1) Add Ubuntu NLP to your /etc/apt/sources.list file:

# Ubuntu-NLP 
deb http://cl.naist.jp/~eric-n/ubuntu-nlp  scheme
deb-src http://cl.naist.jp/~eric-n/ubuntu-nlp  scheme

where  is one of the following: gutsy, hardy, intrepid

2) Add my public key to your keyring for package verication:

wget http://cl.naist.jp/~eric-n/ubuntu-nlp/8ABD1965.gpg -O- | sudo apt-key add -

3) Refresh the apt sources:

$ sudo apt-get update

4) Install chicken-bin;

$ sudo apt-get install chicken-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libchicken-dev libchicken3 libpcre3-dev libpcrecpp0
The following NEW packages will be installed:
  chicken-bin libchicken-dev libchicken3 libpcre3-dev libpcrecpp0
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 5691kB/6046kB of archives.
After this operation, 22.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
...

5) Enjoy the latest chicken under Ubuntu

$ csi

CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.4.0 - linux-unix-gnu-x86-64   [ 64bit manyargs dload ptables
applyhook ]
SVN rev. 11987  compiled 2009-02-27 on thyme (Linux)

#;1>

Let me know if you have any questions or comments.

Eric Nichols
Computational Linguistics Laboratory
Graduate School of Information Science
Nara Institute of Science and Technology
 http://cl.naist.jp/~eric-n/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users