You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Meyer <bm...@yahoo.com> on 2004/10/26 15:51:07 UTC

Problems compiling SVN on Solaris 8

I've been running SVN on a Windows system since last
May and love it. Now I am migrating the repository
over to a Sun Solaris 8 system (for more developers,
and back up & reliability purposes). After reading the
documentation and FAQs I decided that the
Apache2/WebDAV access would be best for the multiple
users due to the pain of the directory permissions.
However, we have been plagued with issues in the
compilation process.

Apache2 2.0.52 compiled fine with SSL and WebDAV
support. It took a bit to get the Berkeley DB 4.2.52
with it, but it is compiling and running just fine. I
compiled with the following options:

./configure --enable-webdav -enable-dav-fs
--enable-ssl --enable-so --with-ssl=/usr/local/openssl
--enable-auth-dbm --enable-user-track
--with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-dbm=db42

OpenSSL 0.9.7d was compiled as follows:

./config --with-prefix=/usr/local
--openssl-dir=/usr/local/openssl

After some problems, I downloaded Neon 0.24.7, and
built it in /usr/local/installs/src/neon-0.24.7 as
follows:

./configure --with-ssl

Finally, I tried to build SubVersion with the
following options:

./configure --with-ssl --with-apr=/usr/local/apache2
--with-apr-util=/usr/local/apache2

I also tried adding --with-neon=/usr/local. However,
after SVN gets through all the compilation, it dumps
out several pages of linker errors related to OpenSSL
and Neon stating a lot of unknown reference issues.
OpenSSL works just fine, and was used to generate a
CERT for the Apache2 SSL site on the same system.

I have tried both SVN 1.1.0 and 1.1.1 and received the
same error messages.

The system is a SunBlade 2000 running Solaris 8 using
the GNU Development Suite (installed from binary
releases, I think from Sun Soft, but am not positive).

Help would be very much appriciated.

Thanks in advance,

Benjamen R. Meyer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems compiling SVN on Solaris 8

Posted by Cory Omand <Co...@Sun.COM>.
Ben,

There is a Solaris binary distribution of Subversion available from
http://www.blastwave.org.  It's currently version 1.0.6, as I am having
some issues getting mod_dav_svn to work properly for repository
modification (check out, status, etc. over WebDAV works, but commit
causes an Illegal Instruction in the Apache children servicing the
request).  If you're willing to wait, or better yet, willing to test out
beta packages before I make an official release on blastwave, contact me
at comand@blastwave.org.  Packages are built on Solaris 8 using the Sun
compiler suite, for both SPARC and x86.

Regards,
Cory.



On Tue, 2004-10-26 at 08:51, Ben Meyer wrote:
> I've been running SVN on a Windows system since last
> May and love it. Now I am migrating the repository
> over to a Sun Solaris 8 system (for more developers,
> and back up & reliability purposes). After reading the
> documentation and FAQs I decided that the
> Apache2/WebDAV access would be best for the multiple
> users due to the pain of the directory permissions.
> However, we have been plagued with issues in the
> compilation process.
> 
> Apache2 2.0.52 compiled fine with SSL and WebDAV
> support. It took a bit to get the Berkeley DB 4.2.52
> with it, but it is compiling and running just fine. I
> compiled with the following options:
> 
> ./configure --enable-webdav -enable-dav-fs
> --enable-ssl --enable-so --with-ssl=/usr/local/openssl
> --enable-auth-dbm --enable-user-track
> --with-berkeley-db=/usr/local/BerkeleyDB.4.2
> --with-dbm=db42
> 
> OpenSSL 0.9.7d was compiled as follows:
> 
> ./config --with-prefix=/usr/local
> --openssl-dir=/usr/local/openssl
> 
> After some problems, I downloaded Neon 0.24.7, and
> built it in /usr/local/installs/src/neon-0.24.7 as
> follows:
> 
> ./configure --with-ssl
> 
> Finally, I tried to build SubVersion with the
> following options:
> 
> ./configure --with-ssl --with-apr=/usr/local/apache2
> --with-apr-util=/usr/local/apache2
> 
> I also tried adding --with-neon=/usr/local. However,
> after SVN gets through all the compilation, it dumps
> out several pages of linker errors related to OpenSSL
> and Neon stating a lot of unknown reference issues.
> OpenSSL works just fine, and was used to generate a
> CERT for the Apache2 SSL site on the same system.
> 
> I have tried both SVN 1.1.0 and 1.1.1 and received the
> same error messages.
> 
> The system is a SunBlade 2000 running Solaris 8 using
> the GNU Development Suite (installed from binary
> releases, I think from Sun Soft, but am not positive).
> 
> Help would be very much appriciated.
> 
> Thanks in advance,
> 
> Benjamen R. Meyer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems compiling SVN on Solaris 8

