LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-26-2006, 07:49 AM   #1
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Rep: Reputation: Disabled
the ./ command doesn't work


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
 
Old 09-26-2006, 07:52 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
"./" 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?
 
Old 09-26-2006, 08:09 AM   #3
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-26-2006, 08:36 AM   #4
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-26-2006, 08:45 AM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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:
Code:
LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" && ./configure
with the && before the ./configure command. As I said, not sure about that, but might be worth a shot.
 
Old 09-26-2006, 08:46 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Make sure you're not putting a space between the ./ and the configure. It should read exactly as it does in that guide.
 
Old 09-26-2006, 08:47 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
like I said, not sure
 
Old 09-26-2006, 09:03 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The && would execute the two in order, rather than as part of one command... avoid that.
 
Old 09-26-2006, 10:01 AM   #9
lordSaurontheGreat
Member
 
Registered: Sep 2006
Distribution: Gentoo, SuSE 10
Posts: 94

Rep: Reputation: 16
Sure you have the package linux32 installed?

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 ; )
 
Old 09-26-2006, 10:08 AM   #10
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
still no luck

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$

Its enough to make a noob stumped..
 
Old 09-27-2006, 11:34 PM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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..
 
Old 09-28-2006, 01:26 AM   #12
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
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
 
Old 09-28-2006, 09:59 AM   #13
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
Thanks. I'll plug away and see if I can get it working. Cheers.
 
Old 09-28-2006, 06:35 PM   #14
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Rep: Reputation: 16
Quote:
Originally Posted by Thane
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.
 
Old 09-30-2006, 04:22 PM   #15
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
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.

Last edited by Thane; 09-30-2006 at 04:23 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does a command work?? nethunter Linux - Networking 4 01-25-2006 11:21 AM
Talk command doesn't work! zahadumy Linux - Software 2 05-22-2005 01:22 PM
fdisk command - can't get it to work!! sknarf Linux - Software 4 06-23-2004 01:59 AM
how does the cp command work? police8677 Linux - Software 9 10-16-2003 01:05 PM
A command that does not work hhegab Linux - Software 4 02-07-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration