From owner-freebsd-hackers Tue Apr 20 6:35:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id C658114FEA for ; Tue, 20 Apr 1999 06:35:32 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id IAA10963; Tue, 20 Apr 1999 08:48:53 -0500 (EST) Date: Tue, 20 Apr 1999 08:48:52 -0500 (EST) From: Alfred Perlstein To: Conrad Sabatier Cc: hackers@FreeBSD.ORG, Jean-Louis Thirot Subject: Re: FW: Re: TkWine setup under FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 20 Apr 1999, Conrad Sabatier wrote: > The following is a message I sent to the author of "TkWine", a nice tool > for downloading, configuring, building. installing and running Wine, which > unfortunately, doesn't work on FreeBSD! > > I'm really not knowledgeable enough to provide the information he requested > in response, so I thought this might be a good place to ask. :-) > > I've Cc'ed this message to the author, to include him in any discussion > that arises. He seems genuinely interested in getting this thing to work > under FreeBSD. > > Thanks, > > Conrad He's asking how to get the number of processors in a FreeBSD system. If he must know this then he can take the output of: `sysctl -n hw.ncpu` that will give him the number of CPUs in a FreeBSD box. If he has any other questions, or you wish to post a URL to his program I can show him other ways of getting this system dependant information from FreeBSD. i think the uname he wants from freebsd is: uname -srm which on my box is: FreeBSD 4.0-CURRENT i386 (this is the experimental version of freebsd, akin to the odd numbered kernel releases of linux) on a non-developemental version he should expect FreeBSD 3.[0-9](\.[0-9])?-STABLE i386 meaning 3.0, 3.1, 3.2, 3.2.1 i think he should really just grab the output of "uname" which is "FreeBSD" most freebsd systems behave the same way. -Alfred > > -----FW: <371C57D6.DDE280A4@univ-brest.fr>----- > > Date: Tue, 20 Apr 1999 12:32:54 +0200 > Sender: jl@sdt.univ-brest.fr > From: Jean-Louis Thirot > To: Conrad Sabatier > Subject: Re: TkWine setup under FreeBSD > > Conrad Sabatier wrote: > > > "TkWine was intended to be used on any unix computer. It only makes > > calls to basic shell commands and wish." > > > > So says your web page. Unfortunately, the calls to > > grep the /proc filesystem are quite Linux-centric, and fail miserably > > under FreeBSD. > > > > Are they really necessary? > > > > Hi Conrad, > > Hmm, I'm not really suprised with this pb. I could avoid this error > easily, but I prefer to know when it causes pb and fix it. Why do I need > this? Because I provide an option for make in parallel on bi(or more) > processors. This makes make much faster if it succed (ie the > dependencies are written well in Makefiles...). > > So, better than switching the multi processor detection under FreeBSD, > I'd prefer to find a way to make it working. > As I don't have FreeBSD, I need your help. > > What I need is: > output of uname -a from freeBSD > and > how do you know the # of processors under FreeBSD ? > > uname probably has an option for that. man uname > > /tmp/uname.FreeBSD.man and send me the file would be great, or find > out how it works and let me know. > > I really want to make it working on any unix suystem... but I can't test > myself... > > Great if you can help FreeBSD to be added to the list of supported > systems..... but be aware that, once this one is fixed, we still can > encouter other pb (I know at least 2 places with critical > instructions...) > > Thanks for using it and for your report. > Jean-Louis > > > --------------End of forwarded message------------------------- > > -- > Conrad Sabatier > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message