qdvdauthor 1.6.0 can't be compiled without X.
I tried to compile qdvdauthor with ./configure and ./configure -n, but both failed.
This is what I get, when compiling on a text console without X:
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+**+*+*+*+*
*+*+ Please wait while building configurator +*+*
*+*+ your graphical configuration application +*+*
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+**+*+*+*+*
/opt/qt/bin/uic configurator.ui -o .ui/configurator.h
g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -march=i686 -mtune=generic -O2 -pipe -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/linux-g++ -I.
-I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
/opt/qt/bin/uic configurator.ui -i configurator.h -o .ui/configurator.cpp
g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -march=i686 -mtune=generic -O2 -pipe -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/linux-g++ -I.
-I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/configurator.o .ui/configurator.cpp
In file included from .ui/configurator.cpp:26:
/opt/qt/include/qimage.h: In member function »bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const«:
/opt/qt/include/qimage.h:58: Warnung: Klammern um && innerhalb von || empfohlen
/opt/qt/bin/moc .ui/configurator.h -o .moc/moc_configurator.cpp
g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -march=i686 -mtune=generic -O2 -pipe -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/linux-g++ -I.
-I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/moc_configurator.o .moc/moc_configurator.cpp
test -d ../bin/ || mkdir -p ../bin/
g++ -o ../bin/configurator .obj/main.o .obj/configurator.o .obj/moc_configurator.o -L/opt/qt/lib -L/usr/X11R6/lib -L/usr/X11R6/lib64 -lqt-mt -lXext -lX11 -lm
configurator: cannot connect to X server
I had luck using --no-configurator.
Btw., it would be nice if you could use the usual cli build system without a gui configurator or make the gui configurator optional:
./configure
make
make install
nobody, if you read my original bug report, you see that I already tried it with ./configure -n. If this worked for you, you probably had X running.
And also read the compilation log in my original post:
configurator: cannot connect to X server
This problem still exists with 1.6.1.
Please fix it urgently!
It's really not possible to compile qdvdauthor without X, which is really a big problem with text based package managers like pacman/abs from Archlinux and portage from Gentoo.
And it would be really nice, if you could use a usual build system, which doesn't always need to be patched, like
./configure
make
make install
Is this still an issue ?
Try ./configure -n again from the command line and let me know.
Regards,
Varol
This is still an issue with 1.7.0.
But I found out, that this error doesn't occur, if I use the configure options --omit-libjhead and --omit-ffmpeg. But then I have the problem, that it can't find resp. doesn't use the correct qmake, even if I set QTDIR correctly for Qt3 and qmake from Qt4 is in PATH. It stops compiling and says, that qmake has the wrong verions.
Which OS / version are you using ?
I'll see if I can get it installed in VirtualBox and check it out ( and hopefully fix it ).
Varol
PKGBUILD
I'm using Archlinux with the stable repositories core, extra and community, but without the testing repo.
Here's the Archlinux package, which currently is still 1.5.0 due to this bug:
http://aur.archlinux.org/packages.php?ID=2925
Because I don't want to release a non-working PKGBUILD in AUR, I'll attach my current PKGBUILD, which I've rewritten for 1.6.0+, here. To test it, you need to install abs, create the directory /var/abs/local/qdvdauthor, copy the PKGBUILD into this directory, cd to this directory and run makepkg to compile it and build a package for pacman.
PKGBUILDs in Archlinux are quite similar to ebuilds in Gentoo.
File Added: PKGBUILD
Somehow, this bug seems to be fixed. I don't know why. Maybe it was a bug in Qt, make or something else, which has been fixed in the meantime.
But I'd suggest not to close this bug, because there are other bugs, which prevents compiling qdvdauthor 1.7.0, and I'm not sure, if those other bugs just "hide" this bug.
I've found a second bug, which probably hides this bug, if this bug is still existent.
The first one is/was bug ID 2781719.
The second one is bug ID 2725732.