Debian Build issues with twinkle

Mikael Magnusson mikaelmagnusson at glocalnet.net
Sun Oct 30 12:45:31 UTC 2005


On Sun, Oct 30, 2005 at 12:20:50PM +0000, Mark Purcell wrote:
> Michel,
> 
> Had a few issues with the Debian builds.
> 
> 1. Your configure{.in} presumes that qmake is available under 
> $(QTDIR)/bin/qmake, which isn't true for Debian.
> 
> --- configure.in.orig   2005-10-29 15:15:22.000000000 +0100
> +++ configure.in        2005-10-29 15:04:32.000000000 +0100
> @@ -92,7 +92,7 @@
>         echo "LIBS += -lasound" >> $QT_INCL_PRO
>         ])
> 
> -$QTDIR/bin/qmake -o src/gui/Makefile src/gui/twinkle.pro
> +/usr/bin/qmake -o src/gui/Makefile src/gui/twinkle.pro
>  echo "distdir:" >> src/gui/Makefile
> 
>  # Strip the -O2 flag from CXXFLAGS for building the SIP parser.
> 
> Perhaps some sort of test for qmake would be better, rather than hardcoding as 
> I have done above.
> 

I don't think the configure script needs to be changed.

Have you tried to set the QTDIR environment variable in the call to
configure instead? I'm doing that in one of mine (non-official) Debian
packages. 

For example:
QTDIR="/usr/share/qt3" ./configure

/Mikael




More information about the Pkg-voip-maintainers mailing list