Bug 68561

Summary: lack of aRTS will cause configure to crash unless --without-arts is specified
Product: [Developer tools] configure Reporter: Dorin Lazar <lazar>
Component: generalAssignee: Dirk Mueller <mueller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dorin Lazar 2003-11-19 06:27:06 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
OS:          Linux

if arts wasn't installed, the configure script should detect that, and skip the tests - however tests are performed, and configure will fail - everywhere --without-arts is specified as an option (even though it will say that default will autodetect).
  This affects packages like kdelibs, kdebase, kdenetwork, etc.

  Secondly, in kdegames some of the games do not build if arts is not present - kolf is one example, so they should not be built if arts is not installed.
Comment 1 Dirk Mueller 2003-11-19 11:23:47 UTC
well, obviously this is a WORKSFORME. when you specified --without-arts to configure, it does not check for arts and does not bail out. 

or what is the problem exactly?

Comment 2 Dirk Mueller 2003-11-19 11:24:12 UTC
that means so far I was able to compile kdelibs and kdebase without arts
Comment 3 Dorin Lazar 2003-11-19 11:33:30 UTC
When you don't say --without-arts in configure autodetect should work (at least the configure --help states it should autodetect). The configure fails (on 3.2beta1) - one example is kdenetwork tarrball.

And some games should be skipped at build time - perhaps in two hours time I will be able to get back online and send a report about which ones.
Comment 4 Dorin Lazar 2003-11-19 15:38:49 UTC
A shortened example:

[spooky@spooky kdegames-3.1.93]$ ./configure --help | grep arts
  --without-arts        build without aRts default=detect
[spooky@spooky kdegames-3.1.93]$ ./configure
...
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly.

  Therefore the arts is not actually detected as said in the --help
  Expected behaviour: Should not make lack of arts a fatal configure error
Comment 5 Dirk Mueller 2003-11-19 23:32:23 UTC
Subject: kde-common/admin

CVS commit by mueller: 

clarify documentation.
CCMAIL: 68561-done@bugs.kde.org


  M +3 -2      acinclude.m4.in   2.431


--- kde-common/admin/acinclude.m4.in  #2.430:2.431
@@ -529,5 +529,6 @@
 [
     AC_MSG_ERROR([The important program $1 was not found!
-Please check whether you installed aRts correctly.
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
 ])
 ])
@@ -536,5 +537,5 @@
 [
     AC_ARG_WITH(arts,
-        [  --without-arts        build without aRts [default=detect] ],
+        [  --without-arts        build without aRts [default=yes] ],
         [build_arts=$withval],
         [build_arts=yes]