Michalis Avraam wrote:
Andy,

It was edited on Linux and I have tried to make sure it had no white space after the \

Michalis



On Fri, Jul 17, 2009 at 6:07 PM, andy <[email protected] <mailto:[email protected]>> wrote:

    Michalis Avraam wrote:

        Hello all.

         I have tried to compile MapServer 5.4.1 for the last few hours
        to no
         avail. I cannot get past the ./configure command for some
        reason. Any
         input will be greatly appreciated.

         Basically, my problem is that ./configure refuses to recognize
        some of
         the commands I give it for some reason (for example, --with-agg or
         --with-png). It also refuses to find files on the system when I
         specify paths. For example, /usr/sbin/httpd or
        /usr/bin/xml2-config. I
         have made sure that the files are there, installed correctly,
        running
         just fine and are accessible by the user running ./configure.

         Any ideas what might be the problem? The following information
        may be useful.

         Thank you in advance,

         Michalis

         Environment:
         Fedora Core 11 x86
         Intel Core2Duo
         2GB Ram

         Configure script run:
         ./configure --enable-debug              \
                   --with-freetype=/usr        \
                   --with-zlib=/lib            \
                   --with-png=/usr/lib         \
                   --with-jpeg                 \
                   --with-libiconv=/usr        \
                   --with-gd                   \
                   --with-agg=/usr/lib         \
                   --with-proj=/usr            \
                   --with-threads              \
                   --with-geos=/usr/bin/geos-config    \
                   --with-ogr=/usr/bin/gdal-config     \
                   --with-gdal=/usr/bin/gdal-config    \
                   --with-tiff                         \
                   --with-postgis=/usr/bin/pg_config   \
                   --with-wcs                  \
                   --with-wfsclient            \
                   --with-wmsclient            \
                   --with-sos                  \
                   --with-curl-config=/usr/bin/curl-config     \
                   --with-xml2-config=/usr/bin/xml2-config     \
                   --with-httpd=/usr/sbin/httpd        \
                   --with-warnings                     \
                   --with-php=/usr/include/php         \

         Configure Report returned:
         MapServer is now configured for

         -------------- Compiler Info -------------
         C compiler:                gcc -g -O2 -fPIC -Wall
         C++ compiler:              g++ -g -O2 -fPIC -Wall
         Debug:                     -g  -DNEED_NONBLOCKING_STDERR
         Generic NINT:

         -------------- Renderer Settings ---------
         zlib support:              -DUSE_ZLIB
         png support:
         palette rgba png support:
         jpeg support:              -DUSE_JPEG
         iconv support:             -DUSE_ICONV
         AGG support:
         AGG Freetype support:
         Ming(flash) support:
         PDFLib support:

         -------------- Support Libraries ---------
         Proj.4 support:
         Libxml2 support:
         FriBidi support:
         Curl support:
         FastCGI support:
         Threading support:
         GEOS support:

         -------------- Data Format Drivers -------
         native tiff support:       -DUSE_TIFF
         PostGIS support:
         EPPL7 support:             -DUSE_EPPL
         ArcSDE support:
         OGR support:
         GDAL support:
         Oracle Spatial support:

         -------------- OGC Services --------------
         WMS Server:
         WMS Client:
         WFS Server:
         WFS Client:
         WCS Server:
         SOS Server:

         -------------- MapScript -----------------
         PHP MapScript:             no

         Error Messages from configure:
         ./myconfigure.sh: line 8: --with-gd: command not found
         ./myconfigure.sh: line 23: --with-httpd=/usr/sbin/httpd: No
        such file
         or directory
         ./myconfigure.sh: line 25: --with-php=/usr/include/php: No such
        file
         or directory
        _______________________________________________
        mapserver-users mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.osgeo.org/mailman/listinfo/mapserver-users


    Did you by chance edit myconfigure.sh in windows?  Leave around some
    carriage returns or something?  Got extra spaces/tabs after the \ ?

    like:
    --with-libiconv=/usr        \{tab}


    -Andy




And so it works or it does not?

Assuming it does not: if you make it all on one line, does it work?

-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to