Compile Help

6 messages Options
Embed this post
Permalink
dsampson

Compile Help

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Compile Help

I have Msys installed through OSGEO4w

Now I am trying to compile some software.

The compile script can not find gcc.

When I type gcc within MSYS nothing happens

When I type GCC within osgeo4w shell it finds it…

Do I need to do something specific with the env variables"?


Cheers


_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Jürgen E. Fischer

Re: Compile Help

Reply Threaded More More options
Print post
Permalink
Hi David,

On Thu, 13. Aug 2009 at 13:43:09 -0400, Sampson, David wrote:
> Do I need to do something specific with the env variables"?

No, you need gcc.  OSGeo4W doesn't include a compiler.


Jürgen


--
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
dsampson

RE: Compile Help

Reply Threaded More More options
Print post
Permalink
The regular distro of MSYS shipps with GCC.  Can I copy and paste that into the OSGEO4w MSYS distro?

Cheers

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Jürgen E. Fischer
> Sent: Thursday, August 13, 2009 14:20
> To: [hidden email]
> Subject: Re: [osgeo4w-dev] Compile Help
>
> Hi David,
>
> On Thu, 13. Aug 2009 at 13:43:09 -0400, Sampson, David wrote:
> > Do I need to do something specific with the env variables"?
>
> No, you need gcc.  OSGeo4W doesn't include a compiler.
>
>
> Jürgen
>
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel.
> +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax.
> +49-4931-918175-50
> Software Engineer         D-26506 Norden              
> http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und
> Informationssysteme mbH Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> _______________________________________________
> osgeo4w-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
>
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
dsampson

RE: Compile Help

Reply Threaded More More options
Print post
Permalink

 Infact,

A better question to start off is HOW should we compile programs to distrubte with OSGEO4W..

Can we just do it through a stock version of MSYS/MINGW or should we compile within OSGEO4W?

What about CYGWIN?


My experience is knwing how to

.configure
Make
Make install.

But I want to help be providiing software compiled and ready to go for OSGE4W.

Cheers

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Sampson, David
> Sent: Thursday, August 13, 2009 14:25
> To: [hidden email]
> Subject: RE: [osgeo4w-dev] Compile Help
>
> The regular distro of MSYS shipps with GCC.  Can I copy and
> paste that into the OSGEO4w MSYS distro?
>
> Cheers
>
> > -----Original Message-----
> > From: [hidden email]
> > [mailto:[hidden email]] On Behalf Of Jürgen E.
> > Fischer
> > Sent: Thursday, August 13, 2009 14:20
> > To: [hidden email]
> > Subject: Re: [osgeo4w-dev] Compile Help
> >
> > Hi David,
> >
> > On Thu, 13. Aug 2009 at 13:43:09 -0400, Sampson, David wrote:
> > > Do I need to do something specific with the env variables"?
> >
> > No, you need gcc.  OSGeo4W doesn't include a compiler.
> >
> >
> > Jürgen
> >
> >
> > --
> > Jürgen E. Fischer         norBIT GmbH               Tel.
> > +49-4931-918175-20
> > Dipl.-Inf. (FH)           Rheinstraße 13            Fax.
> > +49-4931-918175-50
> > Software Engineer         D-26506 Norden              
> > http://www.norbit.de
> >
> > --
> > norBIT Gesellschaft fuer Unternehmensberatung und
> Informationssysteme
> > mbH Rheinstrasse 13, 26506 Norden
> > GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
> >
> > _______________________________________________
> > osgeo4w-dev mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
> >
> _______________________________________________
> osgeo4w-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
>
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Jürgen E. Fischer

Re: Compile Help

Reply Threaded More More options
Print post
Permalink
Hi David,

On Thu, 13. Aug 2009 at 14:28:54 -0400, Sampson, David wrote:
> A better question to start off is HOW should we compile programs to distrubte
> with OSGEO4W..

> Can we just do it through a stock version of MSYS/MINGW or should we compile
> within OSGEO4W?  What about CYGWIN?

Although I didn't do a survey, I think most of the software in OSGeo4W is
compiled with various versions of Microsoft Visual C++.   E.g. GDAL, proj4,
GEOS, python and Qt & QGIS.  The last two with Visual C++ 2008 Express Edition.

GRASS is compiled with MinGW and the osgeo4w installer with cygwin.

The build processes on Windows are often more involved that simply running
configure && make install and differ from package to package.


Jürgen

--
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
dsampson

RE: Compile Help

Reply Threaded More More options
Print post
Permalink
I do have instructions for compiling this package (PAGCgeo.org) with mingw I was just not sure if that would meet the criteria for osgeo4w.

So I shall resort to that.

BTW if OSGEO4W has no compiler then how can you distribute source packages for compiling? Or would the source only be for building other packages?

Sorry for the novice questions. Your responses are appreciated.

Cheers

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Jürgen E. Fischer
> Sent: Thursday, August 13, 2009 15:04
> To: [hidden email]
> Subject: Re: [osgeo4w-dev] Compile Help
>
> Hi David,
>
> On Thu, 13. Aug 2009 at 14:28:54 -0400, Sampson, David wrote:
> > A better question to start off is HOW should we compile programs to
> > distrubte with OSGEO4W..
>
> > Can we just do it through a stock version of MSYS/MINGW or
> should we
> > compile within OSGEO4W?  What about CYGWIN?
>
> Although I didn't do a survey, I think most of the software
> in OSGeo4W is
> compiled with various versions of Microsoft Visual C++.  
> E.g. GDAL, proj4,
> GEOS, python and Qt & QGIS.  The last two with Visual C++
> 2008 Express Edition.
>
> GRASS is compiled with MinGW and the osgeo4w installer with cygwin.
>
> The build processes on Windows are often more involved that
> simply running configure && make install and differ from
> package to package.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel.
> +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax.
> +49-4931-918175-50
> Software Engineer         D-26506 Norden              
> http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und
> Informationssysteme mbH Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> _______________________________________________
> osgeo4w-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
>
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev