[GRASS-windows] Re: Compiling WINGrass 7.0SVN
Johannes Radinger
JRadinger at gmx.at
Sat Oct 15 08:45:39 EDT 2011
Hej,
I didn't want to uninstall I just missed the possibilty
to set keep/reinstall etc. Sorry was my missunderstanding!
Anyway, after opening the osgeo4w it seemed that
proj.4 (version 4.x) was already installed?! Strange... So I didn't set
anything (leave the "keep"s) and clicked on Next.
Then the new G6.4.1RC1 was addtionally installed.
Where there some recent changes in the osgeo4w setup?
After that I tried the configure/compile again with
folling error in package.log:
...
....
checking for library containing cuserid... no
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.
I checked if there is anything in the osgeo4w setup which
looks like XDR but couldn't find anything.
Here addtionally the lines from the config.log
configure: failed program was:
#line 4526 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char xdrmem_create();
int main() {
xdrmem_create()
; return 0; }
configure:4556: checking for xdrmem_create in -lrpclib
configure:4573: 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
-lrpclib 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/../../../../mingw32/bin/ld.exe:
cannot find -lrpclib
collect2: ld returned 1 exit status
configure: failed program was:
#line 4562 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char xdrmem_create();
int main() {
xdrmem_create()
; return 0; }
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'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4598 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char xdrmem_create();
int main() {
xdrmem_create()
; return 0; }
So what to do next?
/Johannes
Am 15.10.2011 12:26, schrieb Helmut Kudrnovsky:
>> Is there any way to install that without uninstalling osgeo4wstructure and reinstalling everything?
>> So just to addtionally install proj.4.
> why do you want to uninstall the osgeo4wstructure?
>
> please have a look in the osgeo4w-FAQ (http://trac.osgeo.org/osgeo4w/wiki/FAQ)
> or osgeo4w-wiki (i.e. http://trac.osgeo.org/osgeo4w/ , http://trac.osgeo.org/osgeo4w/wiki/NewUserIntroduction)
> for further osgeo4w-helping information.
>
> here on my winvista-box in the osgeo4w-setup in advanced installation mode, i'm able to keep/reinstall/deinstall/update
> any single package without touching any other package.
>
> HTH
> Helmut
> ___________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
More information about the grass-windows
mailing list