Error to configure Squirrelmail IMAP Proxy


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Error to configure Squirrelmail IMAP Proxy
# 1  
Old 12-17-2010
Error to configure Squirrelmail IMAP Proxy

Hi there.. Smilie

I"m new in Linux. Trying to install squirrelmail-imap_proxy-1.2.7 on Red Hat WS 4. Errors from ./configure as shown below:

[root@D04 squirrelmail-imap_proxy-1.2.7]# ./configure
checking whether make sets $(MAKE)... yes
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 a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for connect... yes
checking for pthread_create in -lpthread... yes
checking for mmap... yes
checking for yp_get_default_domain in -lnsl... yes
checking for request_init in -lwrap... yes
checking for EVP_DigestInit in -lcrypto... no
configure: error: Can't compile without OpenSSL crypto library!!!


Followed the known issue file in the same directory with ./configure --with-ssl=/usr/local/ssl/lib but gives the same error.

I got this error in config.log file:

configure:2846: checking for mmap
configure:2903: gcc -o conftest -g -O2 conftest.c -lpthread >&5
configure:2909: $? = 0
configure:2912: test -z || test ! -s conftest.err
configure:2915: $? = 0
configure:2918: test -s conftest
configure:2921: $? = 0
configure:2933: result: yes
configure:3029: checking for yp_get_default_domain in -lnsl
configure:3059: gcc -o conftest -g -O2 conftest.c -lnsl -lpthread >&5
configure:3065: $? = 0
configure:3068: test -z || test ! -s conftest.err
configure:3071: $? = 0
configure:3074: test -s conftest
configure:3077: $? = 0
configure:3090: result: yes
configure:3109: checking for request_init in -lwrap
configure:3139: gcc -o conftest -g -O2 conftest.c -lwrap -lnsl -lpthread >&5
configure:3145: $? = 0
configure:3148: test -z || test ! -s conftest.err
configure:3151: $? = 0
configure:3154: test -s conftest
configure:3157: $? = 0
configure:3170: result: yes
configure:3192: checking for EVP_DigestInit in -lcrypto
configure:3222: gcc -o conftest -g -O2 conftest.c -lcrypto -lwrap -lnsl -lpthread >&5
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
configure:3228: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBWRAP 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char EVP_DigestInit ();
| int
| main ()
| {
| EVP_DigestInit ();
| ;
| return 0;
| }
configure:3253: result: no
configure:3263: error: Can't compile without OpenSSL crypto library!!!


Can someone guide me on how to solve this problem? Thanks in advance...
# 2  
Old 12-17-2010
Do you have OpenSSL installed?

You can get binaries for most hosts for most open apps from trustworthy sources, if the configure/make gets too daunting.
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 12-17-2010
yes, I got OpenSSL installed.

[root@D04 ~]# rpm -qa | grep ssl
xmlsec1-openssl-1.2.6-3
openssl-0.9.7a-43.17.el4_6.1
# 4  
Old 12-17-2010
That's not enough to compile with openssl. Install openssl-devel. It's a fact of life on nearly any binary distro that you have to hunt these down and install them one by one...
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 12-18-2010
Thanks guys. I will give it a try

---------- Post updated at 12:28 AM ---------- Previous update was at 12:27 AM ----------

Thanks guys. I will give it a try..

---------- Post updated at 12:28 AM ---------- Previous update was at 12:28 AM ----------

thanks guys... a big thanks to you all. I managed to installed openssl-devel.

[root@D04 OpenSSL]# rpm -qa | grep ssl
xmlsec1-openssl-1.2.6-3
openssl-devel-0.9.7a-43.17.el4_8.6
openssl-0.9.7a-43.17.el4_8.6

---------- Post updated at 12:32 AM ---------- Previous update was at 12:28 AM ----------

now I can run ./configure

[root@D04 squirrelmail-imap_proxy-1.2.7]# ./configure
checking whether make sets $(MAKE)... yes
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 a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for connect... yes
checking for pthread_create in -lpthread... yes
checking for mmap... yes
checking for yp_get_default_domain in -lnsl... yes
checking for request_init in -lwrap... yes
checking for EVP_DigestInit in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for initscr in -lcurses... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for typedef nfds_t... yes
checking for an ANSI C-conforming const... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
[root@D04 squirrelmail-imap_proxy-1.2.7]#


I guess this should be ok.

---------- Post updated at 12:36 AM ---------- Previous update was at 12:32 AM ----------

A good link to find rpm for my case is h°t°t°p°:°/°/rpm.pbone°.°net/ (remove ° symbol) - sorry I cannot post link due to my post is less than 5.
# 6  
Old 12-20-2010
Yes, us hpux guys have a nice repository that tells us where the supporting binary or source is: Porting And Archive Centre For HP-UX Even for other platforms, it's not a bad reference.

Does red hat have this?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Configure HTTP proxy in SUMA

Hi, I am trying to configure an HTTP_PROXY so that suma can reach out beyond our intranet and pull updates from the IBM website. Currently, our suma config is the default as it's not been used before. When I attempt to issue the following command sudo suma... (7 Replies)
Discussion started by: JAR1
7 Replies

2. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies

3. Linux

how to configure Squid with ONE Network Card for cache and proxy

hello all, how i can configure Squid with ONE Network Card for cache and proxy as shown in image attached. (1 Reply)
Discussion started by: jazaib92
1 Replies

4. Solaris

proxy error..

hi am getting the following error when i run my application from solaris.. Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request http://192.168.1.38:8083/JPCMS/. Reason: Could not connect to remote machine:... (0 Replies)
Discussion started by: senkerth
0 Replies

5. Solaris

How to configure Proxy Server in Solaris 10 (X86)

Hi , I have installed solaris 10 on x 86 architecture. Now i want to configure this system as Proxy Server. I am new to the solaris. Please help me how can i configure this. Which packages or patches are needed ? or Which files have to be modify ? Please help me to resolve. Thanks and... (0 Replies)
Discussion started by: raviraj001
0 Replies

6. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

7. Red Hat

Squirrelmail Configuration

Hi all, please help me out i want to configure squirrelmail in RHEL 5 ( i have configured sendmail on the same server) plz tell me the ways to confiigure it,Pre-requisite 1) via rpm 2) via package i am pretty confused by the document on the internet which to apply.plz help me out . (1 Reply)
Discussion started by: saurabh84g
1 Replies

8. Red Hat

Squirrelmail Rhel5

Hi , I am trying for squirrelmail In Rhel 5 I have the Image of the DVD .But in that I can't Find the squirrelmail-1.4.2-1.noarch.rpm And i downloaded the same but it is not working . can anyone can give any link to download the same for Rhel5.?? Thanks (1 Reply)
Discussion started by: saurabh84g
1 Replies

9. UNIX for Dummies Questions & Answers

DNS Proxy Error

hello guys, i need a US proxy , and PlanetLabs proxies dont let me access sites i need, so i use 8080 port proxies.. when i use a working proxy, it shows me this message on the internet screen: http://img128.imageshack.us/img128/1953/errorjpgor6.jpg Is there anyway i can fix this ? the proxy... (1 Reply)
Discussion started by: Yuvalz
1 Replies
Login or Register to Ask a Question