Tuesday, May 6, 2014

Installation and Configuration of WINE + linux

Hello Friends,

What, Why and How of Wine.

Wine :- A tool to work like windows style on linux machines. Making the Linux machine to run the windows .exe , bash , dll or files which are made to run on Windows platform. Installing any Windows software or those software which we run on th Windows machine. the software like iexplore, notepad, winamp, vlc, setup or .exe file of software or application file. We can use Wine to run Windows sfotware to do so.

Installation of Wine is explained on wine forum and wine site also, but some where collecting so many things at one place were comsming more time. So Want to brief the same below with complete installation and execution process, which were performed to run windows file structure.

================================

Step by Step installation of Wine tool on Linux machine. 

Step 1st :- Check Your Linux Machine, with what bit you are running the linux machine.

My machine is redhat linux 5.8 32 bit. So i downloaded wine 32 bit from WINE site and untar the same. 

[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
[root@localhost ~]#
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-308.el5 #1 SMP Fri Jan 27 17:21:15 EST 2012 i686 i686 i386 GNU/Linux
[root@localhost ~]#

Most Important is connect your linux machine to the internet to check for logs and error facing while installation of the packages or wine. 
---

Step 2nd :- untar the same with creating a user in /tmp directory.

[root@localhost tmp]# ls -ltr
total 20900
-rw-r--r--  1 root root 21252985 Jan 11 02:07 wine-1.6.2.tar.bz2

[root@localhost tmp]# cat /etc/passwd |grep -i wine
wine:x:500:500::/home/wine:/bin/bash
[root@localhost tmp]#

User can be made in linux from # (hash) prompt :-

#useradd -m wine :- Create a user
# passwd wine :- Give a password to the user.

#



details below after untaring the file in /tmp directory. the permission will be like below.

[root@localhost tmp]# cd wine-1.6.2
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# ls
aclocal.m4  config.log     configure.ac  documentation  libs         loader       Make.rules      Maketest.rules.in  programs  tools
ANNOUNCE    config.status  COPYING.LIB   fonts          LICENSE      Makefile     Make.rules.in   Make.vars.in       README    VERSION
AUTHORS     configure      dlls          include        LICENSE.OLD  Makefile.in  Maketest.rules  po                 server    wine
[root@localhost wine-1.6.2]# ls -ltr
total 4740
-rw-rw-r--   1 wine wine      19 Jan 11 02:07 VERSION
-rw-rw-r--   1 wine wine    5705 Jan 11 02:07 README
-rw-rw-r--   1 wine wine    3306 Jan 11 02:07 Make.vars.in
-rw-rw-r--   1 wine wine    1933 Jan 11 02:07 Maketest.rules.in
-rw-rw-r--   1 wine wine    5905 Jan 11 02:07 Make.rules.in
-rw-rw-r--   1 wine wine    2783 Jan 11 02:07 Makefile.in
-rw-rw-r--   1 wine wine    1324 Jan 11 02:07 LICENSE.OLD
-rw-rw-r--   1 wine wine     824 Jan 11 02:07 LICENSE
drwxrwxr-x   5 wine wine    4096 Jan 11 02:07 libs
-rw-rw-r--   1 wine wine   26434 Jan 11 02:07 COPYING.LIB
-rw-rw-r--   1 wine wine  121640 Jan 11 02:07 configure.ac
-rwxrwxr-x   1 wine wine  545181 Jan 11 02:07 configure
-rw-rw-r--   1 wine wine   21417 Jan 11 02:07 AUTHORS
-rw-rw-r--   1 wine wine   13638 Jan 11 02:07 ANNOUNCE
-rw-rw-r--   1 wine wine   25035 Jan 11 02:07 aclocal.m4
-rw-rw-r--   1 wine wine    7763 May  4 00:08 Maketest.rules
-rw-rw-r--   1 wine wine    5853 May  4 00:08 Make.rules
-rwxrwxr-x   1 wine wine 1147187 May  4 00:08 config.status
lrwxrwxrwx   1 wine wine      17 May  4 00:08 wine -> tools/winewrapper
drwxrwxr-x  81 wine wine    4096 May  4 00:08 programs
-rw-rw-r--   1 wine wine 1109402 May  4 00:08 Makefile
drwxrwxr-x   9 wine wine    4096 May  4 00:08 tools
drwxrwxr-x   5 wine wine   20480 May  4 00:09 include
drwxrwxr-x 466 wine wine   20480 May  4 00:10 dlls
drwxrwxr-x   2 wine wine    4096 May  4 00:10 po
drwxrwxr-x   2 wine wine    4096 May  4 00:50 documentation
drwxrwxr-x   2 wine wine    4096 May  4 00:50 fonts
drwxrwxr-x   2 wine wine    4096 May  4 00:50 loader
-rw-rw-r--   1 wine wine 1669574 May  4 00:52 config.log
drwxrwxr-x   2 wine wine    4096 May  4 00:53 server
[root@localhost wine-1.6.2]#


UNTAR of wine.


wine-1.6.2/programs/winedbg/crashdlg.c
wine-1.6.2/programs/winedbg/db_disasm.c
wine-1.6.2/programs/winedbg/db_disasm64.c
wine-1.6.2/programs/winedbg/dbg.y
wine-1.6.2/programs/winedbg/debug.l
wine-1.6.2/programs/winedbg/debugger.h
wine-1.6.2/programs/winedbg/display.c
wine-1.6.2/programs/winedbg/expr.c
wine-1.6.2/programs/winedbg/expr.h
wine-1.6.2/programs/winedbg/gdbproxy.c
wine-1.6.2/programs/winedbg/info.c
wine-1.6.2/programs/winedbg/intvar.h
wine-1.6.2/programs/winedbg/memory.c
wine-1.6.2/programs/winedbg/resource.h
wine-1.6.2/programs/winedbg/source.c
wine-1.6.2/programs/winedbg/stack.c
wine-1.6.2/programs/winedbg/symbol.c
wine-1.6.2/programs/winedbg/tgt_active.c
wine-1.6.2/programs/winedbg/tgt_minidump.c
wine-1.6.2/programs/winedbg/tgt_module.c
wine-1.6.2/programs/winedbg/types.c
wine-1.6.2/programs/winedbg/winedbg.c
wine-1.6.2/programs/winedbg/winedbg.man.in
wine-1.6.2/programs/winedbg/winedbg.rc
wine-1.6.2/programs/winedevice/
wine-1.6.2/programs/winedevice/Makefile.in
wine-1.6.2/programs/winedevice/device.c
wine-1.6.2/programs/winefile/
wine-1.6.2/programs/winefile/Makefile.in
wine-1.6.2/programs/winefile/drivebar.bmp
wine-1.6.2/programs/winefile/images.bmp
wine-1.6.2/programs/winefile/resource.h
wine-1.6.2/programs/winefile/splitpath.c
wine-1.6.2/programs/winefile/toolbar.bmp
wine-1.6.2/programs/winefile/winefile.c
wine-1.6.2/programs/winefile/winefile.h
wine-1.6.2/programs/winefile/winefile.ico
wine-1.6.2/programs/winefile/winefile.man.in
wine-1.6.2/programs/winefile/winefile.rc
wine-1.6.2/programs/winefile/winefile.svg
wine-1.6.2/programs/winemenubuilder/
wine-1.6.2/programs/winemenubuilder/Makefile.in
wine-1.6.2/programs/winemenubuilder/winemenubuilder.c
wine-1.6.2/programs/winemine/
wine-1.6.2/programs/winemine/Makefile.in
wine-1.6.2/programs/winemine/dialog.c
wine-1.6.2/programs/winemine/faces.bmp
wine-1.6.2/programs/winemine/leds.bmp
wine-1.6.2/programs/winemine/main.c
wine-1.6.2/programs/winemine/main.h
wine-1.6.2/programs/winemine/mines.bmp
wine-1.6.2/programs/winemine/resource.h
wine-1.6.2/programs/winemine/winemine.ico
wine-1.6.2/programs/winemine/winemine.man.in
wine-1.6.2/programs/winemine/winemine.rc
wine-1.6.2/programs/winemine/winemine.svg
wine-1.6.2/programs/winemsibuilder/
wine-1.6.2/programs/winemsibuilder/Makefile.in
wine-1.6.2/programs/winemsibuilder/main.c
wine-1.6.2/programs/winepath/
wine-1.6.2/programs/winepath/Makefile.in
wine-1.6.2/programs/winepath/winepath.c
wine-1.6.2/programs/winepath/winepath.man.in
wine-1.6.2/programs/winetest/
wine-1.6.2/programs/winetest/Makefile.in
wine-1.6.2/programs/winetest/gui.c
wine-1.6.2/programs/winetest/main.c
wine-1.6.2/programs/winetest/resource.h
wine-1.6.2/programs/winetest/send.c
wine-1.6.2/programs/winetest/util.c
wine-1.6.2/programs/winetest/winetest.h
wine-1.6.2/programs/winetest/winetest.ico
wine-1.6.2/programs/winetest/winetest.rc
wine-1.6.2/programs/winetest/winetest.svg
wine-1.6.2/programs/winevdm/
wine-1.6.2/programs/winevdm/Makefile.in
wine-1.6.2/programs/winevdm/winevdm.c
wine-1.6.2/programs/winhelp.exe16/
wine-1.6.2/programs/winhelp.exe16/Makefile.in
wine-1.6.2/programs/winhelp.exe16/winhelp.c
wine-1.6.2/programs/winhlp32/
wine-1.6.2/programs/winhlp32/Makefile.in
wine-1.6.2/programs/winhlp32/callback.c
wine-1.6.2/programs/winhlp32/hlpfile.c
wine-1.6.2/programs/winhlp32/hlpfile.h
wine-1.6.2/programs/winhlp32/macro.c
wine-1.6.2/programs/winhlp32/macro.h
wine-1.6.2/programs/winhlp32/macro.lex.l
wine-1.6.2/programs/winhlp32/string.c
wine-1.6.2/programs/winhlp32/winhelp.c
wine-1.6.2/programs/winhlp32/winhelp.h
wine-1.6.2/programs/winhlp32/winhelp.ico
wine-1.6.2/programs/winhlp32/winhelp.svg
wine-1.6.2/programs/winhlp32/winhelp_res.h
wine-1.6.2/programs/winhlp32/winhlp32.rc
wine-1.6.2/programs/winoldap.mod16/
wine-1.6.2/programs/winoldap.mod16/Makefile.in
wine-1.6.2/programs/winoldap.mod16/winoldap.c
wine-1.6.2/programs/winver/
wine-1.6.2/programs/winver/Makefile.in
wine-1.6.2/programs/winver/version.rc
wine-1.6.2/programs/winver/winver.c
wine-1.6.2/programs/wmic/
wine-1.6.2/programs/wmic/Makefile.in
wine-1.6.2/programs/wmic/main.c
wine-1.6.2/programs/wmic/wmic.h
wine-1.6.2/programs/wmic/wmic.rc
wine-1.6.2/programs/wordpad/
wine-1.6.2/programs/wordpad/Makefile.in
wine-1.6.2/programs/wordpad/formatbar.bmp
wine-1.6.2/programs/wordpad/formatbar.svg
wine-1.6.2/programs/wordpad/olecallback.c
wine-1.6.2/programs/wordpad/print.c
wine-1.6.2/programs/wordpad/registry.c
wine-1.6.2/programs/wordpad/toolbar.bmp
wine-1.6.2/programs/wordpad/toolbar.svg
wine-1.6.2/programs/wordpad/wordpad.c
wine-1.6.2/programs/wordpad/wordpad.h
wine-1.6.2/programs/wordpad/wordpad.ico
wine-1.6.2/programs/wordpad/wordpad.rc
wine-1.6.2/programs/wordpad/wordpad.svg
wine-1.6.2/programs/wordpad/zoom.cur
wine-1.6.2/programs/write/
wine-1.6.2/programs/write/Makefile.in
wine-1.6.2/programs/write/resources.h
wine-1.6.2/programs/write/write.c
wine-1.6.2/programs/write/write.rc
wine-1.6.2/programs/wscript/
wine-1.6.2/programs/wscript/Makefile.in
wine-1.6.2/programs/wscript/arguments.c
wine-1.6.2/programs/wscript/host.c
wine-1.6.2/programs/wscript/ihost.idl
wine-1.6.2/programs/wscript/ihost_dispid.h
wine-1.6.2/programs/wscript/main.c
wine-1.6.2/programs/wscript/rsrc.rc
wine-1.6.2/programs/wscript/tests/
wine-1.6.2/programs/wscript/tests/Makefile.in
wine-1.6.2/programs/wscript/tests/rsrc.rc
wine-1.6.2/programs/wscript/tests/run.c
wine-1.6.2/programs/wscript/tests/run.js
wine-1.6.2/programs/wscript/tests/run.vbs
wine-1.6.2/programs/wscript/wscript.h
wine-1.6.2/programs/wusa/
wine-1.6.2/programs/wusa/Makefile.in
wine-1.6.2/programs/wusa/main.c
wine-1.6.2/programs/xcopy/
wine-1.6.2/programs/xcopy/Makefile.in
wine-1.6.2/programs/xcopy/xcopy.c
wine-1.6.2/programs/xcopy/xcopy.h
wine-1.6.2/programs/xcopy/xcopy.rc
wine-1.6.2/server/
wine-1.6.2/server/Makefile.in
wine-1.6.2/server/async.c
wine-1.6.2/server/atom.c
wine-1.6.2/server/change.c
wine-1.6.2/server/class.c
wine-1.6.2/server/clipboard.c
wine-1.6.2/server/completion.c
wine-1.6.2/server/console.c
wine-1.6.2/server/debugger.c
wine-1.6.2/server/device.c
wine-1.6.2/server/directory.c
wine-1.6.2/server/event.c
wine-1.6.2/server/fd.c
wine-1.6.2/server/file.c
wine-1.6.2/server/file.h
wine-1.6.2/server/handle.c
wine-1.6.2/server/handle.h
wine-1.6.2/server/hook.c
wine-1.6.2/server/mach.c
wine-1.6.2/server/mailslot.c
wine-1.6.2/server/main.c
wine-1.6.2/server/mapping.c
wine-1.6.2/server/mutex.c
wine-1.6.2/server/named_pipe.c
wine-1.6.2/server/object.c
wine-1.6.2/server/object.h
wine-1.6.2/server/process.c
wine-1.6.2/server/process.h
wine-1.6.2/server/procfs.c
wine-1.6.2/server/protocol.def
wine-1.6.2/server/ptrace.c
wine-1.6.2/server/queue.c
wine-1.6.2/server/region.c
wine-1.6.2/server/registry.c
wine-1.6.2/server/request.c
wine-1.6.2/server/request.h
wine-1.6.2/server/security.h
wine-1.6.2/server/semaphore.c
wine-1.6.2/server/serial.c
wine-1.6.2/server/signal.c
wine-1.6.2/server/snapshot.c
wine-1.6.2/server/sock.c
wine-1.6.2/server/symlink.c
wine-1.6.2/server/thread.c
wine-1.6.2/server/thread.h
wine-1.6.2/server/timer.c
wine-1.6.2/server/token.c
wine-1.6.2/server/trace.c
wine-1.6.2/server/unicode.c
wine-1.6.2/server/unicode.h
wine-1.6.2/server/user.c
wine-1.6.2/server/user.h
wine-1.6.2/server/window.c
wine-1.6.2/server/wineserver.de.man.in
wine-1.6.2/server/wineserver.fr.man.in
wine-1.6.2/server/wineserver.man.in
wine-1.6.2/server/winstation.c
wine-1.6.2/tools/
wine-1.6.2/tools/Makefile.in
wine-1.6.2/tools/buildimage
wine-1.6.2/tools/c2man.pl
wine-1.6.2/tools/config.guess
wine-1.6.2/tools/config.sub
wine-1.6.2/tools/examine-relay
wine-1.6.2/tools/findfunc
wine-1.6.2/tools/fnt2fon.c
wine-1.6.2/tools/install-sh
wine-1.6.2/tools/l_intl.nls
wine-1.6.2/tools/make_ctests.c
wine-1.6.2/tools/make_fir
wine-1.6.2/tools/make_makefiles
wine-1.6.2/tools/make_requests
wine-1.6.2/tools/make_specfiles
wine-1.6.2/tools/make_unicode
wine-1.6.2/tools/make_xftmpl.c
wine-1.6.2/tools/makedep.c
wine-1.6.2/tools/mkinstalldirs
wine-1.6.2/tools/relpath.c
wine-1.6.2/tools/runtest
wine-1.6.2/tools/sfnt2fnt.c
wine-1.6.2/tools/unicode-defaults
wine-1.6.2/tools/widl/
wine-1.6.2/tools/widl/Makefile.in
wine-1.6.2/tools/widl/client.c
wine-1.6.2/tools/widl/expr.c
wine-1.6.2/tools/widl/expr.h
wine-1.6.2/tools/widl/hash.c
wine-1.6.2/tools/widl/hash.h
wine-1.6.2/tools/widl/header.c
wine-1.6.2/tools/widl/header.h
wine-1.6.2/tools/widl/parser.h
wine-1.6.2/tools/widl/parser.l
wine-1.6.2/tools/widl/parser.y
wine-1.6.2/tools/widl/proxy.c
wine-1.6.2/tools/widl/register.c
wine-1.6.2/tools/widl/server.c
wine-1.6.2/tools/widl/typegen.c
wine-1.6.2/tools/widl/typegen.h
wine-1.6.2/tools/widl/typelib.c
wine-1.6.2/tools/widl/typelib.h
wine-1.6.2/tools/widl/typelib_struct.h
wine-1.6.2/tools/widl/typetree.c
wine-1.6.2/tools/widl/typetree.h
wine-1.6.2/tools/widl/utils.c
wine-1.6.2/tools/widl/utils.h
wine-1.6.2/tools/widl/widl.c
wine-1.6.2/tools/widl/widl.h
wine-1.6.2/tools/widl/widl.man.in
wine-1.6.2/tools/widl/widltypes.h
wine-1.6.2/tools/widl/write_msft.c
wine-1.6.2/tools/winapi/
wine-1.6.2/tools/winapi/c_function.pm
wine-1.6.2/tools/winapi/c_parser.pm
wine-1.6.2/tools/winapi/c_type.pm
wine-1.6.2/tools/winapi/config.pm
wine-1.6.2/tools/winapi/function.pm
wine-1.6.2/tools/winapi/make_filter
wine-1.6.2/tools/winapi/make_filter_options.pm
wine-1.6.2/tools/winapi/make_parser.pm
wine-1.6.2/tools/winapi/modules.pm
wine-1.6.2/tools/winapi/msvcmaker
wine-1.6.2/tools/winapi/msvcmaker_options.pm
wine-1.6.2/tools/winapi/nativeapi.dat
wine-1.6.2/tools/winapi/nativeapi.pm
wine-1.6.2/tools/winapi/options.pm
wine-1.6.2/tools/winapi/output.pm
wine-1.6.2/tools/winapi/preprocessor.pm
wine-1.6.2/tools/winapi/setup.pm
wine-1.6.2/tools/winapi/tests.dat
wine-1.6.2/tools/winapi/tests.pm
wine-1.6.2/tools/winapi/type.pm
wine-1.6.2/tools/winapi/util.pm
wine-1.6.2/tools/winapi/win16.api
wine-1.6.2/tools/winapi/win32.api
wine-1.6.2/tools/winapi/winapi.pm
wine-1.6.2/tools/winapi/winapi_check
wine-1.6.2/tools/winapi/winapi_check_options.pm
wine-1.6.2/tools/winapi/winapi_documentation.pm
wine-1.6.2/tools/winapi/winapi_extract
wine-1.6.2/tools/winapi/winapi_extract_options.pm
wine-1.6.2/tools/winapi/winapi_function.pm
wine-1.6.2/tools/winapi/winapi_global.pm
wine-1.6.2/tools/winapi/winapi_local.pm
wine-1.6.2/tools/winapi/winapi_module_user.pm
wine-1.6.2/tools/winapi/winapi_parser.pm
wine-1.6.2/tools/winapi/winapi_test
wine-1.6.2/tools/winapi/winapi_test_options.pm
wine-1.6.2/tools/wine.desktop
wine-1.6.2/tools/wine.inf.in
wine-1.6.2/tools/wineapploader.in
wine-1.6.2/tools/winebuild/
wine-1.6.2/tools/winebuild/Makefile.in
wine-1.6.2/tools/winebuild/build.h
wine-1.6.2/tools/winebuild/import.c
wine-1.6.2/tools/winebuild/main.c
wine-1.6.2/tools/winebuild/parser.c
wine-1.6.2/tools/winebuild/relay.c
wine-1.6.2/tools/winebuild/res16.c
wine-1.6.2/tools/winebuild/res32.c
wine-1.6.2/tools/winebuild/spec16.c
wine-1.6.2/tools/winebuild/spec32.c
wine-1.6.2/tools/winebuild/utils.c
wine-1.6.2/tools/winebuild/winebuild.man.in
wine-1.6.2/tools/winedump/
wine-1.6.2/tools/winedump/Makefile.in
wine-1.6.2/tools/winedump/README
wine-1.6.2/tools/winedump/debug.c
wine-1.6.2/tools/winedump/dos.c
wine-1.6.2/tools/winedump/dump.c
wine-1.6.2/tools/winedump/emf.c
wine-1.6.2/tools/winedump/font.c
wine-1.6.2/tools/winedump/function_grep.pl
wine-1.6.2/tools/winedump/le.c
wine-1.6.2/tools/winedump/lib.c
wine-1.6.2/tools/winedump/lnk.c
wine-1.6.2/tools/winedump/main.c
wine-1.6.2/tools/winedump/minidump.c
wine-1.6.2/tools/winedump/misc.c
wine-1.6.2/tools/winedump/msc.c
wine-1.6.2/tools/winedump/msmangle.c
wine-1.6.2/tools/winedump/ne.c
wine-1.6.2/tools/winedump/output.c
wine-1.6.2/tools/winedump/pdb.c
wine-1.6.2/tools/winedump/pe.c
wine-1.6.2/tools/winedump/search.c
wine-1.6.2/tools/winedump/symbol.c
wine-1.6.2/tools/winedump/tlb.c
wine-1.6.2/tools/winedump/winedump.h
wine-1.6.2/tools/winedump/winedump.man.in
wine-1.6.2/tools/winegcc/
wine-1.6.2/tools/winegcc/Makefile.in
wine-1.6.2/tools/winegcc/utils.c
wine-1.6.2/tools/winegcc/utils.h
wine-1.6.2/tools/winegcc/winegcc.c
wine-1.6.2/tools/winegcc/winegcc.man.in
wine-1.6.2/tools/wineinstall
wine-1.6.2/tools/winemaker
wine-1.6.2/tools/winemaker.de.man.in
wine-1.6.2/tools/winemaker.fr.man.in
wine-1.6.2/tools/winemaker.man.in
wine-1.6.2/tools/winewrapper
wine-1.6.2/tools/wmc/
wine-1.6.2/tools/wmc/Makefile.in
wine-1.6.2/tools/wmc/lang.c
wine-1.6.2/tools/wmc/lang.h
wine-1.6.2/tools/wmc/mcl.c
wine-1.6.2/tools/wmc/mcy.y
wine-1.6.2/tools/wmc/po.c
wine-1.6.2/tools/wmc/utils.c
wine-1.6.2/tools/wmc/utils.h
wine-1.6.2/tools/wmc/wmc.c
wine-1.6.2/tools/wmc/wmc.h
wine-1.6.2/tools/wmc/wmc.man.in
wine-1.6.2/tools/wmc/wmctypes.h
wine-1.6.2/tools/wmc/write.c
wine-1.6.2/tools/wmc/write.h
wine-1.6.2/tools/wrc/
wine-1.6.2/tools/wrc/CHANGES
wine-1.6.2/tools/wrc/Makefile.in
wine-1.6.2/tools/wrc/dumpres.c
wine-1.6.2/tools/wrc/dumpres.h
wine-1.6.2/tools/wrc/genres.c
wine-1.6.2/tools/wrc/genres.h
wine-1.6.2/tools/wrc/newstruc.c
wine-1.6.2/tools/wrc/newstruc.h
wine-1.6.2/tools/wrc/parser.h
wine-1.6.2/tools/wrc/parser.l
wine-1.6.2/tools/wrc/parser.y
wine-1.6.2/tools/wrc/po.c
wine-1.6.2/tools/wrc/readres.c
wine-1.6.2/tools/wrc/readres.h
wine-1.6.2/tools/wrc/translation.c
wine-1.6.2/tools/wrc/utils.c
wine-1.6.2/tools/wrc/utils.h
wine-1.6.2/tools/wrc/wrc.c
wine-1.6.2/tools/wrc/wrc.doc
wine-1.6.2/tools/wrc/wrc.h
wine-1.6.2/tools/wrc/wrc.man.in
wine-1.6.2/tools/wrc/wrctypes.h
wine-1.6.2/tools/wrc/writeres.c
[root@localhost tmp]# cd wine-1.6.2

[root@localhost wine-1.6.2]# pwd
/tmp/wine-1.6.2
[root@localhost wine-1.6.2]# /tools/wineinstall
bash: /tools/wineinstall: No such file or directory
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#


Step 3rd :- Now Install the wine tool using ./ in /tmp only.

[root@localhost wine-1.6.2]# ./tools/wineinstall
Wine Installer v1.0

You are running wineinstall as root, this is not advisable. Please rerun as a user.
Aborting.
[root@localhost wine-1.6.2]# cat /etc/passwd |grep -i wine
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# useradd -m wine
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# su - wine
[wine@localhost ~]$
[wine@localhost ~]$
[wine@localhost ~]$ cd /tmp
[wine@localhost tmp]$ cd wine-1.6.2
[wine@localhost wine-1.6.2]$ ./tools/wine
wineapploader.in  winebuild/        winedump/         winegcc/          wineinstall       winemaker         winewrapper      
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0

The source directory is not writable. You probably extracted the sources as root.
You should remove the source tree and extract it again as a normal user.
[wine@localhost wine-1.6.2]$
[wine@localhost wine-1.6.2]$ exit
logout



Step 4th :- The Additional Packages required to install the wine package smoothly are listed below, they are required by wine as its dependencies so better resolve the dependencies in linux before installation of WINE software on the linux machine.


Create a local yum repository on the linux machine and using yum install the dependant packages on the machine. Adding a hyperlink below showing how to create the yum repository.


http://manywaystosuccess.blogspot.in/2012/09/yum-repository-on-rhel.html


[root@localhost /]# mount -o loop /media/KINGSTON/rhel-server-5.8-i386-dvd.iso /mnt
[root@localhost /]#
[root@localhost /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol02
                       49G   19G   28G  41% /
/dev/mapper/VolGroup00-LogVol01
                       20G  173M   19G   1% /home
/dev/sda5             198M   17M  172M   9% /boot
tmpfs                 945M     0  945M   0% /dev/shm
/dev/sdb4             7.5G  6.5G  1.1G  86% /media/KINGSTON
/media/KINGSTON/rhel-server-5.8-i386-dvd.iso
                      3.3G  3.3G     0 100% /mnt
[root@localhost /]# yum clean all
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning up Everything
[root@localhost /]# yum install samba
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installer                                                                                                                             | 1.5 kB     00:01    
Installer/primary                                                                                                                     | 792 kB     00:00    
Installer                                                                                                                                          2472/2472
Setting up Install Process
Package samba-3.0.33-3.37.el5.i386 already installed and latest version
Nothing to do
[root@localhost /]#

[root@localhost wine-1.6.2]#

a. gcc library complete.
b. flex-2.5.33-9.fc7.i386.rpm




below is the yum install gcc* o/p and while installation, i was facing some problem so trouble shooting of the same is shown, it might help, if you are facing the same problem while installation of wine.
c. bison
d. 

=========================================================
=============================================
Marking gcc44-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-c++-4.4.6-3.el5.1.i386.rpm: gcc44-c++-4.4.6-3.el5.1.i386
Marking gcc44-c++-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-gfortran-4.4.6-3.el5.1.i386.rpm: gcc44-gfortran-4.4.6-3.el5.1.i386
Marking gcc44-gfortran-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc-c++-4.1.2-52.el5.i386.rpm: gcc-c++-4.1.2-52.el5.i386
Marking gcc-c++-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gfortran-4.1.2-52.el5.i386.rpm: gcc-gfortran-4.1.2-52.el5.i386
Marking gcc-gfortran-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gnat-4.1.2-52.el5.i386.rpm: gcc-gnat-4.1.2-52.el5.i386
Marking gcc-gnat-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-java-4.1.2-52.el5.i386.rpm: gcc-java-4.1.2-52.el5.i386
Marking gcc-java-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc-4.1.2-52.el5.i386.rpm: gcc-objc-4.1.2-52.el5.i386
Marking gcc-objc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc++-4.1.2-52.el5.i386.rpm: gcc-objc++-4.1.2-52.el5.i386
Marking gcc-objc++-4.1.2-52.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
---> Package gcc-c++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-gfortran.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc-gfortran
---> Package gcc-gnat.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-java.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-objc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libobjc = 4.1.2-52.el5 for package: gcc-objc
--> Processing Dependency: libobjc.so.1 for package: gcc-objc
---> Package gcc-objc++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc44.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc44
--> Processing Dependency: libgmp.so.3 for package: gcc44
--> Processing Dependency: libgmpxx.so.3 for package: gcc44
---> Package gcc44-c++.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-c++
---> Package gcc44-gfortran.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-gfortran
--> Finished Dependency Resolution
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-c++-4.4.6-3.el5.1.i386 from /gcc44-c++-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc44-gfortran-4.4.6-3.el5.1.i386 from /gcc44-gfortran-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc-4.1.2-52.el5.i386 from /gcc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck glibc-devel*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining glibc-devel-2.5-81.i386.rpm: glibc-devel-2.5-81.i386
Marking glibc-devel-2.5-81.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Finished Dependency Resolution
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
  --> Missing Dependency: glibc-headers = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
  --> Missing Dependency: glibc-headers is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc-headers is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc-headers = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck glibc-devel*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining glibc-devel-2.5-81.i386.rpm: glibc-devel-2.5-81.i386
Marking glibc-devel-2.5-81.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Finished Dependency Resolution
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
  --> Missing Dependency: glibc-headers = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
  --> Missing Dependency: glibc-headers is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc-headers is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc-headers = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gcc-4.1.2-52.el5.i386.rpm: gcc-4.1.2-52.el5.i386
Marking gcc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc44-4.4.6-3.el5.1.i386.rpm: gcc44-4.4.6-3.el5.1.i386
Marking gcc44-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-c++-4.4.6-3.el5.1.i386.rpm: gcc44-c++-4.4.6-3.el5.1.i386
Marking gcc44-c++-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-gfortran-4.4.6-3.el5.1.i386.rpm: gcc44-gfortran-4.4.6-3.el5.1.i386
Marking gcc44-gfortran-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc-c++-4.1.2-52.el5.i386.rpm: gcc-c++-4.1.2-52.el5.i386
Marking gcc-c++-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gfortran-4.1.2-52.el5.i386.rpm: gcc-gfortran-4.1.2-52.el5.i386
Marking gcc-gfortran-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gnat-4.1.2-52.el5.i386.rpm: gcc-gnat-4.1.2-52.el5.i386
Marking gcc-gnat-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-java-4.1.2-52.el5.i386.rpm: gcc-java-4.1.2-52.el5.i386
Marking gcc-java-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc-4.1.2-52.el5.i386.rpm: gcc-objc-4.1.2-52.el5.i386
Marking gcc-objc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc++-4.1.2-52.el5.i386.rpm: gcc-objc++-4.1.2-52.el5.i386
Marking gcc-objc++-4.1.2-52.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
---> Package gcc-c++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-gfortran.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc-gfortran
---> Package gcc-gnat.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-java.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-objc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libobjc = 4.1.2-52.el5 for package: gcc-objc
--> Processing Dependency: libobjc.so.1 for package: gcc-objc
---> Package gcc-objc++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc44.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc44
--> Processing Dependency: libgmp.so.3 for package: gcc44
--> Processing Dependency: libgmpxx.so.3 for package: gcc44
---> Package gcc44-c++.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-c++
---> Package gcc44-gfortran.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-gfortran
--> Finished Dependency Resolution
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-c++-4.4.6-3.el5.1.i386 from /gcc44-c++-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc44-gfortran-4.4.6-3.el5.1.i386 from /gcc44-gfortran-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc-4.1.2-52.el5.i386 from /gcc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]# yum install gcc44-4.4.6-3.el5.1.i386
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package gcc44-4.4.6-3.el5.1.i386 available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc44-4.4.6-3.el5.1.i386
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package gcc44-4.4.6-3.el5.1.i386 available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc44-4.4.6-3.el5.1.i386*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gcc44-4.4.6-3.el5.1.i386.rpm: gcc44-4.4.6-3.el5.1.i386
Marking gcc44-4.4.6-3.el5.1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc44.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc44
--> Processing Dependency: libgmp.so.3 for package: gcc44
--> Processing Dependency: libgmpxx.so.3 for package: gcc44
--> Finished Dependency Resolution
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck libgmpxx.so.3
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package libgmpxx.so.3 available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck libgmpxx.so.3*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package libgmpxx.so.3* available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck libgmpxx*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package libgmpxx* available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]#
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package gcc available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc-*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gcc-4.1.2-52.el5.i386.rpm: gcc-4.1.2-52.el5.i386
Marking gcc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-c++-4.1.2-52.el5.i386.rpm: gcc-c++-4.1.2-52.el5.i386
Marking gcc-c++-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gfortran-4.1.2-52.el5.i386.rpm: gcc-gfortran-4.1.2-52.el5.i386
Marking gcc-gfortran-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gnat-4.1.2-52.el5.i386.rpm: gcc-gnat-4.1.2-52.el5.i386
Marking gcc-gnat-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-java-4.1.2-52.el5.i386.rpm: gcc-java-4.1.2-52.el5.i386
Marking gcc-java-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc-4.1.2-52.el5.i386.rpm: gcc-objc-4.1.2-52.el5.i386
Marking gcc-objc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc++-4.1.2-52.el5.i386.rpm: gcc-objc++-4.1.2-52.el5.i386
Marking gcc-objc++-4.1.2-52.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
---> Package gcc-c++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-gfortran.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc-gfortran
---> Package gcc-gnat.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-java.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-objc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libobjc = 4.1.2-52.el5 for package: gcc-objc
--> Processing Dependency: libobjc.so.1 for package: gcc-objc
---> Package gcc-objc++.i386 0:4.1.2-52.el5 set to be updated
--> Finished Dependency Resolution
gcc-4.1.2-52.el5.i386 from /gcc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
Error: Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gcc-4.1.2-52.el5.i386.rpm: gcc-4.1.2-52.el5.i386
Marking gcc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc44-4.4.6-3.el5.1.i386.rpm: gcc44-4.4.6-3.el5.1.i386
Marking gcc44-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-c++-4.4.6-3.el5.1.i386.rpm: gcc44-c++-4.4.6-3.el5.1.i386
Marking gcc44-c++-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc44-gfortran-4.4.6-3.el5.1.i386.rpm: gcc44-gfortran-4.4.6-3.el5.1.i386
Marking gcc44-gfortran-4.4.6-3.el5.1.i386.rpm to be installed
Examining gcc-c++-4.1.2-52.el5.i386.rpm: gcc-c++-4.1.2-52.el5.i386
Marking gcc-c++-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gfortran-4.1.2-52.el5.i386.rpm: gcc-gfortran-4.1.2-52.el5.i386
Marking gcc-gfortran-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-gnat-4.1.2-52.el5.i386.rpm: gcc-gnat-4.1.2-52.el5.i386
Marking gcc-gnat-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-java-4.1.2-52.el5.i386.rpm: gcc-java-4.1.2-52.el5.i386
Marking gcc-java-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc-4.1.2-52.el5.i386.rpm: gcc-objc-4.1.2-52.el5.i386
Marking gcc-objc-4.1.2-52.el5.i386.rpm to be installed
Examining gcc-objc++-4.1.2-52.el5.i386.rpm: gcc-objc++-4.1.2-52.el5.i386
Marking gcc-objc++-4.1.2-52.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
---> Package gcc-c++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-gfortran.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc-gfortran
---> Package gcc-gnat.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-java.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc-objc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libobjc = 4.1.2-52.el5 for package: gcc-objc
--> Processing Dependency: libobjc.so.1 for package: gcc-objc
---> Package gcc-objc++.i386 0:4.1.2-52.el5 set to be updated
---> Package gcc44.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc44
--> Processing Dependency: libgmp.so.3 for package: gcc44
--> Processing Dependency: libgmpxx.so.3 for package: gcc44
---> Package gcc44-c++.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-c++
---> Package gcc44-gfortran.i386 0:4.4.6-3.el5.1 set to be updated
--> Processing Dependency: libgmp.so.3 for package: gcc44-gfortran
--> Finished Dependency Resolution
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-c++-4.4.6-3.el5.1.i386 from /gcc44-c++-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc44-gfortran-4.4.6-3.el5.1.i386 from /gcc44-gfortran-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
gcc-objc-4.1.2-52.el5.i386 from /gcc-objc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
gcc-4.1.2-52.el5.i386 from /gcc-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
gcc44-4.4.6-3.el5.1.i386 from /gcc44-4.4.6-3.el5.1.i386 has depsolving problems
  --> Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libobjc.so.1 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmpxx.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc-4.1.2-52.el5.i386 (/gcc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: libobjc = 4.1.2-52.el5 is needed by package gcc-objc-4.1.2-52.el5.i386 (/gcc-objc-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-c++-4.4.6-3.el5.1.i386 (/gcc44-c++-4.4.6-3.el5.1.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc44-gfortran-4.4.6-3.el5.1.i386 (/gcc44-gfortran-4.4.6-3.el5.1.i386)
Error: Missing Dependency: glibc-devel >= 2.2.90-12 is needed by package gcc44-4.4.6-3.el5.1.i386 (/gcc44-4.4.6-3.el5.1.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]# yum install --nogpgcheck gcc-gfortran-4.1.2-52.el5.i386
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package gcc-gfortran-4.1.2-52.el5.i386 available.
Nothing to do
[root@localhost Server]#
[root@localhost Server]# yum install --nogpgcheck gcc-gfortran-*
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gcc-gfortran-4.1.2-52.el5.i386.rpm: gcc-gfortran-4.1.2-52.el5.i386
Marking gcc-gfortran-4.1.2-52.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc-gfortran.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: gcc = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgmp.so.3 for package: gcc-gfortran


--> Finished Dependency Resolution
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: gcc = 4.1.2-52.el5 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
gcc-gfortran-4.1.2-52.el5.i386 from /gcc-gfortran-4.1.2-52.el5.i386 has depsolving problems
  --> Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: gcc = 4.1.2-52.el5 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
Error: Missing Dependency: libgmp.so.3 is needed by package gcc-gfortran-4.1.2-52.el5.i386 (/gcc-gfortran-4.1.2-52.el5.i386)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@localhost Server]#
[root@localhost Server]#
[root@localhost Server]#

[wine@localhost tmp]$ cd wine-1.6.2
[wine@localhost wine-1.6.2]$ ./tools/win
winapi/           wineapploader.in  winebuild/        winedump/         winegcc/          wineinstall       winemaker         winewrapper
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0

below is the message which appeared while installation of wine.


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) yes
Running configure...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/wine-1.6.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Configure failed, aborting install.
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) no
Running configure...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/wine-1.6.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Configure failed, aborting install.
[wine@localhost wine-1.6.2]$
[wine@localhost wine-1.6.2]$
[wine@localhost wine-1.6.2]$ pwd
/tmp/wine-1.6.2
[wine@localhost wine-1.6.2]$

