LinuxQuestions.org
Help answer threads with 0 replies.
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 09-01-2003, 01:14 PM   #1
dark_forests
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
Wine Installation Problems on Mdk 9


On mandrake 9.0 i got the latest source for wine got past the first step of installation from ./tools/wineinstall after thats done with i get this message
-------------------------------------------------------------------------------
I see that WINE has already been configured, so I'll skip that.

We need to install wine as root user, do you want us to build wine,
'su root' and install Wine? Enter 'no' to continue without installing
(yes/no) yes
--------------------------------------------------------------------------------
I entered yes, and no both and i get the same result which is below
________________________________________________________

/usr/local/lib doesn't exist in your /etc/ld.so.conf, it will be added
when we perform the install...

Compiling WINE. Grab a lunch or two, rent a video, or whatever,
in the meantime...

make[1]: Entering directory `/home/homeuser/wine-20030813/libs'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/homeuser/wine-20030813/libs'
make: *** [libs] Error 2
cd ./tools && make `basename tools/makedep`
make[1]: Entering directory `/home/homeuser/wine-20030813/tools'
gcc -c -I. -I. -I../include -I../include -DLEX_OUTPUT_ROOT="\"lex.yy\"" -DINCLUDEDIR="\"/usr/local/include/wine\"" -DBINDIR="\"/usr/local/bin\"" -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o makedep.o makedep.c
makedep.c:21:20: config.h: No such file or directory
In file included from makedep.c:23:
../include/wine/port.h:25:3: #error You must include config.h to use this headerIn file included from makedep.c:23:
../include/wine/port.h:50: conflicting types for `mode_t'
/usr/include/sys/types.h:71: previous declaration of `mode_t'
../include/wine/port.h:53: warning: redefinition of `off_t'
/usr/include/sys/types.h:87: warning: `off_t' previously declared here
../include/wine/port.h:56: warning: redefinition of `pid_t'
/usr/include/sys/types.h:99: warning: `pid_t' previously declared here
../include/wine/port.h:59: warning: redefinition of `size_t'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h:201: warning: `size_t' previously declared here
../include/wine/port.h:62: warning: redefinition of `ssize_t'
/usr/include/sys/types.h:109: warning: `ssize_t' previously declared here
makedep.c: In function `output_dependencies':
makedep.c:469: warning: implicit declaration of function `ftruncate'
make[1]: *** [makedep.o] Error 1
make[1]: Leaving directory `/home/homeuser/wine-20030813/tools'
make: *** [tools/makedep] Error 2

Compilation failed, aborting install
___________________________________________________________

im at a loss as for what to do, any help or ideas would be appreciated.
 
Old 09-01-2003, 07:58 PM   #2
dark_forests
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
I figured that part out finally and I created the .wine directory with Windows and and Program Files dir's and all that and then created /mnt/windows as the fake windows drive.

then when i try running a program like notepad for instance i get this error:
______________________________________________________________
Invalid path 'c:\windows' for windows directory: does not exist
Perhaps you have not properly edited or created your Wine configuration file.
This is (supposed to be) '/home/homeuser/.wine/config
______________________________________________________________

the conf file is in the .wine dir so
I dont know what to edit in the config file, do i have to make a "c" drive or move my windows dir?

Last edited by dark_forests; 09-01-2003 at 07:59 PM.
 
Old 09-01-2003, 08:44 PM   #3
JustAGuy
LQ Newbie
 
Registered: Aug 2003
Location: Arizona
Distribution: Mandrake 9.1
Posts: 17

Rep: Reputation: 0
Is there a $PATH$ statement in your wine config file that you might need to edit? I am not looking at an example right now, so pardon me for the fuzzy question...it seems that it is looking for a standard windows directory location, but obviously it is in /mnt/windows...? Lemme know if you find the solution...
 
Old 09-01-2003, 09:08 PM   #4
dark_forests
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
Okay this narrows my problem down here are the two main parts where i figure i need to change something in the config file which i guess have the path statement you were talking about hopefully.




[Drive C]
"Path" = "/mnt/windows"
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win98"

------------------------------------------------------------------------------------
(above is the fake windows drive that i created, and then i have

.wine/Windows/
.wine/Program Files/
etc.. in /home/homeuser dir which is my home directory hopefully this is the right place?)
------------------------------------------------------------------------------------

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

when i try to run wine its looking for c:\windows which i dont really understand? when it says "c:\" is it spose to refer to /mnt/windows or what?
i dont get if i need to make a c drive or what....

Last edited by dark_forests; 09-01-2003 at 09:33 PM.
 
Old 09-01-2003, 10:33 PM   #5
JustAGuy
LQ Newbie
 
Registered: Aug 2003
Location: Arizona
Distribution: Mandrake 9.1
Posts: 17

Rep: Reputation: 0
Hmm...try this link, and I think that the included section might help a bit....see if it works...it has some stuff about substituting drive letters, defining drives, etc.

http://www.witch.westfalen.de/Wine-H...html#NOWINDOWS

Example 5-3. Drive Substitution in Configuration file

[Drive H]
Path=/usr/local/lib/win
Type=network
Label=Windows
Filesystem=win95

[wine]
Windows=h:\windows
System=h:\windows\system
Temp=e:\
Path=h:\windows;h:\windows\system;h:\wine;e:\;f:\
SymbolTableFile=./wine.sym

;[Drive C]
Path=/dosc
; Give the mountpoint of your drive with
; your real windows installation
Type=hd
; real partition
Label=MS-DOS
; drive name
Filesystem=msdos
; Give file system als described above
; "msdos" for dos formattes drives (FAT16)
; "win95" for ext2fs, VFAT and FAT32
;
 
  


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
Mdk 2006 - GRUB installation problems iklesteve Mandriva 15 11-21-2005 08:53 AM
MDK 10.1 Installation Problems thekowgomoo Mandriva 9 03-20-2005 10:19 AM
Problems installing new ver. of wine on MDK10. MDK = TRASH! RHLinuxGUY Mandriva 4 07-06-2004 11:36 PM
mdk 10.0 3rd installation cd problems tank3208 Mandriva 2 03-11-2004 12:47 PM
wine installation problems Craneology Linux - Software 1 05-07-2003 10:26 PM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration