LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2010, 01:38 PM   #1
gudwindavids
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Help needed to run xmgls (radware) un ubuntu


Hi everyone, I am new to the site so my greetings go to all the members.
I have been using ubuntu now for about 1 month beforehand I used scientific linux, which I found to be very awkward when it came to wireless compatibility and I also found yum to be very poor when compared to apt, Anyway I will get to the main point of the post. I need to analyse data using the program Radware link given below

http://radware.phy.ornl.gov/download.html ---- > rw01.0.9.zip (1.2MB)
Linux motif static-linked programs. (3MB)
README file for Unix
And I think you need these to compile in ubuntu

lesstif2
lesstif2-dev
libreadline5
libreadline5-dev
readline-common

Then go to src directory and then cp Makefile.linux Makefile
edit the Makefile so that

INSTALL_DIR = ${HOME}/rw_current
INSTALL = /usr/bin/install
INSTALL_BIN = /usr/bin/install

or whatever you wish.
Ok then

make all
make install

and it should all compile.
This is fine and I can run the program gf3 and all other programs that don't use the .gls files. However when I use xmlev or xmgls and try to load in the demo.gls file ( in demo directory) I get the following error message

ERROR - cannot open file font.dat
-- Check that the environment variable or logical name
RADWARE_FONT_LOC is properly defined, and that the file
font.dat exists in the directory to which it points.

I have tried editing the hidden files .radware.bashrc and .radwarerc to point towards the /font directory in which the error points out but it still does not work.
Also when I try to run xmlev or xm4dg I get the following error which I do not fully understand.

gudwin@ubuntu:~/rw_current/bin$ xmlev
Trying to create pixmap of size 600 by 500
*** buffer overflow detected ***: xmlev terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f745d9305f7]
/lib/libc.so.6[0x7f745d92f5a0]
xmlev[0x40b904]
xmlev[0x405d5a]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f745d857abd]
xmlev[0x403619]
======= Memory map: ========
00400000-00450000 r-xp 00000000 07:00 206258 /usr/local/bin/xmlev
0064f000-00650000 r--p 0004f000 07:00 206258 /usr/local/bin/xmlev
00650000-00652000 rw-p 00050000 07:00 206258 /usr/local/bin/xmlev
00652000-01a3a000 rw-p 00000000 00:00 0
03910000-039a7000 rw-p 00000000 00:00 0 [heap]
7f745c1b7000-7f745c1cd000 r-xp 00000000 07:00 11044 /lib/libgcc_s.so.1
7f745c1cd000-7f745c3cc000 ---p 00016000 07:00 11044 /lib/libgcc_s.so.1
7f745c3cc000-7f745c3cd000 r--p 00015000 07:00 11044 /lib/libgcc_s.so.1
7f745c3cd000-7f745c3ce000 rw-p 00016000 07:00 11044 /lib/libgcc_s.so.1
7f745c3ce000-7f745c3d3000 r-xp 00000000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c3d3000-7f745c5d2000 ---p 00005000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d2000-7f745c5d3000 r--p 00004000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d3000-7f745c5d4000 rw-p 00005000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d4000-7f745c5dd000 r-xp 00000000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c5dd000-7f745c7dc000 ---p 00009000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7dc000-7f745c7dd000 r--p 00008000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7dd000-7f745c7de000 rw-p 00009000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7de000-7f745c7e7000 r-xp 00000000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c7e7000-7f745c9e6000 ---p 00009000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e6000-7f745c9e7000 r--p 00008000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e7000-7f745c9e8000 rw-p 00009000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e8000-7f745c9ed000 r-xp 00000000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745c9ed000-7f745cbec000 ---p 00005000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745cbec000-7f745cbed000 rw-p 00004000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745cbed000-7f745cbf0000 r-xp 00000000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cbf0000-7f745cdf0000 ---p 00003000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf0000-7f745cdf1000 r--p 00003000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf1000-7f745cdf2000 rw-p 00004000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf2000-7f745cdf4000 r-xp 00000000 07:00 1662 /lib/libdl-2.10.1.so
7f745cdf4000-7f745cff4000 ---p 00002000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff4000-7f745cff5000 r--p 00002000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff5000-7f745cff6000 rw-p 00003000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff6000-7f745d011000 r-xp 00000000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d011000-7f745d210000 ---p 0001b000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d210000-7f745d211000 r--p 0001a000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d211000-7f745d212000 rw-p 0001b000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d212000-7f745d214000 r-xp 00000000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d214000-7f745d413000 ---p 00002000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d413000-7f745d414000 r--p 00001000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d414000-7f745d415000 rw-p 00002000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d415000-7f745d42c000 r-xp 00000000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d42c000-7f745d62b000 ---p 00017000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62b000-7f745d62c000 r--p 00016000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62c000-7f745d62d000 rw-p 00017000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62d000-7f745d630000 rw-p 00000000 00:00 0
7f745d630000-7f745d638000 r-xp 00000000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d638000-7f745d837000 ---p 00008000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d837000-7f745d838000 r--p 00007000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d838000-7f745d839000 rw-p 00008000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d839000-7f745d99f000 r-xp 00000000 07:00 1648 /lib/libc-2.10.1.so
7f745d99f000-7f745db9e000 ---p 00166000 07:00 1648 /lib/libc-2.10.1.so
7f745db9e000-7f745dba2000 r--p 00165000 07:00 1648 /lib/libc-2.10.1.so
7f745dba2000-7f745dba3000 rw-p 00169000 07:00 1648 /lib/libc-2.10.1.so
7f745dba3000-7f745dba8000 rw-p 00000000 00:00 0
7f745dba8000-7f745dbe6000 r-xp 00000000 07:00 1694 /lib/libncurses.so.5.7
7f745dbe6000-7f745dde6000 ---p 0003e000 07:00 1694 /lib/libncurses.so.5.7
7f745dde6000-7f745ddea000 r--p 0003e000 07:00 1694 /lib/libncurses.so.5.7
7f745ddea000-7f745ddeb000 rw-p 00042000 07:00 1694 /lib/libncurses.so.5.7
7f745ddeb000-7f745de21000 r-xp 00000000 07:00 8314 /lib/libreadline.so.5.2
7f745de21000-7f745e020000 ---p 00036000 07:00 8314 /lib/libreadline.so.5.2
7f745e020000-7f745e022000 r--p 00035000 07:00 8314 /lib/libreadline.so.5.2
7f745e022000-7f745e028000 rw-p 00037000 07:00 8314 /lib/libreadline.so.5.2
7f745e028000-7f745e029000 rw-p 00000000 00:00 0
7f745e029000-7f745e0ab000 r-xp 00000000 07:00 1690 /lib/libm-2.10.1.soAborted

