DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43337>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43337

           Summary: Build of htpasswd in support directory fails on OpenBSD
                    4.1.
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Build of htpasswd in support directory fails on OpenBSD 4.1.

Configure-command used:
cd httpd-2.2.6
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most \
--enable-suexec --with-suexec-docroot=/home/www \
--with-suexec-userdir=public_html \
--with-suexec-bin=/usr/local/apache2/bin/suexec \
--with-suexec-caller=www --enable-so --with-included-apr

When building reaches the support directory (build of htpasswd), ld fails with:
/usr/local/src/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g -O2
-pthread        -o htpasswd  htpasswd.lo   -lm
/usr/local/src/httpd-2.2.6/srclib/pcre/libpcre.la
/usr/local/src/httpd-2.2.6/srclib/apr-util/libaprutil-1.la -lexpat -liconv
/usr/local/src/httpd-2.2.6/srclib/apr/libapr-1.la -lpthread
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/local/src/httpd-2.2.6/support (line 39 of Makefile).
*** Error code 1

Stop in /usr/local/src/httpd-2.2.6/support (line 90 of
/usr/local/src/httpd-2.2.6/build/rules.mk).

Manually inserting the missing -L/usr/local/lib (which was automatically
detected configuring httpd 2.2.4) solves this problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to