You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alex Potter <al...@apcuk.dyndns.org> on 2004/03/09 16:44:27 UTC

SVN::Web fails to build

Good Day.

I am trying, so far without success, to install SVN::Web from the distribution 
at CPAN. (perl -MCPAN -e shell).

The build dies thusly:

>Running install for module SVN::Core
>
>The module SVN::Core isn't available on CPAN.
>
> Either the module has not yet been uploaded to CPAN, or it is
> temporary unavailable. Please contact the author to find out
> more about the status. Try 'i SVN::Core'.

CPAN has no information, and several hours' googling produced no useful 
results.

Is anyone here able to help?

Regards

Alex


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

Re: SVN::Web fails to build - SOLVED

Posted by Alex Potter <al...@apcuk.dyndns.org>.
Adrian

On Tuesday 09 March 2004 19:19, Adrian Howard wrote:
> On 9 Mar 2004, at 18:27, Alex Potter wrote:
> [snip]
>
> > I built subversion in a separate build directory using the bootstrap
> > method as
> > described in the INSTALL and enabled swig bindings for perl.
> >
> > However, SVN::Core still does not exist, and depite further reading of
> > the
> > docs I've been unable to come up with a resolution to this problem.
> >
> > You mentioned "installing an extra package". A hint as to its name
> > would be
> > most useful :)
>
> [snip]
>
> It's in subversion/bindings/swig/perl, your installation for subversion
> will need to go something like this:
>
> sh ./autogen.sh
> ./configure --enable-maintainer-mode --with-swig-bindings=perl
> make
> make check
> sudo make install
>
> make swig-pl-lib
> cd subversion/bindings/swig/perl
> setenv APR_CONFIG /usr/local/apr/bin/apr-config (or whatever)
> perl Makefile.PL
> make
> make test
> sudo make install
> cd ../../../..
> sudo make install-swig-pl-lib
>
> Hope this helps.

Many thanks, that sorted it!

One caveat, for those that come after:

My original build had been performed in a parallel directory, as mentioned in 
the INSTALL document, but running the additional commands (make swig-pl-lib 
onwards) failed to produce the necessary files in my build tree, so I had to 
re-do my build/installation in the checked-out source tree.

Thanks again.

Alex


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

Re: SVN::Web fails to build

Posted by Adrian Howard <ad...@quietstars.com>.
On 9 Mar 2004, at 18:27, Alex Potter wrote:
[snip]
> I built subversion in a separate build directory using the bootstrap 
> method as
> described in the INSTALL and enabled swig bindings for perl.
>
> However, SVN::Core still does not exist, and depite further reading of 
> the
> docs I've been unable to come up with a resolution to this problem.
>
> You mentioned "installing an extra package". A hint as to its name 
> would be
> most useful :)
[snip]

It's in subversion/bindings/swig/perl, your installation for subversion 
will need to go something like this:

sh ./autogen.sh
./configure --enable-maintainer-mode --with-swig-bindings=perl
make
make check
sudo make install

make swig-pl-lib
cd subversion/bindings/swig/perl
setenv APR_CONFIG /usr/local/apr/bin/apr-config (or whatever)
perl Makefile.PL
make
make test
sudo make install
cd ../../../..
sudo make install-swig-pl-lib

Hope this helps.

Adrian


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

Re: SVN::Web fails to build

Posted by Alex Potter <al...@apcuk.dyndns.org>.
Christophe

On Tuesday 09 March 2004 16:50, Christophe Labouisse wrote:
> Alex Potter said:
> >>The module SVN::Core isn't available on CPAN.
> >>
> >> Either the module has not yet been uploaded to CPAN, or it is
> >> temporary unavailable. Please contact the author to find out
> >> more about the status. Try 'i SVN::Core'.
>
> You have to build the perl bindings in SVN. Depending on how you install
> SVN this will be extra compilation steps, set some options when creating
> the package or install an extra package.

Thanks for your speedy reply.

All my systems are linux from scratch. 

I built subversion in a separate build directory using the bootstrap method as 
described in the INSTALL and enabled swig bindings for perl.

However, SVN::Core still does not exist, and depite further reading of the 
docs I've been unable to come up with a resolution to this problem. 

You mentioned "installing an extra package". A hint as to its name would be 
most useful :)

Regards

Alex



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

Re: SVN::Web fails to build

Posted by Christophe Labouisse <ch...@labouisse.org>.
Alex Potter said:
>>The module SVN::Core isn't available on CPAN.
>>
>> Either the module has not yet been uploaded to CPAN, or it is
>> temporary unavailable. Please contact the author to find out
>> more about the status. Try 'i SVN::Core'.

You have to build the perl bindings in SVN. Depending on how you install
SVN this will be extra compilation steps, set some options when creating
the package or install an extra package.
-- 


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