[mapserver-users] FYI Newbies: when make doesn't work
Tyler Mitchell
TMitchell at lignum.com
Tue Jan 15 12:06:16 PST 2002
Great idea. I actually just did some edits! I had made up the examples
from my head and made them wrong.
I was having problems with the --with-postgis option, not php. And my last
example about --with-gdal only needing a folder was wrong too. But the
--with-proj only needs a folder so I sub'd that in.
Jamie Smedsmo
<jsmedsmo at gis. To: Tyler Mitchell <TMitchell at lignum.com>
umn.edu> cc:
Fax to:
01/15/2002 Subject: Re: [mapserver-users] FYI Newbies: when make doesn't work
12:06 PM
Hi Tyler,
This seemed like a good little tidbit, so I added it to the wiki.
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapServerCompilation.
Thanks,
Jamie
Tyler Mitchell wrote:
>Hi guys,
>I'm just building mapserver right now with as many of the options as I
>could feasibly get together. I ran "./configure" and it appeared to work
>correctly. When I went to run "make" though I get a cryptic error: "no
>input files" and it didn't do anything.
>Well, turns out, after 20 minutes of confusion (it had always compiled
just
>fine before!!) I realized what I had done. I was trying to build in
>php/mapscript support so I used the "--with-php" option.
>I had to tell it more specifically where to look for pg_config, so I used:
>"--with-php=/usr/local/bin" - that wasn't right. I didn't notice it
during
>the ./configure process, but it was complaining a dozen or so lines from
>the end - saying that I had specified a directory. So I then had to
change
>it to "--with-php=/usr/local/bin/pg_config" and now "make" actually does
>something :)
>So I learned my lesson - sometimes the "--with" options need a directory
>(ie. --with-gdal=/usr/src/gdal) and sometimes, like above, they need a
path
>to a specific file. I assume this applies to more than just my php
>example.
>
>So, for those of you who may come after me and who are just as green,
>hopefully you'll find this when you search the mail archive and not give
up
>on MapServer due to your ignorance....persevere :)
>
>I hope it helps.
>Take care,
>Tyler
>
>
>
More information about the MapServer-users
mailing list