[root@localhost Server]#
[root@localhost yum.repos.d]# su - wine
[wine@localhost ~]$
[wine@localhost ~]$ cd /tmp/wine-1.6.2
[wine@localhost wine-1.6.2]$ ./tools/wine
wineapploader.in  winebuild/        winedump/         winegcc/          wineinstall       winemaker         winewrapper      
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) no
Running configure...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.

Configure failed, aborting install.
[wine@localhost wine-1.6.2]$ exit
logout

[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]# yum install flex
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package flex.i386 0:2.5.4a-41.fc6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                           Arch                              Version                                    Repository                              Size
=============================================================================================================================================================
Installing:
 flex                              i386                              2.5.4a-41.fc6                              Installer                              124 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 124 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : flex                                                                                                                                  1/1
Installed products updated.

Installed:
  flex.i386 0:2.5.4a-41.fc6                                                                                                                                 

Complete!
[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]# su - wine
[wine@localhost ~]$
[wine@localhost ~]$
[wine@localhost ~]$ cd /tmp/wine-1.6.2
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) no
Running configure...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... flex
checking whether flex is recent enough... no
configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer.

Configure failed, aborting install.
[wine@localhost wine-1.6.2]$
[wine@localhost wine-1.6.2]$

downloading flex latest rpm from below ftp link:-



ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/7/i386/flex-2.5.33-9.fc7.i386.rpm


