Patrick Ohly <patrick.ohly(a)intel.com> writes:
Does that have the effect of not finding the libraries at runtime,
or
are there other problems caused by this?
Just the not finding part. I couldn't start syncevolution since the
libraries were not found since the 64-bit dynaloader doesn't look in
/usr/lib.
All of the 64 bit binaries are from the same configure+make
invocation
and covered by the ensuing test run, only packaging these binaries is
then done differently. Therefore we cannot easily change the path, but
we could add /usr/lib to the hard-coded search path in executables and
libs, which IMHO should fix the problem.
I think so too.
> As for Debian, the package from
downloads.syncevolution.org/apt
> installs fine, but trying to do
>
> syncevolution --configure --template ${template} --sync-property
syncURL=obex-bt://${MacAddress} MyPhone
>
> just complains with
>
> [ERROR] calendar: type 'calendar' not supported by any of the backends
> (syncfile.so, syncxmlrpc.so, syncecal.so, syncsqlite.so,
> syncmaemocal.so, syncebook.so, syncaddressbook.so)
That's strange. Evolution is installed?
$ apt-cache policy evolution
evolution:
Installed: 2.22.3.1-1
Candidate: 2.22.3.1-1
Version table:
2.29.92.1-1 0
1
http://ftp.fi.debian.org experimental/main Packages
2.28.3-1 0
500
http://ftp.fi.debian.org unstable/main Packages
*** 2.22.3.1-1 0
990
http://ftp.fi.debian.org lenny/main Packages
100 /var/lib/dpkg/status
What does "syncevolution --version" say?
I get only:
SyncEvolution 1.0beta3
using libbluetooth.so.2
Loading backend library /usr/lib/syncevolution/backends/syncfile.so
Loading backend library /usr/lib/syncevolution/backends/syncxmlrpc.so
Loading backend library /usr/lib/syncevolution/backends/syncecal.so
Loading backend library /usr/lib/syncevolution/backends/syncsqlite.so
Loading backend library /usr/lib/syncevolution/backends/syncmaemocal.so
Loading backend library /usr/lib/syncevolution/backends/syncebook.so
Loading backend library /usr/lib/syncevolution/backends/syncaddressbook.so
So I guess there is some kind of problem here since libedataserver,
libebook, libecal are not mentioned at all? I get the same output with
my own build.
Which version of libecal is in /usr/lib?
I have these:
/usr/lib/libecal-1.2.so -> libecal-1.2.so.7.2.0
/usr/lib/libecal-1.2.so.7 -> libecal-1.2.so.7.2.0
/usr/lib/libecal-1.2.so.7.2.0
> $template was set to Nokia N85 and $MacAddress to the correct BT
address.
>
> So, I built it myself, but now it can't find the phone config files
> for some reason. syncevolution -l '??' finds nothing:
>
> Available configuration templates:
> template name = template description matching score in percent (100% = exact
match)
> none
The template files must be in /usr/share/syncevolution/templates/ (or
whatever your datadir is in configure).
Well, they are now found after I created a symlink from
/usr/share/syncevolution to /usr/local/share/syncevolution. But I now
get the same problem with my homebuilt syncevolution as the packaged
one when trying to create a configuration:
[ERROR] calendar: type 'calendar' not supported by any of
the backends (syncfile.so, syncxmlrpc.so, syncecal.so, syncsqlite.so,
syncmaemocal.so, syncebook.so, syncaddressbook.so).
I'm not familiar with stow. Are symlinks involved
in /usr/local/share/syncevolution/templates after installation? Hmm,
yes, the man page says so. I suspect that at one point during our
template directory scanning, we trip over because find a symlink where a
file is expected. This should work, though.
Yes it should and it does in fact work in Fedora. It seems like
somehow my --prefix didn't propagate to the datadir, but only on
Debian. Maybe it's a bug in the older autotools or something?
Can you quote the complete "configure && make &&
stow" command line
invocation that you used?
The whole output or just the commands? I may have to dig a little for
the output... The commands were just:
./configure --prefix=/usr/local/stow/syncevolution-1.0beta3 --enable-gui,
make, make install and stow syncevolution-1.0beta3, the
last run in /usr/local/stow.