httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Edwards" <chris.edwa...@obinet.com>
Subject Re: [users@httpd] Compiling Apache with OpenSSL
Date Thu, 04 Dec 2003 20:08:17 GMT
Hi

Check what your typing....

awmisc.txt !=  amisc.txt


-- 
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
chris.edwards@obinet.com
http://www.OuterBanksInternet.com

----- Original Message ----- 
From: "Andrew Wheeler" <awheeler@pacbell.net>
To: <mailto:>
Sent: Thursday, December 04, 2003 2:56 PM
Subject: [users@httpd] Compiling Apache with OpenSSL


> I am fairly new to writing to mailing lists so my apologies in advance if
I
> don't conform to all conventions.
>
> My question is perhaps not for this list but if that is the case I don't
> know where to ask.
>
> I found a web site that gave directions for compiling apache with MySQL,
> PHP4 and OpenSSL. I am running into problems compiling OpenSSL. When I run
> make the output complains that I don't have the a c compiler. I do have a
c
> compiler gcc296 that came with my RedHat Distribution. I believe the
> problem lies in my lack of knowledge of the config script and how to
modify
> said script to accept my compiler. When compiling apache I can set the
> compiler as a parameter when running the configure script. I tried the
same
> when running the config script for OpenSSL with no luck.
>
> I think I need to modify the section of the script listed below.
>
>
> [awheeler@localhost openssl-0.9.7c]$ less awmisc.txt
> awmisc.txt: No such file or directory
> [awheeler@localhost openssl-0.9.7c]$ ls a*
> amisc.txt
> [awheeler@localhost local]$ cd src
> [awheeler@localhost src]$ cd openssl-0.9.7c
> [awheeler@localhost openssl-0.9.7c]$ ls
> amisc.txt       crypto   install.com    MacOS             openssl.doxy
shlib
> apps            demos    INSTALL.DJGPP  Makefile          openssl.spec
ssl
> bugs            doc      INSTALL.MacOS  Makefile.org      os2
test
> certs           e_os2.h  INSTALL.OS2    Makefile.ssl      perl
times
> CHANGES         e_os.h   INSTALL.VMS    Makefile.ssl.bak  PROBLEMS
tools
> CHANGES.SSLeay  FAQ      INSTALL.W32    makevms.com       README
util
> config          include  INSTALL.WCE    ms                README.ASN1
VMS
> Configure       INSTALL  LICENSE        NEWS              README.ENGINE
> [awheeler@localhost openssl-0.9.7c]$ less amisc.txt
>
>
>
>
>
>
>
>
>
>
>
>
> # figure out if gcc is available and if so we use it otherwise
> # we fallback to whatever cc does on the system
> GCCVER=`(gcc -dumpversion) 2>/dev/null`
> if [ "$GCCVER" != "" ]; then
>    CC=gcc
>    # then strip off whatever prefix egcs prepends the number with...
>    # Hopefully, this will work for any future prefixes as well.
>    GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
>    # Since gcc 3.1 gcc --version behaviour has changed.  gcc -dumpversion
>    # does give us what we want though, so we use that.  We just just the
>    # major and minor version numbers.
>    # peak single digit before and after first dot, e.g. 2.95.1 gives 29
>    GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
> else
>    CC=cc
> fi
> GCCVER=${GCCVER:-0}
> if [ "$SYSTEM" = "HP-UX" ];then
>    # By default gcc is a ILP32 compiler (with long long == 64).
>    GCC_BITS="32"
>
>
>
> Any help would be greatly appreciated.
>
> Andrew
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message