[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Compile Subversion 1.6.5 on SLES 11.1

From: Stutz Oliver <Oliver.Stutz_at_cardcenter.ch>
Date: Thu, 24 Feb 2011 11:07:35 +0100

Hi Stefan,
Thanks for your many replies.
The Reason why i want to doit like that is because SLES 11.1 Subversion from the repository is not available. (We use a company internal SLES repository which is under specific company restrictions & security policies) but if you can confirm to me that the packages provided in the email will work on 11.1 without an upgrade to 11.2 or 11.3 I would be very happy (it would be awesome and safe worktime).

>>> Stefan Sperling <stsp_at_elego.de> 2/24/2011 10:29 am >>>
On Thu, Feb 24, 2011 at 07:50:51AM +0100, Stutz Oliver wrote:
> Hello everybody,
> I have problems compiling Subversion with Apache support on SLES 11.1 it says the zlib should be compiled with -fPIC flag. It is the version which came with subversion which i have intalled into /opt/zlib isn't this supposed to be working alright? Can maybe somebody give me a good Guide which has all the steps in it or tell me what i'am doing wrong? I have read the "-fPIC" Error Site from Gentoo because this was the site google was spitting out but i seem to have lack of understanding about the makefiles and where to place this -fPIC argument if it is really required.
> Thanks already for the help provided.

> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /opt/zlib/lib/libz.a(deflate.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /opt/zlib/lib/libz.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

No idea.

Any reason you're not using the latest Subversion binaries from the
OpenSUSE/SLES buildservice (apart from the fact that it seems to be down at
the moment)? Those binaries are maintained by SUSE developers with help
from other people (including myself), have been automatically packaged and
tested and are ready to be installed via yast. They are of the same
quality as can be expected from the Subversion packages that ship on
the distribution media.

If you are going to go through the effort of building your own binaries,
1.6.5 seems like an odd choice. You might as well try to build 1.6.15
which is the current stable release.

Based on previous e-mail correspondence with you and/or an agreement reached with you, we consider ourselves authorized to contact you via unsecured e-mail.
(a) E-mails can involve SUBSTANTIAL RISKS, e.g. lack of confidentiality, potential manipulation of contents and/or sender's address, incorrect recipient (misdirection), viruses etc. We assume no responsi-bility for any loss or damage resulting from the use of e-mails. We recommend in particular that you do NOT SEND ANY SENSITIVE INFORMATION, that you do not include details of the previous message in any reply, and that you enter e-mail address(es) manually every time you write an e-mail.
(b) As a matter of principle, we do NOT accept any ORDERS, revocations of orders or authorizations, blocking of credit cards, etc., sent by e-mail Should such an e-mail nevertheless be received, we are not obliged to act on or respond to the e-mail.
Please notify us immediately if you received this e-mail by mistake or if you do not wish to receive any further e-mail correspondence. If you have received this e-mail by mistake, please completely delete it (and any attachments) and do not forward it or inform any other person of its contents.
Received on 2011-02-24 11:09:14 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.