Linux Dialog Executable

I was trying to write a simple menu using the "dialog" function only to find out that the version of linux i am running (I have previously worked on HP/Sun/ICL/AIX versions of unix)does not have the "dialog exe" and the one that someone has put on this box is not compatible.As follows:-

file /dir/dir/dir/dailog Retruns:-
dialog: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked (uses shared libs), stripped

where as
file /usr/bin/diff
/usr/bin/diff: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

Where can I get the correct version of dialog.

uname -a gives :-
2.6.18-371.el5 #1 SMP Thu Sep 5 21:20:46 EDT 2013 i686 i686 i386 GNU/Linux


Similar Content



Executable Not Found From /usr/local/bin

Hi,

I installed ghostscript via yum package manager. Later I wanted a newer version of ghostscript and compiled it from source. "make install" placed the gs executable file under /usr/local/bin/gs. This works if I run the command with absolute path, but if try to run gs, the shell will output

"-bash: /usr/bin/gs: No such file or directory"

if I echo the path variable it will display

/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin

If i run whereis it will give me the correct path
gs: /usr/local/bin/gs

How do I make it work so that typing "gs" will run the executable file from the /usr/local/bin/gs?

(I am using Centos 6)

Thanks.

Magic Key Unresponsive As Well As System Settings

I have been trying to run linux on a fujitsu Lifebook t series, and have two questions. One may solve the other. First, the system settings option in the top right drop down menu does not respond. When I click it nothing happens. Second I can't seem to find the right combination of keys for "Magic Key". This Fujitsu tablet has a Insert/PrtSc key and a Delete/SysRq key. When I try the key combinations outlined in what I have read, I get a Save screen shot dialog box. This keyboard requires a Fn key to be depressed for the second half (first half/second half) of the two keys I mentioned. I have tried :
the Alt + Insert/PrtSc,
Alt + Delete/SysRq,
Alt + Fn + Insert/PrtSc,
Alt + Fn + Delete/SysRq,
All of those combinations trigger the "Save screen shot dialog".
Thanks for any insight!
Wayne

.o: File Not Recognized: File Format Not Recognized When Compiling

Hello,

I am working on a board (sbc6000x with at91sam9261 micro, linux 2.6.24 to be precise) and having some fun making script i wanted to make real application.
The board is coming with a cross compilation toolchain. When trying to make a simple "hello world" executable to print on the terminal there is no problem.
I open my terminal, give the path of the compiler, cd into the folder where my .c file is and then i type :
Code:
arm-linux-gcc -o hello hello.c

Which create my executable "hello" and this one is working. But like i said, this program only played with the terminal.

The board is starting with a script calling another executable which use the lcd display, i have the source of this executable. My idea was to look at what was in the source of this application (lots of folders and files) in order to understand how it was working. I wanted to test the toolchain on the source (with the makefile) to see if i was able to generate an executable from a application with folderS/fileS but when i try to "make" it i have this error.

In my understanding this is an object file but aside from that i don't see why it would not works.

Thank you for your future answers !

How To Share The Same Code Segment Between Two Processes Using Mmaps?

Hi Experts:

I'm new to Linux,recently i was confused with the words as below:

"To achieve sharing,the process A mmaps the executable file of process B into into the virtual address space of process A. As the Linux loader maps the executable files into the process when executing them,the two processes share the memory image of the mapped file"

questions:
1,What are the "executable files",are they ELF files?
2,How to do "mmaps"?if process A and process B share the same code segment, ,where is process A's own code segment?


Thank you in advance.

Screenlock Password Incorrect

Hi - I have the most aggravating problem. On my RHEL 5.2 w/s using gnome (or KDE), if you select "lock screen" from the pulldown and then try to unlock the screen with your password you logged in successfully with in the first place, it comes back shaking it's head INCORRECT PASSWORD. I did some digging and the /var/log/secure file is spitting out:

gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=500 euid=500 tty=0.0 ruser= rhost= user=username

Then below that also:

gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): auth could not identify password for [username]

I find this is happening on a few of my other RHEL systems too: RHEL 5.5, 6.0, and 6.5.

Help!

Lenovo S510p: Any Information On Installing Kali Linux.

I have tried installing the newest version on Kali Linux on my laptop. I have these specs...

Lenovo S510p (touch)

Processor- Intel(R) Core(TM) i3
RAM-6GB
System Type-64-bit, x64 based OS

Windows 8.1

It gives me errors with the kernels, ive tried i686 i486 i386, it wont start when I usb unstall 64 amd version, it starts with i386 but the kernel wont run the persistent setup because it gives me an error message about the kernel. i486 just worked all weird on my laptop. Any links or step by step guides to the BEST methods of installing the write version for persistent mode, any info on MAIN things to upgrade right away from the command box like audio, graphics, add-on tools, updates etc... im trying to get all that before I head out of town in less the 48 hours with little time to be online for the moment. Id greatly appreciate your responses.....

Reinstall Linuxmint Rebecca 17.1 Without Losing Personal Data, When There Is No Bckup

