Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-19 Thread Matthew Pettis
Hi,

I actually downloaded, unpacked, configure/make/make install'ed from
http://www.libgd.org/releases/gd-2.0.35.tar.gz
.

I assume that would be the same thing as your command below?

thanks,
Matt

On Sat, Jul 19, 2008 at 12:28 AM, thomas bonfort
[EMAIL PROTECTED] wrote:
 hi,
 have you installed the libgd development packages ?

 # apt-get install libgd-dev

 thomas

 On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis
 [EMAIL PROTECTED] wrote:
 Hi All,

 This still fails... below is my configuration parameter setup and the
 output of configure are below... any suggestions?

 thanks,
 matt

 === configure parameters ===
 ./configure --with-ogr=/usr \
--with-gdal=/usr \
--with-httpd=/usr/sbin/apache2 \
--with-wfsclient \
--with-wmsclient \
--enable-debug \
--with-curl=/usr \
--with-proj=/usr \
--with-threads \
--with-tiff \
--with-libiconv=/usr/local/lib \
--with-jpeg \
--with-freetype=/usr/lib/xorg/modules/fonts/ \
--with-threads \
--with-wcs \
--with-xml2-config=/usr/bin/xml2-config \
--with-gd=/usr \
--with-php=/usr
 ===

 === output of configure script ===
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking for ranlib... ranlib
 checking for flex... no
 checking for lex... no
 checking for yywrap in -lfl... no
 checking for yywrap in -ll... no
 checking for bison... no
 checking for byacc... no
 checking if compiler supports -R... no
 checking if compiler supports -Wl,-rpath,... yes
 checking for exp in -lm... yes
 checking for __gxx_personality_v0 in -lstdc++... yes
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for strcasecmp... yes
 checking for strncasecmp... yes
 checking for strdup... yes
 checking for strlcat... no
 checking for vsnprintf... yes
 MapServer Version from mapserver.h: '5.0.3'
 configure: checking where FreeType 2.x is installed...
using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
 configure: checking where Zlib is installed...
 checking for zlibVersion in -lz... yes
using libz from system libs (-DUSE_ZLIB).
 configure: checking where PNG is installed...
 checking for png_init_io in -lpng... yes
using libpng from system libs.
 configure: checking whether we should include JPEG support...
 checking for jpeg_read_header in -ljpeg... yes
using libjpeg from system libs.
 configure: checking where libXpm is installed...
 checking for XpmFreeXpmImage in -lXpm... yes
using libXpm from system libs.
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 checking for gdFontCacheSetup in -lgd... no
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.
 Make sure GD 2.0.16 or higher is compiled before calling configure.
 You may also get this error if you didn't specify the appropriate
 location for one of GD's dependencies (freetype, libpng, libjpeg or
 libiconv).
 =

 On Fri, Jul 18, 2008 at 9:04 AM, Matthew Pettis
 [EMAIL PROTECTED] wrote:
 Replied to your previous one -- I will try again tonight with your
 suggestion and update the list with the results  -- Thanks again!

 Matt

 On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
 [EMAIL PROTECTED] wrote:
 As I wrote in a previous message, is it possible that you configured using
 --with-gd=/usr/lib? You should use --with-gd=/usr only and the 
 configure
 script should take care of looking in the right subdirectory for each file.

 Daniel

 Matthew Pettis wrote:

 Hi,

 More and different compiling issues from the one I've already
 posted... My configure script errors as shown below (truncated because
 I believe the most important part is included):

 --
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for 

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-19 Thread Guillaume Sueur
yes, it would. be you probably didn't install it in /usr like you 
specify in your configure.

so try with --with-gd=/usr/local instead

good luck !

Guillaume


Matthew Pettis a écrit :

Hi,

I actually downloaded, unpacked, configure/make/make install'ed from
http://www.libgd.org/releases/gd-2.0.35.tar.gz
.

I assume that would be the same thing as your command below?

thanks,
Matt

On Sat, Jul 19, 2008 at 12:28 AM, thomas bonfort
[EMAIL PROTECTED] wrote:

hi,
have you installed the libgd development packages ?

# apt-get install libgd-dev

thomas

On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:

Hi All,

This still fails... below is my configuration parameter setup and the
output of configure are below... any suggestions?

thanks,
matt

=== configure parameters ===
./configure --with-ogr=/usr \
   --with-gdal=/usr \
   --with-httpd=/usr/sbin/apache2 \
   --with-wfsclient \
   --with-wmsclient \
   --enable-debug \
   --with-curl=/usr \
   --with-proj=/usr \
   --with-threads \
   --with-tiff \
   --with-libiconv=/usr/local/lib \
   --with-jpeg \
   --with-freetype=/usr/lib/xorg/modules/fonts/ \
   --with-threads \
   --with-wcs \
   --with-xml2-config=/usr/bin/xml2-config \
   --with-gd=/usr \
   --with-php=/usr
===

=== output of configure script ===
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for bison... no
checking for byacc... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.0.3'
configure: checking where FreeType 2.x is installed...
   using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
   using libz from system libs (-DUSE_ZLIB).
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
   using libpng from system libs.
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
   using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
   using libXpm from system libs.
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
   using libiconv from -L -liconv
   libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... no
configure: checking whether GD needs libiconv...
checking for gdFontCacheSetup in -lgd... no
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.
Make sure GD 2.0.16 or higher is compiled before calling configure.
You may also get this error if you didn't specify the appropriate
location for one of GD's dependencies (freetype, libpng, libjpeg or
libiconv).
=

On Fri, Jul 18, 2008 at 9:04 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:

Replied to your previous one -- I will try again tonight with your
suggestion and update the list with the results  -- Thanks again!

Matt

On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
[EMAIL PROTECTED] wrote:

As I wrote in a previous message, is it possible that you configured using
--with-gd=/usr/lib? You should use --with-gd=/usr only and the configure
script should take care of looking in the right subdirectory for each file.

Daniel

Matthew Pettis wrote:

Hi,

More and different compiling issues from the one I've already
posted... My configure script errors as shown below (truncated because
I believe the most important part is included):

--
configure: checking where 

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-19 Thread Guillaume Sueur

configure dump can't be the same. It should say :
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local 
instead of

configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.

if it is so, did you check your /etc/ld.so.conf as asked previously and 
run ldconfig afterwards ?


Regards,

Guillaume

Matthew Pettis a écrit :

Hi Guillaume, All,

Guillaume was right, the install is in /usr/local, but when I changed
the configure script to take

--with-gd=/usr/local

I get the same results as before (./configure dump is same as
previously posted).  Other ideas?

Thanks,
Matt

On Sat, Jul 19, 2008 at 12:30 PM, Guillaume Sueur
[EMAIL PROTECTED] wrote:

yes, it would. be you probably didn't install it in /usr like you specify in
your configure.
so try with --with-gd=/usr/local instead

good luck !

Guillaume


Matthew Pettis a écrit :

Hi,

I actually downloaded, unpacked, configure/make/make install'ed from
http://www.libgd.org/releases/gd-2.0.35.tar.gz
.

I assume that would be the same thing as your command below?

thanks,
Matt

On Sat, Jul 19, 2008 at 12:28 AM, thomas bonfort
[EMAIL PROTECTED] wrote:

hi,
have you installed the libgd development packages ?

# apt-get install libgd-dev

thomas

On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:

Hi All,

This still fails... below is my configuration parameter setup and the
output of configure are below... any suggestions?

thanks,
matt

=== configure parameters ===
./configure --with-ogr=/usr \
  --with-gdal=/usr \
  --with-httpd=/usr/sbin/apache2 \
  --with-wfsclient \
  --with-wmsclient \
  --enable-debug \
  --with-curl=/usr \
  --with-proj=/usr \
  --with-threads \
  --with-tiff \
  --with-libiconv=/usr/local/lib \
  --with-jpeg \
  --with-freetype=/usr/lib/xorg/modules/fonts/ \
  --with-threads \
  --with-wcs \
  --with-xml2-config=/usr/bin/xml2-config \
  --with-gd=/usr \
  --with-php=/usr
===

=== output of configure script ===
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for bison... no
checking for byacc... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.0.3'
configure: checking where FreeType 2.x is installed...
  using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
  using libz from system libs (-DUSE_ZLIB).
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
  using libpng from system libs.
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
  using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
  using libXpm from system libs.
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
  using libiconv from -L -liconv
  libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... no
configure: checking whether GD needs libiconv...
checking for gdFontCacheSetup in -lgd... no
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.
Make sure GD 2.0.16 or higher is compiled before calling configure.
You may also get this error if you didn't specify the appropriate
location for one of GD's dependencies (freetype, libpng, libjpeg or
libiconv).
=

