pkgsrc-Users archive

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

Re: can't build avahi



On Wed, 07 Jan 2009 10:24:50 -0500
"Jared D. McNeill" <jmcneill%invisible.ca@localhost> wrote:

> Steven M. Bellovin wrote:
> > On Wed, 07 Jan 2009 10:10:27 -0500
> > "Jared D. McNeill" <jmcneill%invisible.ca@localhost> wrote:
> > 
> >> Steven M. Bellovin wrote:
> >>> On i386-current with pkgsrc HEAD, I get
> >>>
> >>>
> >>> => Running PRE-INSTALL script actions
> >>> ===========================================================================
> >>> The following users need to be created for avahi-0.6.23nb2:
> >>>
> >>>         user: /nonexistent, /nonexistent, /sbin/nologin
> >>>
> >>> ===========================================================================
> >>> *** Error code 1
> >> Your make is broken.
> >>
> > I.e., another of the problems with -current make?  Gotcha...  
> 
> You can work around it by changing the PKG_USERS line to:
> 
>    PKG_USERS= ${AVAHI_USER}:${AVAHI_GROUP}
> 
> Should probably be that anyway..
> 
I don't know about the "should" part, but it did indeed let me compile
avahi -- thanks.  Any similar magic to work on htdig-devel:

Making all in httools
c++ -DHAVE_CONFIG_H -I. -I. -I../include 
-DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\"  -I../include 
-I../htlib  -I../htnet -I../htcommon  -I../htword  -I../db -I../db  
-DSENDMAIL=\"/usr/sbin/sendmail - i -t\"    -I/usr/include  -O2 -I/usr/include 
-Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o htpurge.o `test -f 
'htpurge.cc' || echo './'`htpurge.cc
g++: i: No such file or directory
g++: unrecognized option '-t"'
g++: cannot specify -o with -c or -S with multiple files
*** Error code 1

It compiled just fine on 4.0...


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index