From: Felix H. <fe...@on...> - 2006-05-31 19:44:42
|
Hi, as reported earlier, I can't build the current msyctool from SVN. Here's further information: The implicit declaration of 'osync_member_need_config' seems not to be an issue with the opensync from SVN (I had been using libopensync0-dev from Debian/Sid before). Unfortunately, msynctool won't build with the SVN version of libopensync either. The Here's what I get when I try building msynctool using opensync from SVN in the ./configure step: ########################### checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes 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' Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ########################### Any idea? Kind regards, Felix |
From: Graham C. <g+o...@co...> - 2006-05-31 22:42:28
|
On Wednesday 31 May 2006 20:08, Felix Homann wrote: > Unfortunately, msynctool won't build with the SVN version of libopensync > either. The Here's what I get when I try building msynctool using opensync > from SVN in the ./configure step: I have successfully built the SVN versions of multisync-0.90, opensync, file-sync, gpe and kdepim on a Debian testing (etch) system. I did have a similar (although not identical) problem. I got a similar error from ./configure and had to install (using apt-get) pkg-config. Even after I had installed pkg-config I was still getting a similar error which did not go away until I re-ran the autogen step. If you think you have all the pre-requisites installed you may want to clean out the build directory, re-checkout the source and start again, to make sure you are not seeing a similar problem. Graham |
From: Felix H. <fe...@on...> - 2006-06-01 08:52:08
|
On Thursday 01 June 2006 00:42, Graham Cobb wrote: > I have successfully built the SVN versions of multisync-0.90, opensync, > file-sync, gpe and kdepim on a Debian testing (etch) system. Hi, and thanks for your response. Which revision have you build? I'm stuck with multisync-0.90 (revision 162) and opensync (revision 1031). > I did have a similar (although not identical) problem. I got a similar > error from ./configure and had to install (using apt-get) pkg-config. pkg-config is (and has been) installed. > Even > after I had installed pkg-config I was still getting a similar error which > did not go away until I re-ran the autogen step. Do you mean the 'autoreconf -sfi' step? It doesn't help here. BTW, which version of autmake are you running (1.9.6 here). > If you think you have all the pre-requisites installed you may want to > clean out the build directory, re-checkout the source and start again, to > make sure you are not seeing a similar problem. I did so several times. The problem remains. On a further note, opensync (1031) will not build as a Debian package using the included debian directory. It will throw out a similar error as mentioned in my original message. Building it with './configure; make install' is successful though. Any other suggestions? Thanks, Felix |
From: Graham C. <g+o...@co...> - 2006-06-02 00:51:19
|
On Thursday 01 June 2006 09:51, Felix Homann wrote: > On Thursday 01 June 2006 00:42, Graham Cobb wrote: > > I have successfully built the SVN versions of multisync-0.90, opensync, > > file-sync, gpe and kdepim on a Debian testing (etch) system. > > Hi, and thanks for your response. Which revision have you build? I'm stuck > with multisync-0.90 (revision 162) and opensync (revision 1031). Hmm. I just cleaned out my opensync directory, refetched from svn and tried to build again from scratch. I have no problems with opensync but multisync-0.90 will not configure. I am sure it worked a few weeks ago! But now I get the following errors: 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@ Then make and make install. Now when you configure multisync-0.90 it should work. Graham |
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/ ./ |