This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: please update libXML


Hallo Robert,

Am Sonntag, 21. Juli 2002 um 01:15 schriebst du:

>>> I'd like to offer it with python - perhaps you and gerrit can confirm my
>>> trouble?

1.
$ ./libxml2-2.4.23-1.sh conf
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin

2.
sh ../libtool --mode=link i686-pc-cygwin-gcc  -g -O2 -Wall   -o libxml2mod.la -rpath /usr/lib/python2.2/site-packages -module -avoid-version -L../.libs -L /usr/lib/python2.2/config -l python2.2 libxml.lo types.lo libxml2-py.lo ../libxml2.la
cd: can't cd to
libtool: link: cannot determine absolute directory name of `'

Obviously a libtool problem...it works when I remove the spaces after
-L & -l :
$ sh ../libtool --mode=link i686-pc-cygwin-gcc  -g -O2 -Wall   -o libxml2mod.la -rpath /usr/lib/python2.2/site-packages -module -avoid-version -L../.libs -L/usr/lib/python2.2/config -lpython2.2 libxml.lo types.lo libxml2-py.lo ../libxml2.la
libtool: link: warning: `/lib/libiconv.la' seems to be moved
rm -fr  .libs/libxml2mod.a .libs/libxml2mod.dll.a .libs/libxml2mod.la .libs/libxml2mod.lai
i686-pc-cygwin-gcc -shared  .libs/libxml.o .libs/types.o .libs/libxml2-py.o  -L/lib -L/sourcecode/XML/libxml2-2.4.23/.build/.libs -L/usr/lib/python2.2/config -lpython2.2 ../.libs/libxml2.dll.a  -o .libs/cygxml2mod.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libxml2mod.dll.a
Creating library file: .libs/libxml2mod.dll.a
Info: resolving __Py_NoneStruct by linking to __imp___Py_NoneStruct (auto-import)
Info: resolving _PyFile_Type by linking to __imp__PyFile_Type (auto-import)
Info: resolving _PyFloat_Type by linking to __imp__PyFloat_Type (auto-import)
Info: resolving _PyString_Type by linking to __imp__PyString_Type (auto-import)
Info: resolving _PyList_Type by linking to __imp__PyList_Type (auto-import)
Info: resolving _PyCObject_Type by linking to __imp__PyCObject_Type (auto-import)
Info: resolving _PyInstance_Type by linking to __imp__PyInstance_Type (auto-import)
ar cru .libs/libxml2mod.a  .libs/libxml.o .libs/types.o .libs/libxml2-py.o   libxml.o types.o libxml2-py.o
ranlib .libs/libxml2mod.a
creating libxml2mod.la
(cd .libs && rm -f libxml2mod.la && ln -s ../libxml2mod.la libxml2mod.la)


;)


Gerrit
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]