Reply
Thread Tools
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#1
Hi!

I have a problem building my package in extras-devel.
This is the log:
Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package smssend
dpkg-buildpackage: source version 0.1.6
dpkg-buildpackage: host architecture armel
dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
rm -rf builddir
dh_clean
 dpkg-source -b smssend-0.1.6
dpkg-source: info: using source format `1.0'
dpkg-source: info: building smssend in smssend_0.1.6.tar.gz
dpkg-source: info: building smssend in smssend_0.1.6.dsc
 debian/rules build
#mkdir -p builddir
qmake-qt4 PREFIX=/usr smssend.pro
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
dh_testdir
# Add here commands to compile the package.
/scratchbox/tools/bin/make
make[1]: Entering directory `/home/builder3/maemo-fremantle-armel-extras-devel/work/smssend-0.1.6'
make[1]: Warning: File `smssend.pro' has modification time 2.3e+02 s in the future
/usr/bin/qmake-qt4 PREFIX=/usr -o Makefile smssend.pro
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
Package rtcom-eventlogger was not found in the pkg-config search path.
Perhaps you should add the directory containing `rtcom-eventlogger.pc'
to the PKG_CONFIG_PATH environment variable
No package 'rtcom-eventlogger' found
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DAPP_VERSION=0.1.6 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/targets/maemo5-arm-f555d7ef71e1fbf3ce352c14a227c85bf50c4b03/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/maemo5-arm-f555d7ef71e1fbf3ce352c14a227c85bf50c4b03/usr/include/QtCore -I/targets/maemo5-arm-f555d7ef71e1fbf3ce352c14a227c85bf50c4b03/usr/include -I/targets/maemo5-arm-f555d7ef71e1fbf3ce352c14a227c85bf50c4b03/usr/include/QtMessaging -I/targets/maemo5-arm-f555d7ef71e1fbf3ce352c14a227c85bf50c4b03/usr/include -I. -o main.o main.cpp
In file included from main.cpp:19:
smssender.h:24:27: error: glib-2.0/glib.h: No such file or directory
smssender.h:25:43: error: rtcom-eventlogger/eventlogger.h: No such file or directory
smssender.h:26:37: error: rtcom-eventlogger/event.h: No such file or directory
In file included from main.cpp:19:
smssender.h:59: error: ISO C++ forbids declaration of 'RTComEl' with no type
smssender.h:59: error: expected ';' before '*' token
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/builder3/maemo-fremantle-armel-extras-devel/work/smssend-0.1.6'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
The package builds fine on my local machine.
No package 'glib-2.0' found

I added these lines to my .pro file this:
Code:
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0 rtcom-eventlogger
and these to the control file:
Code:
Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-dev, libqtm-messaging, libglib2.0-0, librtcom-eventlogger0
What's wrong?
Many thanks
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
You need the dev-packages for rtcom-eventlogger.
 

The Following User Says Thank You to nicolai For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#3
Many thanks!
Changed the control file to:
Code:
Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-dev, libqtm-messaging, libglib2.0-dev, librtcom-eventlogger-dev
now it correctly builds.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:43.