Skip to content

Instantly share code, notes, and snippets.

@whitelynx
Created March 1, 2013 16:24
Show Gist options
  • Save whitelynx/5065776 to your computer and use it in GitHub Desktop.
Save whitelynx/5065776 to your computer and use it in GitHub Desktop.
twmn: makepkg build errors when extra/qt3 3.3.8b-2 and extra/qt4 4.8.4-11 are installed
~/p/twmn > makepkg
==> Determining latest git revision...
-> Version found: 20130301
==> Making package: twmn 20130301-1 (Fri Mar 1 10:13:58 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Downloading source code from git repository...
Cloning into 'twmn'...
remote: Counting objects: 542, done.
remote: Compressing objects: 100% (213/213), done.
remote: Total 542 (delta 333), reused 534 (delta 325)
Receiving objects: 100% (542/542), 676.25 KiB | 644 KiB/s, done.
Resolving deltas: 100% (333/333), done.
==> Source code successfully downloaded.
cd twmnd && qmake twmnd.pro -o Makefile
cd twmnc && qmake twmnc.pro -o Makefile
cd twmnc && make -f Makefile
make[1]: Entering directory `/home/dbronke/packages/twmn/src/twmn/twmnc'
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/qt/mkspecs/default -I. -I. -o main.o main.cpp
cd twmnd && make -f Makefile
make[1]: Entering directory `/home/dbronke/packages/twmn/src/twmn/twmnd'
g++ -c -pipe `pkg-config --cflags-only-I dbus-1` -Wall -W -g -DQT_NO_DEBUG_OUTPUT -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -o main.o main.cpp
g++ -c -pipe `pkg-config --cflags-only-I dbus-1` -Wall -W -g -DQT_NO_DEBUG_OUTPUT -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -o widget.o widget.cpp
g++ -c -pipe `pkg-config --cflags-only-I dbus-1` -Wall -W -g -DQT_NO_DEBUG_OUTPUT -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -o settings.o settings.cpp
g++ -c -pipe `pkg-config --cflags-only-I dbus-1` -Wall -W -g -DQT_NO_DEBUG_OUTPUT -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -o dbusinterface.o dbusinterface.cpp
main.cpp:1:30: fatal error: QtGui/QApplication: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from widget.cpp:1:0:
widget.h:4:25: fatal error: QtGui/QWidget: No such file or directory
compilation terminated.
make[1]: *** [widget.o] Error 1
In file included from settings.cpp:1:0:
settings.h:4:21: fatal error: QSettings: No such file or directory
compilation terminated.
make[1]: *** [settings.o] Error 1
In file included from dbusinterface.cpp:1:0:
dbusinterface.h:4:19: fatal error: QObject: No such file or directory
compilation terminated.
make[1]: *** [dbusinterface.o] Error 1
make[1]: Leaving directory `/home/dbronke/packages/twmn/src/twmn/twmnd'
make: *** [sub-twmnd] Error 2
make: *** Waiting for unfinished jobs....
test -d ../bin/ || mkdir -p ../bin/
g++ -o ../bin/twmnc main.o -lboost_program_options -lboost_system -lpthread
make[1]: Leaving directory `/home/dbronke/packages/twmn/src/twmn/twmnc'
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment