This is a discussion on Re: [courier-users] how to set search paths at compile within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --===============0731484928== Content-Type: multipart/signed; boundary="=_mimegpg-commodore.email-scan.com-30477-1162338571-0002"; micalg=pgp-sha1; protocol="application/pgp-signature" This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-30477-1162338571-0002 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Christoph Kuka writes: > Hello, > I am new to courier and want to compile it for use with postfix and mysql und suse 10.1. > As I found out, configure and make are searching for libs and includes in directories I don't want them to search. > > So, how can I set these directories? > > Things like CPPFLAGS="-I/path/i/want" export CPPFLAGS before running ./configure didn't seem to work, The statement "didn't seem to work" is completely useless. configure and make use whatever default search paths the compiler uses, as modified by the environment variables; including CPPFLAGS which most certainly works. Run ./configure --help to see a list of all recognized environment variables. --=_mimegpg-commodore.email-scan.com-30477-1162338571-0002 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFR+ELx9p3GYHlUOIRAqqsAJ9bYagwyHK6R2C+8wJksd EHf9u/9wCdHqmu aEgG2UChxgQaW+YSKG97Bzk= =SMw+ -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-30477-1162338571-0002-- --===============0731484928== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============0731484928== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============0731484928==-- |
|
|||
|
> > So, how can I set these directories?
> > > > Things like CPPFLAGS="-I/path/i/want" export CPPFLAGS before running ./configure didn't seem to work, > > The statement "didn't seem to work" is completely useless. configure and > make use whatever default search paths the compiler uses, as modified by the > environment variables; including CPPFLAGS which most certainly works. > > Run ./configure --help to see a list of all recognized environment > variables. What I did: ../configure --prefix=/usr/local/courier --with-mailuser=courier --with-mailgroup=courier LDFLAGS=-L/usr/local/openssl/ CPPFLAGS=-I/usr/local/openssl/include/ (under /usr/local/openssl I installed the latest openssl 0.9.8x) make What I got: Linking couriertls ../.libs/libcouriertls.a(libcouriertls.o): In function `rsa_callback': /home/foo/home/courier-imap-4.1.1/tcpd/libcouriertls.c:216: undefined reference to `RSA_generate_key' collect2: ld returned 1 exit status make[3]: *** [couriertls] Error 1 make[3]: Leaving directory `/home/foo/home/courier-imap-4.1.1/tcpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/foo/home/courier-imap-4.1.1/tcpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/foo/home/courier-imap-4.1.1' make: *** [all] Error 2 I'm using Suse 10.0. When I now install the "openssl-devel" packages via yast, I get a new directory /usr/include/openssl. Now I do again the configure string I used above with linking to my self-compiled openssl at /usr/local/openssl. Now it works, so I assume that the path to the includes seems to be somehow "hardcoded" - I just can't change it, it's always looking to /usr/include/openssl. I'm new to this so I may have a wrong idea of how this works, so I'm stuck with this now. Does someone have an idea how to solve this? Thanks, Christoph > > > --=_mimegpg-commodore.email-scan.com-30477-1162338571-0002 > Content-Type: application/pgp-signature > Content-Transfer-Encoding: 7bit > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > > iD8DBQBFR+ELx9p3GYHlUOIRAqqsAJ9bYagwyHK6R2C+8wJksd EHf9u/9wCdHqmu > aEgG2UChxgQaW+YSKG97Bzk= > =SMw+ > -----END PGP SIGNATURE----- > > --=_mimegpg-commodore.email-scan.com-30477-1162338571-0002-- > > > --===============0731484928== > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 > --===============0731484928== > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > _______________________________________________ > courier-users mailing list > courier-users@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users > > --===============0731484928==-- |