> > 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/