Project

General

Profile

Actions

Bug #2790

closed

Unable to compile Lighttpd with OpenSSL 1.0.2x

Added by mozart27 about 7 years ago. Updated about 7 years ago.

Status:
Invalid
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

Hi,

This is my first post on the board, very happy to do so.

I am trying to compile Lighttpd with OpenSSL 1.0.2x.

I get the following error:

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -module -export-dynamic -avoid-version -L/usr/local/apps/lib -L/usr/local/apps/lib -L/usr/local/apps/lib -o mod_compress.la -rpath /usr/local/apps/lighttpd/lib mod_compress.lo -lz -L -lbz2 -lrt
libtool: error: require no space between '-L' and '-lbz2'
make3: * [mod_compress.la] Error 1
make3: Leaving directory `/setups/src/lighttpd-1.4.45/src'
make2:
[all] Error 2
make1:
[all-recursive] Error 1
make: *
[all] Error 2
make2: Leaving directory `/setups/src/lighttpd-1.4.45/src'
make1: Leaving directory `/setups/src/lighttpd-1.4.45'
stat: No such file or directory

I am unable to debug or make sense even after googling for hours.

In case if something is wrong with my configure command you can check it below :

PCRE_LIB="-L$PPS_PATH/lib -lpcre" PCRECONFIG=$PPS_PATH/bin/pcre-config LDFLAGS="-L$PPS_PATH/lib" CPPFLAGS="-I$PPS_PATH/include -DHAVE_PCRE_H=1 -DHAVE_LIBPCRE=1" ./configure
--prefix=$PATH_LIGHTTPD \
--exec-prefix=$PATH_LIGHTTPD \
--bindir=$PATH_LIGHTTPD/bin \
--localstatedir=$PATH_LIGHTTPD/var \
--sysconfdir=$PATH_LIGHTTPD/etc \
--with-pcre \
--with-zlib \
--with-bzip2=$PSS_PATH \
--with-mysqli=$PATH_MYSQL/bin/mysql_config \
--with-openssl=$PPS_PATH \
--with-openssl-libs=$PPS_PATH/lib && make && make install >> $LOG 2>&1

Also you can check my openssl configure command below :

LDFLAGS="-L$PPS_PATH/lib" CPPFLAGS="-I$PPS_PATH/include" ./config
--prefix=$PPS_PATH \
--openssldir=$PPS_PATH/etc/openssl shared && make && make install >> $LOG 2>&1

Please help me in resolving this issue.

Actions #1

Updated by gstrauss about 7 years ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.x)

--with-bzip2=$PSS_PATH

Please ensure that $PSS_PATH is set (and not empty)

This is not a bug. Questions can be asked in the forums: https://redmine.lighttpd.net/projects/lighttpd/boards/2

Actions

Also available in: Atom