Bug 118904

Summary: funny result of ./configure (umbrello tarball 1.5.0)
Product: [Applications] umbrello Reporter: Pietro <pietro>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: finex
Priority: NOR    
Version: 1.3.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pietro 2005-12-23 12:54:09 UTC
Version:           1.3.2 (using KDE 3.3.2, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
OS:                Linux (i686) release 2.6.11-6mdk

messages from ./configure

[cut]
checking if doc should be compiled... yes
checking if po should be compiled... yes
checking if umbrello should be compiled... no
[cut]
Good - your configure finished. Start make now

Yes, umbrello shouldn't be compiled (something
is missing), but Good, start make now.
Comment 1 Oliver Kellogg 2006-01-05 10:23:18 UTC
Does this also happen with 1.5?
(1.3.2 is "ancient" in terms of umbrello development speed :)
Comment 2 Pietro 2006-01-05 11:44:26 UTC
> 10:23 ------- Does this also happen with 1.5?
> (1.3.2 is "ancient" in terms of umbrello development speed :)


Hi,

yes, this happen when I tryied to compile 1.5.0 tarball
1.3.2 is number of version I have installed and used to bugreport.
Sorry for this, bugreport has to be switched to 1.5.0,
but I don't know how to do it.

Regards
Pietro
Comment 3 Oliver Kellogg 2006-01-05 12:59:47 UTC
Please attach your config.log and config.status or any other
log files that show more detail what's happening.
The question is, why does configure say:
"checking if umbrello should be compiled... no"
Comment 4 Pietro 2006-01-07 08:57:17 UTC
> The question is, why does configure say:
> "checking if umbrello should be compiled... no"


Hi Oliver,

thanks for your disponibility, I want investigate myself for a while
why configure say "should be compiled... no"
(possible (98%) because something is missing ;)
my question was why it say "should be compiled... no" and
then "Good, you can do make"
This is IMHO funny contradiction, whichever is reason for
"should be compiled... no".

Regards
Pietro
Comment 5 Jens Hatlak 2006-09-15 00:36:22 UTC
I ran into this as well. At least for me the reason was that I did not have flex installed on my Solaris 8 build machine. So there are actually two problems:

1. what the reporter described: if the core component, umbrello, is not to be built because of unfulfilled dependencies, make should not say "Good - your configure finished. Start make now". Instead it should abort with a reasonable error message.

2. flex seems to be a required build dependency. If that is correct, there should be 1) a note in the README or INSTALL file and additionally on the homepage (compile how-to) and 2) configure should stop (again, with a reasonable error message) when flex (i.e. FlexLexer.h) cannot be found.
Comment 6 Oliver Kellogg 2006-09-15 20:47:55 UTC
SVN commit 584893 by okellogg:

Requiring flex was a relic from the ancient past.
This addresses part of Comment #5,
> 2. flex seems to be a required build dependency. If that is correct,
> there should be 1) a note in the README [...]

CCBUG:118904


 M  +0 -7      configure.in.in  


--- branches/KDE/3.5/kdesdk/umbrello/configure.in.in #584892:584893
@@ -1,13 +1,6 @@
 AC_LANG_SAVE
 AC_LANG_CPLUSPLUS
-AC_CHECK_HEADER(FlexLexer.h,
-  [kde_have_flex=yes],
-  [kde_have_flex=no])
 
-if test "$kde_have_flex" = "no"; then
-  DO_NOT_COMPILE="$DO_NOT_COMPILE umbrello"
-fi
-
 dnl Not GPL compatible
 dnl AC_PATH_PROG(DOT_FOUND, dot, no)
 dnl KDE_CHECK_HEADER(graphviz/pathgeom.h,