LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine Installation Problems on Mdk 9 (https://www.linuxquestions.org/questions/linux-software-2/wine-installation-problems-on-mdk-9-a-88023/)

dark_forests 09-01-2003 12:14 PM

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.

dark_forests 09-01-2003 06:58 PM

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?

JustAGuy 09-01-2003 07:44 PM

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...

dark_forests 09-01-2003 08:08 PM

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....
:confused:

JustAGuy 09-01-2003 09:33 PM

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
;


All times are GMT -5. The time now is 04:52 AM.