Timothy Brown writes:

Hi all!

I'm trying to get Courier-MTA set up on my FreeBSD 5.3 system, and am running into a couple of compile errors. I first configured and installed authlib successfully, next I installed openssl via the ports, that worked fine as well. Then I configured courier as follows:
./configure --prefix=/usr/local --with-mimesets

There's no such option "--with-mimesets".

Although this gets ignored, where did you come up with it?

That seemed to configure fine.

Now, when I run a "make" this is what I get:

Why do you run make, when INSTALL tells you to use "gmake" on BSDs?

Compiling imaplogin.c
imaplogin.c:35:25: courierauth.h: No such file or directory
imaplogin.c:36:30: courierauthdebug.h: No such file or directory

I see that for Courier you used the --prefix=/usr/local option. Now, if you also used a --prefix when installing courier-authlib, the following quote from courier-authlib's INSTALL applies to you:

   --without-stdheaderdir

  The default configuration installs development files in /usr/local/include
  (see "What gets installed", below). This directory is usually in the
  compiler's search path for header files. This option must be specified if
  the compiler does NOT search for header files in /usr/local/include by
  default.

  This option must also be specified if other configuration options (such as
  --prefix or --includedir) specify a different installation directory, and
  the new directory is also not searched by the compiler, by default

If you did not use --prefix when building courier-authlib, these include files will go into /usr/local/include. Now, if your compiler's configuration does NOT search this directory by default, you will have to specify this option also.


Attachment: pgp8T5zqEYsMa.pgp
Description: PGP signature

Reply via email to