[Issues] [mod_transform 0000048]: Unable to find ${top_srcdir}/include when compiling outside the tree

issues at outoforder.cc issues at outoforder.cc
Thu Nov 10 21:59:30 EST 2005


The following issue has been RESOLVED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=48 
====================================================================== 
Reported By:                svanzoest
Assigned To:                urkle
====================================================================== 
Project:                    mod_transform
Issue ID:                   48
Category:                   Compile or Build
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Apache Version:             2.0.XX 
Resolution:                 fixed
Fixed in Version:           TRUNK
====================================================================== 
Date Submitted:             11-10-2005 18:27 EST
Last Modified:              11-10-2005 21:59 EST
====================================================================== 
Summary:                    Unable to find ${top_srcdir}/include when compiling
outside the tree
Description: 
Hi All,

First of nice module. I have been wanting to write something like this,
but I guess you beat me too it. Good stuff.

I am attempting to compile mod_transform 0.6.0 on Debian Linux using the
following config.nice configuration.

------< config.nice >---------
#! /bin/sh
#
# Created by configure

"../../../mod_transform-0.6.0/configure" \
"--with-apxs=/usr/bin/apxs2" \
"--with-xslt-prefix=/usr" \
"--with-xml-prefix=/usr" \
"--prefix=/home/sander/build/mod_transform/linux/"
 \
"$@"
------------------------------

Where "mod_transform-0.6.0" is the untarred directory downloaded from
<http://www.outoforder.cc/projects/apache/mod_transform/>.

When compiling outside of the distribution directory the compiler can
not find "mod_transform-0.6.0/include/mod_transform_private.h"

If I hand code a -I${top_srcdir}/include to COMPILE in src/Makefile it
compiles fine. 

---< make output >---
<snip>
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../../mod_transform-0.6.0/src -I../include    -Wall
-I/usr/include/libxml2 -pipe -I/usr/include/xmltok -I/usr/include/openssl
-Wall -O2 -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2
-pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE  -I/usr/include/apache2  -I/usr/include/apr-0
  -I/usr/include/apr-0 -I/usr/include -g -O2 -MT
libmod_transform_la-mod_transform.lo -MD -MP -MF
".deps/libmod_transform_la-mod_transform.Tpo" -c -o
libmod_transform_la-mod_transform.lo `test -f 'mod_transform.c' || echo
'../../../../mod_transform-0.6.0/src/'`mod_transform.c; \
then mv -f ".deps/libmod_transform_la-mod_transform.Tpo"
".deps/libmod_transform_la-mod_transform.Plo"; else rm -f
".deps/libmod_transform_la-mod_transform.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../../../mod_transform-0.6.0/src
-I../include -Wall -I/usr/include/libxml2 -pipe -I/usr/include/xmltok
-I/usr/include/openssl -Wall -O2 -pipe -I/usr/include/xmltok
-I/usr/include/openssl -Wall -O2 -pthread -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0
-I/usr/include -g -O2 -MT libmod_transform_la-mod_transform.lo -MD -MP -MF
.deps/libmod_transform_la-mod_transform.Tpo -c
../../../../mod_transform-0.6.0/src/mod_transform.c  -fPIC -DPIC -o
.libs/libmod_transform_la-mod_transform.o
../../../../mod_transform-0.6.0/src/mod_transform.c:24:35:
mod_transform_private.h: No such file or directory
../../../../mod_transform-0.6.0/src/mod_transform.c: In function
`transform_error_cb':
../../../../mod_transform-0.6.0/src/mod_transform.c:28: error: `va_list'
undeclared (first use in this function)
../../../../mod_transform-0.6.0/src/mod_transform.c:28: error: (Each
undeclared identifier is reported only once
<snip>
====================================================================== 

---------------------------------------------------------------------- 
 urkle - 11-10-05 21:59  
---------------------------------------------------------------------- 
Fixed in subversion commit 81.
 * added -I${top_srcdir}/include to src/Makefile.am LDFLAGS definition 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-10-05 18:27  svanzoest      New Issue                                    
11-10-05 18:27  svanzoest      Apache Version            => 2.0.XX          
11-10-05 21:59  urkle          Status                   new => resolved     
11-10-05 21:59  urkle          Fixed in Version          => TRUNK           
11-10-05 21:59  urkle          Resolution               open => fixed       
11-10-05 21:59  urkle          Assigned To               => urkle           
11-10-05 21:59  urkle          Note Added: 0000054                          
======================================================================




More information about the Issues mailing list