Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-11 Thread Peter Sommerfeld

A scheme/chicken newbie here (second attempt).

Am 11.08.2018 um 11:43 schrieb Peter Bex:
After many years of development, we are happy to announce the first 
release candidate of the upcoming CHICKEN 5.0.0.  This represents

the largest change in CHICKEN since the 4.0.0 release.


I have compiled it on Win10 with mingw-64 with cmd.exe


make PLATFORM=mingw PREFIX=C:/Users/peter/chicken ARCH=x86-64 install
check


I added ARCH because without it compiling failed on chicken 4.

Result:
23 tests completed in 0.172 seconds
  23 (100.00%) tests passed
  0 (0.00%) tests failed
-- utf-8 tests --

 TOTALS:
  2447 tests completed in 1.188 seconds
  2447 (100.00%) tests passed
  0 (0.00%) tests failed

A few stresstests seems to have failed. The transscript is too long to
post it here. Of course, can be done if required.

Thanks all for your effort!

Peter

PS: waiting for system and mailbox egg ...



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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld

Hi Christian!
Am 02.02.2016 um 15:19 schrieb Christian Kellermann:

Please feel free to send any issues with cygwin my way,
so I can get it fixed upstream.

Well, one mor issue ... (continue on list or to you only?)

# My setup: compiles and installes! (32bit)

make PLATFORM=cygwin PREFIX=~/local VARDIR=~/

# bashrc

PATH=~/local/bin:$PATH
export PATH
export CHICKEN_REPOSITORY=~/chicken/7

# calling csi
$ csi
$ C:/cygwin/home/Peter/local/bin/csi.exe: error while loading shared 
libraries: cygchicken-0.dll: cannot open shared object file: No such 
file or directory

-bash: C:/cygwin/home/Peter/local/bin/csi.exe:: No such file or directory

# There is no cygchicken-0.dll.

~/local/lib/libchicken.a
libchicken.dll.a
~/local/include/chicken.h
chicken-config.h
~/chicken/7 --> all file as elf shared lib .so, no win .dll

I suspekt there is an option missing to create dlls ???

Its time for a sleep now :-)

Good night!

Peter







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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld

Am 02.02.2016 um 15:19 schrieb Christian Kellermann:

* Peter Sommerfeld  [160202 15:07]:

BTW: Are you the maintainer of the cygwin port?


Yeah but that's mostly because there hasn't been anyone else :)
Please feel free to send any issues with cygwin my way, so I can get
it fixed upstream.


No complaints so far, except this one. I think it would be better to
provide 2 targets, cygwin_x86 and cygwin_x86_64 or something like this.

Peter

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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld

Am 02.02.2016 um 13:10 schrieb Christian Kellermann:

From my cygport file:

AR=$(arch) if [ $AR = "i686" ] then MAKEOPTS="PREFIX=/usr
PLATFORM=cygwin ARCH=x86" elif [ $AR = "x86_64" ] then
MAKEOPTS="PREFIX=/usr PLATFORM=cygwin ARCH=x86-64 HACKED_APPLY="
else ECHO "Unknown Architecture" fi

That should work. Adjust the PREFIX as needed.


Hi Christian,

it is sufficient to use a commandline like this:

PLATFORM=cygwin PREFIX=~/local VARDIR=~/ ARCH=x86_64 HACKED_APPLY=""

Thanks again!

Peter

BTW: Are you the maintainer of the cygwin port?

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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld


Am 02.02.2016 um 13:10 schrieb Christian Kellermann:

 From my cygport file:

AR=$(arch)
if [ $AR = "i686" ]
then
MAKEOPTS="PREFIX=/usr PLATFORM=cygwin ARCH=x86"
elif [ $AR = "x86_64" ]
then
   MAKEOPTS="PREFIX=/usr PLATFORM=cygwin ARCH=x86-64 HACKED_APPLY="
else
   ECHO "Unknown Architecture"
fi

That should work. Adjust the PREFIX as needed.


Thanks Christian!

I will try it later.

Peter

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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld

Am 02.02.2016 um 12:35 schrieb Christian Kellermann:

* Peter Sommerfeld  [160202 12:22]:

Am 02.02.2016 um 12:14 schrieb Christian Kellermann:


Please note that there is an up to date package available for cygwin.
It should work for 32bit and 64bit platforms. Or do you have any
special needs building it?


No special needs. I just want to have the same setup and versions on all
platforms I use: Win10 (32 + 64 bit), SuseTW and DragonflyBSD.

Where can I find the up to date package. Or do I have to use svn?


Click on the package to install when running setup.exe
Sorry, seems to be a missunderstanding. The build-in chicken works. But 
I want to *compile* it myself to have the same setup on all platform. 
So, these are probably special needs. This are my intentions:


make PLATFORM=cygwin PREFIX=~/local VARDIR=~/

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


Re: [Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld

Am 02.02.2016 um 12:14 schrieb Christian Kellermann:

Hi!

Please note that there is an up to date package available for cygwin.
It should work for 32bit and 64bit platforms. Or do you have any
special needs building it?


No special needs. I just want to have the same setup and versions on all
platforms I use: Win10 (32 + 64 bit), SuseTW and DragonflyBSD.

Where can I find the up to date package. Or do I have to use svn?

Peter

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


[Chicken-users] Error compiling chicken cygwin x86_64

2016-02-02 Thread Peter Sommerfeld
I've compiled chicken without any problems on cygwin x86 on a 32 bit 
notebook. The same fail swith cygwin 86_64:

--
$ make PLATFORM=cygwin PREFIX=~/local VARDIR=~/
gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -c apply-hack.x86.S -o apply-hack.x86.o

apply-hack.x86.S: Assembler messages:
apply-hack.x86.S:35: Error: operand type mismatch for `call'
rules.make:184: die Regel für Ziel „apply-hack.x86.o“ scheiterte
make: *** [apply-hack.x86.o] Fehler 1
--
Adding ARCH=x86_64:
-
$ make PLATFORM=cygwin PREFIX=~/local VARDIR=~/ ARCH=x86_64
make: *** Keine Regel vorhanden, um das Ziel „apply-hack.x86_64.S“,
benötigt von „apply-hack.x86_64.o“, zu erstellen.  Schluss.
--

Any help appreciated

Peter

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


Re: [Chicken-users] Installing on Suse Tumbleweed

2016-01-28 Thread Peter Sommerfeld

Thanks, works!

That should be mentioned in the README file.

Am 28.01.2016 um 13:48 schrieb John Cowan:

Peter Sommerfeld scripsit:


Did I do something wrong or do I have to do additional steps?


You need to do "make PLATFORM=linux install" as root.  Passing
PREFIX does not install anything, it just tells Chicken to build
so that it will work properly at that location.

By the way, you probably shouldn't build as root as a matter of safety.
Instead, just install as root.



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


[Chicken-users] Installing on Suse Tumbleweed

2016-01-28 Thread Peter Sommerfeld

Hi everyone!

I'm new to scheme/chicken and this list.

I've tried to install 4.10.1 on SUSE Tumbleweed (the rolling release of
SUSE)
# make PLATFORM=linux PREFIX=/usr/local

Compiling seems to succeed. At least ./csi and other programs are
starting. But all files remain in the build directory and are not passed
to /usr/local.

Did I do something wrong or do I have to do additional steps?
May be I can pass the file to the appropriate directories by hand but I
need to know the correct locations in that case.

tia, Peter

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


Re: [Chicken-users] setup-download

2015-03-26 Thread Peter Sommerfeld

Thanks Mario, it works !

Peter

Am 26.03.2015 um 19:42 schrieb Mario Domenech Goulart:


If you don't care about history, you can just

   $ chicken-install -r 

(-r is for -retrieve)


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


Re: [Chicken-users] setup-download

2015-03-26 Thread Peter Sommerfeld

Hi Matt,

thanks for advice! The files are indeed in /usr/local/lib/chicken/7
I've changed it locally accordingly.

Because we are at it: Where can I get the source-code of the eggs.
The docus are a bit sparse and I would like to learn something from
the eggs.

Peter

PS: Sorry for double posting.

Am 26.03.2015 um 16:38 schrieb Matt Gushee:

Hi, Peter--

On Thu, Mar 26, 2015 at 6:03 AM, Peter Sommerfeld mailto:l...@r8ubrica.at>> wrote:

I am new to scheme and chicken. I have installed 4.9.0.1 on DragonflyBSD


Welcome to the crazy world of Scheme!

I have set the environment in .tcshrc
 setenv CHICKEN_REPOSITORY $HOME/eggs/lib/chicken/4

and called:
 chicken-install -init ~/eggs/lib/chicken/4


You should be aware that the number at the end of the path is a 'binary
compatibility version' for eggs, which is independent of the Chicken
compiler version. The current binary version is 7, so the default egg
repo location would be $SYSTEM_LIB_PATH/chicken/7. Here's [a little]
more info:

http://wiki.call-cc.org/chicken-hackers-guide#versions

Given that you are manually setting the repo location, I don't know that
using a different number will cause any problems. But you will need to
change it periodically - I think the egg binary version certainly
changes when the Chicken major version changes, but - given the number
is now 7 - apparently on some other occasions too.

--
Matt Gushee


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



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


Re: [Chicken-users] setup-download

2015-03-26 Thread Peter Sommerfeld

I've found the mistake! I have set CHICKEN_REPOSITORY *bevor* calling
chicken-install --init.

Sorry for the noise!

Peter

Am 26.03.2015 um 13:03 schrieb Peter Sommerfeld:

Hi everyone!

I am new to scheme and chicken. I have installed 4.9.0.1 on DragonflyBSD
using pkg. First simple tests show that it works.

I have set the environment in .tcshrc
setenv CHICKEN_REPOSITORY $HOME/eggs/lib/chicken/4

and called:
chicken-install -init ~/eggs/lib/chicken/4

I get the following error message:
Error (require) cannot load extention: setup-download

The same happens with chicken-install arrays and others.
I have tried it as root too.

I think I've missed something when installing but cannot find a 
reference. What is wrong here and what has to be done.


Peter

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



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


[Chicken-users] setup-download

2015-03-26 Thread Peter Sommerfeld

Hi everyone!

I am new to scheme and chicken. I have installed 4.9.0.1 on DragonflyBSD
using pkg. First simple tests show that it works.

I have set the environment in .tcshrc
setenv CHICKEN_REPOSITORY $HOME/eggs/lib/chicken/4

and called:
chicken-install -init ~/eggs/lib/chicken/4

I get the following error message:
Error (require) cannot load extention: setup-download

The same happens with chicken-install arrays and others.
I have tried it as root too.

I think I've missed something when installing but cannot find a 
reference. What is wrong here and what has to be done.


Peter

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