delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/08/12:38:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 8 Jan 2004 09:37:50 -0800 (PST)
From: Kaz Kylheku <kaz AT ashi DOT footprints DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with clisp package.
Message-ID: <Pine.LNX.4.44.0401080937310.17810-100000@ashi.FootPrints.net>
MIME-Version: 1.0

The packaged CLISP is built using libsigsegv. However, that library is
not packaged with it, so it's not possible to do custom links of CLISP,
which some CLISP-based applications need to do!

(That is to say, some programs add their own C functions to CLISP by
adding them to the set of pieces from which CLISP is made to link
a custom image.  These pieces, static libs really, are collectively
called a ``linking set''.  When CLISP is built and installed, it
creates two linking sets by default, in $PREFIX/lib/clisp/base and
$PREFIX/lib/clisp/full representing a minimal and fully featured
image, respectively. CLISP includes a ``linkkit'' mechanism by which
new linking sets can be constructed based on adding material to existing
ones.)

Anyway, the packaged CLISP wants to link in -lsigsegv which it expects
to find in /usr/local/libsigsegv-cygin/lib.  It's an external piece,
not part of the linking set.  This reference is found
in the makevars file of both the base and full linking set:
/usr/lib/clisp/{base,full}/makevars.

The very location of the reference is fishy in itself since a package
unstalled in /usr shouldn't refer to /usr/local stuff!

It looks like the package was built against a locally installed
libsigsegv, introducing a dependency which was then overlooked.

If you don't have libsigsegv, CLISP will build without it; it's not an
essential dependency. In that case the makevars files will end up with
-DNO_SIGGSEGV in CFLAGS, and there is no reference to -lsigsegv in the
LIBS variable.  In other words, rebuilding CLISP from scratch without
installing libsigsegv at all is one way to cure the problem. Another
fix would be to have a proper Cygwin package for this lib and make it a
dependency.

-- 
Meta-CVS: directory structure versioning; versioned symbolic links;
versioned execute permission; versioned property lists; easy branching
and merging and third party code tracking; all implemented over the
standard CVS command line client -- http://freshmeat.net/projects/mcvs


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019