Re: wine asio

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

 



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@xxxxxxxxxx>
>> Sent: Apr 14, 2008 4:25 PM
>> To: wine-users@xxxxxxxxxx
>> Subject:   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@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
>>
>>
>>
>>
>>
> 
> 
> 
> 
> 



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux