winelib and compiling MFC

brian r randomaccess at canada-11.com
Mon Jul 9 11:19:50 CDT 2001


You are right about the quotes.  I was using single quotes to show explicitly what I gave for a command, however the single quote in:
 --cache-file='winemaker-config.txt
isn't in my script.  I.e., a mistake on my part and only in the email.  Any other ideas?  
>But when I run ./configure as:
>
>'./configure --with-wine=/usr/bin \
>--with-wine-includes=/usr/include/wine \
>--without-wine-libraries \
>--prefix=./noarch \
>--exec-prefix=./linuxarch \
>--with-x \
>--cache-file='winemaker_config.txt'
>It exits and returns 
>'configure: warning: --with-wine-includes=/usr/include/wine: invalid host type
>configure: error: can only configure for one host and one target at a time'
>
>My questions are:
>1. Do I need to specify the wine libraries for configure or is that what I am making by compiling MFC?
>
>2. 'configure --help' says HOST is guessed by default, but what are my options if I want to specify the HOST?
>
>
>
>
>_____________________________________________________________
>Sign up for FREE email from canada-11 at http://www.canada-11.com
>
>
>--__--__--
>
>Message: 2
>Date: Fri, 6 Jul 2001 12:42:07 -0700 (PDT)
>From: Francois Gouget <fgouget at free.fr>
>To: wine-users <wine-users at winehq.com>
>Subject: Re: winelib and compiling MFC
>Reply-To: wine-users at winehq.com
>
>On Fri, 6 Jul 2001, bri r wrote:
>
>> Hi,
>> The company I work for, has asked me to use winelib to port some code, however I have a problem compiling the MFC.  I run 
>> winemaker 0.5.7
>> with options:
>> 
>> 'winemaker --lower-uppercase -nomfc --dll ./ > \ winemaker_output.txt'
>> 
>> No errors in file or stderror; further winemaker accesses the correct directories.
>> 
>> But when I run ./configure as:
>> 
>> './configure --with-wine=/usr/bin \
>> --with-wine-includes=/usr/include/wine \
>> --without-wine-libraries \
>> --prefix=./noarch \
>> --exec-prefix=./linuxarch \
>> --with-x \
>> --cache-file='winemaker_config.txt'
>> It exits and returns 
>> 'configure: warning: --with-wine-includes=/usr/include/wine: invalid host type
>> configure: error: can only configure for one host and one target at a time'
>> 
>> My questions are:
>> 1. Do I need to specify the wine libraries for configure or is that
>> what I am making by compiling MFC?
>
>   You need to specify where the wine libraries are because you'll need
>to link the MFC library with them.
>
>
>> 2. 'configure --help' says HOST is guessed by default, but what are
>> my options if I want to specify the HOST?
>
>   I tried this command on some Winelib sources here and I got 'Could
>not find the Wine includes' which is what I expected since th eWine
>includes are not here on my computer.
>   Are you sure the above command is the exact command you typed? Didn't
>you have some quoting problem? Already above I see strange single
>quotes.
>
>> --cache-file='winemaker_config.txt'
>               ^                    ^
>
>   configure displays the message you got when it finds more than one
>command line parameter which is not a known option. I get this error if
>I type 'configure foo bar' for instance.
>
>
>--
>Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
>                            1 + e ^ ( i * pi ) = 0
>

_____________________________________________________________
Sign up for FREE email from canada-11 at http://www.canada-11.com




More information about the wine-users mailing list