On Saturday, October 16 at 05:45 PM, wisej quoth:
> checking for C++ compiler default output... configure: error: C++
> compiler cannot create executables
> ********
> I know I have gcc loaded and pathing straight as I did all the setup of
> qMail,checkpasswrd,daemontools, and ucspi-tcp from source.

Ahh, but you see, gcc itself only compiles C programs, and not C++=20
programs. Qmail, checkpasswd, daemontools, and ucspi-tcp are all written=20
in C. Bincimap is written in C++. To compile Bincimap, you need a C++=20
compiler, like g++. g++ is technically part of the gcc family (gcc=20
stands for Gnu C Compiler AND Gnu Compiler Collection---in the first=20
sense, gcc is the C compiler, and in the second sense, gcc is the=20
collection of compilers that includes gcc and g++), but most=20
distributions package it separately. Jump onto your install CD's and dig=20
up the g++ rpms, and install them. Once you've done that, you'll be able=20
to compile Binc, no problem.

> Second attempt after source was to try the latest rpm package. The
> latest version on http://bincimap.org/dl/RPMS/i386/1.2/ was 1.2.9 for
> SuSe 8.2 which complains about missing libcrypto, libssl (which are both
> installed)...

Probably the wrong versions (openssl, the project that libcrypto and=20
libssl come from, changes it's binary interface a bit with every=20
revision, thus, once they're compiled most programs that use it depend=20
on the specific versions of libcrypto and libssl that they were compiled=20
with).

> ok third try: latest version for redhat... which happens to be
> bincimap-1.2.4-1RH9-dynamic.i386.rpm. A little old but a good start. Did
> the install and things seemed to go well. Now back to
> "LifeWithBincIMAP". Downloaded the /var/qmail/control/bincimap.conf
> update copied it over. Downloaded and copied over
> the /var/qmail/bin/qmailctl updated file.=20
> Go to next step of "ln
> -s /var/qmail/supervise/bincimap /service/bincimap" but this directory
> does not exist. (Thought that the RPM would have constructed all this)

Obviously, the RPM did *not* construct all of that. Solution: either=20
construct it yourself, or don't use that RPM (preferably, both).

~Kyle
--
Moral indignation is jealousy with a halo.
-- H. G. Wells

Attachment: signature.asc
Description: Digital signature

Reply via email to