Arun, On Wed, Dec 16, 2015 at 10:57 AM, arun prasath <get2a...@gmail.com> wrote: > Adding scons Dev Team. > > Please help me on this. >
I don't think the scons dev team is needed for any of the problems you're encountering. > I have fixed the import error by running the scons from source instead of > scons from installed path. But bin directory is missing. Any idea why bin > directory is missing? What "scons install" does is build the serf source code files and then installs them to a location you specified. Because serf is a library, it does not have any executables to install, so no bin folder is needed. The files the Subversion build system requires are libserf-1.so and the .h files, so it looks like your serf installation worked fine. > Thank you. > > Regards, > Arun Prasath > > On Wed, Dec 16, 2015 at 3:21 PM, arun prasath <get2a...@gmail.com> wrote: >> >> Hi Lieven, >> As suggested I skipped the "scons check" and executed "scons install". It >> went fine but bin directory was not there inside the scons installation >> folder. The files installed are below. Then I tried svn install but it says >> serf is not available. You need to tell Subversion's configure where to find the serf library. This is documented in the INSTALL file of the Subversion source code distribution. (the --with-serf option). If you can't get it solved, I'm sure the Subversion community can help you out, you can contact these nice folks at us...@subversion.apache.org . regards, Lieven >> -bash-4.1$ find /local/application/packages/serf1.3.8/ -print >> /local/application/packages/serf1.3.8/ >> /local/application/packages/serf1.3.8/lib >> /local/application/packages/serf1.3.8/lib/libserf-1.so.1.3.0 >> /local/application/packages/serf1.3.8/lib/pkgconfig >> /local/application/packages/serf1.3.8/lib/pkgconfig/serf-1.pc >> /local/application/packages/serf1.3.8/lib/libserf-1.so.1 >> /local/application/packages/serf1.3.8/lib/libserf-1.so >> /local/application/packages/serf1.3.8/include >> /local/application/packages/serf1.3.8/include/serf-1 >> /local/application/packages/serf1.3.8/include/serf-1/serf_bucket_types.h >> /local/application/packages/serf1.3.8/include/serf-1/serf.h >> /local/application/packages/serf1.3.8/include/serf-1/serf_bucket_util.h >> >> regards, >> Arun >> >> >> On Tue, Dec 15, 2015 at 9:02 PM, arun prasath <get2a...@gmail.com> wrote: >>> >>> Hi Lieven, >>> >>> Thanks for email. I am again struck, i'm confused and messed the scons >>> install. >>> I tried your first option to install without check. This time I fail in >>> first step. I have the python2.7 in the custom install path. what variables >>> do I need to export for scons to work. somehow it was working last time. >>> >>> -bash-4.1$ /local/<path>/scons-2.4.1/bin/scons >>> PREFIX=/local/<install_path>/serf1.3.8 >>> Import failed. Unable to find SCons files in: >>> /local/apps/pkgs/scons-2.4.1/bin/../engine >>> /local/apps/pkgs/scons-2.4.1/bin/scons-local-2.4.1 >>> /local/apps/pkgs/scons-2.4.1/bin/scons-local >>> /local/apps/pkgs/scons-2.4.1/lib/scons-2.4.1 >>> /usr/lib/scons-2.4.1 >>> /usr/local/lib/scons-2.4.1 >>> /local/apps/pkgs/scons-2.4.1/lib/python2.6/site-packages/scons-2.4.1 >>> /usr/lib/python2.6/site-packages/scons-2.4.1 >>> /usr/local/lib/python2.6/site-packages/scons-2.4.1 >>> /usr/lib64/scons-2.4.1 >>> /local/apps/pkgs/scons-2.4.1/lib/scons >>> /usr/lib/scons >>> /usr/local/lib/scons >>> /local/apps/pkgs/scons-2.4.1/lib/python2.6/site-packages/scons >>> /usr/lib/python2.6/site-packages/scons >>> /usr/local/lib/python2.6/site-packages/scons >>> /usr/lib64/scons >>> Traceback (most recent call last): >>> File "/local/<path>/scons-2.4.1/bin/scons", line 190, in <module> >>> import SCons.Script >>> ImportError: No module named SCons.Script >>> >>> Thank you. >>> Arun >>> >>> On Sat, Dec 12, 2015 at 11:50 PM, Lieven Govaerts >>> <lieven.govae...@gmail.com> wrote: >>>> >>>> Arun, >>>> >>>> the compile error you're seeing is in a code file in serf's test >>>> suite, not in the actual serf library. >>>> >>>> The easiest way for you to get going, is to skip building the test >>>> suite. Just running 'scons', and then 'scons install' should do that, >>>> just skip the 'scons check' step. >>>> >>>> The alternative is to fix your serf 1.3.8 copy. For that you need to >>>> get a serf 1.3.8 working copy first: >>>> $ svn co https://svn.apache.org/repos/asf/serf/tags/1.3.8/ serf1.3.8 >>>> >>>> In the new working copy, you can now merge the change that fixes this >>>> problem from the serf repo. >>>> $ svn merge -c 1700013 >>>> https://svn.apache.org/repos/asf/serf/branches/1.3.x . >>>> >>>> Hope this helps! >>>> >>>> >>>> On Sat, Dec 12, 2015 at 12:23 PM, arun prasath <get2a...@gmail.com> >>>> wrote: >>>> > Thanks Lieven, Andreas. >>>> > >>>> > I was stuck and cluless. Now happy to see your responses but I have >>>> > few >>>> > questions which will help me plan the things. >>>> > >>>> > 1. Firstly, when are you planning for next release 1.3.9. Is that >>>> > happen in >>>> > near future or will take months. >>>> >>>> Good question. The release seems to be stuck for a while, so no >>>> promises. >>>> >>>> > 2. I see only one line change - #1237 line comment moved to C line >>>> > comment >>>> > /* ..*/ in the comment. >>>> > 3. I have modified the file but could not get the compilation go >>>> > successfully in scons check. I have updated one file >>>> > /test/test_buckets.c. >>>> > 4. You have mentioned to merge the patches trunk & 1.3.x, do you mean >>>> > I >>>> > have to checkout all the files/directories and do the merge of files. >>>> > I >>>> > believe there will be lot of files in both the releases if I have to >>>> > merge >>>> > both the release (trunk & 1.3.x) >>>> > 5. If only test/test_buckets.c file change then how to merge the >>>> > files.If i >>>> > change the comment to c style, will it work. >>>> > 6. Could you give me more info on this so that i can update and >>>> > install the >>>> > serf 1.3.8. >>>> > I have already installed SVN without serf and now users are asking for >>>> > http >>>> > support in production environment. Your inputs and suggestions would >>>> > really >>>> > help me plan the things. >>>> > Apologize if I have asked silly/too many questions like how to merge. >>>> > However, I will see how serf files are available in trunk/branch in >>>> > svn. >>>> >>>> Think I've answered these questions above. >>>> >>>> regards, >>>> >>>> Lieven >>>> >>>> >>>> > Thank a ton. >>>> > Arun Prasath >>>> > >>>> > On Sat, Dec 12, 2015 at 2:40 PM, Andreas Stieger >>>> > <andreas.stie...@gmx.de> >>>> > wrote: >>>> > >>>> >> Hello Arun, >>>> >> >>>> >> arun prasath wrote: >>>> >> > test/test_buckets.c: In function 'deflate_compress': >>>> >> > test/test_buckets.c:1237: error: expected expression before '/' >>>> >> > token >>>> >> >>>> >> Nothing to do with SCons. Simple compile error. This was already >>>> >> fixed but >>>> >> not released yet. >>>> >> >>>> >> See: https://issues.apache.org/jira/browse/SERF-169 >>>> >> >>>> >> Check or merge these patches, these will be in the next release. >>>> >> (trunk) https://svn.apache.org/viewvc?view=revision&revision=1699973 >>>> >> (1.3.x) https://svn.apache.org/viewvc?view=revision&revision=1700013 >>>> >> >>>> >> Andreas >>>> >> >>> >>> >> >