I was building the port, and hal / dbus were both installed. The funny
thing was that the first time I built the port, it didn't even get this
far, it said : "checking for hal/libhal.h... no", but if I checked in
/usr/local/include/hal, libhal.h was in there. Then I made a link to
/usr/include "ln -s /usr/local/include/hal /usr/include/hal" and was
able to get this far now.
I will cvsup again tonight and recheck this to confirm my findings though.
--
Kris Moore
PC-BSD Software
http://www.pcbsd.com
Tijl Coosemans wrote:
> On Wednesday 14 May 2008 22:03:35 Kris Moore wrote:
>> I'm trying to get Wine to compile with HAL support on FreeBSD, and
>> running into this error:
>>
>>> checking dbus/dbus.h usability... yes
>>> checking dbus/dbus.h presence... yes
>>> checking for dbus/dbus.h... yes
>>> checking hal/libhal.h usability... yes
>>> checking hal/libhal.h presence... yes
>>> checking for hal/libhal.h... yes
>>> checking for dbus_connection_close in -ldbus-1... no
>>> configure: error: libhal development files not found, no dynamic device
>>> support.
>>> This is an error since --with-hal was requested.
>> What exactly is -ldbus-1? Is there a way around this? Configure is
>> finding the dbus and hal headers properly, and they both work
>> properly on the system.
>
> Are you building using the wine port? Because that should autodetect
> HAL when it's installed. If you're not using the port and running
> configure yourself you probably need to set LDFLAGS. Something like:
>
> env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --verbose --with-hal
>
> !DSPAM:1,482bfef620034310919711!
>
>