synCE: Problem building (dependency) pywbxml from source
Using Debian Lenny.I can connect ipaq with native Windows setup using synce but have almost no tools once I have done so. To improve on this, I am now following basic instructions in:
"unfortunately a few bits aren't packaged yet, so we'll need to compile them.
sudo apt-get install subversion build-essential
**FIXME** Compile libwbxml here **FIXME**
Now, this line confused me. Is this not a note for the developer to do some more work on the project at a later stage?
Anyway, I went on to try compiling pywbxml- as follows:
svn co http://synce.svn.sf.net/svnroot/synce/trunk/pywbxml
sudo make install
but result was:
"checking for WBXML2... configure: error: Package requirements (libwbxml2 >= 0.9.2) were not met:
No package 'libwbxml2' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables WBXML2_CFLAGS
and WBXML2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details."
However, libwbxml is readily available via apt. It's called libwbxml2.0, version is 0.9.2.4 and this is not acceptable for some reason. I got the same error.
I'm not sure how to proceed- the problem is probably not the missing dependency, but the name- and I guess I have to change something in one of the files in the pywbxml directory- configure, perhaps?
The error message contains some instruction but I'm not able to interpret this.
Please suggest how to do it?
Many thanks- Phil
On restart > terminnal .autogen.sh I now have in addition:
"Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libwbxml2', not found"
Which gives me a bit of a trail to follow although I don't know enough about pkg-config even after the man page. This includes
"To add a library to the set of packages pkg-config knows about, simply install a .pc file. You should install this file to libdir/pkgconfig."
I don't have libdir, as far as I know, but I'm guessing here. Perhaps I should post a more general question about pkg-config?
A nudge in the right direction will be most welcome!
|All times are GMT -5. The time now is 10:13 AM.|