PDA

View Full Version : Hal ----Xorg server


pe3sos
April 14th, 2009, 07:48
Hy,
I try to install
/usr/ports/sysutils/hal
undefined reference to 'hf_usb2_handler'....


try to install
/usr/ports/x11-servers/xorg-server/

HAL hotplug API requested,but hal is not installed



PS. After I reistall freebsd

any ideea?

SirDice
April 14th, 2009, 08:30
What version of fbsd are you running?

Is your ports tree up to date?

pe3sos
April 14th, 2009, 08:34
Ports are up to date
#uname -a
FreeBSD 127.0.0.1 8.0-CURRENT-200902 FreeBSD 8.0-CURRENT-200902 #1: Mon Apr 13 17:18:21 EEST 2009 root@127.0.0.1:/usr/src/sys/amd64/compile/ZAreol amd64

SirDice
April 14th, 2009, 09:09
Ports are up to date

Are you sure? Hal should have a check to see if you're on 8 because of the new USB stack:


.if ${OSVERSION} >= 800063
PLIST_SUB+= USB2=""
.else
PLIST_SUB+= USB2="@comment "
.endif

pe3sos
April 14th, 2009, 09:16
Hy, two days ago

i portsnap fetch

portsnap extract

portsnap update


and at pkg_version -v

all aplications = up-to-date with port

FryShadow
April 15th, 2009, 15:57
I just simply enable HAL in rc.conf in fbsd 7.1


hald_enable="YES"

fronclynne
April 15th, 2009, 19:41
NB: you'll have better luck if you upgrade to a recent -CURRENT (sometime after very late march, iirc)
Then# pkg_delete /var/db/pkg/libusb\*
# pkgdb -F
# cd /usr/src && make delete-old && make delete-old-libs
Finally rebuild (open the pod-bay doors)hal and everything else you broke there (hopefully not much).