226 Directory send OK.
ftp> ls flex
227 Entering Passive Mode (85,14,85,4,133,52)
150 Here comes the directory listing.
226 Directory send OK.
ftp> ls |grep -i lex
usage: ls remote-directory local-file
ftp> pwd
257 "/vol4/archive.fedoraproject.org/fedora/linux/updates/7/i386"
ftp> get flex-2.5.33-9.fc7.i386.rpm
local: flex-2.5.33-9.fc7.i386.rpm remote: flex-2.5.33-9.fc7.i386.rpm
227 Entering Passive Mode (85,14,85,4,66,55)
150 Opening BINARY mode data connection for flex-2.5.33-9.fc7.i386.rpm (304408 bytes).
226 File send OK.
304408 bytes received in 9.5 seconds (31 Kbytes/s)
ftp> pwd
257 "/vol4/archive.fedoraproject.org/fedora/linux/updates/7/i386"
ftp> exit
?Invalid command
ftp> bye
221 Goodbye.
[root@localhost ~]# ls
anaconda-ks.cfg  Desktop  flex-2.5.33-9.fc7.i386.rpm  install.log  install.log.syslog
[root@localhost ~]# ls -ltr
total 364
-rw-r--r-- 1 root root   4090 May  3 11:58 install.log.syslog
-rw-r--r-- 1 root root  34017 May  3 11:58 install.log
-rw------- 1 root root   1468 May  3 11:58 anaconda-ks.cfg
drwxr-xr-x 2 root root   4096 May  3 23:52 Desktop
-rw-r--r-- 1 root root 304408 May  4 00:03 flex-2.5.33-9.fc7.i386.rpm
[root@localhost ~]# date
Sun May  4 00:04:06 IST 2014
[root@localhost ~]# rpm -ivh flex-2.5.33-9.fc7.i386.rpm
warning: flex-2.5.33-9.fc7.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### [100%]
        file /usr/bin/flex from install of flex-2.5.33-9.fc7.i386 conflicts with file from package flex-2.5.4a-41.fc6.i386
        file /usr/include/FlexLexer.h from install of flex-2.5.33-9.fc7.i386 conflicts with file from package flex-2.5.4a-41.fc6.i386
        file /usr/lib/libfl.a from install of flex-2.5.33-9.fc7.i386 conflicts with file from package flex-2.5.4a-41.fc6.i386
        file /usr/share/man/man1/flex.1.gz from install of flex-2.5.33-9.fc7.i386 conflicts with file from package flex-2.5.4a-41.fc6.i386
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum remove flex
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package flex.i386 0:2.5.4a-41.fc6 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                           Arch                              Version                                    Repository                              Size
=============================================================================================================================================================
Removing:
 flex                              i386                              2.5.4a-41.fc6                              installed                              239 k

Transaction Summary
=============================================================================================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : flex                                                                                                                                  1/1
Installed products updated.

Removed:
  flex.i386 0:2.5.4a-41.fc6                                                                                                                                 

Complete!
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# rpm -ivh flex-2.5.33-9.fc7.i386.rpm
warning: flex-2.5.33-9.fc7.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### [100%]
   1:flex                   ########################################### [100%]
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# su - wine
[wine@localhost ~]$
[wine@localhost ~]$
[wine@localhost ~]$ cd /tmp/wine-1.6.2
[wine@localhost wine-1.6.2]$ ./tools/win
winapi/           wineapploader.in  winebuild/        winedump/         winegcc/          wineinstall       winemaker         winewrapper
[wine@localhost wine-1.6.2]$ ./tools/wineinstall
Wine Installer v1.0


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) no
Running configure...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... no
configure: error: no suitable bison found. Please install the 'bison' package.

Configure failed, aborting install.
[wine@localhost wine-1.6.2]$
[wine@localhost wine-1.6.2]$ exit
logout

[root@localhost ~]# yum install bison
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bison.i386 0:2.3-2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                             Arch                               Version                                Repository                               Size
=============================================================================================================================================================
Installing:
 bison                               i386                               2.3-2.1                                Installer                               536 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 536 k
