* [Comm] несколько разных winex
@ 2004-06-20 12:19 Jose
2004-06-22 8:40 ` Eugene Ostapets
0 siblings, 1 reply; 2+ messages in thread
From: Jose @ 2004-06-20 12:19 UTC (permalink / raw)
To: Alt community
Здравствуйте, господа.
Помогите в следующем вопросе:
У меня несколько собранных 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] несколько разных winex
2004-06-20 12:19 [Comm] несколько разных winex Jose
@ 2004-06-22 8:40 ` Eugene Ostapets
0 siblings, 0 replies; 2+ messages in thread
From: Eugene Ostapets @ 2004-06-22 8:40 UTC (permalink / raw)
To: community
В сообщении от Воскресенье 20 Июнь 2004 15:19 Jose написал(a):
> Здравствуйте, господа.
> Помогите в следующем вопросе:
> Создаю например в каталоге /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
PATH=/mnt/data/winex_ost/winex32/bin:$PATH
export PATH
wine $*
--
С уважением,
Евгений Остапец
www.unisoft.com.ua
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-22 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-20 12:19 [Comm] несколько разных winex Jose
2004-06-22 8:40 ` Eugene Ostapets
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