delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/23/10:19:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Andreas" <news DOT Andreas AT gmx DOT net>
To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>, <cygwin AT cygwin DOT com>
Subject: php compilation error = expat problem?
Date: Mon, 23 Sep 2002 16:19:33 +0200
Message-ID: <IOEFIOCBAFPGBCJCLFMEOEAPCEAA.news.Andreas@gmx.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <1468144781.20020923132936@familiehaase.de>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

> > I encountered problems concerning the installation of expat (1.95.4-1).
> > After
> > $ tar xjvf expat-1.95.4-1-src.tar.bz2
> > $ ./expat-1.95.4-1.sh all
>
> > the script breaks with:
> > ...
> > + reconf-cygwin.sh
> > reconf-cygwin.sh: not found
> > + STATUS=127
> > + exit 127
>
> > But reconf-cygwin.sh is in the expat-1.95.4/ dir.
> > Is there a way to complete the installation of the package properly?
>
> 1. Install the binary package.
> 2. It is a bug in the script. Fix:
>    Add . to your path or change reconf-cygwin.sh to ./reconf-cygwin.sh
>    in the script (expat-1.95.4-1.sh).

Thanks! It works now (if it's right when expat-1.95.4-1.sh ends with: exit
0).

Could somebody please explain the occurence of the error when compiling php
(even with reinstalled expat package)(used command:
./configure --with-apxs --without-mysql --with-pgsql --with-expat-dir):
...
configure:73895: checking whether to enable XML support
configure:73934: result: yes
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.

Does the following problem correlate with a missing package and/or configure
option of php (if yes, which one)? Could it be a problem with expat?
gcc -shared -o
cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh
ole-archive libsapi.al -Wl,--no-whole-archive -L
../../../.libs -lphp4 -lpq -lcrypt /usr/bin/cyghttpd.dll
Creating library file: libsapi.dll.a
../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
/usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
'_imp__php_XML_ExpatVersion'
../../../.libs/libphp4.a(xml.lo): In function 'xml_parser_dtor':
/usr/src/php-4.2.0-1/ext/xml/xml.c:300: undefined reference to
'_imp__php_XML_ParserFree'...
../../../.libs/libphp4.a(xml.lo): In function 'zif_xml_parser_create':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1042: undefined reference to
'_imp__php_XML_ParserCreate'
...
../../../.libs/libphp4.a(xml.lo): In function
'zif_xml_get_current_byte_index':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1464: undefined reference to
'_imp__php_XML_GetCurrentByteIndex'
collect2: ld returned 1 exit status



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019