Hi Andre,
Sure, here's the info. From memory I'm afraid.
I was trying to install on a clean Ubuntu Mate Destop 14.04 running in
VirtualBox v5.0.20
Although I did try CalendarServer from the repository, it is version
5.2, so quickly looked for a more recent version.
Having cloned 8.0 and running ./bin/develop for the first time, the
build unfortuately fails.
I don't know whether your comprehensive install process is intended to
solve *every* dependency, but when ./bin/develop
started to build libsasl it failed on a missing kerberos library. To
solve this I looked at first in Ubuntu's repository, but alas the naming
convention for the libsasl2 libraries are inconsistent and I missed it.
Thus I downloaded the cyrus-sasl-2.1.25.tar.gz and built it, finally
installing in
/usr/local. This is what causes the "svn: no version information
available" error. But as this is associated with svn, I ignored and
continued to resolve my build issues until I got the XML Parsing error
as mentioned previously.
Persevering, my analysis of your build system showed me that the return
value of svn_info() was now not pure XML, but had the svn error as the
first line.
So I returned to see if I could solve the libsasl issue. Eventually, I
realised that I needed "libsasl2-dev".
Once I removed my local build and used the Ubuntu build the svn error
went away, and ./bin/develop switched over to the system version, and
the parse error
went away.
Your build system continues to build Postgresql inspite of an Ubuntu
installation, but I have not investigated why. It may be due to Ubuntu's
installation being in /usr/lib/postgresql.
It may be that the SVN error would also occur if your build system built
libsasl . I've not investigated this.
It would be very easy for your test department to reproduce these steps
on a VirtualBox instance.
Ha ha! Your QuickStart document didn't turn out to be quick!
Thanks
John
On 02/06/2016 02:58, Andre LaBranche wrote:
Hi John,
Thanks for the follow up! Glad you got it working. Can you share which versions
of libsasl did and did not work?
Thx,
-dre
Sent from my iPhone
On Jun 1, 2016, at 10:28 AM, John Radley (jradley.co.uk)
<jrad...@jradley.co.uk> wrote:
Hello,
I've managed to get CalenderServer v8.0 built now.
The error below was because of a wrong version of a libsasl library.
This was causing SVN a problem, and it was outputting a error line, such as
"svn: /usr/local/lib/libsasl2.so.2: no version information available"
as the first line in the svn_info string (see line 71 below), which could not
then be parsed as XML.
Regards
John
On 31/05/2016 22:55, John Radley (jradley.co.uk) wrote:
Hello,
I'm trying to compile CalenderServer (v8.0 or trunk) on Ubuntu 14.04.
Having resolved many issues that prevented a sucessful compile, this current
error has got me stumped!
Please could you could advise what could be wrong.
./bin/develop fails as follows
Installed
/home/jradley/Downloads/CalServer/CalendarServer/.develop/ve_tools/lib/virtualenv-13.1.2-py2.7.egg
Processing dependencies for virtualenv==13.1.2
Finished processing dependencies for virtualenv==13.1.2
New python executable in
/home/jradley/Downloads/CalServer/CalendarServer/.develop/virtualenv/bin/python2.7
Also creating executable in
/home/jradley/Downloads/CalServer/CalendarServer/.develop/virtualenv/bin/python
Traceback (most recent call last):
File "/home/jradley/Downloads/CalServer/CalendarServer/setup.py", line 519, in
<module>
doSetup()
File "/home/jradley/Downloads/CalServer/CalendarServer/setup.py", line 387,
in doSetup
version_string = version()
File "/home/jradley/Downloads/CalServer/CalendarServer/setup.py", line 138,
in version
info = svn_info(source_root)
File "/home/jradley/Downloads/CalServer/CalendarServer/setup.py", line 71, in
svn_info
info = ElementTree.fromstring(info_xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0
------------------------------------------------------
Powered by Xeams. Visit xeams.com for more information
------------------------------------------------------
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-dev
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-dev