[Wine] wine asio
Peter L Jones
gmane at drealm.info
Tue Apr 15 13:11:20 CDT 2008
Should I put some Makefile Magic in place to detect which PREFIX to set, rather
than making it something that needs editing?
I'm fairly sure I can get it to test the existence of /usr/include/wine or
/usr/local/include/wine and set appropriately. I might even be able to abort
if neither is found.
(Does "make PREFIX=/usr/local" work..?)
Regards,
-- Peter
Susan Cragin wrote:
> Thank you. That seems to have done the trick.
>
> -----Original Message-----
>> From: billstei <wineforum-user at winehq.org>
>> Sent: Apr 14, 2008 4:25 PM
>> To: wine-users at winehq.org
>> Subject: [Wine] Re: wine asio
>>
>> Ok line 3 of the wineasio Makefile in the wineasio directory has a line like this:
>>
>> PREFIX = /usr
>>
>> and for you, I think your wine headers are in /usr/local so you will need to edit that line in the Makefile to reflect this (see the README file). If you look at your gcc call:
>>
>> susan at ubuntu:~/wineasio$ sudo make
>> gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o asio.o asio.c
>>
>> You see the -I/usr/include/wine is not pointing to the right place which would be -I/usr/local/include/wine
>>
>> Hopefully that will fix it. :)
>>
>> Bill
>>
>>
>>
>>
>>
>
>
>
>
>
More information about the wine-users
mailing list