UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
I'm trying to install wine on the amd64 version of 6.06 using the instructions from the wine wiki. All seemed to go fine until I had to run the line ----- ./configure .... . This command returned the error msg ---- command not found ---. I've run into this ./ problem before and cannot figure out why it always gives me an error message and won't run on my Ubuntu. Is there a command, which I should be substituting for this in Ubuntu 6.06 or is there something not installed, which I should install first? I'm at a loss on this one. tia
"./" is not a command. When you prefix an executable with "./", you're simply telling the shell to run the executable in the current directory (for which . is shorthand). Are you in the directory in which the configure file is located? If not, cd to that directory (i.e. use the cd command to get there) and then try again. Does the package even come with a configure file? I don't know, as I've never used WINE. Also, are you sure there's not a pre-built package for Ubuntu?
Sorry for posting this twice. Saw the -be more descriptive- comment at top and didn't think it had gone through. Thanks for the "." info I'll try to get it right. There isn't a 64 bit package of wine and the 32 bit version won't install without adding and linking 32 bit libraries. I've been doing this via the instructions on Wine's wiki page for installation of wine on the Ubuntu 6.06 64 bit platform. I followed their step by step instructions and ran into the dead end at the ./ after linking the required libraries . I've just retried without the ./ (I'm in the /usr/lib directory, where I'm pretty sure I'm supposed to be and there's still no joy.
I guess it would be more helpful if I included the page link of the instructions I've been copying to do the install. I'm using the last set of instructions (for 6.06) and I didn't try to do the openGL linking because I didn't want to complicate things. The last shaded box of instructions is where I ran into difficulty. http://wiki.winehq.org/WineOn64bit#h...71d3f964cb670a
I'm not certain about this, but I seem to remember from when I was compiling something the other day, and it had a similar command for updating a different library path, the command was:
I know that package professes to be integral to 32-bit support. I haven't actually gotten anything 32-bit to work on my 64-bit workstation yet, but I haven't been trying, either ; )
Thanks for suggestions. I've tried redoing everything from scratch and tried using the two suggestions. Still won't work. After I enter the command exactly as typed in the linked page instructions I get the message bash: ./configure: No such file or directory. The initial linking I did seems to have gone through fine, but its still hanging at the ./configure . Here's what is showing in terminal:
thane@thane-desktop:~$ cd /usr/lib32
thane@thane-desktop:/usr/lib32$ sudo ln -s libX11.so.6 libX11.so
Password:
ln: creating symbolic link `libX11.so' to `libX11.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libXext.so.6 libXext.so
ln: creating symbolic link `libXext.so' to `libXext.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libfreetype.so.6 libfreetype.so
ln: creating symbolic link `libfreetype.so' to `libfreetype.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libz.so.1 libz.so
ln: creating symbolic link `libz.so' to `libz.so.1': File exists
thane@thane-desktop:/usr/lib32$ LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure
bash: ./configure: No such file or directory
thane@thane-desktop:/usr/lib32$ LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure
bash: ./configure: No such file or directory
thane@thane-desktop:/usr/lib32$ LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" && ./configure
bash: ./configure: No such file or directory
thane@thane-desktop:/usr/lib32$
Not sure about those errors from ln, but you're getting those "No such file or directory" errors because you're telling the shell to run a file called configure in the current directory. Either cd to the directory in which configure is located, or instead of using "./", use the full path to the file..
the configure script will be in the directory you extracted from the wine source code archive. cd to that directory before running the configure script
thane@thane-desktop:/usr/lib32$ sudo ln -s libX11.so.6 libX11.so
Password:
ln: creating symbolic link `libX11.so' to `libX11.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libXext.so.6 libXext.so
ln: creating symbolic link `libXext.so' to `libXext.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libfreetype.so.6 libfreetype.so
ln: creating symbolic link `libfreetype.so' to `libfreetype.so.6': File exists
thane@thane-desktop:/usr/lib32$ sudo ln -s libz.so.1 libz.so
ln: creating symbolic link `libz.so' to `libz.so.1': File exists
Are you trying to make a link called libX11.so.6, or a link called libX11.so? The command you were using creates a link called libX11.so that points to libX11.so.6. You may need to switch the order.
Many thanks to one and all for the suggestions. I finally wound up dumping my desktop-amd64 version and installing the desktop-i386 version - partly because I thought I'd first try the new beta version 6.10 update to my amd64 version (that process lost my nautilus for me during the upgrade and forced this noob to do everything from the terminal- not quite a pretty sight yet). Thought maybe there'd be something new in 6.10, which might sort out part of my problem. I had pretty much decided by that point to go the 6.06 i386 route anyway. Your suggestions did however really help in learning my way around the system a bit better - much appreciated. I must say that the i386 reinstall was very impressive! I was expecting to have to completely set up my dual-boot again, do a complete reformat,etc, etc and before I knew it my Ubuntu was up and running having figured everything out on its own in an absolute minimum of time. Really looking forward to phasing my other OS out to an absolute minimum as quickly as humanly possible. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.