How to build svnwcrev












0















I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."...



I modified the config.mk file setting the APR_INCLUDE as the readme says, and when I run make:




http://pastebin.com/NE1nevek




any suggestion to build this tool?
Thanks!










share|improve this question




















  • 2





    Only if you post the actual error messages that appeared.

    – Michael Hampton
    Dec 30 '12 at 4:50











  • pastebin.com/NE1nevek

    – Kummo
    Dec 31 '12 at 3:15











  • The developer needs to update his code for more recent compilers/standard C++ libraries.

    – Michael Hampton
    Dec 31 '12 at 3:20






  • 1





    I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

    – Kummo
    Dec 31 '12 at 3:28


















0















I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."...



I modified the config.mk file setting the APR_INCLUDE as the readme says, and when I run make:




http://pastebin.com/NE1nevek




any suggestion to build this tool?
Thanks!










share|improve this question




















  • 2





    Only if you post the actual error messages that appeared.

    – Michael Hampton
    Dec 30 '12 at 4:50











  • pastebin.com/NE1nevek

    – Kummo
    Dec 31 '12 at 3:15











  • The developer needs to update his code for more recent compilers/standard C++ libraries.

    – Michael Hampton
    Dec 31 '12 at 3:20






  • 1





    I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

    – Kummo
    Dec 31 '12 at 3:28
















0












0








0








I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."...



I modified the config.mk file setting the APR_INCLUDE as the readme says, and when I run make:




http://pastebin.com/NE1nevek




any suggestion to build this tool?
Thanks!










share|improve this question
















I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."...



I modified the config.mk file setting the APR_INCLUDE as the readme says, and when I run make:




http://pastebin.com/NE1nevek




any suggestion to build this tool?
Thanks!







make subversion






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '12 at 3:16







Kummo

















asked Dec 30 '12 at 2:16









KummoKummo

1014




1014








  • 2





    Only if you post the actual error messages that appeared.

    – Michael Hampton
    Dec 30 '12 at 4:50











  • pastebin.com/NE1nevek

    – Kummo
    Dec 31 '12 at 3:15











  • The developer needs to update his code for more recent compilers/standard C++ libraries.

    – Michael Hampton
    Dec 31 '12 at 3:20






  • 1





    I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

    – Kummo
    Dec 31 '12 at 3:28
















  • 2





    Only if you post the actual error messages that appeared.

    – Michael Hampton
    Dec 30 '12 at 4:50











  • pastebin.com/NE1nevek

    – Kummo
    Dec 31 '12 at 3:15











  • The developer needs to update his code for more recent compilers/standard C++ libraries.

    – Michael Hampton
    Dec 31 '12 at 3:20






  • 1





    I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

    – Kummo
    Dec 31 '12 at 3:28










2




2





Only if you post the actual error messages that appeared.

– Michael Hampton
Dec 30 '12 at 4:50





Only if you post the actual error messages that appeared.

– Michael Hampton
Dec 30 '12 at 4:50













pastebin.com/NE1nevek

– Kummo
Dec 31 '12 at 3:15





pastebin.com/NE1nevek

– Kummo
Dec 31 '12 at 3:15













The developer needs to update his code for more recent compilers/standard C++ libraries.

– Michael Hampton
Dec 31 '12 at 3:20





The developer needs to update his code for more recent compilers/standard C++ libraries.

– Michael Hampton
Dec 31 '12 at 3:20




1




1





I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

– Kummo
Dec 31 '12 at 3:28







I added a #include <cstddef> to the SVNcRev.h as a guy at the Arch irc pointed out, now it compiles.

– Kummo
Dec 31 '12 at 3:28












2 Answers
2






active

oldest

votes


















0














Without more information I can only offer you how I've done this on CentOS & Fedora Linux distros. I know a co-worker who got it to build on Ubuntu as well but I'm not familiar with all the steps they took to accomplish this.



For myself I used the following steps.