Posted by "David F. Newman" <dn...@epnet.com>.
For each of those packages, do you have the shared libraries installed? 
i.e. the .so files in /usr/local/lib?

On Tue, 2004-10-26 at 14:11, BRM wrote:
> Thanks, but I am still getting the error. The variable
> LD_RUN_PATH wasn't set, so I did set it, which it
> probably sould have.
> 
> The message ld is returning is:
> 
> relocations against allocateable but non-writeable
> sections
> 
> This occurs when trying to compile lib_ra_dav-1.la in
> subversion/libsvn_ra_dav/.
> 
> I only tried recompiling SubVersion. Is it needing to
> have one of the other programs recompiled to fix this?
> If os, which one? Again, libssl & libcrypto (OpenSSL),
> libz (GNU libz), and libneon (Neon) are all being
> affected.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems compiling SVN on Solaris 8

Posted by BRM <bm...@yahoo.com>.
Thanks, but I am still getting the error. The variable
LD_RUN_PATH wasn't set, so I did set it, which it
probably sould have.

The message ld is returning is:

relocations against allocateable but non-writeable
sections

This occurs when trying to compile lib_ra_dav-1.la in
subversion/libsvn_ra_dav/.

I only tried recompiling SubVersion. Is it needing to
have one of the other programs recompiled to fix this?
If os, which one? Again, libssl & libcrypto (OpenSSL),
libz (GNU libz), and libneon (Neon) are all being
affected.

TIA,

BRM

--- "David F. Newman" <dn...@epnet.com> wrote:

> On Tue, 2004-10-26 at 11:51, Ben Meyer wrote:
> > Finally, I tried to build SubVersion with the
> > following options:
> > 
> > ./configure --with-ssl
> --with-apr=/usr/local/apache2
> > --with-apr-util=/usr/local/apache2
> > 
> > I also tried adding --with-neon=/usr/local.
> However,
> > after SVN gets through all the compilation, it
> dumps
> > out several pages of linker errors related to
> OpenSSL
> > and Neon stating a lot of unknown reference
> issues.
> > OpenSSL works just fine, and was used to generate
> a
> > CERT for the Apache2 SSL site on the same system.
> 
> 
> try setting LD_RUN_PATH to /usr/local/lib before
> running configure.  You
> might also want /usr/local/BerkeleyDB.4.2/lib in
> there too.
> 
> bourne shell
>
LD_RUN_PATH=/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib
> export LD_RUN_PATH
> 
> c shell
> setenv LD_RUN_PATH
> /usr/local/lib:/usr/local/Berkeley.4.2/lib
> 
> -Dave
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems compiling SVN on Solaris 8

Posted by "David F. Newman" <dn...@epnet.com>.
On Tue, 2004-10-26 at 11:51, Ben Meyer wrote:
> Finally, I tried to build SubVersion with the
> following options:
> 
> ./configure --with-ssl --with-apr=/usr/local/apache2
> --with-apr-util=/usr/local/apache2
> 
> I also tried adding --with-neon=/usr/local. However,
> after SVN gets through all the compilation, it dumps
> out several pages of linker errors related to OpenSSL
> and Neon stating a lot of unknown reference issues.
> OpenSSL works just fine, and was used to generate a
> CERT for the Apache2 SSL site on the same system.


try setting LD_RUN_PATH to /usr/local/lib before running configure.  You
might also want /usr/local/BerkeleyDB.4.2/lib in there too.

bourne shell
LD_RUN_PATH=/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib
export LD_RUN_PATH

c shell
setenv LD_RUN_PATH /usr/local/lib:/usr/local/Berkeley.4.2/lib

-Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org