Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While in the winex source directory i issue /tools/wineinstall and it does through compiling and installing it, then it comes to tell me if i want to create a ~/wine/config file or something, and if i want to create a fake c drive, and i say yes to both but this happens:
Code:
This bit here is just a part of the end of the compiling, im not sure if it helps at all...
make[1]: Leaving directory `/root/wine/unicode'
/sbin/ldconfig
Creation of a global config file is not supported in wineinstall at this
time. When the configuration architecture is cleaned up this functionality
will be restored to wineinstall.
You are running as root. Do you want a local config file,
file, ~/.wine/config, created?
(yes/no) yes
Searching for an existing Windows installation... not found. (no matching /etc/fstab mount entry found)
Windows was not found on your system, so I assume you want
a Wine-only installation. Am I correct?
(yes/no) yes
Configuring Wine without Windows.
Some fake Windows directories must be created, to hold any .ini files, DLLs,
start menu entries, and other things your applications may need to install.
Where would you like your fake C drive to be placed?
(default is /c) /c
Configuring Wine for a no-windows install in /c...
Created /root/.wine/config using default Wine configuration.
You probably want to review the file, though.
Compiling regapi...
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT -D_REENTRANT -o regapi.o regapi.c
ld -r regapi.o -o regapi.tmp.o
strip --strip-unneeded regapi.tmp.o
LD_LIBRARY_PATH="../../unicode:$LD_LIBRARY_PATH" ../../tools/winebuild/winebuild -fPIC -L../../dlls -sym regapi.tmp.o -o regapi.spec.c -spec ./regapi.spec
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT -D_REENTRANT -o regapi.spec.o regapi.spec.c
gcc -shared -Wl,-Bsymbolic regapi.spec.o regapi.o -o regapi.so -L../../library -lwine -lm
rm -f regapi && ln -s ../../wine regapi
Preparing to install default Wine registry entries...
Installing default Wine registry entries...
Could not stat /root/.transgaming/c_drive (No such file or directory), ignoring drive C:
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) '/root/.wine/config'
Registry install failed.
now, WTF?! could not stat /root/.transgaming/c_drive...errrrr, i bloody told it to use /c?!!!
anybody else experienced this or know how to fix it?
im searching google right now for some possibly answers too...
I've tried doing that....it asks me if i want it to create the config file, so i say yes, then it hits the next prompt asking where it should create the fake c drive, and while at this prompt ive tried jumping into the file and changing it, but the changes don't get recognised and it gets over-ridden with the screwed up copy again...
and i can't edit the file just after the installation because the install fails and quits after it can't find the fake c drive, so it doesn't install the registry...
nah its looking for /root/.transgaming/c_drive so normal users won't be able to use WineX if i allow it to continue installing under the root directory...
Can't you just make that directory accessible by normal users by chaning its permissions....or just log into the user you wish, then install it from them, doing 'su' when required?
thats how i did install it, i logged in normally via my user account and su'd and ran ./tools/wineinstall
also, id like the path to be in /c anyway, and even the folder wouldn't be accessable anyway if i changed the permissions to 777 or chowned to my user it still wouldn't allow me because its inside the root dir which is chowned to 600...so itll still be denied
hmm, ill try linking it from /root/.transgaming/c_drive to /c
also, i should mention that even though its trying to find /root/.transgaming/c_drive it still created /c...
EDIT: in my looking, i found .wine, not a .transgaming...im bloody confused as to why everything is stuffed up...why its even looking for a ~/.transgaming instead of a ~/.wine when it still created the ~/.wine dir...
Last edited by Grim Reaper; 11-06-2002 at 01:32 AM.
yeah, positive.
I'm following this guide: http://www.linuxfusion.net/installwine.htm
and this is how i downloaded winex:
$ cvs -dserver:anonymous@cvs.winex.sourceforce.net:/cvsroot/winex login
(You will be asked for a password, just hit enter on it)
$ cvs -z3 -dserver:anonymous@cvs.winex.sourceforge.net:/cvsroot/winex co wine
EDIT: ok as i was installing it again i saw this:
You are running as root. Do you want a local config file,
file, ~/.wine/config, created?
well, that explains the ~/.wine/ directory...but still, i don't have a clue why its looking for the /root/.transgaming/c_drive when i told it to use /c, and ive even sym linked .transgaming to /c, and it still gave me that error...
Last edited by Grim Reaper; 11-06-2002 at 02:05 AM.
yeah, i wasn't going to go thru the hassels of paying for it if it turned out to be not that great, so i thought id try this one first and then if it did work good id pay for the other copy...but i was under the impression they were both the same?
i tried searching around, for the same path that its trying to install into, even WineX CVS, anything like that, but nothing relevant came up...
I wouldn't suggest changing perm's on root's home directory, or sub's of it. And even if you give perm's on a sub directory, if the user doesn't have perm's on the above directory (/root) then they can't get it anyway, short of a chroot.
I wish I could mimick your situation, then I could help more, but for me it was as simple as ./tools/wineinstall and it set all the things up as I wanted, for each user...
Maybe that's it. Ok, you are doing that as root, finish that up, switch to a user and try running it as a user. You will need a .wine directory in each users homes (~). This is the "fake" C: drive.
this is reall friggin (soz for language) annoying!
it seems nobody else is having a problem, yet they did it EXACTLY how i have!! ARGH
Did you download the same version/way i did MasterC?
Did u install from the CLI? Under what user?
When it asked you where do you want to create the fake c drive, did you say under /c or /home/user/c?
Any other options u may have set beforehand?
Edit: ok i edited the config file or something, and said no i don't want to replace it, then it said "Installation Complete" but it didn't have any lines saying something like "Installing Registry" etc...can somebody point me to a file that defiently works, because ive tried a couple that were on my HDD already, but they didn't run...is there anything that comes with wine to test it out?
Edit Again: here is a link to my wine config file (http://jericho.ath.cx/wine.config) that i edited...coud somebody please post a copy of theirs?
Last edited by Grim Reaper; 11-07-2002 at 01:07 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.