First I needed to make a change to line # 150 in SVNWcRev.cpp.



# before: 
#define USE_TIME_NOW -2 // 0 and -1 might already be significant.

# after:
#define USE_TIME_NOW apr_time_now() // 0 and -1 might already be significant.


NOTE: The details for the apr_time_now() function were on this page.



This function returns the current time. Also that page detailed the function apr_time_exp_lt(). In the file SVNWcRev.cpp there is a function InsertDate() that is called with several arguments including USE_TIME_NOW. This argument along with a newly constructed apr_time_exp_t object are passed to the apr function, apr_time_exp_lt(). With the original value of -2, this function was returning 12/31/1969 (1/1/1970 - 2usecs).



My co-workers and I seemed to think that this might have been correct behavior on a different platform, or possibly a older version of the apr library was implemented differently where that used to work. I used apr version 1.4.5 to build svnwcrev.



Changing to the function apr_time_now() fixed the issue.



Installation & Setup



svnwcrev is a implementation of the subwcrev.exe tool provided by TortoiseSVN, here. I found svnwcrev here. I downloaded svnwcrev like so:



% svn checkout http://svnwcrev.tigris.org/svn/svnwcrev/trunk svnwcrev --username guest


NOTE: I got the following version of svnwcrev.



% svn info
Path: .
URL: http://svnwcrev.tigris.org/svn/svnwcrev/trunk
Repository Root: http://svnwcrev.tigris.org/svn/svnwcrev
Repository UUID: 4d73e863-0307-0410-bf4f-fe65b2d002b6
Revision: 10
Node Kind: directory
Schedule: normal
Last Changed Author: mailman
Last Changed Rev: 10
Last Changed Date: 2011-05-26 05:05:03 -0400 (Thu, 26 May 2011)


Once downloaded I made the following changes.



1. created a config.mk file:



% cp config_mk.template config.mk


2. changed config.mk so that it looked like this:



SUBVERSION_INCLUDE=/usr/include/subversion-1
APR_INCLUDE=/usr/include/apr-1
LIBRARIES=/usr/lib


3. installed the apr-devel and subversion-devel RPMs.



4. compiled svnwcrev like so:



% make





share|improve this answer


























  • I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

    – Kummo
    Dec 31 '12 at 3:22













  • that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

    – slm
    Dec 31 '12 at 5:51











  • BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

    – slm
    Dec 31 '12 at 6:02



















0














Adding to the answer from slm I had to do the following to get the latest source from tigress to compile on Ubuntu 15.10



wget http://svnwcrev.tigris.org/files/documents/3444/44067/svnwcrev-1.0.tar.gz
tar -xzvf svnwcrev-1.0.tar.gz
apt-get install libapr1-dev libsvn-dev
cd svnwcrev-1.0


This provided the headers referred to in the config.mk file, then after renaming config_mk.template to config.mk.



I then had to add the following at line 33 of src/SVNWcRev.cpp



#include <stddef.h>


This fixed a compiler error where Expansion and ptrdiff_t were undefined.



I also had to modify the Makefile to include missing libraries and disable a warning. The changed lines are listed here:



...
CPPFLAGS=-I$(SUBVERSION_INCLUDE) -I$(APR_INCLUDE) -Wno-deprecated-declarations
...
LDLIBS=-lpthread -L$(LIBRARIES) -lsvn_client-1 -lsvn_wc-1 -lsvn_subr-1 -lapr-1
....





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f59824%2fhow-to-build-svnwcrev%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Without more information I can only offer you how I've done this on CentOS & Fedora Linux distros. I know a co-worker who got it to build on Ubuntu as well but I'm not familiar with all the steps they took to accomplish this.



    For myself I used the following steps.



    First I needed to make a change to line # 150 in SVNWcRev.cpp.



    # before: 
    #define USE_TIME_NOW -2 // 0 and -1 might already be significant.

    # after:
    #define USE_TIME_NOW apr_time_now() // 0 and -1 might already be significant.


    NOTE: The details for the apr_time_now() function were on this page.



    This function returns the current time. Also that page detailed the function apr_time_exp_lt(). In the file SVNWcRev.cpp there is a function InsertDate() that is called with several arguments including USE_TIME_NOW. This argument along with a newly constructed apr_time_exp_t object are passed to the apr function, apr_time_exp_lt(). With the original value of -2, this function was returning 12/31/1969 (1/1/1970 - 2usecs).



    My co-workers and I seemed to think that this might have been correct behavior on a different platform, or possibly a older version of the apr library was implemented differently where that used to work. I used apr version 1.4.5 to build svnwcrev.



    Changing to the function apr_time_now() fixed the issue.



    Installation & Setup



    svnwcrev is a implementation of the subwcrev.exe tool provided by TortoiseSVN, here. I found svnwcrev here. I downloaded svnwcrev like so:



    % svn checkout http://svnwcrev.tigris.org/svn/svnwcrev/trunk svnwcrev --username guest


    NOTE: I got the following version of svnwcrev.



    % svn info
    Path: .
    URL: http://svnwcrev.tigris.org/svn/svnwcrev/trunk
    Repository Root: http://svnwcrev.tigris.org/svn/svnwcrev
    Repository UUID: 4d73e863-0307-0410-bf4f-fe65b2d002b6
    Revision: 10
    Node Kind: directory
    Schedule: normal
    Last Changed Author: mailman
    Last Changed Rev: 10
    Last Changed Date: 2011-05-26 05:05:03 -0400 (Thu, 26 May 2011)


    Once downloaded I made the following changes.



    1. created a config.mk file:



    % cp config_mk.template config.mk


    2. changed config.mk so that it looked like this:



    SUBVERSION_INCLUDE=/usr/include/subversion-1
    APR_INCLUDE=/usr/include/apr-1
    LIBRARIES=/usr/lib


    3. installed the apr-devel and subversion-devel RPMs.



    4. compiled svnwcrev like so:



    % make





    share|improve this answer


























    • I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

      – Kummo
      Dec 31 '12 at 3:22













    • that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

      – slm
      Dec 31 '12 at 5:51











    • BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

      – slm
      Dec 31 '12 at 6:02
















    0














    Without more information I can only offer you how I've done this on CentOS & Fedora Linux distros. I know a co-worker who got it to build on Ubuntu as well but I'm not familiar with all the steps they took to accomplish this.



    For myself I used the following steps.



    First I needed to make a change to line # 150 in SVNWcRev.cpp.



    # before: 
    #define USE_TIME_NOW -2 // 0 and -1 might already be significant.

    # after:
    #define USE_TIME_NOW apr_time_now() // 0 and -1 might already be significant.


    NOTE: The details for the apr_time_now() function were on this page.



    This function returns the current time. Also that page detailed the function apr_time_exp_lt(). In the file SVNWcRev.cpp there is a function InsertDate() that is called with several arguments including USE_TIME_NOW. This argument along with a newly constructed apr_time_exp_t object are passed to the apr function, apr_time_exp_lt(). With the original value of -2, this function was returning 12/31/1969 (1/1/1970 - 2usecs).



    My co-workers and I seemed to think that this might have been correct behavior on a different platform, or possibly a older version of the apr library was implemented differently where that used to work. I used apr version 1.4.5 to build svnwcrev.



    Changing to the function apr_time_now() fixed the issue.



    Installation & Setup



    svnwcrev is a implementation of the subwcrev.exe tool provided by TortoiseSVN, here. I found svnwcrev here. I downloaded svnwcrev like so:



    % svn checkout http://svnwcrev.tigris.org/svn/svnwcrev/trunk svnwcrev --username guest


    NOTE: I got the following version of svnwcrev.



    % svn info
    Path: .
    URL: http://svnwcrev.tigris.org/svn/svnwcrev/trunk
    Repository Root: http://svnwcrev.tigris.org/svn/svnwcrev
    Repository UUID: 4d73e863-0307-0410-bf4f-fe65b2d002b6
    Revision: 10
    Node Kind: directory
    Schedule: normal
    Last Changed Author: mailman
    Last Changed Rev: 10
    Last Changed Date: 2011-05-26 05:05:03 -0400 (Thu, 26 May 2011)


    Once downloaded I made the following changes.



    1. created a config.mk file:



    % cp config_mk.template config.mk


    2. changed config.mk so that it looked like this:



    SUBVERSION_INCLUDE=/usr/include/subversion-1
    APR_INCLUDE=/usr/include/apr-1
    LIBRARIES=/usr/lib


    3. installed the apr-devel and subversion-devel RPMs.



    4. compiled svnwcrev like so:



    % make





    share|improve this answer


























    • I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

      – Kummo
      Dec 31 '12 at 3:22













    • that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

      – slm
      Dec 31 '12 at 5:51











    • BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

      – slm
      Dec 31 '12 at 6:02














    0












    0








    0







    Without more information I can only offer you how I've done this on CentOS & Fedora Linux distros. I know a co-worker who got it to build on Ubuntu as well but I'm not familiar with all the steps they took to accomplish this.



    For myself I used the following steps.



    First I needed to make a change to line # 150 in SVNWcRev.cpp.



    # before: 
    #define USE_TIME_NOW -2 // 0 and -1 might already be significant.

    # after:
    #define USE_TIME_NOW apr_time_now() // 0 and -1 might already be significant.


    NOTE: The details for the apr_time_now() function were on this page.



    This function returns the current time. Also that page detailed the function apr_time_exp_lt(). In the file SVNWcRev.cpp there is a function InsertDate() that is called with several arguments including USE_TIME_NOW. This argument along with a newly constructed apr_time_exp_t object are passed to the apr function, apr_time_exp_lt(). With the original value of -2, this function was returning 12/31/1969 (1/1/1970 - 2usecs).



    My co-workers and I seemed to think that this might have been correct behavior on a different platform, or possibly a older version of the apr library was implemented differently where that used to work. I used apr version 1.4.5 to build svnwcrev.



    Changing to the function apr_time_now() fixed the issue.



    Installation & Setup



    svnwcrev is a implementation of the subwcrev.exe tool provided by TortoiseSVN, here. I found svnwcrev here. I downloaded svnwcrev like so:



    % svn checkout http://svnwcrev.tigris.org/svn/svnwcrev/trunk svnwcrev --username guest


    NOTE: I got the following version of svnwcrev.



    % svn info
    Path: .
    URL: http://svnwcrev.tigris.org/svn/svnwcrev/trunk
    Repository Root: http://svnwcrev.tigris.org/svn/svnwcrev
    Repository UUID: 4d73e863-0307-0410-bf4f-fe65b2d002b6
    Revision: 10
    Node Kind: directory
    Schedule: normal
    Last Changed Author: mailman
    Last Changed Rev: 10
    Last Changed Date: 2011-05-26 05:05:03 -0400 (Thu, 26 May 2011)


    Once downloaded I made the following changes.



    1. created a config.mk file:



    % cp config_mk.template config.mk


    2. changed config.mk so that it looked like this:



    SUBVERSION_INCLUDE=/usr/include/subversion-1
    APR_INCLUDE=/usr/include/apr-1
    LIBRARIES=/usr/lib


    3. installed the apr-devel and subversion-devel RPMs.



    4. compiled svnwcrev like so:



    % make





    share|improve this answer















    Without more information I can only offer you how I've done this on CentOS & Fedora Linux distros. I know a co-worker who got it to build on Ubuntu as well but I'm not familiar with all the steps they took to accomplish this.



    For myself I used the following steps.



    First I needed to make a change to line # 150 in SVNWcRev.cpp.



    # before: 
    #define USE_TIME_NOW -2 // 0 and -1 might already be significant.

    # after:
    #define USE_TIME_NOW apr_time_now() // 0 and -1 might already be significant.


    NOTE: The details for the apr_time_now() function were on this page.



    This function returns the current time. Also that page detailed the function apr_time_exp_lt(). In the file SVNWcRev.cpp there is a function InsertDate() that is called with several arguments including USE_TIME_NOW. This argument along with a newly constructed apr_time_exp_t object are passed to the apr function, apr_time_exp_lt(). With the original value of -2, this function was returning 12/31/1969 (1/1/1970 - 2usecs).



    My co-workers and I seemed to think that this might have been correct behavior on a different platform, or possibly a older version of the apr library was implemented differently where that used to work. I used apr version 1.4.5 to build svnwcrev.



    Changing to the function apr_time_now() fixed the issue.



    Installation & Setup



    svnwcrev is a implementation of the subwcrev.exe tool provided by TortoiseSVN, here. I found svnwcrev here. I downloaded svnwcrev like so:



    % svn checkout http://svnwcrev.tigris.org/svn/svnwcrev/trunk svnwcrev --username guest


    NOTE: I got the following version of svnwcrev.



    % svn info
    Path: .
    URL: http://svnwcrev.tigris.org/svn/svnwcrev/trunk
    Repository Root: http://svnwcrev.tigris.org/svn/svnwcrev
    Repository UUID: 4d73e863-0307-0410-bf4f-fe65b2d002b6
    Revision: 10
    Node Kind: directory
    Schedule: normal
    Last Changed Author: mailman
    Last Changed Rev: 10
    Last Changed Date: 2011-05-26 05:05:03 -0400 (Thu, 26 May 2011)


    Once downloaded I made the following changes.



    1. created a config.mk file:



    % cp config_mk.template config.mk


    2. changed config.mk so that it looked like this:



    SUBVERSION_INCLUDE=/usr/include/subversion-1
    APR_INCLUDE=/usr/include/apr-1
    LIBRARIES=/usr/lib


    3. installed the apr-devel and subversion-devel RPMs.



    4. compiled svnwcrev like so:



    % make






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 31 '12 at 5:58

























    answered Dec 30 '12 at 5:26









    slmslm

    250k66526683




    250k66526683













    • I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

      – Kummo
      Dec 31 '12 at 3:22













    • that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

      – slm
      Dec 31 '12 at 5:51











    • BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

      – slm
      Dec 31 '12 at 6:02



















    • I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

      – Kummo
      Dec 31 '12 at 3:22













    • that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

      – slm
      Dec 31 '12 at 5:51











    • BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

      – slm
      Dec 31 '12 at 6:02

















    I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

    – Kummo
    Dec 31 '12 at 3:22







    I don't have before: #define USE_TIME_NOW -2 // 0 and -1 might already be significant. at line # 151

    – Kummo
    Dec 31 '12 at 3:22















    that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

    – slm
    Dec 31 '12 at 5:51





    that line isn't a literal "before: that's what the line looked like before and after I changed it. The after is what it should look like after.

    – slm
    Dec 31 '12 at 5:51













    BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

    – slm
    Dec 31 '12 at 6:02





    BTW, try the steps I outlined above, I just double checked and they worked fine on my Fedora & CentOS systems.

    – slm
    Dec 31 '12 at 6:02













    0














    Adding to the answer from slm I had to do the following to get the latest source from tigress to compile on Ubuntu 15.10



    wget http://svnwcrev.tigris.org/files/documents/3444/44067/svnwcrev-1.0.tar.gz
    tar -xzvf svnwcrev-1.0.tar.gz
    apt-get install libapr1-dev libsvn-dev
    cd svnwcrev-1.0


    This provided the headers referred to in the config.mk file, then after renaming config_mk.template to config.mk.



    I then had to add the following at line 33 of src/SVNWcRev.cpp



    #include <stddef.h>


    This fixed a compiler error where Expansion and ptrdiff_t were undefined.



    I also had to modify the Makefile to include missing libraries and disable a warning. The changed lines are listed here:



    ...
    CPPFLAGS=-I$(SUBVERSION_INCLUDE) -I$(APR_INCLUDE) -Wno-deprecated-declarations
    ...
    LDLIBS=-lpthread -L$(LIBRARIES) -lsvn_client-1 -lsvn_wc-1 -lsvn_subr-1 -lapr-1
    ....





    share|improve this answer




























      0














      Adding to the answer from slm I had to do the following to get the latest source from tigress to compile on Ubuntu 15.10



      wget http://svnwcrev.tigris.org/files/documents/3444/44067/svnwcrev-1.0.tar.gz
      tar -xzvf svnwcrev-1.0.tar.gz
      apt-get install libapr1-dev libsvn-dev
      cd svnwcrev-1.0


      This provided the headers referred to in the config.mk file, then after renaming config_mk.template to config.mk.



      I then had to add the following at line 33 of src/SVNWcRev.cpp



      #include <stddef.h>


      This fixed a compiler error where Expansion and ptrdiff_t were undefined.



      I also had to modify the Makefile to include missing libraries and disable a warning. The changed lines are listed here:



      ...
      CPPFLAGS=-I$(SUBVERSION_INCLUDE) -I$(APR_INCLUDE) -Wno-deprecated-declarations
      ...
      LDLIBS=-lpthread -L$(LIBRARIES) -lsvn_client-1 -lsvn_wc-1 -lsvn_subr-1 -lapr-1
      ....





      share|improve this answer


























        0












        0








        0







        Adding to the answer from slm I had to do the following to get the latest source from tigress to compile on Ubuntu 15.10



        wget http://svnwcrev.tigris.org/files/documents/3444/44067/svnwcrev-1.0.tar.gz
        tar -xzvf svnwcrev-1.0.tar.gz
        apt-get install libapr1-dev libsvn-dev
        cd svnwcrev-1.0


        This provided the headers referred to in the config.mk file, then after renaming config_mk.template to config.mk.



        I then had to add the following at line 33 of src/SVNWcRev.cpp



        #include <stddef.h>


        This fixed a compiler error where Expansion and ptrdiff_t were undefined.



        I also had to modify the Makefile to include missing libraries and disable a warning. The changed lines are listed here:



        ...
        CPPFLAGS=-I$(SUBVERSION_INCLUDE) -I$(APR_INCLUDE) -Wno-deprecated-declarations
        ...
        LDLIBS=-lpthread -L$(LIBRARIES) -lsvn_client-1 -lsvn_wc-1 -lsvn_subr-1 -lapr-1
        ....





        share|improve this answer













        Adding to the answer from slm I had to do the following to get the latest source from tigress to compile on Ubuntu 15.10



        wget http://svnwcrev.tigris.org/files/documents/3444/44067/svnwcrev-1.0.tar.gz
        tar -xzvf svnwcrev-1.0.tar.gz
        apt-get install libapr1-dev libsvn-dev
        cd svnwcrev-1.0


        This provided the headers referred to in the config.mk file, then after renaming config_mk.template to config.mk.



        I then had to add the following at line 33 of src/SVNWcRev.cpp



        #include <stddef.h>


        This fixed a compiler error where Expansion and ptrdiff_t were undefined.



        I also had to modify the Makefile to include missing libraries and disable a warning. The changed lines are listed here:



        ...
        CPPFLAGS=-I$(SUBVERSION_INCLUDE) -I$(APR_INCLUDE) -Wno-deprecated-declarations
        ...
        LDLIBS=-lpthread -L$(LIBRARIES) -lsvn_client-1 -lsvn_wc-1 -lsvn_subr-1 -lapr-1
        ....






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 18 '16 at 13:10









        Jason MorganJason Morgan

        1012




        1012






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f59824%2fhow-to-build-svnwcrev%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?