First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109474
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dan Armak (RETIRED) <danarmak@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109474 depends on: Show dependency tree
Show dependency graph
Bug 109474 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-16 08:00 0000
Kalzium can use libfacile (an ocaml lib) for chem. eq. solving. There's no 
libfacile ebuild in portage atm. Also, the kalzium/configure.in.in check for 
libfacile isn't controlled by a configure parameter.

------- Comment #1 From Dan 2005-10-17 17:27:38 0000 -------
This has been fixed by upstream for 3.5.0_beta2, which is released tommorow
(the configure.in 
check at least.. facile ebuild comes maybe sometime.. 

------- Comment #2 From Dan 2005-10-17 18:09:18 0000 -------
Sorry for bugspam.. It wasn't fixed, Misunderstanding with the developer of kde
I was talking to.. 

patch incoming shortly.. 

------- Comment #3 From Pino Toscano 2005-10-28 09:32:50 0000 -------
SVN commit 475256 by pino: 
 
Add a configure flag to easily disable the Kalzium ocaml solver. 
 
@gentoo-kde team: could you please the bug? 
 
CCMAIL: 109474@bugs.gentoo.org 
 
 

------- Comment #4 From Pino Toscano 2005-10-28 09:32:50 0000 -------
SVN commit 475256 by pino: 
 
Add a configure flag to easily disable the Kalzium ocaml solver. 
 
@gentoo-kde team: could you please the bug? 
 
CCMAIL: 109474@bugs.gentoo.org 
 
 
 M  +1 -1      configure.in.bot   
 M  +29 -20    configure.in.in   
 
 
--- branches/KDE/3.5/kdeedu/kalzium/configure.in.bot #475255:475256 
@@ -1,4 +1,4 @@ 
-if test "x$eqchem_enabled" = "xno"; then 
+if test x$eqchem_enabled = xno && test x$with_ocamlsolver != xno ; then 
     cat << EOF 
  
 The Kalzium Chemical Equation Solver has been disabled. Possible 
--- branches/KDE/3.5/kdeedu/kalzium/configure.in.in #475255:475256 
@@ -29,29 +29,38 @@ 
     AC_SUBST([FACILE]) 
 ]) 
  
-OCAML_PROG 
-if test -n "$OCAML"; then 
-   ocaml_installed=yes 
-   FACILE_PROG 
-fi 
+AC_ARG_ENABLE( ocamlsolver, 
+  [  --disable-ocamlsolver       Disable support for the OCaml solver 
@<:@default=check@:>@]], 
+  [  with_ocamlsolver=$enableval ], 
+  [  with_ocamlsolver=check] ) 
  
-AH_TEMPLATE(HAVE_FACILE, facile solver available?) 
+if test "x$with_ocamlsolver" != xno; then 
+  OCAML_PROG 
+  if test -n "$OCAML"; then 
+    ocaml_installed=yes 
+    FACILE_PROG 
+  fi 
  
-EQCHEM_SUB= 
-OCAMLLIB= 
-EQCHEM_LDADD= 
-if test "$eqchem_enabled" = "yes"; then 
-   EQCHEM_SUB=solver 
-   OCAMLLIB=`ocamlc -where` 
-   FACILELIB=`ocamlc -where`/facile 
-   EQCHEM_LDADD="-lasmrun -lstr -lnums -lm -ldl solver.o modwrap.o" 
+  AH_TEMPLATE(HAVE_FACILE, facile solver available?) 
  
-   AC_DEFINE(HAVE_FACILE, 1) 
-fi 
+  EQCHEM_SUB= 
+  OCAMLLIB= 
+  EQCHEM_LDADD= 
+  if test "$eqchem_enabled" = "yes"; then 
+    EQCHEM_SUB=solver 
+    OCAMLLIB=`ocamlc -where` 
+    FACILELIB=`ocamlc -where`/facile 
+    EQCHEM_LDADD="-lasmrun -lstr -lnums -lm -ldl solver.o modwrap.o" 
  
-AC_SUBST(EQCHEM_SUB) 
-AC_SUBST(OCAMLLIB) 
-AC_SUBST(FACILELIB) 
-AC_SUBST(EQCHEM_LDADD) 
+    AC_DEFINE(HAVE_FACILE, 1) 
+  fi 
  
+  AC_SUBST(EQCHEM_SUB) 
+  AC_SUBST(OCAMLLIB) 
+  AC_SUBST(FACILELIB) 
+  AC_SUBST(EQCHEM_LDADD) 
  
+  if test "$eqchem_enabled" = "yes"; then 
+    with_ocamlsolver=yes 
+  fi 
+fi 

------- Comment #5 From Gregorio Guidi (RETIRED) 2005-12-01 05:52:56 0000 -------
*** Bug 114132 has been marked as a duplicate of this bug. ***

------- Comment #6 From Gregorio Guidi (RETIRED) 2005-12-01 06:06:45 0000 -------
Passing --disable-ocamlsolver to configure for now. 

------- Comment #7 From Thomas Bettler 2006-08-31 03:51:54 0000 -------
Will --disable-ocamlsolver be replaced by a useflag sometimes in future?

------- Comment #8 From Patrick Kursawe 2006-09-01 06:10:43 0000 -------
(In reply to comment #6)
> Will --disable-ocamlsolver be replaced by a useflag sometimes in future?

I guess it won't happen before libfacile is in portage.

First Last Prev Next    No search results available      Search page      Enter new bug