Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 84384 invoked from network); 2 Oct 2007 09:55:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 09:55:11 -0000 Received: (qmail 7918 invoked by uid 500); 2 Oct 2007 09:55:01 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 7896 invoked by uid 500); 2 Oct 2007 09:55:01 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 7885 invoked by uid 99); 2 Oct 2007 09:55:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 02:55:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 09:55:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5593714209 for ; Tue, 2 Oct 2007 02:54:50 -0700 (PDT) Message-ID: <948270.1191318890805.JavaMail.jira@brutus> Date: Tue, 2 Oct 2007 02:54:50 -0700 (PDT) From: "Stefano Pettini (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXIS2C-710) pkg-config not detected properly during configure In-Reply-To: <16358828.1191318170766.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefano Pettini updated AXIS2C-710: ----------------------------------- Description: I cannot compile Axis2/C on RHEL4 because: checking for LIBXML2... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. I don't see the need of version 0.20 or higher, since the installed version, 0.15, is able to retrieve LIBS and CFLAGS of libxml-2.0 without any problem. By the way: Alternatively, you may set the environment variables LIBXML2_CFLAGS and LIBXML2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. This doesn't work too, since I manually set those variables, here they are, just copied from "set" output: LIBXML2_CFLAGS=-I/usr/include/libxml2 LIBXML2_LIBS='-lxml2 -lpthread -lz -lm' But configure still try to use the pkg-config utility it doesn't like. Upgrading the RPM is not an option, this would require an upgraded C library too. I solved modifying the configure script of axiom, lowering the required pkg-config version from 0.20 to 0.15 and works perfectly. I think this fix should be included in next releases. Thank you! Stefano was: I cannot compile Axis2/C on RHEL4 because: checking for LIBXML2... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. I don't see the need of version 0.20 or higher, since the installed version, 0.15, is able to retrieve LIBS and CFLAGS of libxml-2.0 without any problem. By the way: Alternatively, you may set the environment variables LIBXML2_CFLAGS and LIBXML2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. This doesn't work too, since I manually set those variables, here they are, just copied from "set" output: LIBXML2_CFLAGS=-I/usr/include/libxml2 LIBXML2_LIBS='-lxml2 -lpthread -lz -lm' But configure still try to use the pkg-config utility it doesn't like. Upgrading the RPM is not an option, this would require an upgraded C library too. May you help me? Thank you. Stefano > pkg-config not detected properly during configure > ------------------------------------------------- > > Key: AXIS2C-710 > URL: https://issues.apache.org/jira/browse/AXIS2C-710 > Project: Axis2-C > Issue Type: Bug > Components: build system (Unix/Linux) > Affects Versions: 1.1.0 > Environment: Red Hat Enterprise Linux 4 with pkgconfig-0.15 RPM installed > Reporter: Stefano Pettini > > I cannot compile Axis2/C on RHEL4 because: > checking for LIBXML2... configure: error: The pkg-config script could not be found or is too old. Make sure it > is in your PATH or set the PKG_CONFIG environment variable to the full > path to pkg-config. > I don't see the need of version 0.20 or higher, since the installed version, 0.15, is able to retrieve LIBS and CFLAGS of libxml-2.0 without any problem. > By the way: > Alternatively, you may set the environment variables LIBXML2_CFLAGS > and LIBXML2_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > This doesn't work too, since I manually set those variables, here they are, just copied from "set" output: > LIBXML2_CFLAGS=-I/usr/include/libxml2 > LIBXML2_LIBS='-lxml2 -lpthread -lz -lm' > But configure still try to use the pkg-config utility it doesn't like. > Upgrading the RPM is not an option, this would require an upgraded C library too. > I solved modifying the configure script of axiom, lowering the required pkg-config version from 0.20 to 0.15 and works perfectly. I think this fix should be included in next releases. > Thank you! > Stefano -- 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: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org