[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-c-dev
Subject: [wsf-c-dev] [jira] Created: (WSFCPP-73) configure fails when
From: "Harald Eiermann (JIRA)" <jira () wso2 ! org>
Date: 2009-08-19 17:26:00
Message-ID: 1485524751.42621250702760823.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]
configure fails when pkg-config executable doesn't exist and --enable-xml2 is used
----------------------------------------------------------------------------------
Key: WSFCPP-73
URL: https://wso2.org/jira/browse/WSFCPP-73
Project: WSO2 WSF/C++
Issue Type: Bug
Components: Build System - Unix/Linux
Affects Versions: Current (Nightly)
Environment: Suse Linux Enterprise Server (SLES) 9 (x86_64) - Kernel: \
2.6.5-7.311-smp
Reporter: Harald Eiermann
Assignee: Uthaiyashankar
On our system pkg-config is not installed.
Additionally the libxml2 shall be used. Therefore the command
( PKG_CONFIG="no" CPPFLAGS="-I$HOME/usr/include -I$HOME/usr/include/openssl" \
LDFLAGS="-L/users/q4de3tsy926/user3/heierma1/usr/lib" \
PARSER_CFLAGS="-I/users/q4de3tsy926/user3/heierma1/usr/include/libxml2" \
LIBXML2_CFLAGS="-I/users/q4de3tsy926/user3/heierma1/usr/include/libxml2" \
LIBXML2_LIBS="-L/users/q4de3tsy926/user3/heierma1/usr/lib -lxml2" \
PARSER_LIBS="-L/users/q4de3tsy926/user3/heierma1/usr/lib -lxml2" \
LIBXML2_CFLAGS="-I/users/q4de3tsy926/user3/heierma1/usr/include/libxml2" \
LIBXML2_LIBS="-L/users/q4de3tsy926/user3/heierma1/usr/lib -lxml2" ./configure \
--enable-libxml2 --prefix=$HOME/usr && make clean && make && make install ) 2>&1 |tee \
install.log
was issued to configure (having installed libxml2 and openssl locally in $HOME/usr).
Then the configure fails in the main directory as well as in wsf_c, wsf_c/axis2 and \
wsf_c/axis2/axiom
In all cases I was able to proceed configuring by modifying configure as follows:
--- wsf_c/configure 2009-08-19 11:26:32.000000000 +0200
+++ ../wso2-wsf-cpp-src-snapshot.mod/wsf_c/configure 2009-08-19 17:33:04.163640632 \
+0200 @@ -20030,7 +20030,7 @@
{ echo "$as_me:$LINENO: checking for PARSER" >&5
echo $ECHO_N "checking for PARSER... $ECHO_C" >&6; }
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$PARSER_CFLAGS"; then
pkg_cv_PARSER_CFLAGS="$PARSER_CFLAGS"
else
@@ -20048,7 +20048,7 @@
else
pkg_failed=untried
fi
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$PARSER_LIBS"; then
pkg_cv_PARSER_LIBS="$PARSER_LIBS"
else
--- wsf_c/axis2c/configure 2009-08-19 11:26:54.000000000 +0200
+++ ../wso2-wsf-cpp-src-snapshot.mod/wsf_c/axis2c/configure 2009-08-19 \
17:34:37.810064553 +0200 @@ -20888,7 +20888,7 @@
{ echo "$as_me:$LINENO: checking for PARSER" >&5
echo $ECHO_N "checking for PARSER... $ECHO_C" >&6; }
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$PARSER_CFLAGS"; then
pkg_cv_PARSER_CFLAGS="$PARSER_CFLAGS"
else
@@ -20906,7 +20906,7 @@
else
pkg_failed=untried
fi
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$PARSER_LIBS"; then
pkg_cv_PARSER_LIBS="$PARSER_LIBS"
else
and
--- wsf_c/axis2c/axiom/configure 2009-08-19 11:27:48.000000000 +0200
+++ ../wso2-wsf-cpp-src-snapshot.mod/wsf_c/axis2c/axiom/configure 2009-08-19 \
17:39:46.539352772 +0200 @@ -20368,7 +20368,7 @@
{ echo "$as_me:$LINENO: checking for LIBXML2" >&5
echo $ECHO_N "checking for LIBXML2... $ECHO_C" >&6; }
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$LIBXML2_CFLAGS"; then
pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
else
@@ -20386,7 +20386,7 @@
else
pkg_failed=untried
fi
-if test -n "$PKG_CONFIG"; then
+if test -z "$PKG_CONFIG"; then
if test -n "$LIBXML2_LIBS"; then
pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
else
I don't know much about the auto... tools. So maybe there is some simple method to \
solve the issue...
Unfortunatley, compiling does not succeed afterwards as there is still a dependency \
to the guththila parser. Issue follows ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic