This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ITP: Guile 1.5.6



Jan Nieuwenhuizen wrote:

Hi List,

Last night, I've eventually succeeded in building guile-1.5.6, with
shared object libraries for Cygwin.

Guile version 1.5.6, is now available for testing at:

    http://lilypond.org/cygwin/tar/guile

After a successful installation of guile (and libguile14), you should
be able to run, eg,

    guile -c '(begin (write (string-append "hello: " (version) "\n")))'

May we have your votes (and comments) please.

http://lilypond.org/cygwin/tar/guile/guile-1.5.6-1-src.tar.bz2
http://lilypond.org/cygwin/tar/guile/guile-1.5.6-1.tar.bz2
http://lilypond.org/cygwin/tar/guile/guile-doc/guile-doc-1.5.6-1.tar.bz2
http://lilypond.org/cygwin/tar/guile/libguile14/libguile14-1.5.6-1.tar.bz2
http://lilypond.org/cygwin/tar/guile/libguile14-dev/libguile14-dev-1.5.6-1.tar.bz2

Well, the setup.hints for guile-doc, libguile14, and libguile14-dev packages should all include an 'external-source: guide' line.

Also, the libguile14-dev package concerns me. It should probably be called 'libguile14-devel' (not -dev) for consistency with other packages. Also, will libguile14-devel be able to peacefully coexist with, say, libguile15-devel? Or should the -devel package be called "guile-devel' instead, so that only the latest version of the headers/statlibs/implibs are ever installed?

To me, it sure looks like the latter is true:
1) the header files are installed into /usr/include/guile/, /usr/include/guile-readline/, and /usr/include/libguile/ -- plus, there's a /usr/include/libguile.h file (not .../guile14/ .../libguile14/ .../guile-readline14/ + /usr/include/libguile14.h) so they will be overwritten by "libguile15-devel"
2) the main libraries in /usr/lib are not versioned in any way -- you have libguile.a, libguilereadline.a, and the corresponding .la files.

So, this package should probably be
guile-devel
NOT
libguile14-dev

There are also four bigger problems:

1) In libguile14-dev (guile-devel), these files:
usr/lib/libguile-srfi-srfi-13-14-lt-.a
usr/lib/libguile-srfi-srfi-4-lt-.a
usr/lib/libguile-srfi-srfi-13-14-lt-.la
usr/lib/libguile-srfi-srfi-4-lt-.la
Ditto libguile14:
usr/bin/cygguile-srfi-srfi-13-14-lt--1.dll
usr/bin/cygguile-srfi-srfi-4-lt--1.dll
usr/lib/libguile-srfi-srfi-13-14-lt-.dll.a
usr/lib/libguile-srfi-srfi-4-lt-.dll.a

I'm almost positive that something is going terribly wrong here. Those names just do NOT look right.

2) The import libs should be in the -devel package, not the runtime package. That is,
/usr/lib/libguile.dll.a
/usr/lib/libguilereadline.dll.a
/usr/lib/libguile-srfi-srfi-13-14-lt-.dll.a
/usr/lib/libguile-srfi-srfi-4-lt-.dll.a
should be moved from 'libguile14' into 'libguile14-dev'=='guile-devel'

3) What's with the sticky bit on the directories within the archives? Is that kosher?

4) guile.m4 is in the wrong place, and in the wrong package. Currently, it is in /usr/aclocal and is part of the libguile14 package. It should be installed into /usr/SHARE/aclocal/ and should be part of the 'libguile14-dev'=='guile-devel' package.

--Chuck

P.S. However, I do think that guile is a worthwhile addition to the cygwin distribution...





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]