[Home]

Summary:ASTERISK-09381: make clean after make menuselect leaves tree unusable in 1.4.2.1
Reporter:valley (valley)Labels:
Date Opened:2007-05-04 04:04:27Date Closed:2007-05-04 15:02:39
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If I make clean after compiling the first time, I will not be able to compile it another time.

--
make[3]: Entering directory `/usr/local/src/zaptel-1.4.2.1/menuselect/mxml'
autoconf
autoconf: no input file
--

Output from make clean confirms that config.h is removed:

--
make[2]: Entering directory `/usr/local/src/zaptel-1.4.2.1/menuselect/mxml'
...
/bin/rm -f config.cache config.log config.status config.h
--

What's really strange is that subsequent run of make menuselect is also looking for menuselect/mxml/config.h instead of invoking menuselect/mxml/configure - as it does the first round - in order to create one.

****** ADDITIONAL INFORMATION ******

To reproduce:

1. ./configure
2. make menuselect
3. make clean
4. ./configure
5. make menuselect

Workaround:
1. ./configure
2. make menuselect
3. make clean
4. ./configure
4a. cd menuselect/mxml
4b. ./configure
4c. cd ../..
5. make menuselect

---
patched RedHat 7.3
2.4.18-19.7.x
GNU Make 3.81, gcc version 3.4.1
Comments:By: Russell Bryant (russell) 2007-05-04 15:02:39

This has already been fixed in svn.  The fix will be in 1.4.3.  The fix is to simply remove the line that runs "autoconf" from menuselect/mxml/Makefile and menuselect/mxml/Makefile.in.