LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Windows Apps - Total Newb (https://www.linuxquestions.org/questions/linux-software-2/windows-apps-total-newb-187324/)

Nashy 05-29-2004 09:47 AM

Windows Apps - Total Newb
 
I can't get Wine to work on Mandrake 10, I'm not sure if its me doing something wrong, or if it just won't work.

I really want to get some windows apps happening, but I'm really dumb when it comes to Linux.

How do I get the right version, and how do I get it running (wine):confused:


:newbie:

Ironica 05-29-2004 11:11 AM

Need a little more information than "it doesn't work" =P

What exactly is the problem? You getting an error or something? Post it!

Nashy 05-29-2004 10:18 PM

Sorry, here is my error when I try to run the Config from terminal


Code:

[nashy@localhost wine-20031016]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


badMojo52 05-29-2004 10:21 PM

You're going to need to install GCC, however I do not know how Mandrake's package manager/ment tools work(s).

I am a gentoo user, and in gentoo you would have to have GCC to even install the OS.

Nashy 05-29-2004 11:24 PM

Ok, configure it... got a new problem.

Asks me to type

Quote:

make depend && make
It does a heap of stuff, and then this is the last few lines.

Code:


make[2]: Entering directory `/home/nashy/Documents/Wine/wine-20031016/libs/uuid'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nashy/Documents/Wine/wine-20031016/libs/uuid'
make[2]: Entering directory `/home/nashy/Documents/Wine/wine-20031016/libs/wine'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nashy/Documents/Wine/wine-20031016/libs/wine'
make[2]: Entering directory `/home/nashy/Documents/Wine/wine-20031016/libs/wpp'
bison -y  -ppp -d -t ./ppy.y
make[2]: *** [y.tab.c] Broken pipe
make[2]: Leaving directory `/home/nashy/Documents/Wine/wine-20031016/libs/wpp'
make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/nashy/Documents/Wine/wine-20031016/libs'
make: *** [libs] Error 2


bureado 05-30-2004 12:08 AM

Read again your ./configure output to see if something is wrong. Are you trying to install WineX downloaded from CVS repository? Every time I tried, the build was faulty and I couldn't do anything. I would recommend you to download the RPM packages of Wine, which are not graphically-rock-solid but at least they don't have installation problems. They work to run Counter-Strike, however :p

Nashy 05-30-2004 12:24 AM

I didn't think Mandrake read RPM though

sandman 05-30-2004 02:58 AM

Quote:

Originally posted by Nashy
I didn't think Mandrake read RPM though
Sure it does, it is an rpm based distro. every program installed from your install disks are in rpm format. You should also be able to find wine rpms on your install disks if I am not mistaking( been awhile since I used mdk)

Da_Necromancer 05-30-2004 05:05 AM

to find the Wine RPM package for mandrake go to this web site.
http://sourceforge.net/project/showf...ckage_id=80066

once you download it, goto the command line.
'cd' into the directory where u downloaded it. e.g. /home/user
cd /home/user
rpm -ivh wine-xxxx-mdk.rpm

(replace the wine-xxx-mdk.rpm) with the actual filename of the RPM file)

Since Wine is still not a finished product you will find that its better to keep up with the latest version. This is because in every version more code is added which increases the reliability of programs that already run and even adds support for programs that didn't run earlier.

Goto www.winehq.org periodically and check for a new version. Wine's version number is the format of a date so its really easy to know if you have an up-to-date version.

to find out what your version of wine is... just type Wine on the command line.

You should also try www.frankscorner.org which includes small guides on how to run the most popular programs on windows using wine. he also has this useful tool called winetools which you should also check out.

hope this helped!

Nashy 05-30-2004 06:40 AM

I have it installed, but when I go to open an exe, it goes to the task bar saying "Opening Wine" and then goes away after a while:(

Da_Necromancer 05-30-2004 07:44 AM

OK i can tell that you're a little uncomfortable with the linux environment. but unfortunately as i said earlier wine is still an alpha or developers only release. which basically means that there are many bugs and unimplemented features in it.
Since wine shows up on the task-bar and disappears, i'm assuming that it has come across and error and has ended prematurely.
the best thing to do is to use the linux command line. cd into the directory of the windows program you want to run. then type wine application.exe where application.exe is the name of the executable. you would start seeing all sorts of messages on the console which would inform you of what wine is doing. this should be far more useful because then you would be able to find out what was wrong if wine were to prematurely exit.

bottom line is try to avoid using the GUI (i.e. Gnome or KDE) to run wine applications till you're pretty sure it works. This is because, if there was some problem, the GUI would just show wine starting up and mysteriously disappearing, giving you absolutely no information on what exactly happened.
BTW, what do you want to run using wine?

well... good luck ::)

Nashy 05-30-2004 06:53 PM

a few windows apps I am comfortable with.

Winamp
Actual MSN Messenger
Net Limiter

askjeffro 05-31-2004 09:36 PM

Nashy, There are many winamp substitutes available in Linux that you could use, the case is the same for MSN messenger, but I see you want to use the "actual" version...

I too am having issues getting WINE to work on 10.0 Official. I got Adboe Photoshop installed, but when I run I get the following problems:

"
[jeff@hawk-b-250 Photoshop 7.0]$ wine Photoshop.exe
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a28e0: spincount=20 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a2fa4: spincount=500 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a2aa4: spincount=500 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a2ca4: spincount=500 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a3028: spincount=500 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a314c: spincount=500 not supported
fixme:sync:SetCriticalSectionSpinCount critsection=0x418a31c8: spincount=50 not supported
fixme:actctx:QueryActCtxW stub!
fixme:actctx:QueryActCtxW stub!
fixme:actctx:QueryActCtxW stub!
fixme:actctx:QueryActCtxW stub!
fixme:actctx:QueryActCtxW stub!
fixme:actctx:QueryActCtxW stub!
[jeff@hawk-b-250 Photoshop 7.0]$
"

Any thoughts anyone?

Da_Necromancer 06-01-2004 04:18 AM

well from what i know of wine, getting a program to run pretty much depends on your 'dll' configuration. Wine is able to emulate many functions of windows dlls but as yet most of them are still unimplemented. to counter this, wine lets you load 'native' dlls i.e. dlls from an existing windows 98 installation instead of its own builtin dll.
(I suggest using windows 98 dlls, because they are the most likely to run under wine.)
instead of typing wine Photoshop.exe
type
WINEDEBUG=loaddll wine Photoshop.exe

If you are using an older version of wine... then type
wine Photoshop.exe --debugmsg +loaddll

this will print additional output on your screen informing you, of the dlls that wine is using. if you have a windows 98 installation on your computer, you can always copy over some of the dlls from that installation into your wine fake windows drive. edit your wine config file and change the 'DLL overide section'
so for e.g. you find that photoshop is using the builtin msvcrt.dll using the above command.
goto your windows installation and look for the dll in the system folder.
copy that folder into the system folder of your fake windows installation used by wine.
then edit wine config file
this is usually in %homedir%/.wine/config (replace %homedir% with the path to your home folder)

it is basically a text file with lots of options
find the [DLL overides section] and you should spot a line like this
"msvcrt" = "builtin, native"

change that order to read "native, builtin" and wine will start using the dll you just copied.

If all this seems infinitely confusing I strongly recommend that you go through the
Wine Documentation, which is a really great step-by-step guide on how to get your apps working.
this is the site: http://www.winehq.org/site/docs/wine-user/index

ok hope you find this helpful.!

askjeffro 06-01-2004 12:05 PM

Thanks, I will give it a going over later today. To my credit I have read the Wine FAQ info on getting stuff to run, and still to no avail. One thing hindering me is I do not have win98 install to draw from, only a 2000.

Thanks.


All times are GMT -5. The time now is 05:53 AM.