[
https://issues.apache.org/jira/browse/AXIS2C-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manfred Bohlmann updated AXIS2C-736:
------------------------------------
Attachment: axis2c-1.3.1RC1-diff.txt
My modifications work for Solaris 9 on a SPARC64-V CPU. I made some changes in
the sources and configure scripts, see diff -u output attached as file
"axis2c-1.3.1RC1-diff.txt".
Since I do not yet understand the configure script completely (and I do not
have automake installed), I had to set the define AXIS2C_SOLARIS (also) via
CFLAGS. config.h did not always get this #define. Here should someone do a
little additional work to make it work properly.
Additionally I added a module for scandir() and alphasort() which is not
available on solaris. The source for it is not my own, so I don't submit it.
Perhaps the author is willing to contribute. See
http://archives.seul.org/gdis/gdiscuss/Apr-2001/msg00002.html . (To be able to
compile, I had to cast the last qsort() parameter.) Therefor I had to adapt the
Makefile in the directory util/src/platforms/unix where my source resides. The
modification of the Makefile is included in the diff output, too.
At last my environment, as I set it to build Axis2/C. $HOME/local contains some
stuff like libxml2:
export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig" # really necessary?
export MAKE=/path/to/local/gmake
alias make=$MAKE
export LDFLAGS="-L$HOME/local/lib -R$HOME/local/lib"
export CFLAGS='-g -O2 -DAXIS2_SOLARIS'
export AXIS2C_HOME=$HOME/local/axis2
# now the build succeeds with
axis2c_build.sh $AXIS2C_HOME
> Unable to build Axis2/C on Solaris 9
> ------------------------------------
>
> Key: AXIS2C-736
> URL: https://issues.apache.org/jira/browse/AXIS2C-736
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Affects Versions: 1.1.0
> Environment: SunOS raphael 5.9 Generic_112233-11 sun4u sparc
> SUNW,Sun-Fire-280R
> gcc (GCC) 3.3.6
> Reporter: Chris Rose
> Assignee: Sanjaya Ratnaweera
> Attachments: axis2c-1.3.1RC1-diff.txt
>
>
> I am unable to configure and build Axis2/C 1.1.0 on Solaris 9.
> /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I../../.. -I../../../include -I../../../include/platforms
> -I../../../include/platforms/unix -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
> -Wno-implicit-function-declaration -Werror -c -o uuid_gen_unix.lo
> uuid_gen_unix.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include
> -I../../../include/platforms -I../../../include/platforms/unix -g -O2
> -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -Werror
> -c uuid_gen_unix.c -fPIC -DPIC -o .libs/uuid_gen_unix.o
> In file included from
> ../../../include/platforms/axutil_platform_auto_sense.h:51,
> from uuid_gen_unix.c:50:
> ../../../include/platforms/unix/axutil_unix.h:115:20: getopt.h: No such file
> or directory
> This is basically the first step of the build; at least it fails fast! ;)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]