Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Guest LinuxNut

Chmod

Recommended Posts

Guest LinuxNut

Hi! My friend told me about this game, and it looks pretty cool. I am using OpenSUSE 11.4, and I have never heard of "chmod". I downloaded the full .zip file for Linux, and extracted it to my Games directory in my home. So this is what it looks like:

 

jonathan@linux-i1fg:~/Games/el_linux> ls
2dobjects      el.x86_64.linux.bin  languages              servers.lst
3dobjects      el.x86.linux.bin     license.txt            shaders
3dobjects.txt  emotes.xml           mapinfo.lst            skeletons
actor_defs     entrable.lst         maplist.lst            skybox
animations     extentions.xml       maps                   sound_warnings.txt
browser.lst    global_filters.txt   material_metadata.xml  spells.xml
commands.lst   harvestable.lst      meshes                 textures
elc.ico        icon.bmp             mines.xml              weather.xml
el_icon.png    key.ini              mirrors.lst
el.ini         knowledge.xml        particles

 

From there, I have no idea what to do... :cry:

Share this post


Link to post
Share on other sites

If you're on 32bit just type:

 

chmod 755 el.x86.linux.bin

 

 

or for 64bit:

 

chmod 755 el.x86_64.linux.bin

 

 

and then you can run whichever binary you just chmod'ed.

Share this post


Link to post
Share on other sites

You can also use:

chmod +x binary (or script)

 

There is also some methods to do it in graphical environment, my favorite is Konqueror, there you should use:

Right Mouse Click on the file --> Properties --> Permissions --> and check the "Is Executable" box. It works just as chmod, with any binary file or script.

Edited by Lorck

Share this post


Link to post
Share on other sites
Guest LinuxNut

You can also use:

chmod +x binary (or script)

 

There is also some methods to do it in graphical environment, my favorite is Konqueror, there you should use:

Right Mouse Click on the file --> Properties --> Permissions --> and check the "Is Executable" box. It works just as chmod, with any binary file or script.

 

 

Ok I made it to be executable, and I keep getting this image whenever I try to run it. (Im trying to use the 32 bit)

 

screenshotue.png

Share this post


Link to post
Share on other sites
Guest LinuxNut

Ok, I now got the screen to pop up, but it then dies after like 3 seconds. This is the output:

 

jonathan@linux-i1fg:~/Games/el_linux> ./el.x86.linux.bin
Segmentation fault
jonathan@linux-i1fg:~/Games/el_linux> 

 

I don't know what a "segmentation fault" is?

Share this post


Link to post
Share on other sites

Segmentation faults when a program try to access a memory region which it shouldn't.

 

Probably you don't have permission or ownership of some file which the EL client is trying to access. You can do the following (as root) to change ownership to your normal user account:

cd ~/Games/el_linux
su your_root_password
chown * jonathan
chown */* jonathan
chown */*/* jonathan

 

If it doesn't work can you please post the output of the following commands?

glxinfo | grep rendering
glxinfo | grep vendor
ldd el.x86.linux.bin

Edited by Lorck

Share this post


Link to post
Share on other sites
Guest LinuxNut

Ok, the chown thing did not work, I don't think. This is the output:

 

jonathan@linux-i1fg:~/Games/el_linux> su
Password: 
linux-i1fg:/home/jonathan/Games/el_linux # chown * jonathan
chown: invalid user: `2dobjects'
linux-i1fg:/home/jonathan/Games/el_linux # chown */* jonathan
chown: invalid user: `2dobjects/ground'
linux-i1fg:/home/jonathan/Games/el_linux # chown */*/* jonathan
chown: invalid user: `2dobjects/ground/b_bone1.2d0'
linux-i1fg:/home/jonathan/Games/el_linux # 

 

And here is the output for the GLX infos:

 

linux-i1fg:/home/jonathan/Games/el_linux # glxinfo | grep rendering
direct rendering: Yes
linux-i1fg:/home/jonathan/Games/el_linux # glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: X.Org R300 Project
linux-i1fg:/home/jonathan/Games/el_linux # ldd el.x86.linux.bin
linux-gate.so.1 =>  (0xffffe000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb77ab000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7791000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76a2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7684000)
libc.so.6 => /lib/libc.so.6 (0xb751a000)
/lib/ld-linux.so.2 (0xb7827000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb73dd000)
libm.so.6 => /lib/libm.so.6 (0xb73b3000)
libdl.so.2 => /lib/libdl.so.2 (0xb73ae000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb73aa000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7398000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7393000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb738d000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7387000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb737a000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb735a000)
librt.so.1 => /lib/librt.so.1 (0xb734f000)
linux-i1fg:/home/jonathan/Games/el_linux # 

Share this post


Link to post
Share on other sites

Ok, the chown thing did not work, I don't think. This is the output:

 

jonathan@linux-i1fg:~/Games/el_linux> su
Password: 
linux-i1fg:/home/jonathan/Games/el_linux # chown * jonathan
chown: invalid user: `2dobjects'
linux-i1fg:/home/jonathan/Games/el_linux # chown */* jonathan
chown: invalid user: `2dobjects/ground'
linux-i1fg:/home/jonathan/Games/el_linux # chown */*/* jonathan
chown: invalid user: `2dobjects/ground/b_bone1.2d0'
linux-i1fg:/home/jonathan/Games/el_linux # 

(...)

 

The correct instruction to change the ownership in your el_linux directory is (as root):

chown -R jonathan *

 

For the rest, I can't help, sorry.

<edit>(Only that I have much more linked libraries shown by the ldd instruction.)</edit>

Edited by Kabuya

Share this post


Link to post
Share on other sites

Rename "el.x86.linux.bin" to "el"

That'll fix the nautilus warning. Nautilus is confused by the .bin extension. Binary executable files under Linux normally don't have extensions.

Edited by hussam

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×