Hi,
I'm very new at this. This is probably to long. This is the first time I've posted a question in a forum like this. Don't know yet how to state this kind of problem concisely.
-The problem: my Linuxmint Rebecca 17.1 won't boot up. I believe I deleted an essential file from the OS and need to reinstall Rebecca. But, here's the big thing I feel desperate about. I need to do this (reinstall) without destroying (overwriting, erasing or such) all my data, and thus losing all my research and writing project files, audios and so on, my life.
-From my newbie view, very incomplete view,, here's what I think I was doing just before the catastrophe.
-I got a dialog box telling me I had twenty packages that were broken.
-I tried several things involving the update manager, which I can't remember now, to resolve the broken package thing.
-I kept getting a dialog box asking me, in effect, if I wanted to remove these broken packages, which I thought I should probably do.
However, one of these broken packages/files was labeled as an 'essential file.' And, the dialog box asked, in effect: "Are you sure you want to remove this essential file?"
Well no, of course, I didn't want to remove an essential file, so I spent an hour or so trying to get that 'essential file' off that broken package list. I couldn't find a way to do it.
Finally, super frustrated, I went ahead and removed all the broken packages, and along with those, the 'essential' file. (this was the mistake, a huge mistake on my part).
-And ta da. No more Rebecca. I exhausted every approach I know to reboot, but it wasn't going to happen. Quess the 'essential' file I removed was 'essential.' :-).
-I put Rebecca on a USB. Finally got the BIOS to boot up the Rebecca USB. So, I can run Rebecca from the USB. It looks like I could install her again on my desktop from this point. But, I don't dare, without knowing how to do so without further shooting myself in the foot.
Any direction? I would be so grateful if there was. Thanks

What Does The "T" Mean When You List File Permissions W/ Ls -l

I have a directory w/ a file that I created using:
Code:
fd = open("file", O_CREAT);

The file turned out to be executable. When I did a 'ls -l' on the directory w'/ that file it has a "T" at the end of the permissions where the executable bit would be set for the "other" group.

Elder Scrolls Online: Tamriel Unlimited Not Working No Matter What I Do

I've recently bought The Elder Scrolls Online: Tamriel Unlimited, and I can't get it to work with wine no matter what I do. I've followed this tutorial, which just gives me a white screen when I run the installation exe, I've run the script from POL, which gives me the same white screen when I run the exe, and I've tried running it with just wine, giving me the same result. I've tried using opengl in the "display" tab on play on linux, which does't do anything. I've tried installing some components such as vcrun, doesn't help. I've reinstalled play on linux and wine, didn't do anything. And I've tried installing steam and then installing the elder scrolls online from steam and it doesn't do anything.

"playonlinux.log" from installation script: http://paste.ubuntu.com/11549385/

"playonlinux.log" from this video: http://paste.ubuntu.com/11549531/

When I start up the installation exe it will bring up a window that looks like this (sometimes the text doesn't show up) or bring up a crash dialog that looks like this. Then When I press "go" or the blank button depending on whether or not the text decides to show up, it will bring up a fullscreen white window and then it will shrink down and freeze, not doing anything or showing anything. Sometimes it will bring up a window like this when I press "go", frozen, saying "play on linux is installing your application."

I'm using the latest version of Manjaro, just updated. And I'm using the "video-catalyst" proprietary drivers. Note that I did get it working with my laptop by just running "wine Install_ESO.exe" and it worked fine. The only difference is the hardware and the drivers, both are running manjaro. Does it only work with open-source drivers?

If any of you have any help, I'd appreciate it. If there is any log files you need I can provide them.

Libphp5.so Not Created

Hi,

Friends,

I had i problem with php compilation. When i do make install I get below error.

Code:
 make install
Installing PHP SAPI module:       apache2handler
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr/build-1/libtool' libphp5.la /usr/lib/httpd/modules
/usr/lib/apr/build-1/libtool --mode=install install libphp5.la /usr/lib/httpd/modules/
libtool: install: install .libs/libphp5.lai /usr/lib/httpd/modules/libphp5.la
libtool: install: install .libs/libphp5.a /usr/lib/httpd/modules/libphp5.a
libtool: install: chmod 644 /usr/lib/httpd/modules/libphp5.a
libtool: install: ranlib /usr/lib/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/src/php-5.4.37/libs'
Warning!  dlname not found in /usr/lib/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/httpd/modules/libphp5.so
chmod: cannot access `/usr/lib/httpd/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536

I had below httpd modules install

Code:
[root@centos6php54 php-5.4.37]# rpm -qa|grep httpd|sort
httpd-2.4.12-1.i686
httpd-debuginfo-2.4.12-1.i686
httpd-devel-2.4.12-1.i686
httpd-manual-2.4.12-1.i686
httpd-tools-2.4.12-1.i686

I have below config parameters

Code:
'./configure'  '--build=i686' '--host=i686' '--target=i686' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=/lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-mime-magic=/usr/share/file/magic' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-interbase=shared,/usr/lib/firebird' '--with-pdo-firebird=shared,/usr/lib/firebird' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pdo-dblib=shared,/usr' '--with-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--with-readline' '--enable-dbase=shared' '--with-pspell=shared' '--with-mcrypt=shared,/usr' '--with-mhash=shared,/usr' '--with-tidy=shared,/usr' '--with-mssql=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--with-apxs2'

apxs path

Code:
[root@centos6php54 php-5.4.37]# which apxs
/usr/bin/apxs

OS Version

Code:
[root@centos6php54 php-5.4.37]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

Any help will be really appreciable.

Regards,

Redssr