<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Am 17.10.2011 18:28, schrieb Glynn Clements:
<blockquote
cite="mid:20124.22438.533497.554569@cerise.gclements.plus.com"
type="cite">
<pre wrap="">Johannes Radinger wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I checked if there is anything in the osgeo4w setup which
looks like XDR but couldn't find anything.
</pre>
</blockquote>
<pre wrap="">At:
        <a class="moz-txt-link-freetext" href="http://download.osgeo.org/osgeo4w/versions.html">http://download.osgeo.org/osgeo4w/versions.html</a>
the package is listed as "libxdr". I don't know if that's the name
shown to the user. Other common names are "rpclib" and "sunrpc".
</pre>
</blockquote>
<pre wrap="">Yes, libxdr is shown to the user when using the osgeo4w setup. The
thing is that libxdr(4.0-1) is already installed (I checked and
there is also a xdr.lib in c://osgeo4w/lib but I still get following
error in the package.log:
...
...
checking for xdrmem_create... no
checking for xdrmem_create in -lsun... no
checking for xdrmem_create in -lnsl... no
checking for xdrmem_create in -lrpclib... no
checking for xdrmem_create in -lxdr... no
configure: error: *** Unable to locate XDR functions.
Is that a different thing from the XDR-libary?
</pre>
</blockquote>
<pre wrap="">That's XDR.
</pre>
<blockquote type="cite">
<pre wrap="">Attached there is also my config.log which probably
provides some additional information.
</pre>
</blockquote>
<pre wrap="">Yep:
configure:4592: checking for xdrmem_create in -lxdr
configure:4609: gcc -o conftest.exe -g -O2 -I/c/OSGeo4W/include -Wl,--export-dynamic,--enable-runtime-pseudo-reloc -L/c/OSGeo4W/lib -L/osgeo4w/usr/src/grass-7.0.svn/mswindows/osgeo4w/lib conftest.c -lxdr -liberty -lws2_32 1>&5
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols?
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../crt2.o:crt1.c:(.text+0x28): undefined reference to `__dyn_tls_init_callback'
This indicates a problem with the compiler or linker. The exact same
error occurs for every other test (except those which fail for some
other reason). The XDR check is just the first one which aborts the
configure script.
Some brief googling suggest that this is related to a version mismatch
between various components of MinGW. You might want to try
uninstalling and reinstalling MinGW, or possibly installing an older
version.
</pre>
</blockquote>
Before I want to uninstall/reinstall MinGW some questions:<br>
<br>
1) There is a C://MinGW directory existing. I don't know if that was<br>
created by the Osgeo4W setup resp. the procedure according to the<br>
wiki. It is also possible that this is from older trials (I think
some months<br>
ago a procedure with installing MinGW etc. was mentioned somewhere,
and<br>
I followed but stopped because it seemed to complicated for me)<br>
So this can be also old remainings (the C://MinGW folder) which may
conflict.<br>
If it is the caseof old and maybe interfeering remainings, how can
they be uninstalled?<br>
I ask this as there is no possibilty for me in windows to uninstall
it via<br>
the Control Panel -> Programs and features.<br>
<br>
2) @Glynn: How can I uninstall and reinstall MinGW correctly in
Windows? Via<br>
the Osgeo4w installer? If yes which parts?<br>
<br>
There are these three parts according to the wiki, and all of them
were downloaded<br>
last week.<br>
<ul>
<li><strong>mingw32-make</strong> from <a class="ext-link"
href="http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz"><span
class="icon"> </span>here</a>
</li>
<li><strong>mingw-runtime</strong> from <a class="ext-link"
href="http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz"><span
class="icon"> </span>here</a>
</li>
<li><strong>mingw-utils</strong> from <a class="ext-link"
href="http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz"><span
class="icon"> </span>here</a>
</li>
</ul>
<br>
<br>
3) @ Helmut: All the files are now copied. Copied folders are merged
and<br>
in case of already existing files the were replaced. I did that now
again for<br>
all manually downloaded packages
(msyscore.....w32api,bison...readline).<br>
So according to the wiki everything should be in place. But that
doesn't<br>
solve the configure problem. Still the same error.<br>
<br>
<br>
/johannes<br>
</body>
</html>