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
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

>Description:
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
/local/pkgsrc/pkgsrc-2008Q3/include 
-I/usr/local/pkgsrc/pkgsrc-2008Q3/gcc34/include -I/usr/include 
-L/software/local/pkgsrc/sunos5.10-x64/pkgsrc-2
008Q3/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6 
-Wl,-R/software/local/pkgsrc/sunos5.10-x64/pkgsrc-2008Q3/gcc34/bin/../lib/gcc/i386-pc-solaris
2.10/3.4.6 
-L/software/local/pkgsrc/sunos5.10-x64/pkgsrc-2008Q3/gcc34/bin/../lib 
-Wl,-R/software/local/pkgsrc/sunos5.10-x64/pkgsrc-2008Q3/gcc34/bi
n/../lib -lnsl -lsocket -L/usr/local/pkgsrc/pkgsrc-2008Q3/lib 
-Wl,-R/usr/local/pkgsrc/pkgsrc-2008Q3/lib 
-L/usr/local/pkgsrc/pkgsrc-2008Q3/gcc34/li
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.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index