Is this ok [y/N]: y
Downloading Packages:


Error Downloading Packages:
  bison-2.3-2.1.i386: failure: bison-2.3-2.1.i386.rpm from Installer: [Errno 256] No more mirrors to try.

[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# mount -o loop /media/KINGSTON/rhel-server-5.8-i386-dvd.iso /mnt
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum clean all
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning up Everything
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum install bison
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning up Everything
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum install bison
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installer                                                                                                                             | 1.5 kB     00:00    
Installer/primary                                                                                                                     | 792 kB     00:00    
Installer                                                                                                                                          2472/2472
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bison.i386 0:2.3-2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                             Arch                               Version                                Repository                               Size
=============================================================================================================================================================
Installing:
 bison                               i386                               2.3-2.1                                Installer                               536 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 536 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : bison                                                                                                                                 1/1
Installed products updated.

Installed:
  bison.i386 0:2.3-2.1                                                                                                                                      

Complete!
--------------------

After this running the same ./tools/wineinstall ran successfully attaching the o/p below

       
FTP Link for downloading the package flex

ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/7/i386/flex-2.5.33-9.fc7.i386.rpm



gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o thread.o thread.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o timer.o timer.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o token.o token.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o trace.o trace.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o unicode.o unicode.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o user.o user.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o window.o window.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer  -g -O2  -o winstation.o winstation.c
gcc -o wineserver async.o atom.o change.o class.o clipboard.o completion.o console.o debugger.o device.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o          -L../libs/wine -lwine ../libs/port/libwine_port.a  -lrt  -Wl,--rpath,\$ORIGIN/../libs/wine
gcc -o wineserver-installed async.o atom.o change.o class.o clipboard.o completion.o console.o debugger.o device.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o          -L../libs/wine -lwine ../libs/port/libwine_port.a  -lrt  -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/local/bin /usr/local/lib` -Wl,--enable-new-dtags
LC_ALL=C sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@dlldir\@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.6.2,g' wineserver.man.in >wineserver.man || (rm -f wineserver.man && false)
LC_ALL=C sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@dlldir\@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.6.2,g' wineserver.de.man.in >wineserver.de.man || (rm -f wineserver.de.man && false)
LC_ALL=C sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@dlldir\@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.6.2,g' wineserver.fr.man.in >wineserver.fr.man || (rm -f wineserver.fr.man && false)
make[1]: Leaving directory `/tmp/wine-1.6.2/server'
Wine build complete.

[wine@localhost wine-1.6.2]$ exit

Wine Installation completes successfully now.... , Now we can run and use wine. Before proceeding run /tmp/wine-1.6.2/tools/winewrapper or /tmp/wine-1.6.2/wine to install notepad.exe

[root@localhost wine-1.6.2]# ./tools/wine
wineapploader.in  winebuild/        winedump/         winegcc/          wineinstall       winemaker         winewrapper      
[root@localhost wine-1.6.2]# ./tools/winewrapper
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# ./tools/winewrapper --version
wine-1.6.2
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# ./tools/winewrapper --help
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]#
bash: wine: command not found
[root@localhost wine-1.6.2]#
[root@localhost wine-1.6.2]# ./tools/winewrapper notepad.exe
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
err:process:__wine_kernel_init boot event wait timed out
You can ignore above message and repeat th command.
[root@localhost wine-1.6.2]# ./tools/winewrapper notepad.exe
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
err:process:__wine_kernel_init boot event wait timed out
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
fixme:storage:create_storagefile Storage share mode not implemented.
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
fixme:iphlpapi:NotifyAddrChange (Handle 0x2d6e940, overlapped 0x2d6e94c): stub
wine: configuration in '/root/.wine' has been updated.

















Please write to me for any issues if you face while installing the wine 32 but or 64 bit too on you machine. Adding some screenshot of the wine explorer.exe, wine notepad.exe.




Thanks to Google and other friends working on Wine. With the help of these friends, I was to install and run wine on my linux machine.

Love Sharing
Amit Chopra



No comments: