Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 15:16:17 -0700 (PDT)
From:      yushunwa@isi.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19227: Installation problem: apache13-ssl port
Message-ID:  <20000612221617.D21B537B520@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19227
>Category:       ports
>Synopsis:       Installation problem: apache13-ssl port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 12 15:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Yu-Shun Wang
>Release:        3.4 Release
>Organization:
USC / ISI
>Environment:
FreeBSD 3.4 Release i386
>Description:
Got the following error message while installing apache13-ssl port:

...<snip>
===>  Configuring for apache+ssl-1.3.12.1.40
Configuring for Apache, Version 1.3.12 Ben-SSL/1.40
1.3.12
 + using installation path layout: GNU (config.layout)
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for FreeBSD 3.4 platform
 + setting C pre-processor to cc -E
 + checking for system header files
 + using custom target name: httpsd
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o db_auth_module uses ConfigStart/End
      using Berkeley-DB/1.x for mod_auth_db (-lc)
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc. 

cd ..; cc -DHARD_SERVER_LIMIT=512  -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"  -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char -DTARGET=\"httpsd\" -DUSE_EXPAT -I./lib/expat-lite -DAPACHE_SSL -O3 -pipe -funroll-loops -m486 -I/usr/local/include/openssl `./apaci`     -o helpers/dummy helpers/dummy.c   -lcrypt -L/usr/local/lib -lssl -lcrypto
/usr/local/lib/libcrypto.so: undefined reference to `ERR_load_RSAREF_strings'
/usr/local/lib/libcrypto.so: undefined reference to `RSA_PKCS1_RSAref'
*** Error code 1

Stop.
======== Error Output for sanity check ========
============= End of Error Report =============
===>  Building for apache+ssl-1.3.12.1.40
===> src
make: don't know how to make all. Stop
*** Error code 2

 Aborting!

>How-To-Repeat:
On a FreeBSD 3.4-Release box:
% cd /usr/ports/www/apache13-ssl
% make install

>Fix:
Apply the following patch to Makefile:

----CUT HERE------------------------------------------------------------
diff -u Makefile Makefile.work | more
--- Makefile    Fri Jun  9 15:16:11 2000
+++ Makefile.work       Fri Jun  9 17:23:37 2000
@@ -85,7 +85,8 @@
 
 CONFIGURE_ENV= OPTIM='${OPTIM}'
 .if defined(OPENSSL_RSAREF)
-CONFIGURE_ENV+=        EXTRA_SSL_LIBS="-L${OPENSSLLIB} -lRSAglue -L${LOCALBASE}
/lib -lrsaref"
+CONFIGURE_ENV+=        LIBS="-L${OPENSSLLIB} -lssl -lcrypto -lRSAglue -lrsaref"
+MAKE_ENV+=EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
 .else
 CONFIGURE_ENV+=        EXTRA_SSL_LIBS="-L${OPENSSLLIB} -L${LOCALBASE}/lib"
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000612221617.D21B537B520>