LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   nhm writer installation (https://www.linuxquestions.org/questions/linux-newbie-8/nhm-writer-installation-4175486010/)

the212degree 11-27-2013 02:32 AM

nhm writer installation
 
how to install "nhmwriter.exe" file in cent OS 6.4

druuna 11-27-2013 02:53 AM

Quote:

Originally Posted by the212degree (Post 5071293)
how to install "nhmwriter.exe" file in cent OS 6.4

nhmwriter, a process checker, seems to be a Windows executable.

Windows executables can, sometimes, be run from wine. But in this case I wonder if there is any point to do this (it seems to be checking running processes on Microsoft windows system).

the212degree 11-28-2013 08:38 AM

then how to install wine in cent 0s 6.4

druuna 11-28-2013 08:46 AM

Did you try a net search?

centos 6 install wine

the212degree 11-30-2013 08:18 AM

i have installed wine in cent OS 6.4 but while running the last command "winecfg" error stats that wine not found. so i quit and restarted the OS. oops! cent os got stucked. simply i am getting community enterprises OS. the system does not boot after that. how to get in to the OS or get back my old one

druuna 11-30-2013 09:10 AM

It is probably possible to boot into a limited environment, which could be used to troubleshoot and maybe fix the problem:
- Boot into runlevel 1 (Changing Runlevels at Boot Time)
- Use rescue mode (Booting into Rescue Mode)

Once you have a prompt you can start working on the problem.

Without knowing why your system doesn't boot normally it is impossible to give you any advise on how to fix it.
- Are there any error messages shown?
- Are there any clues in the log files?

Madhu Desai 11-30-2013 09:47 AM

Quote:

Originally Posted by the212degree (Post 5072951)
oops! cent os got stucked. simply i am getting community enterprises OS. the system does not boot after that. how to get in to the OS or get back my old one

In that case, press <Alt>+F2 to F6 (or maybe <Ctrl><Alt>F2) to to get into tty, login as root, and check what /var/log/boot.log or /var/log/messages say.

John VV 11-30-2013 01:29 PM

HOW did you install wine ?
it is in the CentOS repos BUT that is an older version

you really DO need to build and install the source code

but the easiest is to use yum
Code:

su -
yum install wine

but this is a Microsoft Windows text editor
-- is this it ?
the VERY VERY VERY OLD
http://nhm-writer.software.informer.com/1.5/
or just the very old
http://software.nhm.in/products/writer

run Microsoft windows programs on a Microsoft Windows Operating system

the212degree 12-03-2013 08:55 PM

i installed wine 1.7.3 as follows

# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel freetype-devel

$ cd /tmp
$ wget http://citylan.dl.sourceforge.net/pr...-1.7.3.tar.bz2

$ tar -xvf wine-1.7.3.tar.bz2 -C /tmp/
$ cd wine-1.7.3/
$ ./configure --enable-win64
$ make
# make install

everything went fine up to this

in the website (http://www.tecmint.com/install-wine-...and-fedora/)it was said that Once the installation completes run the “winecfg” configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.

# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

Once the X Window System installed, run the command as normal user to see wine configuration.


$ winecfg


since i dont have kde or gnome desktop i run "yum groupintall "x window system" "gnome desktop environment" and yum groupinstall "x window system" "KDE (K Desktop Envirnment)"
after that i run $ winecfg

i got error saying that line 52: exec: wine: not found
so i exit the terminal and rebooted the system

after that i got nothing - simply CENT OS on the screen.
i boot from the rescue cd and went up to
$ chroot /mnt/sysimage
nothing happens after that so i rebooted and the screen looks now
grub>load
kernel has to be started before loading
i searched in the net for loading kernel but everything went futile

the lesson learnt from this is dont install wine in cent 6.4 x86_64. OS sucks
is formating is the only option?

John VV 12-03-2013 09:51 PM

from source and you forgot that RHEL/CentOS/Fedora DO NOT use "/usr/local"
on RHEL/Cent/SL/Fedora use the "--prefix=/usr" option on ALL source builds
( make this a habit you DO ON ALL source builds on Redhat based OS's )

the Debian based default install folder " /usr/local" is NOT in the system $PATH or $LD_LIBRARY_PATH on Redhat based OS's

uninstall Wine
Code:

su
make uninstall


-- VERY IMPORTANT !!!!! -----
then clean the source code !!!!!!!!!!!!!
Code:

make distclean

then rerun "configure with the --prefix option set to /usr
Code:

cd wine-1.7.3/
./configure --enable-win64 --prefix=/usr
make
su
---- your root password -----
make install


the212degree 12-07-2013 07:27 AM

when i the system is booted , the following text is seen on the screen

GNU GRUB version 0.97 (639k lower, 2028160k upper memory)
(minimal BASH-like line editing is supported. for the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename)

the Possible commands are

background
blocklist
boot
cat
chain loader clear cmp col or configfile debug displayapm displaymem embed find foreground ........... vebprobe verbose

i tried
grub>load
unrecognised command
i tried
grub>boot
kernel must be loaded before loading
i tried
grub>kernel
unrecognised command
i tried for loading kernel but everything went futile
what to do now?

John VV 12-07-2013 12:26 PM

this is not related to wine
you messed up the bootloader " grub"


grub needs to be reinstalled
http://wiki.centos.org/HowTos/GrubInstallation


i have to ask
HOW did you mess up grub with the above commands
installing wine will not do that


and please start a NEW thread for this VERY different issues

this is not related to installing wine to run a Microsoft windows text editor .
( and you should run "nhmwriter.exe" on a MS windows Operating system )

the212degree 12-08-2013 02:58 AM

ok, i will move to a new thread. but finally i have to say - installing wine lead to problem in grub but i dont know how. but this is the fact


All times are GMT -5. The time now is 05:50 AM.