From: matthias j. <jah...@fr...> - 2006-06-02 06:17:09
|
Am Freitag, 2. Juni 2006 01:44 schrieb Graham Cobb: > checking for PACKAGE... configure: error: Package requirements (glib-2.0 > opensync-1.0 osengine-1.0) were not met: > Variable 'datarootdir' not defined > in '/usr/local/lib/pkgconfig/opensync-1.0.pc' > > Fortunately the fix is simple... in the top level opensync directory, edit > all the *.pc.in files to add the following line: > > datarootdir=@datarootdir@ Are you building opensync for Debian using the debian/rules? Then you have to edit the rules file to add a --datadir=\$${prefix}/share. It should look like this: build: configure debian/build-stamp debian/build-stamp: dh_testdir chmod u+x configure chmod u+x py-compile [ -d $(BUILD) ] || mkdir $(BUILD) cd $(BUILD) && CFLAGS="$(CFLAGS)" $(SRC)/configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ --datadir=\$${prefix}/share \ --enable-static --enable-python=2.4 if you not building using "debian/rules" donot forget to use this configure option either. _______________ i have svn debian packages for unstable: deb http://www.in.fh-merseburg.de/~jahn/ ./ deb-src http://www.in.fh-merseburg.de/~jahn/ ./ |