Send grass-windows mailing list submissions to
        grass-windows@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/grass-windows
or, via email, send a message with subject or body 'help' to
        grass-windows-requ...@lists.osgeo.org

You can reach the person managing the list at
        grass-windows-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-windows digest..."


Today's Topics:

   1. Compiling WINGrass - MinGW problem (Johannes Radinger)
   2. Re: Compiling WINGrass - MinGW problem (Helmut Kudrnovsky)


----------------------------------------------------------------------

Message: 1
Date: Mon, 31 Oct 2011 11:15:17 +0100
From: "Johannes Radinger" <jradin...@gmx.at>
Subject: [GRASS-windows] Compiling WINGrass - MinGW problem
To: grass-windows@lists.osgeo.org
Cc: hel...@web.de
Message-ID: <20111031101517.82...@gmx.net>
Content-Type: text/plain; charset="utf-8"

Hello,

sorry for my late response.
I tried to follow your suggestion and renamed the MinGW folder (which
was created some other time ago, I don't need it and should get rid of it)
Probably this folder is causing my problems.
After renaming the folder I tried to compile GRASS 7.0 (newest revision from 
today) in Mysys.
I get following error logs:

package.log:
Mon Oct 31 09:30:26 CEST 2011: STARTING remove old logs
Mon Oct 31 09:30:26 CEST 2011: FINISHED remove old logs AFTER 0s
Mon Oct 31 09:30:26 CEST 2011: STARTING configure
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.

config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:749: checking host system type
configure:772: checking for gcc
configure:876: checking whether the C compiler (gcc  ) works
configure:892: gcc -o conftest    conftest.c  1>&5
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
configure: failed program was:

#line 887 "configure"
#include "confdefs.h"

main(){return(0);}


This is a different error from the error before (I can reproduce the old erorr 
by renaming the MinGW folder to the original name). So it seems it is an error 
associated the older MinGW installation.

I found the environmental variable C:/MinGW/bin in the PATH. So I removed it 
and even restarted the computer but there is no difference - still the same 
problem.

To ensure that it isn't a problem with the GRASS source I also tried to compile 
GRASS 6.5 but I get the same error as in GRASS 7.0.

How should I proceed? What should I check? Is there any other thing like 
environmental variables which is pointing to my old MinGW?

best regards,

Johannes

> Message: 1
> Date: Tue, 18 Oct 2011 18:29:10 +0200
> From: Helmut Kudrnovsky <hel...@web.de>
> Subject: Re: [GRASS-windows] Re: Compiling WINGrass 7.0SVN
> To: Johannes Radinger <jradin...@gmx.at>,     Glynn Clements
>       <gl...@gclements.plus.com>
> Cc: grass-windows@lists.osgeo.org
> Message-ID: <e87d1e9c-e478-422f-bf91-7df953b92...@email.android.com>
> Content-Type: text/plain; charset=UTF-8
> 
> some remarks belief
> 
> >Before I want to uninstall/reinstall MinGW some questions:
> >
> >1) There is a C://MinGW directory existing. I don't know if that was
> >created by the Osgeo4W setup resp. the procedure according to the
> >wiki. It is also possible that this is from older trials (I think some 
> >months
> >ago a procedure with installing MinGW etc. was mentioned somewhere, and
> >I followed but stopped because it seemed to complicated for me)
> >So this can be also old remainings (the C://MinGW folder)  which may 
> >conflict.
> >If it is the caseof old and maybe interfeering remainings, how can they 
> >be uninstalled?
> >I ask this as there is no possibilty for me in windows to uninstall it
> via
> >the Control Panel -> Programs and features.
> >
> 
> I can't remember that this MinGw-folder is created by osgeo4w. If there is
> no uninstall, I would rename it first and see if there's something broken.
> if not, just delete the folder.
> 
> >2) @Glynn: How can I uninstall and reinstall MinGW correctly in Windows?
> Via
> >the Osgeo4w installer? If yes which parts?
> >
> >There are these three parts according to the wiki, and all of them were 
> >downloaded
> >last week.
> >
> >  * *mingw32-make* from here
> >   
> <http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz>
> >
> >  * *mingw-runtime* from here
> >   
> <http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz>
> >
> >  * *mingw-utils* from here
> >    <http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz>
> >
> >
> >
> >3) @ Helmut: All the files are now copied. Copied folders are merged and
> >in case of already existing files the were replaced. I did that now 
> >again for
> >all manually downloaded packages (msyscore.....w32api,bison...readline).
> >So according to the wiki everything should be in place. But that doesn't
> >solve the configure problem. Still the same error.
> >
> >
> 
> I can't reproduce it here. Maybe there are some updated versions of these
> files. have you tried the latest ones?
> 
> Helmut
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> grass-windows mailing list
> grass-windows@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
> 
> 
> End of grass-windows Digest, Vol 60, Issue 16
> *********************************************


-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!              
Jetzt informieren: http://www.gmx.net/de/go/freephone


------------------------------

Message: 2
Date: Mon, 31 Oct 2011 07:09:21 -0700 (PDT)
From: Helmut Kudrnovsky <hel...@web.de>
Subject: [GRASS-windows] Re: Compiling WINGrass - MinGW problem
To: grass-windows@lists.osgeo.org
Message-ID: <1320070161542-6948305.p...@n2.nabble.com>
Content-Type: text/plain; charset=us-ascii

[...]
>gcc.exe: installation problem, cannot exec `cc1': No such file or directory
<=

cc1 is part of mingw-gcc-compiler

see
http://trac.osgeo.org/grass/ticket/1178#comment:27
http://trac.osgeo.org/grass/ticket/1178#comment:28

is there white space in the source tree path?

here on my side the grass70-source is in i.e.

C:\OSGeo4W\usr\src\grass_trunk

have you installed all the packages mentioned in the wiki?

Helmut



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Compiling-WINGrass-MinGW-problem-tp6947616p6948305.html
Sent from the Grass - Win mailing list archive at Nabble.com.


------------------------------

_______________________________________________
grass-windows mailing list
grass-windows@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windows


End of grass-windows Digest, Vol 61, Issue 1
********************************************

Reply via email to