Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 20:07:32 +0900 (JST)
From:      Jun MUKAI <mukai@jmuk.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105863: module load error occurs lighttpd WITH_CML=YES
Message-ID:  <20061126110732.08B9E43DED@ceylon.jmuk.org>
Resent-Message-ID: <200611261110.kAQBA5xC033939@freefall.freebsd.org>

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

>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@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:



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