LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-29-2004, 09:47 AM   #1
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
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)


 
Old 05-29-2004, 11:11 AM   #2
Ironica
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 64

Rep: Reputation: 15
Need a little more information than "it doesn't work" =P

What exactly is the problem? You getting an error or something? Post it!
 
Old 05-29-2004, 10:18 PM   #3
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 05-29-2004, 10:21 PM   #4
badMojo52
LQ Newbie
 
Registered: Jul 2003
Distribution: Almighty Gentoo Linux
Posts: 6

Rep: Reputation: 0
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.
 
Old 05-29-2004, 11:24 PM   #5
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 05-30-2004, 12:08 AM   #6
bureado
Member
 
Registered: Oct 2003
Location: Caracas
Distribution: Knoppix 3.3 (Debian sarge/sid)
Posts: 72

Rep: Reputation: 15
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
 
Old 05-30-2004, 12:24 AM   #7
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I didn't think Mandrake read RPM though
 
Old 05-30-2004, 02:58 AM   #8
sandman
Member
 
Registered: Sep 2002
Distribution: arch
Posts: 232

Rep: Reputation: 30
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)
 
Old 05-30-2004, 05:05 AM   #9
Da_Necromancer
LQ Newbie
 
Registered: Apr 2004
Distribution: Mac OS X
Posts: 20

Rep: Reputation: 0
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!
 
Old 05-30-2004, 06:40 AM   #10
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 05-30-2004, 07:44 AM   #11
Da_Necromancer
LQ Newbie
 
Registered: Apr 2004
Distribution: Mac OS X
Posts: 20

Rep: Reputation: 0
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 :
 
Old 05-30-2004, 06:53 PM   #12
Nashy
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
a few windows apps I am comfortable with.

Winamp
Actual MSN Messenger
Net Limiter
 
Old 05-31-2004, 09:36 PM   #13
askjeffro
LQ Newbie
 
Registered: May 2004
Location: Indiana
Distribution: Mandrake/Slack 10.1
Posts: 27

Rep: Reputation: 15
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?
 
Old 06-01-2004, 04:18 AM   #14
Da_Necromancer
LQ Newbie
 
Registered: Apr 2004
Distribution: Mac OS X
Posts: 20

Rep: Reputation: 0
Lightbulb

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.!
 
Old 06-01-2004, 12:05 PM   #15
askjeffro
LQ Newbie
 
Registered: May 2004
Location: Indiana
Distribution: Mandrake/Slack 10.1
Posts: 27

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Total NewB please Help? whitewizzard64 Linux - Networking 2 05-13-2005 09:53 AM
Total Newb with Mandrake 9,1 Sidewinda Linux - Software 1 05-20-2004 09:17 AM
Total newb. please help me Impactor Linux - Newbie 24 03-05-2004 06:54 AM
need Help with everything total newb EyeSeven Linux - Newbie 3 10-15-2003 01:14 AM
Total Newb wdowning Linux - Newbie 5 10-05-2002 11:38 PM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration