installation

19 views
Skip to first unread message

maxigas

unread,
May 19, 2011, 3:43:43 AM5/19/11
to core-...@googlegroups.com
hi!

I have difficulties installing core-server.

I was following this document: http://labs.core.gen.tr/#page:%22installation%22$installation

I am trying to run the install script, but it halted at the following point:

+-------------------------------------------------+
| Checking out system: CFFI |
+-------------------------------------------------+
Executing command: /usr/bin/darcs get --partial http://labs.core.gen.tr/repos/cffi/ cffi/
Converting old-fashioned repository to hashed format...
*******************************************************************************
Fetching a hashed repository would be faster. Perhaps you could persuade
the maintainer to run darcs optimize --upgrade with darcs 2.4.0 or higher?
*******************************************************************************

Warning: CRC errors found. These are probably harmless but should be repaired.
See 'darcs gzcrcs --help' for more information.

darcs: unable to read patch:
Sat Feb 4 09:28:14 CET 2006 James Bielman <jam...@jamesjb.com>
* Update system definition version to 0.9.0.
user error (Failed to download URL http://labs.core.gen.tr/repos/cffi/_darcs/patches/20060204082814-6edf7-a2871fa7eef427dae8d4cd6927e8dc0973a35ae3.gz: HTTP response code said error)

debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" RUNNING
{1002C34A51}>:
Execution of "/usr/bin/darcs get --partial http://labs.core.gen.tr/repos/cffi/ cffi/" failed with error code: 1

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-AGAIN] Re-run this command.
1: [CONTINUE ] Ignore runtime option --load "config.lisp".
2: [ABORT ] Skip rest of --eval and --load options.
3: Skip to toplevel READ/EVAL/PRINT loop.
4: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).

((SB-PCL::FAST-METHOD CHECK-EXIT-CODE (SHELL))
#(6 NIL 10 NIL)
#<unavailable argument>
#<DARCS {100430C4C1}>)
0]

PGP key: http://maxigas.hu/maxigas.gpg
.. .. ...... . . . ..... ...... ......
. . . . . . . . . ... . . ......
. . . ...... . . . . . ...... .
. . . . . . . ..... . . ......
Fingerprint: EE2E D824 B5C3 4544 C2B8 B75F 2183 52B5 8EC1 57C1

Evrim Ulu

unread,
May 19, 2011, 9:33:33 AM5/19/11
to core-...@googlegroups.com
Hi Maxigas,

I have no difficulties getting the repo. I am aware that CFFI has already
switched to GIT. Unfortunately, i didn't have time to check towards the
latest cffi therefore i've made a copy of old cffi on our site.

core@node7:~/y$ /usr/bin/darcs get --partial
http://labs.core.gen.tr/repos/cffi/ cffi/
Finished getting.
core@node7:~/y$ darcs --version
2.0.2 (release)

I hope it is a temporary error, may I ask you your darcs version?

Regards,
--
Evrim Ulu <evri...@core.gen.tr>
Kor Information Technolgies Ltd. - http://www.core.gen.tr/

On Thu, 19 May 2011 09:43:43 +0200 (CEST), maxigas <max...@anargeek.net>
wrote:

> --
> To access group - http://groups.google.com/group/core-server
> To access [Core-serveR] - http://labs.core.gen.tr/
> -- Take this REPL brother and may it serve you well.

Nik

unread,
May 27, 2011, 8:26:35 AM5/27/11
to [Core-serveR]
Hi Evrim!

I got exactly the same error as reported by Maxigas.
I'm using "darcs 2.5.2 (release)" on Archlinux (64bit).

Regards
Nik

On May 19, 3:33 pm, Evrim Ulu <evrim....@core.gen.tr> wrote:
> Hi Maxigas,
>
> I have no difficulties getting the repo. I am aware that CFFI has already
> switched to GIT. Unfortunately, i didn't have time to check towards the
> latest cffi therefore i've made a copy of old cffi on our site.
>
> core@node7:~/y$ /usr/bin/darcs get --partialhttp://labs.core.gen.tr/repos/cffi/cffi/
> Finished getting.
> core@node7:~/y$ darcs --version
> 2.0.2 (release)
>
> I hope it is a temporary error, may I ask you your darcs version?
>
> Regards,
> --
> Evrim Ulu <evrim....@core.gen.tr>
> Kor Information Technolgies Ltd. -http://www.core.gen.tr/
>
> On Thu, 19 May 2011 09:43:43 +0200 (CEST), maxigas <maxi...@anargeek.net>
> wrote:                                                      
>
> > Warning: CRC errors found. These are probably harmless but should be
> > repaired.
> > See 'darcs gzcrcs --help' for more information.
>
> > darcs: unable to read patch:                                      
> > Sat Feb  4 09:28:14 CET 2006  James Bielman  <jame...@jamesjb.com>
> >   * Update system definition version to 0.9.0.
> > user error (Failed to download URL
>
> http://labs.core.gen.tr/repos/cffi/_darcs/patches/20060204082814-6edf...
>
>
>
>
>
>
>
> > HTTP response code said error)
>
> > debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread"
> > RUNNING
> >                                                {1002C34A51}>:
> >   Execution of "/usr/bin/darcs get --partial
> >  http://labs.core.gen.tr/repos/cffi/cffi/" failed with error code: 1
>
> > Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> > restarts (invokable by number or by possibly-abbreviated name):
> >   0: [TRY-AGAIN] Re-run this command.
> >   1: [CONTINUE ] Ignore runtime option --load "config.lisp".
> >   2: [ABORT    ] Skip rest of --eval and --load options.
> >   3:             Skip to toplevel READ/EVAL/PRINT loop.
> >   4: [QUIT     ] Quit SBCL (calling #'QUIT, killing the process).
>
> > ((SB-PCL::FAST-METHOD CHECK-EXIT-CODE (SHELL))
> >  #(6 NIL 10 NIL)
> >  #<unavailable argument>
> >  #<DARCS {100430C4C1}>)
> > 0]
>
> >            PGP key:http://maxigas.hu/maxigas.gpg
> >           ..   .. ...... .   . . ..... ...... ......
> >          . . . . .    .   .   . . ... .    . ......
> >         .  .  . ......  . .  . .   . ...... .
> >        .     . .    . .   . . ..... .    . ......
> > Fingerprint: EE2E D824 B5C3 4544 C2B8  B75F 2183 52B5 8EC1 57C1
>
> > --
> > To access group -http://groups.google.com/group/core-server
> > To access [Core-serveR] -http://labs.core.gen.tr/

Evrim Ulu

unread,
May 27, 2011, 6:10:06 PM5/27/11
to core-...@googlegroups.com
Dear Fellows,

I've successfully updated installer to reflect changes that fixes cffi
darcs download bug. It is now a tarball at
http://labs.core.gen.tr/repos/cffi.tar.gz

Apparently, darcs has a GZ CRC bug. It is fixed in >2.2.0 versions.
Moreover, cffi has already switched to git. There are maintance tasks that
I cannot handle currently. I hope we will handle them asap like git
repository downloading. I'm planning to do those updates during
June/July/August.

For the time being, just download the new installer at
http://labs.core.gen.tr/repos/core-server-installer.tar.gz .


Regards,
--
Evrim Ulu <evri...@core.gen.tr>
Kor Information Technolgies Ltd. - http://www.core.gen.tr/

On Fri, 27 May 2011 05:26:35 -0700 (PDT), Nik <nitr...@googlemail.com>
wrote:

Nik

unread,
May 29, 2011, 11:58:09 AM5/29/11
to [Core-serveR]
Hello folks!

Using the new installer the installation worked without any further
problems:-)
After finishing the installtion I have started the core-server:

[nik@caspian ~]$ core-server start
[ Core-serveR ] starting /usr/local/bin/core-server: line 63: warning:
setlocale: LC_ALL: cannot change locale (tr_TR.UTF-8): No such file or
directory
now!

Because my current locale setting differs from that one exported
in "/usr/local/lisp/core-server/bin/core-server" by default (line 63)
I have changed it accordingly!

Trying to attach to core-server dropped me into the dubugger:

[nik@caspian ~]$ core-server attach

--------------------------------------------------------------------------------
debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD

"initial thread" RUNNING

{1002990FD1}>:
Error while trying to load definition for system core-server from
pathname
/usr/local/lisp/core-server/lib/systems/core-server.asd:
ASDF 2 is not compatible with ASDF-BINARY-LOCATIONS, which you
are using.
ASDF 2 now achieves the same purpose with its builtin ASDF-OUTPUT-
TRANSLATIONS,
which should be easier to configure. Please stop using ASDF-BINARY-
LOCATIONS,
and instead use ASDF-OUTPUT-TRANSLATIONS. See the ASDF manual for
details.
In case you insist on preserving your previous A-B-L configuration,
but
do not know how to achieve the same effect with A-O-T, you may use
function
ASDF:ENABLE-ASDF-BINARY-LOCATIONS-COMPATIBILITY as documented in the
manual;
call that function where you would otherwise have loaded and
configured A-B-L.
....
--------------------------------------------------------------------------------


Following the workaround suggested in error report I have modified
"/usr/local/lisp/core-server/lib/systems/core-server.asd" as follows:

-------------------------------------------------
...
;;(REQUIRE :ASDF-BINARY-LOCATIONS)
(ASDF:ENABLE-ASDF-BINARY-LOCATIONS-COMPATIBILITY)
...
-------------------------------------------------

Now the system can be loaded but it stops with following compilation
error:

[nik@caspian ~]$ core-server attach

--------------------------------------------------------------------------------
....
; compiling (IN-PACKAGE :CL-USER)
; compiling (DEFPACKAGE :TR.GEN.CORE.INSTALL)
; compiling (DEFPACKAGE :TR.GEN.CORE.FFI ...)
; compiling (DEFPACKAGE :TR.GEN.CORE.SERVER ...)ASDF could not load
core-server because
no symbol named "SLOT-DEFINITION-READER-FUNCTION" in "SB-PCL".

debugger invoked on a SB-KERNEL:SIMPLE-PACKAGE-ERROR in thread
#<THREAD

"initial thread" RUNNING

{1002990FD1}>:
no symbol named "SLOT-DEFINITION-READER-FUNCTION" in "SB-PCL"
....
--------------------------------------------------------------------------------

Am I missing something?
I'm using SBCL 1.0.48 on (Arch)linux (64bit).

Any feedback is very much appreciated!

Regards
Nik

On May 28, 12:10 am, Evrim Ulu <evrim....@core.gen.tr> wrote:
> Dear Fellows,
>
> I've successfully updated installer to reflect changes that fixes cffi
> darcs download bug. It is now a tarball athttp://labs.core.gen.tr/repos/cffi.tar.gz
>
> Apparently, darcs has a GZ CRC bug. It is fixed in >2.2.0 versions.
> Moreover, cffi has already switched to git. There are maintance tasks that
> I cannot handle currently. I hope we will handle them asap like git
> repository downloading. I'm planning to do those updates during
> June/July/August.
>
> For the time being, just download the new installer athttp://labs.core.gen.tr/repos/core-server-installer.tar.gz.
>
> Regards,
> --
> Evrim Ulu <evrim....@core.gen.tr>
> Kor Information Technolgies Ltd. -http://www.core.gen.tr/
>
> On Fri, 27 May 2011 05:26:35 -0700 (PDT), Nik <nitral...@googlemail.com>

Evrim Ulu

unread,
Jun 6, 2011, 12:26:23 PM6/6/11
to core-...@googlegroups.com
Hi Nik!


Today we've fixed several bugs in the current repo. I think they would be
sufficient for you to install CoreServer. Here is a list:

Mon Jun 6 19:22:34 EEST 2011 ev...@core.gen.tr
* fix uri? parser, pchar-special does not consist #\Space

Mon Jun 6 17:23:36 EEST 2011 ev...@core.gen.tr
* removed sudo usage in postmap, vars.lisp

Mon Jun 6 20:07:47 EEST 2011 ev...@core.gen.tr
* cffi->tarball in installer lib.conf

Mon Jun 6 20:03:57 EEST 2011 ev...@core.gen.tr
* remove cl-prevalence download at install, fix cffi in lib.conf

Mon Jun 6 16:40:49 EEST 2011 ev...@core.gen.tr
* locale tr_TR.UTF-8 -> en_US.UTF-8

Mon Jun 6 16:38:43 EEST 2011 ev...@core.gen.tr
* removed sb-pcl::slot-definition-*-function imports

Mon Jun 6 16:25:05 EEST 2011 ev...@core.gen.tr
* remove asdf-binary-locations dependency from installer, asdf 2.010 is
already doing it.

Best regards,


--
Evrim Ulu <evri...@core.gen.tr>
Kor Information Technolgies Ltd. - http://www.core.gen.tr/

On Sun, 29 May 2011 08:58:09 -0700 (PDT), Nik <nitr...@googlemail.com>
wrote:

Nik

unread,
Jun 7, 2011, 9:23:52 AM6/7/11
to [Core-serveR]
It worked now!
Thank you!

Regards
Nik

On 6 Jun., 18:26, Evrim Ulu <evrim....@core.gen.tr> wrote:
> Hi Nik!
>
> Today we've fixed several bugs in the current repo. I think they would be
> sufficient for you to install CoreServer. Here is a list:
>
> Mon Jun  6 19:22:34 EEST 2011  ev...@core.gen.tr
>   * fix uri? parser, pchar-special does not consist #\Space
>
> Mon Jun  6 17:23:36 EEST 2011  ev...@core.gen.tr
>   * removed sudo usage in postmap, vars.lisp
>
> Mon Jun  6 20:07:47 EEST 2011  ev...@core.gen.tr
>   * cffi->tarball in installer lib.conf
>
> Mon Jun  6 20:03:57 EEST 2011  ev...@core.gen.tr
>   * remove cl-prevalence download at install, fix cffi in lib.conf
>
> Mon Jun  6 16:40:49 EEST 2011  ev...@core.gen.tr
>   * locale tr_TR.UTF-8 -> en_US.UTF-8
>
> Mon Jun  6 16:38:43 EEST 2011  ev...@core.gen.tr
>   * removed sb-pcl::slot-definition-*-function imports
>
> Mon Jun  6 16:25:05 EEST 2011  ev...@core.gen.tr
>   * remove asdf-binary-locations dependency from installer, asdf 2.010 is
> already doing it.
>
> Best regards,
> --
> Evrim Ulu <evrim....@core.gen.tr>
> Kor Information Technolgies Ltd. -http://www.core.gen.tr/
>
> On Sun, 29 May 2011 08:58:09 -0700 (PDT), Nik <nitral...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages