You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Maarten van der Veen <mj...@ai.rug.nl> on 2005/06/05 01:45:32 UTC

Installing PECL svn

Hi,

I'm trying to compile the pecl svn module, for PHP. I downloaded the
file from http://pecl.php.net/package/svn, and compiled it in this
order:

gzip -d < extname.tgz | tar -xvf -
cd extname
phpize
./configure && make

On two seperate machines, running svn 1.2.0RC2, I get this error:
checking for svn support... yes, shared
checking for svn-config... not found
configure: WARNING:
Did not find svn-config; please ensure that you have installed
the svn developer package or equivalent for you system.

checking for svn_client_create_context in -lsvn_client-1... no
./configure: line 3208: unset: `ac_cv_func_svn_client-1': not a valid identifier
configure: error: wrong svn lib version or lib not found


Even after adding the path to svn-config, it still produces the unset error.


Has anyone succeeded in compiling this package?

Maarten
 


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

authorization error in Subversion+Apache server

Posted by Cagatay Catal <ca...@bte.mam.gov.tr>.
Hi Everyone,
First, I have setup "apache_2.0.54-win32-x86-no_ssl.msi" program and then I
have setup "svn-1.1.4-setup" program. 
I have a repository in "D:\CAGATAY" and in that directory, there are
"conf,db,dav,hooks,locks, format, readme" files and I have created a "MySVN"
directory there. I have successfully imported the content of MySVN.
I made the following changes in httpd.conf file as outlined in help file.
I have created 2 passwords using "htpassed" command as explained in
http://tortoisesvn.tigris.org/docs/TortoiseSVN_en/ch03.html

<Location /svn>
DAV svn
SVNParentPath D:\CAGATAY
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
#AuthzSVNAccessFile svnaccessfile
Require valid-user
</Location>

I restared my Apache server and opened a browser window (IE).
(My machine name is enigma)
I wrote the following expressions in browser and it asked me
username/password.
http://enigma/svn/CAGATAY


Even though I have written username/password correctly (I have tried 
2 usernames/passwords , I couldnt see the repository.
It gave the following error since username/password was not successful.
"Authorization Required
This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required."

What do you advice me at this moment? 
I think this is different than authorization problem. 
(I looked at Apache services and SVNService is working there)
Should I do something different than the information explained in website?
By the way, I use XP-service pack 2 but at home it is service pack1 but same
problem occurs there.

Thanks for your interest and help.
Best regards,
Cagatay


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

Corrupt .svn directories

Posted by Kevin Jones <ke...@develop.com>.
This seems to happen to me on a regular basis and I don't understand why.

I'm running Windows 2003 on multiple machines.
Occasionally, but regularly, I get corruption in my working copy. 

What happens is that either all the directories inside .svn go missing or
the .svn/tmp directory goes missing.

This seems to happen randomly. It also happens in WCs that I haven't touched
for days/weeks/months.

I know that the fix is to re-check out the repository and add in the updated
files, but this is time consuming and something I'd like to avoid.

I've seen various reports of user driven corruption but I'm pretty sure
that's not the case here. At least I know that nothing I've done explicitly
is causing this corruption, as I said, it often appears in WCs that I
haven't touched for a while! I'm definitely not deleting these directories
explicitly. 

I've used CVS extensively and never had this sort of issue.

It's almost like some background process is 'tidying' up my repositories. Is
there something on Windows 2003 that is known to cause this (this is not
just on one machine remember but different machines running w2k3)? Is there
a Windows app (Visual Studio maybe) that is known to corrupt SVN working
copies (and I know about ASP.Net and .svn folders, I don't believe it's
anything to do with that).

Kevin Jones
http://kevinj.develop.com/weblog 

> -----Original Message-----
> From: Alan Knowles [mailto:alan@akbkhome.com]
> Sent: 06 June 2005 09:39
> To: mjvdveen@ai.rug.nl
> Cc: users@subversion.tigris.org
> Subject: Re: Installing PECL svn
> 
> maybe getting there...
> try
> http://www.akbkhome.com/svn/pecl/svn/config.m4
> and configure with specific locations, eg.
> phpize;./configure --with-svn=/opt/subversion --with-svn-apr=/usr
> 
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 20:33 +1200, Maarten van der Veen wrote:
> > Yes, I get the following compile error:
> >
> > checking for PHP prefix... /usr/local
> > checking for PHP includes... -I/usr/local/include/php -
> > I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
> > I/usr/local/include/php/Zend
> > checking for PHP extension
> > directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
> > checking for re2c... exit 0;
> > checking for gawk... gawk
> > checking for svn support... yes, shared
> > checking for svn includes... configure: error: failed to find apr.h
> >
> > This file can be found on quite a few places on my system, but the
> > configure does not have a parameter for it.
> >
> > Cheers,
> >
> > Maarten
> >
> > On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> > > can you try this config.m4
> > > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > >
> > > - then run
> > > phpize;./configure;make clean;make install;
> > >
> > > And let me know if there are any compile errors.
> > > Regards
> > > Alan
> > >
> > > On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > > > Can you send me a full log of the errors.
> > > > Regards
> > > > Alan
> > > >
> > > > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > > > Well, this helped for this ./configure, which ended without
> errors.
> > > > >
> > > > > The make however seems to have trouble compiling svn.lo
> > > > >
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared
> (first use
> > > > > in this function)
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > > > something not a structure or union
> > > > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use
> in
> > > > > this function)
> > > > > make: *** [svn.lo] Error 1
> > > > >
> > > > > And lots more where that come from.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Maarten
> > > > >
> > > > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > > > I'm not 100% sure if it will work with 1.2
> > > > > >
> > > > > > if svn_client.h is here:
> > > > > > /usr/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > >
> > > > > > ./configure --with-svn=/usr
> > > > > >
> > > > > > if svn_client.h is here:
> > > > > > /opt/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > >
> > > > > > ./configure --with-svn=/opt
> > > > > >
> > > > > > Should work.. There is a way we can add this to the pear install
> script,
> > > > > > (I also need to get it to work with older versions of pear.. -
> which I
> > > > > > was dicussing with the author or the pear installer.)
> > > > > >
> > > > > > Let me know if you have any luck.
> > > > > >
> > > > > > Regards
> > > > > > Alan
> > > > > >
> > > > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > > > So Allen, is there a way to compile and make it work with
> subversion 1.2
> > > > > > > now? It looks like it's mainly a problem with the paths, but
> the 1.7
> > > > > > > version of config.m4 does also use the svn-config as far as I
> know.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Maarten
> > > > > > >
> > > > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > > > Wez added the svn-config, we presumed it was a standard.
> However debian
> > > > > > > > doesnt package it, so we fell back to standard inc. paths if
> it is
> > > > > > > > missing...
> > > > > > > >
> > > > > > > > It looks like using it at all may be problematic.
> > > > > > > >
> > > > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We
> will think
> > > > > > > > about targeting 1.2 in the next releases.
> > > > > > > >
> > > > > > > > Regards
> > > > > > > > Alan
> > > > > > > >
> > > > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > > >
> > > > > > > > > > Ryan Schmidt wrote:
> > > > > > > > > >>> Then it needs svn-config, which is part of the svn
> developer package,
> > > > > > > > > >>> which I hadn't installed.
> > > > > > > > > >
> > > > > > > > > > Actually, svn-config is _not_ a supported part of the
> Subversion
> > > > > > > > > > distribution at all. It's been known to be old, out-of-
> date, and at
> > > > > > > > > > least partially broken since before svn 1.0, IIRC, and
> the Subversion
> > > > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > > > >
> > > > > > > > > > Unfortunately, some packagers seem to have taken it upon
> themselves to
> > > > > > > > > > install it anyway, and some dependent packages have
> started to use it
> > > > > > > > > > in spite of all this.
> > > > > > > > > >
> > > > > > > > > > Which pretty much tells you that any time you see a
> configure script
> > > > > > > > > > using "svn-config", you are in for a less than pleasant
> experience.
> > > > > > > > >
> > > > > > > > > Oh, I see. Thanks for the info.
> > > > > > > > >
> > > > > > > > > Alan, you getting all of this? :-)
> > > > > > > > >
> > > > > > > > > \r
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > > ------------------------------------------------------------------
> ---
> > > > > 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
> >
> 
> 
> ---------------------------------------------------------------------
> 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: Installing PECL svn

Posted by Maarten van der Veen <mj...@ai.rug.nl>.
It works!

svn.so and svn.1a have both been added to the modules/ directory.

I will try soon if it also actually works.

Thanks,

Maarten

On Mon, 2005-06-06 at 16:39 +0800, Alan Knowles wrote:
> maybe getting there...
> try
> http://www.akbkhome.com/svn/pecl/svn/config.m4
> and configure with specific locations, eg.
> phpize;./configure --with-svn=/opt/subversion --with-svn-apr=/usr
> 
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 20:33 +1200, Maarten van der Veen wrote:
> > Yes, I get the following compile error:
> > 
> > checking for PHP prefix... /usr/local
> > checking for PHP includes... -I/usr/local/include/php -
> > I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
> > I/usr/local/include/php/Zend
> > checking for PHP extension
> > directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
> > checking for re2c... exit 0;
> > checking for gawk... gawk
> > checking for svn support... yes, shared
> > checking for svn includes... configure: error: failed to find apr.h
> > 
> > This file can be found on quite a few places on my system, but the
> > configure does not have a parameter for it.
> > 
> > Cheers,
> > 
> > Maarten
> > 
> > On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> > > can you try this config.m4 
> > > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > > 
> > > - then run 
> > > phpize;./configure;make clean;make install;
> > > 
> > > And let me know if there are any compile errors.
> > > Regards
> > > Alan
> > > 
> > > On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > > > Can you send me a full log of the errors. 
> > > > Regards
> > > > Alan
> > > > 
> > > > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > > > Well, this helped for this ./configure, which ended without errors.
> > > > > 
> > > > > The make however seems to have trouble compiling svn.lo
> > > > > 
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > > > > in this function)
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > > > something not a structure or union
> > > > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > > > > this function)
> > > > > make: *** [svn.lo] Error 1
> > > > > 
> > > > > And lots more where that come from.
> > > > > 
> > > > > Cheers,
> > > > > 
> > > > > Maarten
> > > > > 
> > > > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > > > I'm not 100% sure if it will work with 1.2
> > > > > > 
> > > > > > if svn_client.h is here:
> > > > > > /usr/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > > 
> > > > > > ./configure --with-svn=/usr
> > > > > > 
> > > > > > if svn_client.h is here:
> > > > > > /opt/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > > 
> > > > > > ./configure --with-svn=/opt
> > > > > > 
> > > > > > Should work.. There is a way we can add this to the pear install script,
> > > > > > (I also need to get it to work with older versions of pear.. - which I
> > > > > > was dicussing with the author or the pear installer.)
> > > > > > 
> > > > > > Let me know if you have any luck.
> > > > > > 
> > > > > > Regards
> > > > > > Alan
> > > > > > 
> > > > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > > > > version of config.m4 does also use the svn-config as far as I know.
> > > > > > > 
> > > > > > > Cheers, 
> > > > > > > 
> > > > > > > Maarten
> > > > > > > 
> > > > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > > > > missing...
> > > > > > > > 
> > > > > > > > It looks like using it at all may be problematic.
> > > > > > > > 
> > > > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > > > > about targeting 1.2 in the next releases.
> > > > > > > > 
> > > > > > > > Regards
> > > > > > > > Alan
> > > > > > > > 
> > > > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > > > 
> > > > > > > > > > Ryan Schmidt wrote:
> > > > > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > > > > >>> which I hadn't installed.
> > > > > > > > > >
> > > > > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > > > >
> > > > > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > > > > in spite of all this.
> > > > > > > > > >
> > > > > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > > > > 
> > > > > > > > > Oh, I see. Thanks for the info.
> > > > > > > > > 
> > > > > > > > > Alan, you getting all of this? :-)
> > > > > > > > > 
> > > > > > > > > \r
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > 
> > > > > 
> > > > > 
> > > > > ---------------------------------------------------------------------
> > > > > 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
> > 


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

Re: Installing PECL svn

Posted by Alan Knowles <al...@akbkhome.com>.
On Fri, 2005-06-10 at 21:19 +1200, Maarten van der Veen wrote:
> Well, I tried the svn module, and it seems to work fine for
> repositories.
> 
> At least, doing  a print_r(svn_ls("http://www.akbkhome.com/svn")); gives
> me the proper output.
> 
> I tried it on my own working copy though, and I don't get any output.
> print_r(svn_ls("/path/to/working/copy"));
print_r(svn_ls("file://file/to/repo"));

It should show you an error (error_reporting = E_ALL?), though with
svn_ls("/...../....");

file it as a bug if it doesnt.

Regards
Alan

> 
> Is it programmed just for repositories?
> 
> Cheers,
> 
> Maarten
> 
> 
> On Mon, 2005-06-06 at 16:39 +0800, Alan Knowles wrote:
> > maybe getting there...
> > try
> > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > and configure with specific locations, eg.
> > phpize;./configure --with-svn=/opt/subversion --with-svn-apr=/usr
> > 
> > Regards
> > Alan
> > 
> > On Mon, 2005-06-06 at 20:33 +1200, Maarten van der Veen wrote:
> > > Yes, I get the following compile error:
> > > 
> > > checking for PHP prefix... /usr/local
> > > checking for PHP includes... -I/usr/local/include/php -
> > > I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
> > > I/usr/local/include/php/Zend
> > > checking for PHP extension
> > > directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
> > > checking for re2c... exit 0;
> > > checking for gawk... gawk
> > > checking for svn support... yes, shared
> > > checking for svn includes... configure: error: failed to find apr.h
> > > 
> > > This file can be found on quite a few places on my system, but the
> > > configure does not have a parameter for it.
> > > 
> > > Cheers,
> > > 
> > > Maarten
> > > 
> > > On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> > > > can you try this config.m4 
> > > > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > > > 
> > > > - then run 
> > > > phpize;./configure;make clean;make install;
> > > > 
> > > > And let me know if there are any compile errors.
> > > > Regards
> > > > Alan
> > > > 
> > > > On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > > > > Can you send me a full log of the errors. 
> > > > > Regards
> > > > > Alan
> > > > > 
> > > > > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > > > > Well, this helped for this ./configure, which ended without errors.
> > > > > > 
> > > > > > The make however seems to have trouble compiling svn.lo
> > > > > > 
> > > > > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > > > > > in this function)
> > > > > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > > > > something not a structure or union
> > > > > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > > > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > > > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > > > > > this function)
> > > > > > make: *** [svn.lo] Error 1
> > > > > > 
> > > > > > And lots more where that come from.
> > > > > > 
> > > > > > Cheers,
> > > > > > 
> > > > > > Maarten
> > > > > > 
> > > > > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > > > > I'm not 100% sure if it will work with 1.2
> > > > > > > 
> > > > > > > if svn_client.h is here:
> > > > > > > /usr/include/subversion-1/svn_client.h
> > > > > > > use:
> > > > > > > 
> > > > > > > ./configure --with-svn=/usr
> > > > > > > 
> > > > > > > if svn_client.h is here:
> > > > > > > /opt/include/subversion-1/svn_client.h
> > > > > > > use:
> > > > > > > 
> > > > > > > ./configure --with-svn=/opt
> > > > > > > 
> > > > > > > Should work.. There is a way we can add this to the pear install script,
> > > > > > > (I also need to get it to work with older versions of pear.. - which I
> > > > > > > was dicussing with the author or the pear installer.)
> > > > > > > 
> > > > > > > Let me know if you have any luck.
> > > > > > > 
> > > > > > > Regards
> > > > > > > Alan
> > > > > > > 
> > > > > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > > > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > > > > > version of config.m4 does also use the svn-config as far as I know.
> > > > > > > > 
> > > > > > > > Cheers, 
> > > > > > > > 
> > > > > > > > Maarten
> > > > > > > > 
> > > > > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > > > > > missing...
> > > > > > > > > 
> > > > > > > > > It looks like using it at all may be problematic.
> > > > > > > > > 
> > > > > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > > > > > about targeting 1.2 in the next releases.
> > > > > > > > > 
> > > > > > > > > Regards
> > > > > > > > > Alan
> > > > > > > > > 
> > > > > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > > > > 
> > > > > > > > > > > Ryan Schmidt wrote:
> > > > > > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > > > > > >>> which I hadn't installed.
> > > > > > > > > > >
> > > > > > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > > > > >
> > > > > > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > > > > > in spite of all this.
> > > > > > > > > > >
> > > > > > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > > > > > 
> > > > > > > > > > Oh, I see. Thanks for the info.
> > > > > > > > > > 
> > > > > > > > > > Alan, you getting all of this? :-)
> > > > > > > > > > 
> > > > > > > > > > \r
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > ---------------------------------------------------------------------
> > > > > > 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
> > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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

Re: Installing PECL svn

Posted by Maarten van der Veen <mj...@ai.rug.nl>.
Well, I tried the svn module, and it seems to work fine for
repositories.

At least, doing  a print_r(svn_ls("http://www.akbkhome.com/svn")); gives
me the proper output.

I tried it on my own working copy though, and I don't get any output.
print_r(svn_ls("/path/to/working/copy"));

Is it programmed just for repositories?

Cheers,

Maarten


On Mon, 2005-06-06 at 16:39 +0800, Alan Knowles wrote:
> maybe getting there...
> try
> http://www.akbkhome.com/svn/pecl/svn/config.m4
> and configure with specific locations, eg.
> phpize;./configure --with-svn=/opt/subversion --with-svn-apr=/usr
> 
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 20:33 +1200, Maarten van der Veen wrote:
> > Yes, I get the following compile error:
> > 
> > checking for PHP prefix... /usr/local
> > checking for PHP includes... -I/usr/local/include/php -
> > I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
> > I/usr/local/include/php/Zend
> > checking for PHP extension
> > directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
> > checking for re2c... exit 0;
> > checking for gawk... gawk
> > checking for svn support... yes, shared
> > checking for svn includes... configure: error: failed to find apr.h
> > 
> > This file can be found on quite a few places on my system, but the
> > configure does not have a parameter for it.
> > 
> > Cheers,
> > 
> > Maarten
> > 
> > On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> > > can you try this config.m4 
> > > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > > 
> > > - then run 
> > > phpize;./configure;make clean;make install;
> > > 
> > > And let me know if there are any compile errors.
> > > Regards
> > > Alan
> > > 
> > > On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > > > Can you send me a full log of the errors. 
> > > > Regards
> > > > Alan
> > > > 
> > > > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > > > Well, this helped for this ./configure, which ended without errors.
> > > > > 
> > > > > The make however seems to have trouble compiling svn.lo
> > > > > 
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > > > > in this function)
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > > > something not a structure or union
> > > > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > > > > this function)
> > > > > make: *** [svn.lo] Error 1
> > > > > 
> > > > > And lots more where that come from.
> > > > > 
> > > > > Cheers,
> > > > > 
> > > > > Maarten
> > > > > 
> > > > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > > > I'm not 100% sure if it will work with 1.2
> > > > > > 
> > > > > > if svn_client.h is here:
> > > > > > /usr/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > > 
> > > > > > ./configure --with-svn=/usr
> > > > > > 
> > > > > > if svn_client.h is here:
> > > > > > /opt/include/subversion-1/svn_client.h
> > > > > > use:
> > > > > > 
> > > > > > ./configure --with-svn=/opt
> > > > > > 
> > > > > > Should work.. There is a way we can add this to the pear install script,
> > > > > > (I also need to get it to work with older versions of pear.. - which I
> > > > > > was dicussing with the author or the pear installer.)
> > > > > > 
> > > > > > Let me know if you have any luck.
> > > > > > 
> > > > > > Regards
> > > > > > Alan
> > > > > > 
> > > > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > > > > version of config.m4 does also use the svn-config as far as I know.
> > > > > > > 
> > > > > > > Cheers, 
> > > > > > > 
> > > > > > > Maarten
> > > > > > > 
> > > > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > > > > missing...
> > > > > > > > 
> > > > > > > > It looks like using it at all may be problematic.
> > > > > > > > 
> > > > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > > > > about targeting 1.2 in the next releases.
> > > > > > > > 
> > > > > > > > Regards
> > > > > > > > Alan
> > > > > > > > 
> > > > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > > > 
> > > > > > > > > > Ryan Schmidt wrote:
> > > > > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > > > > >>> which I hadn't installed.
> > > > > > > > > >
> > > > > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > > > >
> > > > > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > > > > in spite of all this.
> > > > > > > > > >
> > > > > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > > > > 
> > > > > > > > > Oh, I see. Thanks for the info.
> > > > > > > > > 
> > > > > > > > > Alan, you getting all of this? :-)
> > > > > > > > > 
> > > > > > > > > \r
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > 
> > > > > 
> > > > > 
> > > > > ---------------------------------------------------------------------
> > > > > 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
> > 
> 
> 
> ---------------------------------------------------------------------
> 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: Installing PECL svn

Posted by Alan Knowles <al...@akbkhome.com>.
maybe getting there...
try
http://www.akbkhome.com/svn/pecl/svn/config.m4
and configure with specific locations, eg.
phpize;./configure --with-svn=/opt/subversion --with-svn-apr=/usr

Regards
Alan

On Mon, 2005-06-06 at 20:33 +1200, Maarten van der Veen wrote:
> Yes, I get the following compile error:
> 
> checking for PHP prefix... /usr/local
> checking for PHP includes... -I/usr/local/include/php -
> I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
> I/usr/local/include/php/Zend
> checking for PHP extension
> directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
> checking for re2c... exit 0;
> checking for gawk... gawk
> checking for svn support... yes, shared
> checking for svn includes... configure: error: failed to find apr.h
> 
> This file can be found on quite a few places on my system, but the
> configure does not have a parameter for it.
> 
> Cheers,
> 
> Maarten
> 
> On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> > can you try this config.m4 
> > http://www.akbkhome.com/svn/pecl/svn/config.m4
> > 
> > - then run 
> > phpize;./configure;make clean;make install;
> > 
> > And let me know if there are any compile errors.
> > Regards
> > Alan
> > 
> > On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > > Can you send me a full log of the errors. 
> > > Regards
> > > Alan
> > > 
> > > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > > Well, this helped for this ./configure, which ended without errors.
> > > > 
> > > > The make however seems to have trouble compiling svn.lo
> > > > 
> > > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > > > in this function)
> > > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > > something not a structure or union
> > > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > > > this function)
> > > > make: *** [svn.lo] Error 1
> > > > 
> > > > And lots more where that come from.
> > > > 
> > > > Cheers,
> > > > 
> > > > Maarten
> > > > 
> > > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > > I'm not 100% sure if it will work with 1.2
> > > > > 
> > > > > if svn_client.h is here:
> > > > > /usr/include/subversion-1/svn_client.h
> > > > > use:
> > > > > 
> > > > > ./configure --with-svn=/usr
> > > > > 
> > > > > if svn_client.h is here:
> > > > > /opt/include/subversion-1/svn_client.h
> > > > > use:
> > > > > 
> > > > > ./configure --with-svn=/opt
> > > > > 
> > > > > Should work.. There is a way we can add this to the pear install script,
> > > > > (I also need to get it to work with older versions of pear.. - which I
> > > > > was dicussing with the author or the pear installer.)
> > > > > 
> > > > > Let me know if you have any luck.
> > > > > 
> > > > > Regards
> > > > > Alan
> > > > > 
> > > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > > > version of config.m4 does also use the svn-config as far as I know.
> > > > > > 
> > > > > > Cheers, 
> > > > > > 
> > > > > > Maarten
> > > > > > 
> > > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > > > missing...
> > > > > > > 
> > > > > > > It looks like using it at all may be problematic.
> > > > > > > 
> > > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > > > about targeting 1.2 in the next releases.
> > > > > > > 
> > > > > > > Regards
> > > > > > > Alan
> > > > > > > 
> > > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > > 
> > > > > > > > > Ryan Schmidt wrote:
> > > > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > > > >>> which I hadn't installed.
> > > > > > > > >
> > > > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > > >
> > > > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > > > in spite of all this.
> > > > > > > > >
> > > > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > > > 
> > > > > > > > Oh, I see. Thanks for the info.
> > > > > > > > 
> > > > > > > > Alan, you getting all of this? :-)
> > > > > > > > 
> > > > > > > > \r
> > > > > > > > 
> > > > > > > > 
> > > > > > 
> > > > 
> > > > 
> > > > ---------------------------------------------------------------------
> > > > 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
> 


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

Re: Installing PECL svn

Posted by Maarten van der Veen <mj...@ai.rug.nl>.
Yes, I get the following compile error:

checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend
checking for PHP extension
directory... /usr/local/lib/php/extensions/no-debug-non-zts-20041030
checking for re2c... exit 0;
checking for gawk... gawk
checking for svn support... yes, shared
checking for svn includes... configure: error: failed to find apr.h

This file can be found on quite a few places on my system, but the
configure does not have a parameter for it.

Cheers,

Maarten

On Mon, 2005-06-06 at 13:42 +0800, Alan Knowles wrote:
> can you try this config.m4 
> http://www.akbkhome.com/svn/pecl/svn/config.m4
> 
> - then run 
> phpize;./configure;make clean;make install;
> 
> And let me know if there are any compile errors.
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> > Can you send me a full log of the errors. 
> > Regards
> > Alan
> > 
> > On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > > Well, this helped for this ./configure, which ended without errors.
> > > 
> > > The make however seems to have trouble compiling svn.lo
> > > 
> > > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > > in this function)
> > > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > > something not a structure or union
> > > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > > this function)
> > > make: *** [svn.lo] Error 1
> > > 
> > > And lots more where that come from.
> > > 
> > > Cheers,
> > > 
> > > Maarten
> > > 
> > > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > > I'm not 100% sure if it will work with 1.2
> > > > 
> > > > if svn_client.h is here:
> > > > /usr/include/subversion-1/svn_client.h
> > > > use:
> > > > 
> > > > ./configure --with-svn=/usr
> > > > 
> > > > if svn_client.h is here:
> > > > /opt/include/subversion-1/svn_client.h
> > > > use:
> > > > 
> > > > ./configure --with-svn=/opt
> > > > 
> > > > Should work.. There is a way we can add this to the pear install script,
> > > > (I also need to get it to work with older versions of pear.. - which I
> > > > was dicussing with the author or the pear installer.)
> > > > 
> > > > Let me know if you have any luck.
> > > > 
> > > > Regards
> > > > Alan
> > > > 
> > > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > > version of config.m4 does also use the svn-config as far as I know.
> > > > > 
> > > > > Cheers, 
> > > > > 
> > > > > Maarten
> > > > > 
> > > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > > missing...
> > > > > > 
> > > > > > It looks like using it at all may be problematic.
> > > > > > 
> > > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > > about targeting 1.2 in the next releases.
> > > > > > 
> > > > > > Regards
> > > > > > Alan
> > > > > > 
> > > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > > 
> > > > > > > > Ryan Schmidt wrote:
> > > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > > >>> which I hadn't installed.
> > > > > > > >
> > > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > > project's official tarballs do _not_ install it.
> > > > > > > >
> > > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > > in spite of all this.
> > > > > > > >
> > > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > > 
> > > > > > > Oh, I see. Thanks for the info.
> > > > > > > 
> > > > > > > Alan, you getting all of this? :-)
> > > > > > > 
> > > > > > > \r
> > > > > > > 
> > > > > > > 
> > > > > 
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > 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


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

Re: Installing PECL svn

Posted by Alan Knowles <al...@akbkhome.com>.
can you try this config.m4 
http://www.akbkhome.com/svn/pecl/svn/config.m4

- then run 
phpize;./configure;make clean;make install;

And let me know if there are any compile errors.
Regards
Alan

On Mon, 2005-06-06 at 13:28 +0800, Alan Knowles wrote:
> Can you send me a full log of the errors. 
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> > Well, this helped for this ./configure, which ended without errors.
> > 
> > The make however seems to have trouble compiling svn.lo
> > 
> > /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> > in this function)
> > /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> > something not a structure or union
> > /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> > /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> > /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> > this function)
> > make: *** [svn.lo] Error 1
> > 
> > And lots more where that come from.
> > 
> > Cheers,
> > 
> > Maarten
> > 
> > On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > > I'm not 100% sure if it will work with 1.2
> > > 
> > > if svn_client.h is here:
> > > /usr/include/subversion-1/svn_client.h
> > > use:
> > > 
> > > ./configure --with-svn=/usr
> > > 
> > > if svn_client.h is here:
> > > /opt/include/subversion-1/svn_client.h
> > > use:
> > > 
> > > ./configure --with-svn=/opt
> > > 
> > > Should work.. There is a way we can add this to the pear install script,
> > > (I also need to get it to work with older versions of pear.. - which I
> > > was dicussing with the author or the pear installer.)
> > > 
> > > Let me know if you have any luck.
> > > 
> > > Regards
> > > Alan
> > > 
> > > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > > version of config.m4 does also use the svn-config as far as I know.
> > > > 
> > > > Cheers, 
> > > > 
> > > > Maarten
> > > > 
> > > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > > missing...
> > > > > 
> > > > > It looks like using it at all may be problematic.
> > > > > 
> > > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > > about targeting 1.2 in the next releases.
> > > > > 
> > > > > Regards
> > > > > Alan
> > > > > 
> > > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > > 
> > > > > > > Ryan Schmidt wrote:
> > > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > > >>> which I hadn't installed.
> > > > > > >
> > > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > > project's official tarballs do _not_ install it.
> > > > > > >
> > > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > > in spite of all this.
> > > > > > >
> > > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > > 
> > > > > > Oh, I see. Thanks for the info.
> > > > > > 
> > > > > > Alan, you getting all of this? :-)
> > > > > > 
> > > > > > \r
> > > > > > 
> > > > > > 
> > > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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

Re: Installing PECL svn

Posted by Alan Knowles <al...@akbkhome.com>.
Can you send me a full log of the errors. 
Regards
Alan

On Mon, 2005-06-06 at 16:04 +1200, Maarten van der Veen wrote:
> Well, this helped for this ./configure, which ended without errors.
> 
> The make however seems to have trouble compiling svn.lo
> 
> /usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
> in this function)
> /usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
> something not a structure or union
> /usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
> /usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
> /usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
> this function)
> make: *** [svn.lo] Error 1
> 
> And lots more where that come from.
> 
> Cheers,
> 
> Maarten
> 
> On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> > I'm not 100% sure if it will work with 1.2
> > 
> > if svn_client.h is here:
> > /usr/include/subversion-1/svn_client.h
> > use:
> > 
> > ./configure --with-svn=/usr
> > 
> > if svn_client.h is here:
> > /opt/include/subversion-1/svn_client.h
> > use:
> > 
> > ./configure --with-svn=/opt
> > 
> > Should work.. There is a way we can add this to the pear install script,
> > (I also need to get it to work with older versions of pear.. - which I
> > was dicussing with the author or the pear installer.)
> > 
> > Let me know if you have any luck.
> > 
> > Regards
> > Alan
> > 
> > On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > > So Allen, is there a way to compile and make it work with subversion 1.2
> > > now? It looks like it's mainly a problem with the paths, but the 1.7
> > > version of config.m4 does also use the svn-config as far as I know.
> > > 
> > > Cheers, 
> > > 
> > > Maarten
> > > 
> > > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > > Wez added the svn-config, we presumed it was a standard. However debian
> > > > doesnt package it, so we fell back to standard inc. paths if it is
> > > > missing...
> > > > 
> > > > It looks like using it at all may be problematic.
> > > > 
> > > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > > about targeting 1.2 in the next releases.
> > > > 
> > > > Regards
> > > > Alan
> > > > 
> > > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > > 
> > > > > > Ryan Schmidt wrote:
> > > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > > >>> which I hadn't installed.
> > > > > >
> > > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > > project's official tarballs do _not_ install it.
> > > > > >
> > > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > > install it anyway, and some dependent packages have started to use it 
> > > > > > in spite of all this.
> > > > > >
> > > > > > Which pretty much tells you that any time you see a configure script 
> > > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > > 
> > > > > Oh, I see. Thanks for the info.
> > > > > 
> > > > > Alan, you getting all of this? :-)
> > > > > 
> > > > > \r
> > > > > 
> > > > > 
> > > 
> 
> 
> ---------------------------------------------------------------------
> 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: Installing PECL svn

Posted by Maarten van der Veen <mj...@ai.rug.nl>.
Well, this helped for this ./configure, which ended without errors.

The make however seems to have trouble compiling svn.lo

/usr/src/peclsvn/svn-0.1/svn.c:1780: `result_rev' undeclared (first use
in this function)
/usr/src/peclsvn/svn-0.1/svn.c:1781: request for member `ctx' in
something not a structure or union
/usr/src/peclsvn/svn-0.1/svn.c: In function `php_svn_get_version':
/usr/src/peclsvn/svn-0.1/svn.c:1797: syntax error before '*' token
/usr/src/peclsvn/svn-0.1/svn.c:1798: `vers' undeclared (first use in
this function)
make: *** [svn.lo] Error 1

And lots more where that come from.

Cheers,

Maarten

On Mon, 2005-06-06 at 07:51 +0800, Alan Knowles wrote:
> I'm not 100% sure if it will work with 1.2
> 
> if svn_client.h is here:
> /usr/include/subversion-1/svn_client.h
> use:
> 
> ./configure --with-svn=/usr
> 
> if svn_client.h is here:
> /opt/include/subversion-1/svn_client.h
> use:
> 
> ./configure --with-svn=/opt
> 
> Should work.. There is a way we can add this to the pear install script,
> (I also need to get it to work with older versions of pear.. - which I
> was dicussing with the author or the pear installer.)
> 
> Let me know if you have any luck.
> 
> Regards
> Alan
> 
> On Mon, 2005-06-06 at 09:33 +1200, Maarten van der Veen wrote:
> > So Allen, is there a way to compile and make it work with subversion 1.2
> > now? It looks like it's mainly a problem with the paths, but the 1.7
> > version of config.m4 does also use the svn-config as far as I know.
> > 
> > Cheers, 
> > 
> > Maarten
> > 
> > On Sun, 2005-06-05 at 23:13 +0800, Alan Knowles wrote:
> > > Wez added the svn-config, we presumed it was a standard. However debian
> > > doesnt package it, so we fell back to standard inc. paths if it is
> > > missing...
> > > 
> > > It looks like using it at all may be problematic.
> > > 
> > > BTW. we targeted 1.1, and have not tested it with 1.2 - We will think
> > > about targeting 1.2 in the next releases.
> > > 
> > > Regards
> > > Alan
> > > 
> > > On Sun, 2005-06-05 at 16:30 +0200, Ryan Schmidt wrote:
> > > > On 05.06.2005, at 16:24, Max Bowsher wrote:
> > > > 
> > > > > Ryan Schmidt wrote:
> > > > >>> Then it needs svn-config, which is part of the svn developer package,
> > > > >>> which I hadn't installed.
> > > > >
> > > > > Actually, svn-config is _not_ a supported part of the Subversion 
> > > > > distribution at all. It's been known to be old, out-of-date, and at 
> > > > > least partially broken since before svn 1.0, IIRC, and the Subversion 
> > > > > project's official tarballs do _not_ install it.
> > > > >
> > > > > Unfortunately, some packagers seem to have taken it upon themselves to 
> > > > > install it anyway, and some dependent packages have started to use it 
> > > > > in spite of all this.
> > > > >
> > > > > Which pretty much tells you that any time you see a configure script 
> > > > > using "svn-config", you are in for a less than pleasant experience.
> > > > 
> > > > Oh, I see. Thanks for the info.
> > > > 
> > > > Alan, you getting all of this? :-)
> > > > 
> > > > \r
> > > > 
> > > > 
> > 


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

Re: Installing PECL svn

Posted by Max Bowsher <ma...@ukf.net>.
Ryan Schmidt wrote:
>> Then it needs svn-config, which is part of the svn developer package,
>> which I hadn't installed.

Actually, svn-config is _not_ a supported part of the Subversion 
distribution at all. It's been known to be old, out-of-date, and at least 
partially broken since before svn 1.0, IIRC, and the Subversion project's 
official tarballs do _not_ install it.

Unfortunately, some packagers seem to have taken it upon themselves to 
install it anyway, and some dependent packages have started to use it in 
spite of all this.

Which pretty much tells you that any time you see a configure script using 
"svn-config", you are in for a less than pleasant experience.

Max.


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

Re: Installing PECL svn

Posted by Ryan Schmidt <su...@ryandesign.com>.
On 05.06.2005, at 03:45, Maarten van der Veen wrote:

> I'm trying to compile the pecl svn module, for PHP. I downloaded the
> file from http://pecl.php.net/package/svn, and compiled it in this
> order:
>
> gzip -d < extname.tgz | tar -xvf -
> cd extname
> phpize
> ./configure && make
>
> On two seperate machines, running svn 1.2.0RC2, I get this error:
> checking for svn support... yes, shared
> checking for svn-config... not found
> configure: WARNING:
> Did not find svn-config; please ensure that you have installed
> the svn developer package or equivalent for you system.
>
> checking for svn_client_create_context in -lsvn_client-1... no
> ./configure: line 3208: unset: `ac_cv_func_svn_client-1': not a valid 
> identifier
> configure: error: wrong svn lib version or lib not found
>
> Even after adding the path to svn-config, it still produces the unset 
> error.
>
> Has anyone succeeded in compiling this package?

Hi Maarten. Frankly, I had a b*tch of a time installing this. First it 
needs an alpha version of PEAR:

pear config-set preferred_state alpha
pear upgrade pear

(Don't forget to "pear config-set preferred_state stable" when you're 
done installing.)

Then it needs svn-config, which is part of the svn developer package, 
which I hadn't installed. So, since I'm on OS X and had installed svn 
with fink:

fink install svn-ssl-dev

And then I still had to patch Alan's svn PECL package. I sent Alan the 
patch but he said he would have to check with other PECL developers 
first. I'll attach it here in case it helps anyone, but know that I've 
never mucked with PECL before so I may have no idea what I'm doing. My 
patch does these things to the config.m4:

- Adds /sw to the list of paths where svn stuff is looked for. This is 
where fink installs things on OS X.
- Fixes a typo in an error message.
- svn library and include paths are now detected even when svn-config 
is found.
- Only the first found svn library and include path is used.
- Discovered library and include paths are displayed for debugging 
purposes.