I need to clarify my last response. After I ran "rpmbuild -ta ..." the first time, the source directory was created in /usr/src/packages/BUILD. So after installing the 32 bit version package I did, I used "make" inside that directory instead of using rpmbuild. I later tried rpmbuild but it failed because it said it couldn't find libgcrypt.
I think what is going on generally is that the ./configure stage is examining your system and if you are missing certain libraries, another set of libraries are used instead.
Enter the cups project directory in the BUILD directory. If it doesn't exist there, then run "rpmbuild -tp rpmbuild -ta cups-1.2.10-source.tar.gz" to apply the patches and create the cups-1.2.10 directory in BUILD.
(Note: on some systems, your rpm build directory tree is rooted in /etc/src/redhat/.)
Take a look at the output of "./configure --help". Note these lines:
Code:
--enable-ssl turn on SSL/TLS support, default=yes
--enable-cdsassl use CDSA for SSL/TLS support, default=first
--enable-gnutls use GNU TLS for SSL/TLS support, default=second
--enable-openssl use OpenSSL for SSL/TLS support, default=third
I think that the configure script prefers, by default to use the cdsassl library over gnutls and openssl. In my case the gnutls library was used. Try installing the cdsassl package and devel version of the package. If the problem is with your version of OpenSSL, this may fix the problem, because the openssl libraries & headers won't be used.
However, I wonder if the problem is due to using a radically different version of gcc & g++? I posted the versions used in my system.
Also, try installing using the source instead of building an rpm package. That would be successful in my case.