wiki:GSoC2013Reports

Version 6 (modified by steve, 11 years ago) ( diff )

--

Google Summer of Code 2013

Project Extend OSGeo4W Installer

Short description
Main goal for this project is develop functionalities in order to ask to the end users by an EULA license for proprietary libraries and building the majority of OSGeo components to x86-64 bits on Windows as well as improve the current OSGeo4W installer. See also here.

Student Name
Steve Ataucuri Cruz

Mentor Name
Frank Warmerdam

Work done in week 17-21 June #1

1. Work Done :

2. Problem Faced :

  • Definitely yes, some problems with the installation of Installer but are already solved, many times I needed to read a lot before changing a line of the code of setup installer.

3. Work to be done in the next week :

  • Next week I need to prepare the new windows dialog for new version of installer.
  • I will update the wiki of the project to build the new setup.

Work done in week 22-28 June #2

1. Work Done:

  • The main job done this week was integrated a new window dialog "license" with its class license which will download a license file from somewhere (before the community organize the license terms) ie: "http://download.osgeo.org/osgeo4w/release" of every restrictive package.

2. Problems Faced :

  • It was a little difficult to understand the flow of window dialog and some classes of installer, I am still learning all the process into installer.
  • There was a bit problem with the first compilation of new installer with the new class, but it was resolved, I couldn't implement the download process I need more time but I will do it next week with some extra work.

3. Work to be done in the next week:

  • For two next weeks I will plan something to download a license from a main central repository or individual projects and install into local directory ie: /etc/licenses. I will finish the new license class to automation of every restrictive package like gdal-ecw.

Work done in week 1-5 July #3

1. Work Done:
This week I have revised many classes of oseo4w installer to see how is the processes of download a package of server (download.osgeo.org).

  • I have done a modification of setup.ini file to add a link to license file.
  • I did modifications and was looking for into code where the installer loads the list of package of setup.ini and try to add a field to license

2. Problems Faced :

  • I had a bit problem with the version of compiler , I was using g++ 3.4 with flag -mno-cygwin to build the installer and I tried to use ddd to debug the code, and now my version of cygwin has changed to new compiler is g++ 4.7.3(current version of cygwin) , I tried to come back g++ 3.4 but in the official list of package of cygwin there is not anymore. This compiler has many bugs fixed and it doesn't support -mno-cygwin flag, I couldn't build the setup, and I spent many hours

in order to find a solution

3. Work to be done in the next week:

  • I will implement a class for download process of a license from a main central repository and install into local directory ie: /etc/licenses.

Work done in week 8-12 July #4

1. Work Done:

2. Problems Faced :

3. Work to be done in the next week:

  • Next week my work will concentrate in scan the setup.ini file which has restrictive packages

Work done in week 15-20 July #5

1. Work Done:

  • I was working with scanning support of setup.ini file. Now the installer can save a list of restrictive package and asking to the user with a new window dialog. You can test my progress choosing some restrictive package(gdal-sde90,gdal-oracle,gdal-mrsid, gdal-grass, gdal-filegdb). I have attached the "setup.override.ini" file with some examples(you have to download in C:\ disk)

2. Problems Faced :

  • I had a problem with scanning of "setup.ini" file , but it was resolved

3. Work to be done in the next week:

  • I will download the license text and show to the user. Also I will improve the automation of this process installing into the path of local

machine("/OSGeo4W/etc/setup/licenses").

Work done in week 29-02 August #6

1. Work Done:

2. Problems Faced :

  • I had resolved many problems with segmentation fault. "segmentation fault" when setup.exe does not find a license file in remote server.

3. Work to be done in the next week:

  • I will improve some cases when there is no file in remote server and install in "some path" that I will define with my mentor.

Work done in week 05-09 August #8

1. Work Done:

  • This week, I have been doing some tests and I decided to build the osgeo4w setup in another clean machine with windows seven. But the oficial cygwin setup.exe has changed and they are released setup-86.exe for 32bit and setup-x86_64.exe for 64bit installations, and I noticed that they have some unresolved dependencies with i686-pc-mingw32-gcc-g++ 32bit compiler. So I couldn't build the setup.exe with the last compiler i686-pc-mingw32-gcc-g++ 4.7.3(in their repositories) , I was building all time with i686-pc-mingw32-gcc-g++ 4.5.2-1 version without problems(in another virtual machine) but when I used the version 4.7.3, I got some errors about "-Werror=unused-but-set-variable".

Before to change code, first I changed to previous version of mingw-gcc-g++ and I found that i686-pc-mingw32-gcc-g++ (4.5.2-1) could not start cc1plus.exe because it could not find some shared object files. Cygwin Setup-32.exe should have considered all the dependencies but maybe I've got a bug or a missing one somewhere (I think Cygwin people have forgotten some dependencies of its setup.ini file). However I tried to install all dependencies for the 4.5.2-1 version of mingw-gcc-g++.exe and its dependencies like runtime and libs, but I still got errors.

I spoke with my mentor about it and We decided to work with the last compiler and resolve the "unused variables" Nevertheless I have worked on migration to last version of mingw-gcc-g++ compiler, adding log messages to setup, modified bootstrap script, Makefiles and others.

2. Problems Faced :

  • Yes I got "segmentation fault" in main.cc file (109-118 lines) that I couldnt' fixed yet. My mentor helped but if someone could give me other suggestions they are welcome.

3. Work to be done in the next week:

  • I am going to continue working with the support of mingw-gcc-g++ and resolve some errors in main.cc file.
Note: See TracWiki for help on using the wiki.