pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39772: sysutils/syslog-ng broken on Solaris

>Number:         39772
>Category:       pkg
>Synopsis:       sysutils/syslog-ng broken on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 20 07:40:00 +0000 2008
>Originator:     Jörn Clausen
University of Bielefeld
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

sysutils/syslog-ng does not compile out of the box on Solaris. The problem is 
this from config.log:

configure:3118: checking for flex
configure:3134: found /usr/local/pkgsrc/pkgsrc-2008Q3/bin/flex
configure:3144: result: flex
configure:3157: checking for yywrap in -lfl
configure:3187: gcc -o conftest -O -I/usr/local/pkgsrc/pkgsrc-2008Q3/include 
-I/usr/local/pkgsrc/pkgsrc-2008Q3/gcc34/include -I/usr/include -I/usr
-I/usr/local/pkgsrc/pkgsrc-2008Q3/gcc34/include -I/usr/include 
n/../lib -lnsl -lsocket -L/usr/local/pkgsrc/pkgsrc-2008Q3/lib 
b -L/usr/lib -Wl,-R/usr/lib conftest.c -lfl   >&5
ld: fatal: library -lfl: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status

Although flex is found in the pkgsrc tree, the search for -lfl is restricted to 
/usr/lib - which in turn only contains the Solaris' lex library libl.

Even using libl breaks later on, as the package insists on using the static 
version of the lex library, but Solaris only provides a dynamic one.


Home | Main Index | Thread Index | Old Index