[ 
http://issues.apache.org/jira/browse/AXISCPP-612?page=comments#action_62544 ]
     
Samisa Abeysinghe commented on AXISCPP-612:
-------------------------------------------

Looks like you have set the apache2 home incorrect:
--with-apache2=/home/wenglech/projects/axis/install
Is your apache2 located here?

Also, 1.4 is not outdated and 1.5 is the new release. Why not try 1.5? Please 
note that with 1.5, make may not work. You have to use ant.

 

> cannot compile Apache2Transport.cpp
> -----------------------------------
>
>          Key: AXISCPP-612
>          URL: http://issues.apache.org/jira/browse/AXISCPP-612
>      Project: Axis-C++
>         Type: Bug
>   Components: Transport (axis3)
>     Versions: 1.4 Final
>  Environment: redhat Linux 2.4.21-9.0.1.EL , gcc version 3.2.3 20030502 (Red 
> Hat Linux 3.2.3-24)
>     Reporter: christian wengler
>     Priority: Blocker

>
> Hi
> I cannot compile axis src distribution. (the compiler errors are reported 
> "down under")
> I have 
> a locally built xerces-c:
> /home/wenglech/projects/axis/src-dist/xerces-c-src_2_6_0
> a locally built apache2,
> made under
> /home/wenglech/projects/axis/src-dist/httpd-2.1.3-beta
> and installed under
> /home/wenglech/projects/axis/install   (not very good named location I agree)
> after having set the variables 
> AXISCPP_HOME=/home/wenglech/projects/axis/src-dist/axis-c-src-1-4-linux
> AXISCPP_DEPLOY=/home/wenglech/projects/axis/src-dist/install
> LD_LIBRARY_PATH=/home/wenglech/projects/axis/src-dist/xerces-c-src_2_6_0/lib:/home/wenglech/projects/axis/src-dist/install/lib::/opt/eclipse
> and exported them
> (I basically followed 
> http://ws.apache.org/axis/cpp/lininstall-guide.html#What)
> I ran configure as
> ./configure --prefix=$AXISCPP_DEPLOY 
> --with-apache2=/home/wenglech/projects/axis/install 
> --with-xercesc=/home/wenglech/projects/axis/src-dist/xerces-c-src_2_6_0 
> --enable-axis3=yes
> then
> make
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
> -I/home/wenglech/projects/axis/install/include -I../../../include -Wall 
> -Wshadow -DENABLE_AXISTRACE -g -O2 -MT Apache2Transport.lo -MD -MP -MF 
> .deps/Apache2Transport.Tpo -c Apache2Transport.cpp  -fPIC -DPIC -o 
> .libs/Apache2Transport.o
> Apache2Transport.cpp: In member function `virtual void 
>    Apache2Transport::setTransportProperty(AXIS_TRANSPORT_INFORMATION_TYPE, 
>    const char*)':
> Apache2Transport.cpp:97: `ap_table_set' undeclared (first use this function)
> Apache2Transport.cpp:97: (Each undeclared identifier is reported only once 
> for 
>    each function it appears in.)
> Apache2Transport.cpp: In member function `virtual const char* 
>    Apache2Transport::getTransportProperty(const char*)':
> Apache2Transport.cpp:215: `ap_table_elts' undeclared (first use this function)
> make[4]: *** [Apache2Transport.lo] Error 1
> make[4]: Leaving directory 
> `/home/wenglech/projects/axis/src-dist/axis-c-src-1-4-linux/src/server/apache2'
> Best regards
> Christian
> PS
> the same happens also with axis-c-src-1-5-alpha-linux

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to