[asterisk-bugs] [Asterisk 0005559]: Syntax Error in Makefile triggered when user doesn't have kernel sources
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 11:08:01 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=5559
======================================================================
Reported By: softins
Assigned To: kpfleming
======================================================================
Project: Asterisk
Issue ID: 5559
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: I did not set the version :(
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: Yes
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-01-2005 08:53 CST
Last Modified: 06-07-2008 11:08 CDT
======================================================================
Summary: Syntax Error in Makefile triggered when user doesn't
have kernel sources
Description:
On line 125 of zaptel/Makefile, there is the following:
@if [ -z "$(KSRC)" -o ! -d $(KSRC) ]; then echo "You do not appear to have
the sources for the $(KVERS) kernel installed."; exit 1 ; fi
If $(KSRC) is undefined or empty, this results in a syntax error being
reported by the "[" program (test), and the make fails to exit. Instead,
the user gets some confusing error messages.
The $(KSRC) after -d should be "$(KSRC)"
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 11:08
----------------------------------------------------------------------
Repository: dahdi
Revision: 804
U trunk/Makefile
------------------------------------------------------------------------
r804 | kpfleming | 2008-06-07 11:07:58 -0500 (Sat, 07 Jun 2008) | 2 lines
properly quote variable reference so the test won't fail (issue
http://bugs.digium.com/view.php?id=5559)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=804
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 11:08 svnbot Checkin
06-07-08 11:08 svnbot Note Added: 0088081
======================================================================
More information about the asterisk-bugs
mailing list