axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Weerasuriya <ros...@opensource.lk>
Subject Re: Problem with 1.1 release
Date Thu, 15 Apr 2004 09:07:55 GMT
hi JM,

I had a close look at your mail. Basically if you follow the 
linux-installation guide steps in the order specified, then you should be 
able to build Axis C++ without a problem, and you should see the 
libaxiscpp_mod.so in the  $AXISCPP_HOME/bin directory. (I too will take a 
clean copy of the source and will check on this, but currently I am at 
Windows, so I will have to do it when I finish my windows tasks and shift 
back to Linux. But I will give you the following hints). So please try the 
following options.

Note : The default build files are set to Apache 2. So you have to 
carefully follow the linux installatoin guide to change all the required 
files (these files are clearly mentioned in the linux installation guide) 
to indicate for apache 1.3 in case you use Apache 1.3. (Actualy the 
linux-installation guide is written assuming the other way around i.e 
assuming the default configurations are set to Apache 1.3, but at the last 
moment the default configurations have been set to Apache 2. So you have to 
do a little thinking here (common sence) )

1) When I read your mail I didn't notice that you have done the following 
change which is specified in the linux installation guide. If you haven't 
done it please do it.

in $AXISCPP_HOME/src/server/Makefile.am

#if you use apache2
SUBDIRS = apache2 adminservice simple_axis_server

#if you use apache1.3
#SUBDIRS = apache adminservice simple_axis_server

You have to uncomment the apache 1.3 lines and comment the apache 2 lines.

Probably you might have done this, even you haven't mentioned it. Please do 
this in case you have missed this step.

2) OR ELSE : Take a clean copy of the source and follow the steps in the 
linux installation guide from the beginning once again to make sure you 
havn't missed any step in the previous round.

3) OR ELSE : Also if none of the above works check carefully whether you 
get any errors during the build process. If so please copy the error in to 
a mail and publish it here. So we could try to help you.

4) Also specify the linux favour and version which you use.

rgds,
Roshan


At 04:11 PM 4/14/2004 +0200, you wrote:
>I wanted to make a new build of libaxiscpp_mod.so but i dont manage with 
>this new release.
>
>Under , the steps i followed:
>
>i builded xerces 2.2.0 and put lib into /usr/lib
>lrwxrwxrwx    1 root     root           19 avr 13 17:15 libxerces-c.so -> 
>libxerces-c.so.22.0*
>lrwxrwxrwx    1 root     root           19 avr 13 17:15 libxerces-c.so.22 
>-> libxerces-c.so.22.0*
>-rwxr-xr-x    1 root     root      3557489 avr 13 17:15 libxerces-c.so.22.0*
>
>i builded expat 1.95.7 and put lib into /usr/lib
>-rw-r--r--    1 root     root       283470 avr 14 11:17 libexpat.a
>-rwxr-xr-x    1 root     root          712 avr 14 11:17 libexpat.la*
>lrwxrwxrwx    1 root     root           17 avr 14 11:17 libexpat.so -> 
>libexpat.so.0.5.0*
>lrwxrwxrwx    1 root     root           17 avr 14 11:17 libexpat.so.0 -> 
>libexpat.so.0.5.0*
>-rwxr-xr-x    1 root     root       248887 avr 14 11:17 libexpat.so.0.5.0*
>
>i builded apache 1.3.27 and put it into /usr/local/apache
>
>I modified my bashrc :
>AXISCPP_HOME="/home/jmaisonn/dev/axis_c_1.1"
>AXIS_HOME="/usr/local/apache/Axis"
>export AXISCPP_HOME
>export AXIS_HOME
>
>i launched the following commands:
>cp -f /usr/local/apache/include/* $AXISCPP_HOME/include/apache1_3/
>
>cp -f /usr/lib/expat.h $AXISCPP_HOME/include/expat/
>
>cp -rf $AXISCPP_HOME/deploy  /usr/local/apache
>
>cd /usr/local/apache
>
>mv deploy Axis
>
>chmod -R 777 Axis
>
>I modified my bashrc again :
>XERCESCROOT="/home/jmaisonn/dev/xerces_c_2.2.0"
>XERCESC_HOME="/home/jmaisonn/dev/xerces_c_2.2.0"
>LD_LIBRARY_PATH="$XERCESC_HOME/lib"
>export XERCESCROOT
>export XERCESC_HOME
>export LD_LIBRARY_PATH
>
>i launched the following commands:
>cp -rf $XERCESC_HOME/include/xercesc/* $AXISCPP_HOME/include/xercesc/
>
>cd $AXISCPP_HOME/src/soap
>cp -f Makefile.am_xercesc Makefile.am
>
>cd $AXISCPP_HOME/src/wsdd
>cp -f Makefile.am_xercesc Makefile.am
>
>
>in $AXISCPP_HOME/configure.ac
>#if you use expat parser
>#CFLAGS="-Wall -Wshadow -DUSE_EXPAT_PARSER"
>#CPPFLAGS="-Wall -Wshadow -DUSE_EXPAT_PARSER"
>#LDFLAGS="-s -L$EXPAT_HOME/lib -lexpat -lstdc++"
>#if you use xercesc parser
>CFLAGS="-Wall -Wshadow -DUSE_XERCES_PARSER"
>CPPFLAGS="-Wall -Wshadow -DUSE_XERCES_PARSER"
>LDFLAGS="-s -L$XERCESC_HOME/lib -lxerces-c -lstdc++"
>AC_PROG_CC
>AC_PROG_CXX
>AC_PROG_INSTALL
>AC_PROG_LIBTOOL
> 
>
>#if you use apache2
> 
>
>#AC_OUTPUT(Makefile src/Makefile src/common/Makefile src/soap/Makefile 
>src/wsdd/Makefile src/xml/Makefile src/transport/Makefile 
>src/transport/axis/Makefile src/engine/Makefile src/engine/server/Makefile 
>src/engine/client/Makefile  src/server/Makefile 
>src/server/apache2/Makefile src/server/simple_axis_server/Makefile 
>src/server/adminservice/Makefile src/client/Makefile 
>src/client/adminclient/Makefile)
> 
>
>#if you use apache1.3
> 
>
>AC_OUTPUT(Makefile src/Makefile src/common/Makefile src/soap/Makefile 
>src/wsdd/Makefile src/xml/Makefile src/transport/Makefile 
>src/transport/axis/Makefile src/engine/Makefile src/engine/server/Makefile 
>src/engine/client/Makefile  src/server/Makefile src/server/apache/Makefile 
>src/server/simple_axis_server/Makefile src/server/adminservice/Makefile 
>src/client/Makefile src/client/adminclient/Makefile)
>
>in $AXISCPP_HOME/samples/client/configure.ac
>AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
>AM_INIT_AUTOMAKE(0.3)
>AM_CONFIG_HEADER(config.h)
>CFLAGS="-Wshadow -Wall -pedantic -ansi"
>CPPFLAGS="-Wshadow -Wall -pedantic -ansi"
>#if you are using expat parser
>#LDFLAGS="-s -L$AXISCPP_HOME/bin -laxiscpp_client -L$EXPAT_HOME/lib 
>-lexpat -lltdl -lstdc++"
>#if you are using xercesc parser
>LDFLAGS="-s -L$AXISCPP_HOME/bin -laxiscpp_client -L$XERCESC_HOME/lib 
>-lxerces-c -lltdl -lstdc++"
>AC_PROG_CC
>AC_PROG_CXX
>AC_PROG_INSTALL
>AC_PROG_LIBTOOL
>AC_OUTPUT(Makefile interoptests/Makefile interoptests/base/Makefile 
>interoptests/cbase/Makefile interoptests/groupB/Makefile 
>interoptests/cgroupB/Makefile interoptests/doclitbase/Makefile 
>interoptests/doclitgroupB/Makefile simple/Makefile)
>
>i launched the following commands:
>cd $AXISCPP_HOME/
>sh autogen.sh
>sh runconfig
>make
>make install
>cd /usr/local/apache/libexec
>cp -f $AXIS_HOME/deploy.sh_apache  ./deploy.sh
>sh deploy.sh
>
>
>FINALLY, i have no libaxiscpp_mod.so in my $AXISCPP_HOME/bin directory. i 
>have only this:
>drwxr-xr-x    2 jmaisonn aei          4096 avr 14 15:42 ./
>drwxr-xr-x   13 jmaisonn aei          4096 avr 14 16:09 ../
>-rw-r--r--    1 root     root     11245636 avr 14 15:41 libaxiscpp_client.a
>-rwxr-xr-x    1 root     root          894 avr 14 15:40 libaxiscpp_client.la*
>lrwxrwxrwx    1 root     root           26 avr 14 15:40 
>libaxiscpp_client.so -> libaxiscpp_client.so.0.0.0*
>lrwxrwxrwx    1 root     root           26 avr 14 15:40 
>libaxiscpp_client.so.0 -> libaxiscpp_client.so.0.0.0*
>-rwxr-xr-x    1 root     root      5535131 avr 14 15:40 
>libaxiscpp_client.so.0.0.0*
>-rw-r--r--    1 root     root      9763834 avr 14 15:40 libserver_engine.a
>-rwxr-xr-x    1 root     root          887 avr 14 15:40 libserver_engine.la*
>lrwxrwxrwx    1 root     root           25 avr 14 15:39 
>libserver_engine.so -> libserver_engine.so.0.0.0*
>lrwxrwxrwx    1 root     root           25 avr 14 15:39 
>libserver_engine.so.0 -> libserver_engine.so.0.0.0*
>-rwxr-xr-x    1 root     root      4786364 avr 14 15:39 
>libserver_engine.so.0.0.0*
>-rwxr--r--    1 jmaisonn aei            59 avr 10 09:41 README.TXT*
>
>Someone could help me.
>Thks
>
>JM
>


Mime
View raw message