[Qt-interest] QT configure script -- asking for licensing information?
Pavel Heimlich, a.k.a. hajma
tropikhajma at gmail.com
Mon Mar 1 21:05:33 CET 2010
2010/3/1 kent williams <nkwmailinglists at gmail.com>:
> This has been driving me nuts. We use a buildscript for our
> applications that really is a 'one size fits all supported platforms'
> script. It is written in tcl -- which is the only requirement on any
> platform to do a build.
>
> It will download the source for all prerequisite packages, build them,
> and then build our applications.
>
> It has been really successful for us up to now, but adding Qt to the
> list of packages that will get built and installed is causing me
> problems, for one simple reason:
> Qt demands that its configure script be run interactively to choose
> and accept the license.
>
> Now I understand the business reasons for this -- if I were a big
> corporation with a bunch of lawyers on retainer, I'd do all sorts of
> stupid sh*t they tell me to do too. But this is driving me crazy,
> because ideally this build script would get run overnight, and if
> there's not a monkey sitting at a command prompt waiting to type "o"
> and "yes", the configure script hangs.
>
> What I want to know is if anyone has a way to auto-answer the
> licensing questions, so our builds can be unattended? I tried using
> tcl's "open" command to start the config script and then pipe
> "o\nyes\n" to it, but it didn't work.
Hi,
please find below a snippet from our spec file, not sure if the
'confirm-license' is still available option.
As a last resort, you could always just patch the configure scripts.
HTH
hajma
echo "yes" |
/usr/bin/bash ./configure \
-prefix %{_prefix} \
-prefix-install \
-bindir %{_bindir} \
-libdir %{_libdir} \
-headerdir %{_includedir} \
-plugindir %{foss_qt4_plugin} \
-datadir %{_datadir} \
-qdbus \
-confirm-license \
-opensource \
More information about the Qt-interest-old
mailing list