ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Jose <vadzzim198@mail.ru>
To: Alt community <community@altlinux.ru>
Subject: [Comm] несколько разных winex
Date: Sun, 20 Jun 2004 15:19:55 +0300
Message-ID: <20040620151955.11ac9242.vadzzim198@mail.ru> (raw)


Здравствуйте, господа.
Помогите в следующем вопросе:
У меня несколько собранных winex (спасибо Жене Остапцу)
Выглядит это примерно так:

/mnt/data/winex_ost 	>winex-3.0
			>winex-3.1
			>winex32

если зайти в winex32 	>bin
			>lib
			>include
			>man

Не могу разобраться с тем, чтобы каждая версия winex использовала библиотеки из своего каталога winex<версия>/lib	

Создаю например в каталоге /mnt/data/winex_ost/winex32/bin файл winex3.2 с таким содержанием

#!/bin/sh

cd /mnt/data/winex_ost/winex32
LD_LIBRARY_PATH=/mnt/data/winex_ost/winex32/lib
export LD_LIBRARY_PATH
cd /mnt/data/winex_ost/winex32/bin/
./wine 

Делаю от рута ln -s /mnt/data/winex_ost/winex32/winex3.2 /usr/bin/winex32

Пытаюсь запустить что-то с помощью этого файла
[vad@localhost QUAKE-2]$ winex32 quake2.exe
Could not stat /mnt/auto/cdrom (No such file or directory), ignoring drive D:
WineX CVS

Usage: ./wine [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)

Options:
   --debugmsg name  Turn debugging-messages on or off
   --dll name       Enable or disable built-in DLLs
   --dosver x.xx    DOS version to imitate (e.g. 6.22)
                    Only valid with --winver win31
   --help,-h        Show this help message
   --managed        Allow the window manager to manage created windows
   --version,-v     Display the Wine version
   --winver         Version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
   --dt             Defer trace until Alt+F12
   --use-dos-cwd    Used to set the DOS current working directory for the process (needs a path)
   --cmdline        Specifies the application's command line
[vad@localhost QUAKE-2]$

Сам вайн получается запускается и со своими библиотеками, но как ему передать имя файла в данном случае quake2.exe
Если скрипт немного изменить

#!/bin/sh

cd /mnt/data/winex_ost/winex32
LD_LIBRARY_PATH=/mnt/data/winex_ost/winex32/lib
export LD_LIBRARY_PATH
cd /mnt/data/winex_ost/winex32/bin/
./wine /mnt/data/games/QUAKE-2/quake2.exe

То квака стартует.
А как сделать, чтобы не прописывать прогроаммы в скрипте, а запускать так : winex32 <имя программы>
???
-- 
WBR
Jose 


             reply	other threads:[~2004-06-20 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-20 12:19 Jose [this message]
2004-06-22  8:40 ` Eugene Ostapets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040620151955.11ac9242.vadzzim198@mail.ru \
    --to=vadzzim198@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git