I never had this problem with scientific linux, but I really want to begin using the programs in ubuntu, so if anyone can help me I would be very grateful.

By the way I have posted this question also on the following site

http://ubuntuforums.org/showthread.p...35#post9747035

Cheers

Gudwin
 
Old 08-23-2010, 08:14 AM   #2
SemiBeard
LQ Newbie
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Make sure you do an 'export RADWARE_FONT_LOC' before you run your other
programs. If you are doing an export of it, make sure it points to
the correct font path:
Try 'export RADWARE_FONT_LOC=${HOME}/rw_current/font' (or wherever your
font radware font directory is).
Also remember not to put spaces between the equal sign when assigning values to variables like RADWARE_FONT_LOC.

Quote:
Originally Posted by gudwindavids View Post
Hi everyone, I am new to the site so my greetings go to all the members.
I have been using ubuntu now for about 1 month beforehand I used scientific linux, which I found to be very awkward when it came to wireless compatibility and I also found yum to be very poor when compared to apt, Anyway I will get to the main point of the post. I need to analyse data using the program Radware link given below

http://radware.phy.ornl.gov/download.html ---- > rw01.0.9.zip (1.2MB)
Linux motif static-linked programs. (3MB)
README file for Unix
And I think you need these to compile in ubuntu

lesstif2
lesstif2-dev
libreadline5
libreadline5-dev
readline-common

Then go to src directory and then cp Makefile.linux Makefile
edit the Makefile so that

INSTALL_DIR = ${HOME}/rw_current
INSTALL = /usr/bin/install
INSTALL_BIN = /usr/bin/install

or whatever you wish.
Ok then

make all
make install

and it should all compile.
This is fine and I can run the program gf3 and all other programs that don't use the .gls files. However when I use xmlev or xmgls and try to load in the demo.gls file ( in demo directory) I get the following error message

ERROR - cannot open file font.dat
-- Check that the environment variable or logical name
RADWARE_FONT_LOC is properly defined, and that the file
font.dat exists in the directory to which it points.

I have tried editing the hidden files .radware.bashrc and .radwarerc to point towards the /font directory in which the error points out but it still does not work.
Also when I try to run xmlev or xm4dg I get the following error which I do not fully understand.

gudwin@ubuntu:~/rw_current/bin$ xmlev
Trying to create pixmap of size 600 by 500
*** buffer overflow detected ***: xmlev terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f745d9305f7]
/lib/libc.so.6[0x7f745d92f5a0]
xmlev[0x40b904]
xmlev[0x405d5a]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f745d857abd]
xmlev[0x403619]
======= Memory map: ========
00400000-00450000 r-xp 00000000 07:00 206258 /usr/local/bin/xmlev
0064f000-00650000 r--p 0004f000 07:00 206258 /usr/local/bin/xmlev
00650000-00652000 rw-p 00050000 07:00 206258 /usr/local/bin/xmlev
00652000-01a3a000 rw-p 00000000 00:00 0
03910000-039a7000 rw-p 00000000 00:00 0 [heap]
7f745c1b7000-7f745c1cd000 r-xp 00000000 07:00 11044 /lib/libgcc_s.so.1
7f745c1cd000-7f745c3cc000 ---p 00016000 07:00 11044 /lib/libgcc_s.so.1
7f745c3cc000-7f745c3cd000 r--p 00015000 07:00 11044 /lib/libgcc_s.so.1
7f745c3cd000-7f745c3ce000 rw-p 00016000 07:00 11044 /lib/libgcc_s.so.1
7f745c3ce000-7f745c3d3000 r-xp 00000000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c3d3000-7f745c5d2000 ---p 00005000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d2000-7f745c5d3000 r--p 00004000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d3000-7f745c5d4000 rw-p 00005000 07:00 7844 /usr/lib/libXfixes.so.3.1.0
7f745c5d4000-7f745c5dd000 r-xp 00000000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c5dd000-7f745c7dc000 ---p 00009000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7dc000-7f745c7dd000 r--p 00008000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7dd000-7f745c7de000 rw-p 00009000 07:00 7864 /usr/lib/libXrender.so.1.3.0
7f745c7de000-7f745c7e7000 r-xp 00000000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c7e7000-7f745c9e6000 ---p 00009000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e6000-7f745c9e7000 r--p 00008000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e7000-7f745c9e8000 rw-p 00009000 07:00 7836 /usr/lib/libXcursor.so.1.0.2
7f745c9e8000-7f745c9ed000 r-xp 00000000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745c9ed000-7f745cbec000 ---p 00005000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745cbec000-7f745cbed000 rw-p 00004000 07:00 7840 /usr/lib/libXdmcp.so.6.0.0
7f745cbed000-7f745cbf0000 r-xp 00000000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cbf0000-7f745cdf0000 ---p 00003000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf0000-7f745cdf1000 r--p 00003000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf1000-7f745cdf2000 rw-p 00004000 07:00 1769 /lib/libuuid.so.1.3.0
7f745cdf2000-7f745cdf4000 r-xp 00000000 07:00 1662 /lib/libdl-2.10.1.so
7f745cdf4000-7f745cff4000 ---p 00002000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff4000-7f745cff5000 r--p 00002000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff5000-7f745cff6000 rw-p 00003000 07:00 1662 /lib/libdl-2.10.1.so
7f745cff6000-7f745d011000 r-xp 00000000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d011000-7f745d210000 ---p 0001b000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d210000-7f745d211000 r--p 0001a000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d211000-7f745d212000 rw-p 0001b000 07:00 8862 /usr/lib/libxcb.so.1.1.0
7f745d212000-7f745d214000 r-xp 00000000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d214000-7f745d413000 ---p 00002000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d413000-7f745d414000 r--p 00001000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d414000-7f745d415000 rw-p 00002000 07:00 7829 /usr/lib/libXau.so.6.0.0
7f745d415000-7f745d42c000 r-xp 00000000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d42c000-7f745d62b000 ---p 00017000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62b000-7f745d62c000 r--p 00016000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62c000-7f745d62d000 rw-p 00017000 07:00 7792 /usr/lib/libICE.so.6.3.0
7f745d62d000-7f745d630000 rw-p 00000000 00:00 0
7f745d630000-7f745d638000 r-xp 00000000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d638000-7f745d837000 ---p 00008000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d837000-7f745d838000 r--p 00007000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d838000-7f745d839000 rw-p 00008000 07:00 7821 /usr/lib/libSM.so.6.0.0
7f745d839000-7f745d99f000 r-xp 00000000 07:00 1648 /lib/libc-2.10.1.so
7f745d99f000-7f745db9e000 ---p 00166000 07:00 1648 /lib/libc-2.10.1.so
7f745db9e000-7f745dba2000 r--p 00165000 07:00 1648 /lib/libc-2.10.1.so
7f745dba2000-7f745dba3000 rw-p 00169000 07:00 1648 /lib/libc-2.10.1.so
7f745dba3000-7f745dba8000 rw-p 00000000 00:00 0
7f745dba8000-7f745dbe6000 r-xp 00000000 07:00 1694 /lib/libncurses.so.5.7
7f745dbe6000-7f745dde6000 ---p 0003e000 07:00 1694 /lib/libncurses.so.5.7
7f745dde6000-7f745ddea000 r--p 0003e000 07:00 1694 /lib/libncurses.so.5.7
7f745ddea000-7f745ddeb000 rw-p 00042000 07:00 1694 /lib/libncurses.so.5.7
7f745ddeb000-7f745de21000 r-xp 00000000 07:00 8314 /lib/libreadline.so.5.2
7f745de21000-7f745e020000 ---p 00036000 07:00 8314 /lib/libreadline.so.5.2
7f745e020000-7f745e022000 r--p 00035000 07:00 8314 /lib/libreadline.so.5.2
7f745e022000-7f745e028000 rw-p 00037000 07:00 8314 /lib/libreadline.so.5.2
7f745e028000-7f745e029000 rw-p 00000000 00:00 0
7f745e029000-7f745e0ab000 r-xp 00000000 07:00 1690 /lib/libm-2.10.1.soAborted

I never had this problem with scientific linux, but I really want to begin using the programs in ubuntu, so if anyone can help me I would be very grateful.

By the way I have posted this question also on the following site

http://ubuntuforums.org/showthread.p...35#post9747035

Cheers

Gudwin
 
Old 08-23-2010, 05:34 PM   #3
gudwindavids
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you Semibeard, what you suggest works and I no longer get the following error
ERROR - cannot open file font.dat
-- Check that the environment variable or logical name
RADWARE_FONT_LOC is properly defined, and that the file
font.dat exists in the directory to which it points.

However I still cannot get xmlev to work with the error
Trying to create pixmap of size 600 by 500
*** buffer overflow detected ***: xmlev terminated
======= Backtrace: =========

still being cited
 
Old 08-25-2010, 07:15 AM   #4
SemiBeard
LQ Newbie
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Maybe the 600x500 is too big. see if xmlev has an option to reduce it.

Anyone else know xmlev?

Quote:
Originally Posted by gudwindavids View Post
Thank you Semibeard, what you suggest works and I no longer get the following error
ERROR - cannot open file font.dat
-- Check that the environment variable or logical name
RADWARE_FONT_LOC is properly defined, and that the file
font.dat exists in the directory to which it points.

However I still cannot get xmlev to work with the error
Trying to create pixmap of size 600 by 500
*** buffer overflow detected ***: xmlev terminated
======= Backtrace: =========

still being cited
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Needed: Share windows partitions on Ubuntu server from Ubuntu Client? dblaisde Linux - Networking 1 07-12-2010 06:31 PM
Can Compile but cant Run... Urgent Help Needed jamescarno Programming 2 08-08-2006 05:13 AM
Files needed to run Slackware Kensai Slackware 1 02-17-2004 11:39 PM
Packages Needed To Run Mplayer sxa Linux - Software 17 10-06-2003 09:47 PM
GLIBC_2.3 Needed to Run wine Nightmatrix Linux - Newbie 6 08-01-2003 01:06 PM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration