ports/105863: module load error occurs lighttpd WITH_CML=YES

Jun MUKAI mukai at jmuk.org
Sun Nov 26 11:10:07 UTC 2006


>Number:         105863
>Category:       ports
>Synopsis:       module load error occurs lighttpd WITH_CML=YES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 26 11:10:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jun MUKAI
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Keio University
>Environment:
System: FreeBSD ceylon.jmuk.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Sep 29 16:51:39 JST 2006 root at ceylon.jmuk.org:/usr/obj/usr/src/sys/DEDI i386
>Description:
	When lighttpd is built WITH_CML=YES, the lighttpd cannot start because of load error of cml module.  This error is came from the mistake of the LUA_LIBS flag in Makefile.
>How-To-Repeat:
	# cd /usr/ports/www/lighttpd
	# make install WITH_CML=YES
        # vi /usr/local/etc/lighttpd.conf
        edit conf file to activate mod_cml
	# /usr/local/etc/rc.d/lighttpd.sh start
>Fix:
diff -ru lighttpd.org/Makefile lighttpd/Makefile
--- lighttpd.org/Makefile       Sun Nov 26 20:02:49 2006
+++ lighttpd/Makefile   Wed Nov 22 20:59:21 2006
@@ -60,7 +60,7 @@
 .if defined(WITH_CML)
 USE_LUA=               yes
 CONFIGURE_ARGS+=       --with-lua
-CONFIGURE_ENV+=                LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR}"
+CONFIGURE_ENV+=                LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
 .endif

 .if defined(WITH_FAM)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list