Hello Matthijs,

* Matthijs Möhlmann wrote on Fri, Apr 08, 2011 at 04:00:32PM CEST:
> /bin/sh ../../libtool  --mode=compile cc -Wall -g -D_FILE_OFFSET_BITS=64 
> -D_GNU_SOURCE -O2 -I../../include 
> -I/home/matthijs/debpkg/openldap/t/openldap-2.4.25/include     -DLBER_LIBRARY 
> -c /home/matthijs/debpkg/openldap/t/openldap-2.4.25/libraries/liblber/assert.c
> eval: 1: base_compile+= cc: not found
> eval: 1: base_compile+= -Wall: not found

> This can be reproduced when setting the sh shell to dash, when I set it
> to /bin/bash everything is fine and the build goes well.
> 
> I'm not sure if this is an error on my part and that I have to fix it.

This usually happens if configure has chosen bash as $CONFIG_SHELL, but
somehow /bin/sh is then later put as SHELL in the Makefile.

Does your configure.ac or any included macro files contain explicit
overrides of $SHELL or $CONFIG_SHELL?  Does any of your Makefile.am
files (or Makefile.in if you don't use automake) explicitly set SHELL
(rather than using @SHELL@ from configure)?

If /bin/sh is used during configure's tests, then the generated libtool
script will not use '+='.

Hope that helps.

Cheers,
Ralf



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to