[mapserver-users] Compiling Issues: Ubuntu 8.04
Guillaume Sueur
guillaume.sueur at neogeo-online.net
Fri Jul 18 06:23:35 PDT 2008
try to add
/usr/lib to your /etc/ld.so.conf
and then
/sbin/ldconfig
if you don't find needed files (proj_api.h etc, but you seem to have
them on your disk), always try to install the devel package correspondig
to your lib.
Guillaume
Matthew Pettis a écrit :
> Hi Guillaume, Milo,
>
> Thanks for the replies... please see below
>
> MIlo:
> -----------------------------------------------------------
> Ah!
>
> I faced this one on debian yesterday! Thanks to great help on the irc
> channel I can help ou with a solution, aint life great?
>
> You say proj_api.h is in that directory, but how about libproj.a/libproj.so?
>
> Did you run the ./configure, make , make install for proj?
>
> If you did
>
> You may need to run:
>
>
> ldconfig /usr/include
> -----------------------------------------------------------
>
> proj_api.h is in /usr/include/ while libproj.a/libproj.so are in
> /usr/lib... i didn't build the libproj.* libraries myself, but
> downloaded them via synaptic -- do i need to do a manual build?
>
> Guillaume:
> -----------------------------------------------------------
> On Fri, Jul 18, 2008 at 2:05 AM, Guillaume Sueur
> <guillaume.sueur at neogeo-online.net> wrote:
>> did you add your lib path to /etc/ld.so.conf and run ldconfig after proj
>> install ?
>>
>> Guillaume
>>
>> Matthew Pettis a écrit :
>>> Hi,
>>>
>>> I am compiling MapServer from source because I want to include
>>> fastcgi... anyway, I've fixed most of the compile issues, but I can't
>>> get past the following:
>>>
>>> ================
>>> configure: checking whether we should include PROJ.4 support...
>>> configure: error: "Could not find proj_api.h or libproj.a/libproj.so
>>> in /usr/include/."
>>> ================
>>>
>>> However, I verified that /usr/include/proj_api.h does exist, so I'm a
>>> bit confused... any suggestions?
>>>
>>> Thanks,
>>> Matt
>>>
>>
> -----------------------------------------------------------
>
> answer: no, because like I wrote to Milo, I did a synaptic install of
> the proj library, not a manual build... can i still edit it after
> doing a synaptic install? my ld.so.conf file looks like this
> currently:
>
> -----------------------------------------------------------
> include /etc/ld.so.conf.d/*.conf
> -----------------------------------------------------------
>
> is this what it should look like?
>
> Thanks,
> Matt
>
>
More information about the MapServer-users
mailing list