hey all.
I have SuSE 9.3 with OpenSSL 0.9.8a installed in /usr/local/ssl/bin/openssl. I have installed a number of programs, including OpenSSL, OpenSSH, rssh, and I never had any programs with the compiler. Now I'm trying to install OpenVPN 2.0.5. When I do ./configure I get an error message indicating that the program can't find my ssl. So I tried compiling with the following directive:
Code:
./configure --with-ssl-headers=/usr/local/ssl/bin/openssl
But, when I do that I get an error message:
Code:
configure: error: C compiler cannot create executables
What makes it stranger is that when I compile it without the --with-ssl-headers directive, the configuration goes through the part where it checks for gcc and c compiler. This is the code when I do a simple ./compile
Code:
checking whether build environment is sane... yes
checking for gawk... gawk
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
and this is the code when I compile with the ./configure --with-ssl-headers=/usr/local/ssl/bin/openssl directive
Code:
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Below is the portion of 'config.log' file pertaining to the error. I look through it but I didn't really find anything. I looked through the linuxquestions.org database but I didn't find anything similar to my problem. Could anyone help please? Thank you.
Code:
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2637: $? = 0
configure:2639: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/lo
cal --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,a
da --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
configure:2642: $? = 0
configure:2644: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2647: $? = 1
configure:2670: checking for C compiler default output file name
configure:2673: gcc -I/usr/local/ssl/bin/openssl -I. conftest.c >&5
cc1: /usr/local/ssl/bin/openssl: Not a directory
configure:2676: $? = 1
configure: failed program was:
| /* confdefs.h. */