stoneCC / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

serf should use `$ap(r|u)_config --includes` for its INCLUDES rather than `$ap(r|u)_config --includedir` #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to build Subversion RC1 from svn and deps tarball available at
http://orac.ece.utexas.edu/pub/svn/1.5.0-rc1/buda-oak/

What steps will reproduce the problem?
1. cd /tmp
2. tar -jxvf
http://orac.ece.utexas.edu/pub/svn/1.5.0-rc1/buda-oak/subversion-1.5.0-rc1.tar.b
z2

3. tar -jxvf
http://orac.ece.utexas.edu/pub/svn/1.5.0-rc1/buda-oak/subversion-deps-1.5.0-rc1.
tar.bz2
4. cd subversion-1.5.0-rc1
5. mkdir vpath
6. cd vpath
7. ../configure 
8. make 

What is the expected output? What do you see instead?
Expected: make should succeed
Actual: make fails

What version of the product are you using? On what operating system?
Does not matter.

Cause of failure:
make fails here as `$ap(r|u)_config --includedir` gives multiple
directories as output to which we prepend '-I' only for the first directory
and hence it causes a confusing gcc invocation something like
gcc -I/tmp/subversion-1.5.0-rc1/apr /tmp/subversion-1.5.0-rc1/vpath/apr
buckets/something.c

gcc is confused about '/tmp/subversion-1.5.0-rc1/vpath/apr'

Patch for the fix follows...

Original issue reported on code.google.com by kamesh.j...@gmail.com on 8 Apr 2008 at 7:32

GoogleCodeExporter commented 9 years ago
Patch to fix this issue.

Original comment by kamesh.j...@gmail.com on 8 Apr 2008 at 7:40

Attachments:

GoogleCodeExporter commented 9 years ago
r1191 fixes this issue.

Original comment by kamesh.j...@gmail.com on 22 Sep 2008 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by justin.e...@gmail.com on 30 Dec 2008 at 7:30