On Fri, Jul 18, 2008 at 9:04 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:

Replied to your previous one -- I will try again tonight with your
suggestion and update the list with the results  -- Thanks again!

Matt

On Fri, Jul 

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-19 Thread Matthew Pettis
Guillaume,

Correct, the output was the same modulo the directory that gd.h and
the others were not found in...

And I did try your suggested change to ld.so.conf (I wasn't sure how
it should be added, so I tried two ways:

/usr/lib

and

include /usr/lib

then running /sbin/ldconfig)

both with similar results.

Thanks,
Matt

On Sat, Jul 19, 2008 at 4:45 PM, Guillaume Sueur
[EMAIL PROTECTED] wrote:
 configure dump can't be the same. It should say :
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local
 instead of
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.

 if it is so, did you check your /etc/ld.so.conf as asked previously and run
 ldconfig afterwards ?

 Regards,

 Guillaume

 Matthew Pettis a écrit :

 Hi Guillaume, All,

 Guillaume was right, the install is in /usr/local, but when I changed
 the configure script to take

 --with-gd=/usr/local

 I get the same results as before (./configure dump is same as
 previously posted).  Other ideas?

 Thanks,
 Matt

 On Sat, Jul 19, 2008 at 12:30 PM, Guillaume Sueur
 [EMAIL PROTECTED] wrote:

 yes, it would. be you probably didn't install it in /usr like you specify
 in
 your configure.
 so try with --with-gd=/usr/local instead

 good luck !

 Guillaume


 Matthew Pettis a écrit :

 Hi,

 I actually downloaded, unpacked, configure/make/make install'ed from
 http://www.libgd.org/releases/gd-2.0.35.tar.gz
 .

 I assume that would be the same thing as your command below?

 thanks,
 Matt

 On Sat, Jul 19, 2008 at 12:28 AM, thomas bonfort
 [EMAIL PROTECTED] wrote:

 hi,
 have you installed the libgd development packages ?

 # apt-get install libgd-dev

 thomas

 On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis
 [EMAIL PROTECTED] wrote:

 Hi All,

 This still fails... below is my configuration parameter setup and the
 output of configure are below... any suggestions?

 thanks,
 matt

 === configure parameters ===
 ./configure --with-ogr=/usr \
  --with-gdal=/usr \
  --with-httpd=/usr/sbin/apache2 \
  --with-wfsclient \
  --with-wmsclient \
  --enable-debug \
  --with-curl=/usr \
  --with-proj=/usr \
  --with-threads \
  --with-tiff \
  --with-libiconv=/usr/local/lib \
  --with-jpeg \
  --with-freetype=/usr/lib/xorg/modules/fonts/ \
  --with-threads \
  --with-wcs \
  --with-xml2-config=/usr/bin/xml2-config \
  --with-gd=/usr \
  --with-php=/usr
 ===

 === output of configure script ===
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking for ranlib... ranlib
 checking for flex... no
 checking for lex... no
 checking for yywrap in -lfl... no
 checking for yywrap in -ll... no
 checking for bison... no
 checking for byacc... no
 checking if compiler supports -R... no
 checking if compiler supports -Wl,-rpath,... yes
 checking for exp in -lm... yes
 checking for __gxx_personality_v0 in -lstdc++... yes
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for strcasecmp... yes
 checking for strncasecmp... yes
 checking for strdup... yes
 checking for strlcat... no
 checking for vsnprintf... yes
 MapServer Version from mapserver.h: '5.0.3'
 configure: checking where FreeType 2.x is installed...
  using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
 configure: checking where Zlib is installed...
 checking for zlibVersion in -lz... yes
  using libz from system libs (-DUSE_ZLIB).
 configure: checking where PNG is installed...
 checking for png_init_io in -lpng... yes
  using libpng from system libs.
 configure: checking whether we should include JPEG support...
 checking for jpeg_read_header in -ljpeg... yes
  using libjpeg from system libs.
 configure: checking where libXpm is installed...
 checking for XpmFreeXpmImage in -lXpm... yes
  using libXpm from system libs.
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
  using libiconv from -L -liconv
  libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 checking for gdFontCacheSetup in -lgd... no
 configure: error: Could not find 

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04

2008-07-18 Thread Matthew Pettis
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
[EMAIL PROTECTED] 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


-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compiling Issues: Ubuntu 8.04

2008-07-18 Thread Guillaume Sueur

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
[EMAIL PROTECTED] 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



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread Daniel Morissette
As I wrote in a previous message, is it possible that you configured 
using --with-gd=/usr/lib? You should use --with-gd=/usr only and the 
configure script should take care of looking in the right subdirectory 
for each file.


Daniel

Matthew Pettis wrote:

Hi,

More and different compiling issues from the one I've already
posted... My configure script errors as shown below (truncated because
I believe the most important part is included):
--
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... no
configure: checking whether GD needs libiconv...
checking for gdFontCacheSetup in -lgd... no
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib.
 Make sure GD 2.0.16 or higher is compiled before calling configure.
You may also get this error if you didn't specify the appropriate
location for one of GD's dependencies (freetype, libpng, libjpeg or
libiconv).
--

Now, I have libgd version 2.0.35, so this should work... I have gd.h
and libgd.a/libgd.so (the latter are in /usr/lib/).  I think it is
choking because of the gdFontCacheSetup.  Any idea on how to fix this?

Thanks,
Matt




--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compiling Issues: Ubuntu 8.04

2008-07-18 Thread Matthew Pettis
Thanks Daniel, Guillaume,

Daniel: you are correct in that I configured with
--with-proj=/usr/include, and also tried --with-proj=/usr/lib.  I
will try tonight with your suggestion.

Thanks!

Matt

On Fri, Jul 18, 2008 at 8:23 AM, Daniel Morissette
[EMAIL PROTECTED] wrote:
 Is it possible that you configured using --with-proj=/usr/include? You
 should use --with-proj=/usr only and the configure script should take care
 of looking in the right subdirectory for each file.

 Daniel


 Matthew Pettis wrote:

 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



 --
 Daniel Morissette
 http://www.mapgears.com/




-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread Matthew Pettis
Replied to your previous one -- I will try again tonight with your
suggestion and update the list with the results  -- Thanks again!

Matt

On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
[EMAIL PROTECTED] wrote:
 As I wrote in a previous message, is it possible that you configured using
 --with-gd=/usr/lib? You should use --with-gd=/usr only and the configure
 script should take care of looking in the right subdirectory for each file.

 Daniel

 Matthew Pettis wrote:

 Hi,

 More and different compiling issues from the one I've already
 posted... My configure script errors as shown below (truncated because
 I believe the most important part is included):

 --
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 checking for gdFontCacheSetup in -lgd... no
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib.
  Make sure GD 2.0.16 or higher is compiled before calling configure.
 You may also get this error if you didn't specify the appropriate
 location for one of GD's dependencies (freetype, libpng, libjpeg or
 libiconv).

 --

 Now, I have libgd version 2.0.35, so this should work... I have gd.h
 and libgd.a/libgd.so (the latter are in /usr/lib/).  I think it is
 choking because of the gdFontCacheSetup.  Any idea on how to fix this?

 Thanks,
 Matt



 --
 Daniel Morissette
 http://www.mapgears.com/




-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread Matthew Pettis
Hi All,

This still fails... below is my configuration parameter setup and the
output of configure are below... any suggestions?

thanks,
matt

=== configure parameters ===
./configure --with-ogr=/usr \
--with-gdal=/usr \
--with-httpd=/usr/sbin/apache2 \
--with-wfsclient \
--with-wmsclient \
--enable-debug \
--with-curl=/usr \
--with-proj=/usr \
--with-threads \
--with-tiff \
--with-libiconv=/usr/local/lib \
--with-jpeg \
--with-freetype=/usr/lib/xorg/modules/fonts/ \
--with-threads \
--with-wcs \
--with-xml2-config=/usr/bin/xml2-config \
--with-gd=/usr \
--with-php=/usr
===

=== output of configure script ===
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for bison... no
checking for byacc... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.0.3'
configure: checking where FreeType 2.x is installed...
using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
using libz from system libs (-DUSE_ZLIB).
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
using libpng from system libs.
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
using libXpm from system libs.
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... no
configure: checking whether GD needs libiconv...
checking for gdFontCacheSetup in -lgd... no
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.
Make sure GD 2.0.16 or higher is compiled before calling configure.
You may also get this error if you didn't specify the appropriate
location for one of GD's dependencies (freetype, libpng, libjpeg or
libiconv).
=

On Fri, Jul 18, 2008 at 9:04 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:
 Replied to your previous one -- I will try again tonight with your
 suggestion and update the list with the results  -- Thanks again!

 Matt

 On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
 [EMAIL PROTECTED] wrote:
 As I wrote in a previous message, is it possible that you configured using
 --with-gd=/usr/lib? You should use --with-gd=/usr only and the configure
 script should take care of looking in the right subdirectory for each file.

 Daniel

 Matthew Pettis wrote:

 Hi,

 More and different compiling issues from the one I've already
 posted... My configure script errors as shown below (truncated because
 I believe the most important part is included):

 --
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 checking for gdFontCacheSetup in -lgd... no
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib.
  Make sure GD 2.0.16 or higher is compiled before calling configure.
 You may also get this error if you didn't specify 

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread thomas bonfort
hi,
have you installed the libgd development packages ?

# apt-get install libgd-dev

thomas

On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis
[EMAIL PROTECTED] wrote:
 Hi All,

 This still fails... below is my configuration parameter setup and the
 output of configure are below... any suggestions?

 thanks,
 matt

 === configure parameters ===
 ./configure --with-ogr=/usr \
--with-gdal=/usr \
--with-httpd=/usr/sbin/apache2 \
--with-wfsclient \
--with-wmsclient \
--enable-debug \
--with-curl=/usr \
--with-proj=/usr \
--with-threads \
--with-tiff \
--with-libiconv=/usr/local/lib \
--with-jpeg \
--with-freetype=/usr/lib/xorg/modules/fonts/ \
--with-threads \
--with-wcs \
--with-xml2-config=/usr/bin/xml2-config \
--with-gd=/usr \
--with-php=/usr
 ===

 === output of configure script ===
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking for ranlib... ranlib
 checking for flex... no
 checking for lex... no
 checking for yywrap in -lfl... no
 checking for yywrap in -ll... no
 checking for bison... no
 checking for byacc... no
 checking if compiler supports -R... no
 checking if compiler supports -Wl,-rpath,... yes
 checking for exp in -lm... yes
 checking for __gxx_personality_v0 in -lstdc++... yes
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for strcasecmp... yes
 checking for strncasecmp... yes
 checking for strdup... yes
 checking for strlcat... no
 checking for vsnprintf... yes
 MapServer Version from mapserver.h: '5.0.3'
 configure: checking where FreeType 2.x is installed...
using libfreetype from -L/usr/lib/xorg/modules/fonts/ -lfreetype
 configure: checking where Zlib is installed...
 checking for zlibVersion in -lz... yes
using libz from system libs (-DUSE_ZLIB).
 configure: checking where PNG is installed...
 checking for png_init_io in -lpng... yes
using libpng from system libs.
 configure: checking whether we should include JPEG support...
 checking for jpeg_read_header in -ljpeg... yes
using libjpeg from system libs.
 configure: checking where libXpm is installed...
 checking for XpmFreeXpmImage in -lXpm... yes
using libXpm from system libs.
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 checking for gdFontCacheSetup in -lgd... no
 configure: error: Could not find gd.h or libgd.a/libgd.so in /usr.
 Make sure GD 2.0.16 or higher is compiled before calling configure.
 You may also get this error if you didn't specify the appropriate
 location for one of GD's dependencies (freetype, libpng, libjpeg or
 libiconv).
 =

 On Fri, Jul 18, 2008 at 9:04 AM, Matthew Pettis
 [EMAIL PROTECTED] wrote:
 Replied to your previous one -- I will try again tonight with your
 suggestion and update the list with the results  -- Thanks again!

 Matt

 On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
 [EMAIL PROTECTED] wrote:
 As I wrote in a previous message, is it possible that you configured using
 --with-gd=/usr/lib? You should use --with-gd=/usr only and the configure
 script should take care of looking in the right subdirectory for each file.

 Daniel

 Matthew Pettis wrote:

 Hi,

 More and different compiling issues from the one I've already
 posted... My configure script errors as shown below (truncated because
 I believe the most important part is included):

 --
 configure: checking where libiconv is installed...
 checking for iconv_open in -lc... yes
 checking for libiconv_open in -liconv... yes
using libiconv from -L -liconv
libiconv found. Enabling internationalization (-DUSE_ICONV)
 configure: checking for GD 2.0.16 or higher...
 checking for gdFontCacheSetup in -lgd... no
 configure: checking whether GD needs libiconv...
 

[mapserver-users] Compiling Issues: Ubuntu 8.04

2008-07-17 Thread Matthew Pettis
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

-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users