need help installing wine...Please!

Neal Hamilton Jr. nealhamiltonjr at yahoo.com
Sat Dec 7 00:52:33 CST 2002


System: 1800+ athlon
OS: Redhat 8.0

I downloaded the latest tar.gz file from the homepage "wine-20021125" 
un-tared it via tar -zxvf  Wine-20021125.tar.gz.... then cd to 
wine-20021125. From the latter directory I try to run the 
./tools/wineinstall "as a user" and get this error:

[JoKeR at WhItEWidoW wine-20021125]$ ./tools/wineinstall
/bin/bash: /root/.bashrc: Permission denied
WINE Installer v0.74

Running configure...

./configure: line 85: conftest.sh: No such file or directory
./configure: line 86: conftest.sh: No such file or directory
chmod: failed to get attributes of `conftest.sh': No such file or directory
./configure: line 198: conf907.file: No such file or directory
./configure: line 945: config.log: No such file or directory

Configure failed, aborting install.
[JoKeR at WhItEWidoW wine-20021125]$


ok so i edit the wineinstall script...

I changed the whoami == 'root' to admin so the script would not bomb out 
when it saw it was running from root.


startup...

echo "WINE Installer v0.74"
echo

if [ "$BINDIST" = 'no' ]
then {

 if ! [ -f configure ]
 then {
   if [ -f ../configure ]
   then {
     pushd ..
   }
   else {
     echo "You're running this from the wrong directory."
     echo "Change to the Wine source's main directory and try again."
     exit 1
   }
   fi
 }
 fi      
 if [ `whoami` == 'admin' ]   then {
   echo "You are running wineinstall as root, this is not advisable. 
Please rerun as a user."
   echo "Aborting."
   exit 1



This got me future then running as a user ,"which would not run at 
all",  but stills has problems. When i run wineinstall now it starts 
doing its magic but stops with this error.

Compiling regedit...
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -g 
-O2 -Wall -mpreferred-stack-boundary=2  -fPIC -DSTRICT -DNONAMELESSUNION 
-DNONAMELESSSTRUCT  -D_REENTRANT -o regedit.o regedit.c
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -g 
-O2 -Wall -mpreferred-stack-boundary=2  -fPIC -DSTRICT -DNONAMELESSUNION 
-DNONAMELESSSTRUCT  -D_REENTRANT -o regproc.o regproc.c
cd ../../tools && make `basename ../../tools/winebuild/winebuild`
make[1]: Entering directory `/usr/wine-20021125/tools'
make[2]: Entering directory `/usr/wine-20021125/tools/winebuild'
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o import.o import.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o main.o main.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o parser.o parser.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o relay.o relay.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o res16.o res16.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o res32.o res32.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o spec16.o spec16.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o spec32.o spec32.c
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall 
-mpreferred-stack-boundary=2  -D__WINE__ -D_REENTRANT -o utils.o utils.c
gcc -g -O2 -Wall -mpreferred-stack-boundary=2  -o winebuild import.o 
main.o parser.o relay.o res16.o res32.o spec16.o spec32.o utils.o  
-L../../library -lwine -L../../unicode -lwine_unicode
sed -e 's, at PACKAGE_STRING\@,Wine 20021125,g' ./winebuild.man.in 
 >winebuild.man || rm -f winebuild.man
make[2]: Leaving directory `/usr/wine-20021125/tools/winebuild'
make[1]: Leaving directory `/usr/wine-20021125/tools'
LD_LIBRARY_PATH="../../library:../../unicode:$LD_LIBRARY_PATH" 
../../tools/winebuild/winebuild -fPIC -DSTRICT -DNONAMELESSUNION 
-DNONAMELESSSTRUCT  -o regedit.exe.dbg.c --debug -C. regedit.c regproc.c
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -g 
-O2 -Wall -mpreferred-stack-boundary=2  -fPIC -DSTRICT -DNONAMELESSUNION 
-DNONAMELESSSTRUCT  -D_REENTRANT -o regedit.exe.dbg.o regedit.exe.dbg.c
LD_LIBRARY_PATH="../../library:../../unicode:$LD_LIBRARY_PATH" 
../../tools/winebuild/winebuild -fPIC -DSTRICT -DNONAMELESSUNION 
-DNONAMELESSSTRUCT  -o regedit.exe.spec.c --exe regedit.exe -mgui  
regedit.o regproc.o  regedit.exe.dbg.o -L../../dlls  -lmsvcrt -ladvapi32 
-lkernel32
could not open .so file for msvcrt.dll
make: *** [regedit.exe.spec.c] Error 1

Preparing to install default Wine registry entries...
Installing default Wine registry entries...

./tools/wineinstall: line 616: programs/regedit/regedit: No such file or 
directory
Registry install failed.

whats going on? I have tried to follow the instructions and install via 
./tools/wineinstall as a regular user per the Readme and have tried 
installing as root.

Thanks for any help on this as i greatly appreciate it.




More information about the wine-users mailing list