[sldev] CMake preview available - please try it out!
Dale Glass
dale at daleglass.net
Sun Feb 3 13:43:36 PST 2008
On Sunday 03 February 2008 03:33:22 Dale Glass wrote:
> More issues:
>
> http://jira.secondlife.com/browse/VWR-4491
>
> CMake seems to get to the end of the build, but then fails to link
> xmlrpc-epi for some reason. In fact, cmake.py output seems to imply
> xmlrpc-epi is not even being looked for.
Ok, figured it out. Problem was:
Gentoo doesn't have an xmlrpc-epi ebuild.
The third party one installed as libxmlrpc.so, CMake wanted
libxmlrpc-epi.so.
For some reason CMake thinks xmlrpc-epi is optional, so it goes ahead
without it, then linking fails.
So I fixed the ebuild to change the library's name, and it builds now.
Except now it made the packaging process unhappy:
Processing secondlife-stripped => bin/do-not-directly-run-secondlife-bin
Processing libxmlrpc.so.0 => None
Traceback (most recent call last):
File "/home/dale/svk/amd64/cmake/indra/newview/viewer_manifest.py", line
546, in ?
main()
File "/home/dale/svk/amd64/cmake/indra/newview/../lib/python/indra/util/llmanifest.py",
line 219, in main
wm.do(*args['actions'])
File "/home/dale/svk/amd64/cmake/indra/newview/../lib/python/indra/util/llmanifest.py",
line 624, in do
self.construct()
File "/home/dale/svk/amd64/cmake/indra/newview/viewer_manifest.py", line
540, in construct
self.path("libxmlrpc.so.0")
File "/home/dale/svk/amd64/cmake/indra/newview/../lib/python/indra/util/llmanifest.py",
line 620, in path
try_path(os.path.join(self.get_build_prefix(), src))
File "/home/dale/svk/amd64/cmake/indra/newview/../lib/python/indra/util/llmanifest.py",
line 608, in try_path
self.check_file_exists(src)
File "/home/dale/svk/amd64/cmake/indra/newview/../lib/python/indra/util/llmanifest.py",
line 572, in check_file_exists
raise RuntimeError("Path %s doesn't exist" % (
RuntimeError:
Path /home/dale/svk/amd64/cmake/indra/libraries/x86_64-linux/lib_release_client/libxmlrpc.so.0
doesn't exist
make[2]: *** [../newview/SecondLife-x86_64-1.18.6.3.tar.bz2] Error 1
make[1]: *** [newview/CMakeFiles/package.dir/all] Error 2
make: *** [all] Error 2
So:
What should it be, xmlrpc-epi.so or xmlrpc.so?
Also even with fixing the ebuild, I get xmlrpc-epi.so.0 (note the .0),
which CMake fails to find unless I add a symlink.
How do I fix CMake so that it accepts the .0 as well?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080203/260cb33e/attachment.pgp
More information about the SLDev
mailing list