pkgsrc-Bugs archive

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

pkg/40415: pkgsrc/net/libpcap fails to build on Solaris2.10 - configure error



>Number:         40415
>Category:       pkg
>Synopsis:       pkgsrc/net/libpcap fails to build on Solaris2.10 - configure 
>error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 16 16:10:06 +0000 2009
>Originator:     Rob Quinn
>Release:        Solaris2.10, pkgsrc-current
>Organization:
>Environment:
>Description:
pkgsrc/net/libpcap fails to compile (fails to configure) under Solaris 2.10.
>How-To-Repeat:
#bmake
[...]
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking whether ether_hostton is declared... yes
checking if --disable-protochain option is specified... enabled
./configure[6236]: syntax error at line 6659 : `newline or ;' unexpected
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for libpcap-1.0.0nb2
bmake: cannot open Makefile.

bmake: stopped in /usr/obj/pkg/net/libpcap/work/libpcap-1.0.0
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/libpcap
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/libpcap

>Fix:
Line 6659 of configure:

       for ac_header in
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`



  Is the list supposed to be empty, or is it another Solaris shell problem?  I 
notice bash and pdksh handle an empty list just fine.



Home | Main Index | Thread Index | Old Index