[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting started writing desktop applications

From: Barry Fishman
Subject: Re: getting started writing desktop applications
Date: Thu, 21 Jul 2016 17:39:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On 2016-07-21 16:35:56 +03, David Pirotte wrote:
>> The whole autoreconf setup for added modules seems to get broken with
>> every development releases.  Some packages seem to require multiple
>> reconfigs before they build. 
> I'm not aware of any of this, could you be more specific?

OK. Looking at guile-dbi  My install script ended up including:

--8<---------------cut here---------------start------------->8---
if [ ! -f configure ]; then
  echo ";;; Doing first"
  ./ --no-configure
  echo ";;; Doing autoreconf"
  autoreconf -fi
  echo ";;; Doing second"
  ./ --no-configure
echo ";;; Now configure"
configure --prefix="${dest}" \
  LDFLAGS='-L/usr/lib64/mysql' \
--8<---------------cut here---------------end--------------->8---

I don't know it that is still needed, but fragile build environment lead
to cargo cult behavior.  And its never completely clear what the autogen
autoconf autotool (or whatever it should be called) environment is

>> Tests break with errors like not being able to exec "/bin/sh"
> This is the symptom that you have a 'corrupted' environment, and the
> test suite can't
> find guile and/or guild

> This has been fixed, patched under revision: they will be pushed and
> guile-lib will
> be released by the end of this month.

Since you don't explain the symptoms of the bug, I don't know if it
what I am experiencing.

When I try to "make check" guile-lib (from the git repository) I get:

--8<---------------cut here---------------start------------->8---
make  check-TESTS
make[2]: Entering directory '/home2/barry/src/gen/guile-lib/unit-tests'
make[3]: Entering directory '/home2/barry/src/gen/guile-lib/unit-tests'
           2 (primitive-load "/bin/sh")
In ice-9/eval.scm:
   223:20  1 (proc #<directory (guile-user) 128af30>)
In unknown file:
           0 (%resolve-variable (7 . #) #<directory (guile-user) 128?>)
--8<---------------cut here---------------end--------------->8---

In the test code I see:

   (primitive-load (getenv "DOC_GUILE_LIBRARY_SCM"))

And in the Makefile:




so I don't know where the "/bin/sh" could be coming from.

Barry Fishman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]