Bug#571007: FTBFS: configure: error: cannot find PyQt4 dev tools

David Monfort dmonfort at gmail.com
Tue Feb 23 14:06:50 UTC 2010


On Tue, Feb 23, 2010 at 4:35 PM, Petr Salinger <Petr.Salinger at seznam.cz> wrote:
> Hi,
>
> the fix/workaround/hack bellow
> to configure.ac and similar to configure
> is sufficient to build code-saturne on kfreebsd-amd64.
>
> Petr
>

Hi Petr,

Thanks for the fix/workaround/hack !
I'll integrate it upstream, though under a slightly different form so
that the executables are still found in PYPATH (if correct) before to
be looked for in PATH.


>
> --- configure.ac
> +++ configure.ac
> @@ -447,7 +447,7 @@
>  path = app.applicationDirPath()
>  sys.stdout.write(path)]"
>
> -    PYPATH=`${PYTHON} -c "${prog}"`
> +    PYPATH=$PATH:`${PYTHON} -c "${prog}"`
>
>   else
>     PYPATH=${PYQT4_EXE}
>

Index: configure.ac
===================================================================
--- configure.ac	(revision 1351)
+++ configure.ac	(working copy)
@@ -453,8 +453,8 @@
     PYPATH=${PYQT4_EXE}
   fi

-  AC_PATH_PROG([PYUIC4], [pyuic4], ["no"], [${PYPATH}])
-  AC_PATH_PROG([PYRCC4], [pyrcc4], ["no"], [${PYPATH}])
+  AC_PATH_PROG([PYUIC4], [pyuic4], ["no"], [${PYPATH}:$PATH])
+  AC_PATH_PROG([PYRCC4], [pyrcc4], ["no"], [${PYPATH}:$PATH])

   if test "x$PYUIC4" == "xno" -o "x$PYRCC4" == "xno" ; then
     AC_MSG_FAILURE([cannot find PyQt4 dev tools, Graphical User
Interface cannot be installed])


I'll look into this issue later to understand why this test doesn't
work on kfreebsd-* systems

Regards,
David





More information about the debian-science-maintainers mailing list