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

RE: RE: RE: subversion 1.0.5 packages for Solaris

From: Wadsworth, Eric (Contractor) <wadswore_at_fhu.disa.mil>
Date: 2004-06-15 20:11:36 CEST

You asked for it. ;)

Subversion 1.0.5 installation from source, on an isolated Intel box running
newly-installed Solaris 9.

This sequence of steps resulted in a working installation of Subversion
server, using Apache 2.0.49 with user authentication. No SSL. Subversion
(and the web server) runs as user "svn".

This is just my log, it's not intended to be a sequence of steps to follow
exactly. Maybe it will give ideas, however.

Got gcc from sunfreeware.com. Installed the packages as normal (pkgadd -d).

As root, create user "wad". An account for me.

Put subversion 1.0.5 into /export/home/svnbuild. Unzip, untar.

Printed out the INSTALL file for reference.

Create user "svn".

Put svn stuff into /export/home/svn

Made .profile for svn user, put in path.

Added /usr/local/bin to path so it finds gcc
        * gcc fails* libiconv.so.2 not found.
        tried: LD_LIBRARY_PATH=/usr/openwin/lib <--- no help

Remove SMCgcc with "pkgrm SMCgcc".

Put it back.
        * same problem*

Found libiconv package from sunfreeware.come

installed it.

gcc happy now

Tried http ./configure --with... --enable-dav --enable-so
        * failed to find BerkeleyDB *

Maybe package doesn't have soure, which is needed by svn to link to it.
pkgrm to get rid of BerkeleyDB.

Download BDB from sleepycat (hope it has source code).

Tar failed. Bad solaris tar! (Solaris tar is incompatible with some .tar
files)

Download gnu tar from sunfreeware.com
install
mv /usr/sbin/tar _tar (get rid of the bad version)
ln /s /usr/local/bin/tar tar (link to the good one instead)

tar now works. Untarred BDB source tree.
int the tree:
        cd build_unix
        ../dist/configure

Complaining about "ar" utility missing. Need package sunwbtool. Install from
Solaris CD.

Still no "ar".

Install SUNWsprot, SUNWhea, SUNWarc, SUNWlibm, SUNWdfbh, SUNWxwinc, SUNWsra,
SUNWsrh, SUNWtoo, SUNWlibm, SUNWlibC, SUNWscpu from solaris CD.

Still no "ar". Argh.

Found "ar" in /usr/ccs/bin
added to path.
../dist/configure gives error now: C compiler cannote create executable.
Likely a path problem.
Altered path. Didn't help.
Noticed it's using cc instead of gcc.
mv /usr/ucb/cc _cc
then:
        ../dist/configure <-- worked!
        make install

Failed (I was user svn). make clean.
Try again as root.
happy.

In httpd, did:

./configure --enable-dat --enable-so
--with-BerkeleyDB=/usr/local/BerkeleyDB.4.2/lib

BDB not found
set LD_LIBRARY_PATH=/usr/
still nothing

took off /lib on LD_LIBRARY_PATH
now ./configure finishes. Still doesn't find BDB.

continuing anyway: make
built svn, didn't build server because couldn't find BDB (of course).
Added :/usr/local/lib to the LD_LIBRARY_PATH and it found it!
LD_LIBRARY_PATH =
/usr/local/BerkeleyDB.4.2:/usr/local/BerkeleyDB.4.2/bin:/usr/local/BerkeleyD
B.4.2/include:/usr/local/lib

./configure --enable-dav --enable-so
make make install

Then to svn:
./configure --with-apsx=/usr/local/apache2/bin/apxs
rm usr/local/lib/libsvn*
make clean
make <---- resulted in "multiple include" warnings
make install

It's happy!

edit /usr/local/apache2/conf/httpd.conf as per INSTALL file.

svnadmin create repos
/usr/local/apache2/bin/apachectl start
svnadmin load repos < backup_repos_dumpfile

Edit httpd.conf
apache user = svn, group = blah
chown -R svn:blah repos
chmod -R 700 repos
verify .htpasswd has permissions of svn user.

****
**** --- Eric Wadsworth, 520-533-2749
****

> -----Original Message-----
> From: Carmela Stuart [mailto:c.stuart@CableLabs.com]
> Sent: Tuesday, June 15, 2004 9:01 AM
> To: Wadsworth, Eric (Contractor); Simon McClenahan; Steven M.
> Christensen
> Cc: users@subversion.tigris.org
> Subject: RE: RE: RE: subversion 1.0.5 packages for Solaris
>
>
> Eric,
>
> Would you be willing to provide your notes to the mailing list? I am
> trying to compile on Solaris 8/SPARC and was successful,
> however when I
> run the "svnadmin create" command, I get a core dump. So,
> perhaps I did
> not properly compile/install. Your notes might help to verify.
>
> Thanks,
>
> Carmela
>
> -----Original Message-----
> From: Wadsworth, Eric (Contractor) [mailto:wadswore@fhu.disa.mil]
> Sent: Tuesday, June 15, 2004 8:57 AM
> To: 'Simon McClenahan'; Steven M. Christensen
> Cc: users@subversion.tigris.org
> Subject: RE: RE: subversion 1.0.5 packages for Solaris
>
>
> I've been able to compile it on a Solaris 8/SPARC, Solaris
> 9/SPARC, and
> more recently, Solaris 9/Intel. It's not a walk in the park. I took
> rather detailed notes on how I did it. The final hurdle was
> to make sure
> that the gcc libraries were in the LD_LIBRARY path!
>
> This might all be moot, now that we have binaries available, though.
> Yay!
>
> ****
> **** --- Eric Wadsworth, 520-533-2749
> ****
>
>
> > -----Original Message-----
> > From: Simon McClenahan [mailto:smcclenahan@healthcompartners.com]
> > Sent: Tuesday, June 15, 2004 7:08 AM
> > To: Steven M. Christensen
> > Cc: users@subversion.tigris.org
> > Subject: RE: RE: subversion 1.0.5 packages for Solaris
> >
> >
> > For the love of Subversion Users, please tell us on the user
> > list how you (Steven) got it to compile! Especially on
> Solaris 8/SPARC
> >
> > Although I guess I won't need to compile it now, especially
> > if each new release is published on the Subversion downloads
> > page. Finally I'll be able to upgrade from 0.37 !
> >
> > --- Simon
> >
> > -----Original Message-----
> > From: Wadsworth, Eric (Contractor) [mailto:wadswore@fhu.disa.mil]
> > Sent: Tuesday, June 15, 2004 8:40 AM
> > To: 'Steven M. Christensen'; dev@subversion.tigris.org
> > Cc: 'users@subversion.tigris.org'
> > Subject: RE: subversion 1.0.5 packages for Solaris
> >
> >
> > This is WONDERFUL news! We've got mountains of sun boxen
> here, and so
> > www.sunfreeware.com is a very frequently visited site. The
> process of
> > building subversion from scratch, on a newly installed Sun box, is
> > arduous. Thank you so much for these binaries! This will make life
> > much better next
> > time we upgrade or move the subversion server to yet another box.
> >
> > --- Eric
> >
> > > > I am not sure who to report this to, but I have created binary
> > > > packages for subversion 1.0.5 for Solaris 2.5-9 on SPARC and
> > > > Solaris 8-9 for x86/Intel on sunfreeware.com. I ran
> all the "make
>
> > > > check" tests and they were successful on each package. If your
> > > > users need such packages, you can send them to
> > > > sunfreeware.com. If there are any questions or problems, I
> > > > am happy to receive emails on the subject.
> >
> > --------------------------
> > NOTE: This message and any included attachments are from
> > HealthCom Partners, LLC and are intended only for the
> > addressee(s). The information contained herein may include
> > trade secrets or privileged or otherwise confidential
> > information. Unauthorized review, forwarding, printing,
> > copying, distributing, or using such information is strictly
> > prohibited and may be unlawful. If you received this message
> > in error, or have reason to believe you are not authorized to
> > receive it, please promptly delete this message and notify
> > the sender by e-mail.
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 15 20:17:23 2004

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.