how to run commands in "top-level directory"

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jfreaker
Level 1
Level 1
Posts: 5
Joined: Sat Jul 03, 2010 9:22 am

how to run commands in "top-level directory"

Post by Jfreaker »

I'm trying to install wine 1.0.1 and I've run into a bit of a road block. the README file says that when compiling wine from source it's recommended that you use the wine installer to build and install the program. it then says to run ./tools/wineinstall from the "top-level directory" but i'm not sure exact;y how to do that.

so the question is, how do i run this command from the top-level directory? what does this mean, and how do i do it?
thomas.mullaly
Level 2
Level 2
Posts: 13
Joined: Fri Jun 25, 2010 8:42 pm

Re: how to run commands in "top-level directory"

Post by thomas.mullaly »

Jfreaker wrote:I'm trying to install wine 1.0.1 and I've run into a bit of a road block. the README file says that when compiling wine from source it's recommended that you use the wine installer to build and install the program. it then says to run ./tools/wineinstall from the "top-level directory" but i'm not sure exact;y how to do that.

so the question is, how do i run this command from the top-level directory? what does this mean, and how do i do it?
The "top-level" directory is the same directory as you were reading the README from, so simply "cd" (with the terminal) into that directory and then run the command they have listed.

Hope this helps.
Jfreaker
Level 1
Level 1
Posts: 5
Joined: Sat Jul 03, 2010 9:22 am

Re: how to run commands in "top-level directory"

Post by Jfreaker »

thomas.mullaly wrote:
Jfreaker wrote:I'm trying to install wine 1.0.1 and I've run into a bit of a road block. the README file says that when compiling wine from source it's recommended that you use the wine installer to build and install the program. it then says to run ./tools/wineinstall from the "top-level directory" but i'm not sure exact;y how to do that.

so the question is, how do i run this command from the top-level directory? what does this mean, and how do i do it?
The "top-level" directory is the same directory as you were reading the README from, so simply "cd" (with the terminal) into that directory and then run the command they have listed.

Hope this helps.
thanks! but what does "cd" mean?
Jfreaker
Level 1
Level 1
Posts: 5
Joined: Sat Jul 03, 2010 9:22 am

Re: how to run commands in "top-level directory"

Post by Jfreaker »

thomas.mullaly wrote:
Jfreaker wrote:I'm trying to install wine 1.0.1 and I've run into a bit of a road block. the README file says that when compiling wine from source it's recommended that you use the wine installer to build and install the program. it then says to run ./tools/wineinstall from the "top-level directory" but i'm not sure exact;y how to do that.

so the question is, how do i run this command from the top-level directory? what does this mean, and how do i do it?
The "top-level" directory is the same directory as you were reading the README from, so simply "cd" (with the terminal) into that directory and then run the command they have listed.

Hope this helps.
okay. now, i'm using ubuntu 10.4 and i'm not sure what "cd" is or how you use it. how do i go about doing this?
Charles Davis

how to run commands in "top-level directory"

Post by Charles Davis »

On 7/3/10 6:52 PM, Jfreaker wrote:
thanks! but what does "cd" mean?
Change Directory. Like Thomas said, to use it, you have to open the
Terminal app (it's somewhere under the Applications menu, I can't
remember where because I haven't used Ubuntu in so long :).

But seriously, why are you trying to install Wine 1.0.1? It's very old
(over a year and a half), and it's about to be replaced with Wine 1.2.
In fact, if you have problems running a program under Wine 1.0, everyone
here will tell you it's time to upgrade to the latest Wine 1.2 release
candidate.

Also, that statement in the Wine 1.0 readme is outdated. The
"recommended" way to install Wine from source now is to say these magic
incantations (by which I mean, run these commands from Terminal):

cd /path/to/wine/sources
./configure
make depend
make
sudo make install

Replace '/path/to/wine/sources' with the actual path to the Wine
sources. So, if they were in /home/chip/wine-1.2-rc6, you'd 'cd' to
/home/chip/wine-1.2-rc6 in that first command. You can omit 'make
depend' in the Wine 1.2 RC.

To run a command in Terminal, all you do is type it in and press
Enter/Return. That's all we'll say about that; if you want more
information, there are plenty of good Unix command-line tutorials on the
Internet. Remember, Google is your friend.

Chip
Jfreaker
Level 1
Level 1
Posts: 5
Joined: Sat Jul 03, 2010 9:22 am

Re: how to run commands in "top-level directory"

Post by Jfreaker »

Charles Davis wrote:On 7/3/10 6:52 PM, Jfreaker wrote:
thanks! but what does "cd" mean?
Change Directory. Like Thomas said, to use it, you have to open the
Terminal app (it's somewhere under the Applications menu, I can't
remember where because I haven't used Ubuntu in so long :).

But seriously, why are you trying to install Wine 1.0.1? It's very old
(over a year and a half), and it's about to be replaced with Wine 1.2.
In fact, if you have problems running a program under Wine 1.0, everyone
here will tell you it's time to upgrade to the latest Wine 1.2 release
candidate.

Also, that statement in the Wine 1.0 readme is outdated. The
"recommended" way to install Wine from source now is to say these magic
incantations (by which I mean, run these commands from Terminal):

cd /path/to/wine/sources
./configure
make depend
make
sudo make install

Replace '/path/to/wine/sources' with the actual path to the Wine
sources. So, if they were in /home/chip/wine-1.2-rc6, you'd 'cd' to
/home/chip/wine-1.2-rc6 in that first command. You can omit 'make
depend' in the Wine 1.2 RC.

To run a command in Terminal, all you do is type it in and press
Enter/Return. That's all we'll say about that; if you want more
information, there are plenty of good Unix command-line tutorials on the
Internet. Remember, Google is your friend.

Chip
ok, and thanks! I tried the current 1.2 release and it doesn't run the app i need. i'll just wait until the stable version is released.

anyone know when this will be?
thomas.mullaly
Level 2
Level 2
Posts: 13
Joined: Fri Jun 25, 2010 8:42 pm

Re: how to run commands in "top-level directory"

Post by thomas.mullaly »

If your using Ubuntu I would recommend following the instructions on this page http://www.winehq.org/download/deb. Then you can use Synaptic to download and install the current release of wine (1.2rc6 I believe). Also, if you install it this way you will also receive updates via the Update manager so you'll never have to build wine from source. Unless you're up for the challenge. :)


Hope this helps
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: how to run commands in "top-level directory"

Post by dimesio »

Jfreaker wrote: ok, and thanks! I tried the current 1.2 release and it doesn't run the app i need.
What makes you think 1.0.1 will? What app is it?
thomas.mullaly
Level 2
Level 2
Posts: 13
Joined: Fri Jun 25, 2010 8:42 pm

Re: how to run commands in "top-level directory"

Post by thomas.mullaly »

thomas.mullaly wrote:If your using Ubuntu I would recommend following the instructions on this page http://www.winehq.org/download/deb. Then you can use Synaptic to download and install the current release of wine (1.2rc6 I believe). Also, if you install it this way you will also receive updates via the Update manager so you'll never have to build wine from source. Unless you're up for the challenge. :)


Hope this helps

My apologies, I messed up the link in my previous post. Try this http://www.winehq.org/download/deb
Jfreaker
Level 1
Level 1
Posts: 5
Joined: Sat Jul 03, 2010 9:22 am

Re: how to run commands in "top-level directory"

Post by Jfreaker »

dimesio wrote:
Jfreaker wrote: ok, and thanks! I tried the current 1.2 release and it doesn't run the app i need.
What makes you think 1.0.1 will? What app is it?
honestly, there is no particular reason as to why think 1.0.1 might play it other than the fact it's the latest stable(non-beta) version of wine. the programs i'm trying to run are "replay video capture" and "replay media catcher". neither work in the current version of wine.

has anyone gotten these to work on any previous versions of wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: how to run commands in "top-level directory"

Post by dimesio »

Jfreaker wrote:
dimesio wrote:
Jfreaker wrote: ok, and thanks! I tried the current 1.2 release and it doesn't run the app i need.
What makes you think 1.0.1 will? What app is it?
honestly, there is no particular reason as to why think 1.0.1 might play it other than the fact it's the latest stable(non-beta) version of wine. the programs i'm trying to run are "replay video capture" and "replay media catcher". neither work in the current version of wine.

has anyone gotten these to work on any previous versions of wine?
"Stable" means "doesn't change often," not "works better." Most apps work better in the latest development release.

However, in this case, Replay Media Catcher apparently worked in 1.0.1, and there's a known regression.
http://appdb.winehq.org/objectManager.p ... &iId=18428
http://bugs.winehq.org/show_bug.cgi?id=18216

The bug report indicates that the regression is due to Wine's GUI crash dialog. You can try running it in current Wine with the crash dialog disabled (it's useless anyway). http://wiki.winehq.org/FAQ#head-c857c43 ... 25483c91d6
Locked