Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fc144ada
Commit
fc144ada
authored
Oct 15, 2002
by
Vincent Béron
Committed by
Alexandre Julliard
Oct 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually compile Wine even if not installing as root.
parent
16ae4e6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
16 deletions
+22
-16
wineinstall
tools/wineinstall
+22
-16
No files found.
tools/wineinstall
View file @
fc144ada
...
...
@@ -323,8 +323,9 @@ then {
echo
"We need to install wine as root user, do you want us to build wine,"
echo
"'su root' and install Wine? Enter 'no' to continue without installing"
conf_yesno_answer
"(yes/no) "
ROOTINSTALL
=
"
$ANSWER
"
if
[
"
$
ANSWER
"
=
"yes"
]
if
[
"
$
ROOTINSTALL
"
=
"yes"
]
then
{
# start out with the basic command
sucommand
=
"make install"
...
...
@@ -344,26 +345,31 @@ then {
# run ldconfig always just in case some updated files dont get linked
sucommand
=
"
$sucommand
;
$ac_cv_path_LDCONFIG
"
fi
}
fi
# [ "$ROOTINSTALL" = "yes" ]
echo
echo
echo
"Compiling WINE. Grab a lunch or two, rent a video, or whatever,"
echo
"in the meantime..."
echo
std_sleep
echo
"Compiling WINE. Grab a lunch or two, rent a video, or whatever,"
echo
"in the meantime..."
echo
std_sleep
# try to just make wine, if this fails 'make depend' and try to remake
if
!
{
make
;
}
# try to just make wine, if this fails 'make depend' and try to remake
if
!
{
make
;
}
then
{
if
!
{
make depend
&&
make
;
}
then
{
if
!
{
make depend
&&
make
;
}
then
{
echo
echo
"Compilation failed, aborting install."
exit
1
}
fi
echo
echo
"Compilation failed, aborting install."
exit
1
}
fi
}
fi
if
[
"
$ROOTINSTALL
"
=
"yes"
]
then
{
echo
echo
"Performing 'make install' as root to install binaries, enter root password"
...
...
@@ -415,7 +421,7 @@ then {
echo
"in your logon scripts."
echo
}
fi
fi
# [ "$ROOTINSTALL" = "yes" ]
}
fi
# [ `whoami` != 'root' ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment