[fdo-issues] [fdo][FDO137][New] Incorrect instructions of building binaries by component

Greg Boone greg.boone at autodesk.com
Mon Aug 28 20:51:40 EDT 2006


Hi Mateusz,

While the documentation may be out of date, the FDO README file in the
root of fdo.osgeo.org is current and describes the new process of
building thirdparty components. In the new process, building thirdparty
components has been separated from the main build_linux.sh script. (See
below)

I will work on getting the pdf/html documentation updated.

+++++++++++++++++++

3. Use the build_thirdparty.sh script to build the FDO Thirdparty
binaries. The following is a general guideline on how to use the
build_thirdparty.bat build script.
  
 
**************************************************************
           build_thirdparty.sh [--h] [--a Action] [--m ConfigMakefiles]

           Help:            --h[elp]
           Action:          --a[ction] buildinstall(default), 
                                       build, 
                                       install, 
                                       uninstall, 
                                       clean
           ConfigMakefiles: --m[akefile] configure(default), noconfigure
 
**************************************************************

           e.g.

            **** Display help for build_thirdparty.sh 
            build_thirdparty --h
            **** Configure, Build and Install all Thirdparty components
            build_thirdparty
            **** Uninstall all Thirdparty components
            build_thirdparty --a uninstall
            **** Clean up all Thirdparty components
            build_thirdparty --a clean


4. Use the build_linux.sh script to build and install the FDO OpenSource
libraries. The following is a general guideline on how to use
build_linux.sh

 
**************************************************************
           build_linux.sh [--h] 
                          [--c BuildType] 
                          [--a Action] 
                          [--w WithModule] 
                          [--d BuildDocs] 
                          [--m ConfigMakefiles]

           Help:            --h[elp]
           BuildType:       --c[onfig] release(default), debug
           Action:          --a[ction] buildinstall(default), 
                                       build, 
                                       install, 
                                       uninstall, 
                                       clean
           BuildDocs:       --d[ocs] skip(default), build
           ConfigMakefiles: --m[akefile] configure(default), noconfigure
           WithModule:      --w[ith] fdocore(default), 
                                     fdo, 
                                     thirdparty, 
                                     providers, 
                                     shp, 
                                     sdf, 
                                     wfs, 
                                     wms, 
                                     arcsde, 
                                     rdbms,
                                     gdal
 
**************************************************************

           e.g.

            **** Display help for build.bat
            build_linux.sh --h
            **** Configure, Build and Install all components
            build_linux.sh
            **** Configure and Build all components
            build_linux.sh --a build
            **** Build all components without running configure
            build_linux.sh --a build --m noconfigure
            **** Configure and Install all components
            build_linux.sh --a install
            **** Configure and Build only the FDO library
            build_linux.sh --a build -w fdo
            **** Configure and Build all FDO Providers
            build_linux.sh --a build --w providers
            **** Configure and Build only the SHP Provider
            build_linux.sh --a build --w shp
            **** Configure and Build only the SDF Provider
            build_linux.sh --a build --w sdf
            **** Configure and Build both the WMS and WFS Providers
            build_linux.sh --a build --w wms --w wfs

NOTE: build_linux.sh is a simple helper script that assists developers
to build the FDO components. These scripts supplement standard support
of configure and make. We have many components in the FDO architecture
and building them all was getting somewhat tedious using straight calls
to configure and make. We also found that some developers were not
interested in building all components or were only interested in
building a subset of the components. 

The implementation of the above build_linux.sh script in essence calls
...
 
               aclocal
               libtoolize --force
               automake --add-missing --copy
               autoconf
               ./configure
               make
               make install

... for the fdocore components as well as the set of FDO providers that
are currently supported on the OSGeo site.

+++++++++++++++++++++++++++


-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net] 
Sent: Sunday, August 27, 2006 4:39 PM
To: Mateusz Loskot
Cc: issues at fdo.osgeo.org
Subject: [fdo-issues] [fdo][FDO137][New] Incorrect instructions of
building binaries by component

You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO137

Type
 Defect

Artifact ID
 FDO137 (Incorrect instructions of building binaries by component)

Reported by
 Mateusz Loskot
 mloskot (mateusz at loskot.net)

New artifact details:
---------------------------------------------------------

- Artifact created
- Defect Severity set to new value
  Medium
- Operating system set to new value
  Linux
- Description set to new value
  Most of instructions from chapter "Run the Build_linux.sh Script" are
incorrect or not working, at least for me.
I follow standard procedure:
1. Run build_thirdparty.sh (also see FDO117)
2. Run build_linux.sh -c debug
and everything works here.

But this time, I wanted to build FDO "by components".

Here are my commands and error messages:

mloskot:~/dev/fdo/_svn$ ./build_linux.sh --a build --w thirdparty
--w Invalid parameter thirdparty

mloskot:~/dev/fdo/_svn$ ./build_linux.sh --a install --w thirdparty
--w Invalid parameter thirdparty

mloskot:~/dev/fdo/_svn$ ./build_linux.sh --a clean --w thirdparty
--w Invalid parameter thirdparty

mloskot:~/dev/fdo/_svn$ ./build_linux.sh --a uninstall --w thirdparty
--w Invalid parameter thirdparty

mloskot:~/dev/fdo/_svn$ ./build_linux.sh --c debug --w thirdparty
--w Invalid parameter thirdparty

Also, usage message (./build_linux.sh --help) does not list 'thirdparty'
component.
- OS Distribution and Version set to new value
  Ubuntu 6.06
- Steps to Reproduce set to new value
  1. Open the BuildFDOOpenSource.pdf document
2. Go to page 46
3. Follow instructions from chapter "Run the Build_linux.sh Script"
- Artifact Status set to new value
  Unconfirmed
- Platform set to new value
  PC
- Component set to new value
  FDO
- Subcomponent set to new value
  DOCUMENTATION
- Summary set to new value
  Incorrect instructions of building binaries by component

---------------------------------------------------------
This message was automatically generated by Project Tracker.





---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: issues-help at fdo.osgeo.org






More information about the Fdo_issues mailing list