Bug 70175

Summary: wxWindows configure.in problem
Product: [Developer tools] kdevplatform Reporter: Blackpaw <lindsay>
Component: appwizardAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal CC: tronic2
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Blackpaw 2003-12-12 00:08:05 UTC
Version:           3.0.0.0b2 (using KDE KDE 3.1.3)
Installed from:    Mandrake RPMs
Compiler:          gcc 3.3.1 
OS:          Linux

built kdevelop from cvs (9/dec) - autogeneraterated a wxWindows app (have wx2.4.2 installed).

When configuring got:
checking whether -lc should be explicitly linked in... no
creating libtool
checking wxWindows version... 2.4.2
./configure: line 1: BEGIN { FS = "."; } { printf "% d", ($1 * 1000 + $2) * 1000 + $3;}: command not found
configure: error: wxWindows 2.3.3 or newer is required

The problem however is that AWK is never defined in configure.in. If I add "AWK=awk" to configure.in the build process works fine.
Comment 1 Amilcar do Carmo Lucas 2003-12-15 17:12:03 UTC
Helio ?
Comment 2 Matt 2003-12-22 22:40:45 UTC
I confirm this. $AWK isn't defined in configure script for wxwindows appwizard. export AWK=`which awk` before ./configure solves the problem.
Working from CVS HEAD.
Comment 3 Blackpaw 2003-12-22 22:57:02 UTC
Thanks, 'export AWK=`which awk`' works around it. Still needs to be fixed in the appwizard though, otherwise heaps of wxWindows developers will be bitching ... <g>
Comment 4 Helio Chissini de Castro 2004-01-30 14:54:24 UTC
*** Bug 72551 has been marked as a duplicate of this bug. ***
Comment 5 Richard Lärkäng 2004-02-11 14:42:11 UTC
Looks like Helio forgot to close it:

cvs log wx-configure.in

revision 1.3
date: 2004/01/30 14:00:26;  author: helio;  state: Exp;  lines: +20 -9
- Fix for bug #70175 - No AWK env check
Comment 6 Blackpaw 2004-02-12 05:22:18 UTC
Thanks - Lindsay