Statically linked Linux-version

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#16 Post by kroddn » Wed Jul 25, 2007 7:28 am

I think it's not only the FO-Sourcecode which i have to supply. That would not be a problem, as I could zip it into the download.

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#17 Post by opgog » Mon Aug 06, 2007 5:27 am

Can someone help walk me through this please!

1. Install
============
- Download the latest archiv
e.g.:
cd /tmp
wget http://psitronic.de/div/FO/lastest.tar.gz

-[ Change to directory which shell hold "freeorion"] What dose this mean? in other words how exactly do I do this?
e.g. as root:
mkdir -p /usr/local/games
cd /usr/local/games
or as normal user in $HOME:
cd
mkdir -p games
cd games

- Extract the tar.gz
tar xfz /tmp/lastest.tar.gz

- Run the Executable
e.g.:
/usr/local/games/freeorion/freeorion

Thanks!

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#18 Post by opgog » Mon Aug 06, 2007 5:34 am

I have another question which is what if you mess up and want to clean your system and remove the game with reinstalling?

I'm using Feisty.

Thanks again.

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#19 Post by opgog » Mon Aug 06, 2007 5:42 am

I tried following the instructions to the letter but found that once I get to :

as normal user in $HOME:
cd
mkdir -p games
cd games

My terminal changes to: niall@kronos:~/games$

Where before it looked like this : niall@kronos:~/$

Does this mean that I'm now in this directory? if so what comes next?

this is what my output looks like.
niall@kronos:~$ cd
niall@kronos:~$ mkdir -p games
niall@kronos:~$ cd games
niall@kronos:~/games$ tar xfz /tmp/lastest.tar.gz
niall@kronos:~/games$ /usr/local/games/freeorion/freeorion
bash: /usr/local/games/freeorion/freeorion: No such file or directory

If you can help that would be great. Thanks!

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#20 Post by kroddn » Mon Aug 06, 2007 2:41 pm

opgog wrote:niall@kronos:~/games$ tar xfz /tmp/lastest.tar.gz
niall@kronos:~/games$ /usr/local/games/freeorion/freeorion
bash: /usr/local/games/freeorion/freeorion: No such file or directory

If you can help that would be great. Thanks!
All steps were okay, except the last one. You have to run ~/games/freeorion/freeorion to start the game, as you did not install it in /usr/local/games!
opgog wrote: My terminal changes to: niall@kronos:~/games$

Where before it looked like this : niall@kronos:~/$

Does this mean that I'm now in this directory? if so what comes next?
Thats exactly what it means. The ~ is a short symbolig name for $HOME, which is your home-directory (should be /home/niall in your case)

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#21 Post by kroddn » Mon Aug 06, 2007 2:43 pm

opgog wrote:I have another question which is what if you mess up and want to clean your system and remove the game with reinstalling?

I'm using Feisty.

Thanks again.
If you want to deinstall the game, you just have to delete the directory, which freeorion was installed into. In your case that would be ~/games/freeorion.

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#22 Post by opgog » Mon Aug 06, 2007 4:07 pm

Thanks a lot for all the help but my problem remains the same.

This is the output from my terminal. Do see anything wrong with what I might be doing? When I look in the /usr/local/games folder its empty.

I'm following these instructions :

1. Install
============
- Download the latest archive
e.g.:
cd /tmp
wget http://psitronic.de/div/FO/lastest.tar.gz

- Change to directory which shell hold "freeorion"
e.g. as root:
mkdir -p /usr/local/games
cd /usr/local/games

- Extract the tar.gz
tar xfz /tmp/lastest.tar.gz

- Run the Executable
e.g.: /usr/local/games/freeorion/freeorion

TERMINAL OUTPUT:
  • tar: Skipping to next header
    tar: freeorion/default/data/art/misc/colony1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/colonyicon.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/base1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/mark3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/planet_selection.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/system_selection.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/planetpanelpictures.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/misc/mark1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars: Cannot mkdir: No such file or directory
    tar: freeorion/default/data/art/stars/blue1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/orange2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/red1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/yellow4.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/yellow1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/yellow5.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/neutron1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/orange1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/white3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/red5.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/purple1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole5.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/orange3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blue2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/purple4.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/orange4.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole4.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/yellow3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/white1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole6.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/red3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/red4.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/purple3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/yellow2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/neutron2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/orange5.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/purple5.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blue3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/blackhole3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/purple2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/white2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars/red2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/gp_spiral3.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/nebula11.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel: Cannot mkdir: No such file or directory
    tar: freeorion/default/data/art/stars_sidepanel/red00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/white00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/red01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/neutron01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/blue01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/blue00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/neutron00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/orange01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/yellow00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/white01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/blackhole00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/orange00.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/blackhole01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/stars_sidepanel/yellow01.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons: Cannot mkdir: No such file or directory
    tar: freeorion/default/data/art/tech_icons/Hyperspatial_Dam.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Symbiosis_Biology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Matter-Energy_Conversion.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Artificial_Minds.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/N-Dimensional_Structures.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Architecture_Psychology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Mind_of_the_Void.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Industrial_Centre_I.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Planetary_Ecology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Genome_Bank.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Xenological_Hybridization.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Metroplex_Infrastructure.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Singularity_of_Transcendence.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Interstellar_Co-Production.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Industrial_Centre_III.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Force-Field_Harmonics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Asteroid_Mining_I.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Nanotech_Cybernetics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Singularity_Generation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Sentient_Autofactories.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Galactic_Exploration.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Infrastructure_Ecology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/The_Theory_of_Everything.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Asteroid_Mining_II.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Genetic_Engineering.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Asymptotic_Materials.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Xenological_Genetics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Transcendent_Architecture.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Planetary_Colonialism.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Nanotech_Medicine.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Industrial_Farming.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/The_Physical_Brain.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Matter-Energy_Replication.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Stellar_Tomography.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Asteroid_Mining.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Translingustic_Thought.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Orbital_Farming.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Urban_Farming.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/N-Dimensional_Assembly.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Psionics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Force-Field_Assembly.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Unified_Conscious.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Fusion_Generation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Deep_Core_Mining.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Artificial_Black_Hole.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Orbital_Generation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Robotic_Production.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Algorithmic_Elegance.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Economic_Prescience.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Orbital_Mining.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Stellar_Navigation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Temporal_Mechanics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Gravitonics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Planetary_Geology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Habitation_Domes.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Economic_Fluidity.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/N-Dimensional_Subspace.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Artificial_Heavenly_Bodies.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Microgravity_Manufacturing.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Industrial_Centre_II.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Nanotech_Production.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Interstellar_Trade.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Force_Energy_Structures.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Industrial_Cloning.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Enviromental_Adaptation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Miniature_Suns.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Genetic_Medicine.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Market_Economics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Galactic_Monetary_Policy.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Xenoarchaeology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Architectural_Monofilaments.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Medical_Pathology.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Environmental_Encapsulation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Orbital_Construction.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/categories: Cannot mkdir: No such file or directory
    tar: freeorion/default/data/art/tech_icons/categories/production.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/categories/economics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/categories/growth.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/categories/construction.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/categories/learning.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Economic_Spectroscopy.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Planned_Economics.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Lifecycle_Manipulation.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Economic_Hegemony.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Looking_Glass.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/tech_icons/Pure-Energy_Metabolism.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/starfield2.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/splash10.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/splash.jpg: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/nebula1.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/nebula8.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/art/fo_logo.png: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound: Cannot mkdir: No such file or directory
    tar: freeorion/default/data/sound/item_select.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/artificial_intelligence_v3.ogg: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/alert.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/window_close.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/text_typing.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/fleet_button_rollover.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/farm_select.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/sidepanel_open.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/balanced_select.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/list_pulldown.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: freeorion/default/data/sound/mining_select.wav: Cannot open: No such file or directory
    tar: Skipping to next header
    tar: Error exit delayed from previous errors
    niall@kronos:/usr/local/games$ ~/games/freeorion/freeorion
    bash: /home/niall/games/freeorion/freeorion: No such file or directory
    niall@kronos:/usr/local/games$ usr/local/games/freeorion/freeorion
    bash: usr/local/games/freeorion/freeorion: No such file or directory
    niall@kronos:/usr/local/games$ ~/games/freeorion/freeOrion
    bash: /home/niall/games/freeorion/freeOrion: No such file or directory
    niall@kronos:/usr/local/games$ usr/local/games/freeorion/freeOrion
    bash: usr/local/games/freeorion/freeOrion: No such file or directory
    niall@kronos:/usr/local/games$ ~/games/freeorion/freeOrion
Thanks again

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#23 Post by opgog » Mon Aug 06, 2007 6:14 pm

I was thinking that the error message was because of a corrupted tar?

Thanks.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#24 Post by kroddn » Tue Aug 07, 2007 7:36 am

First, if you want to install in /usr/local/games you have to be root!

Your output sais "niall@kronos:/usr/local/games$" - that means you are NOT root.


To see if your download is corrupted, check the MD5SUM of your tar:

Code: Select all

md5sum lastest.tar.gz
The output should be:

Code: Select all

481eed8e67d963481084a336474b9a9d  lastest.tar.gz

opgog
Space Krill
Posts: 6
Joined: Mon Aug 06, 2007 5:02 am

Re: Statically linked Linux-version

#25 Post by opgog » Tue Aug 07, 2007 5:18 pm

Kroddn: first thanks for taking the time to reply. I really want to try this game out.

Alright so the tar. is fine.

I used:

cd
mkdir -p games
cd games

instead hoping that would make the process easier however now I have this error message:

undefined symbol: mng_free_ani_save
and the out put from the terminal is thus:

niall@kronos:~$ cd /tmp
niall@kronos:/tmp$ wget http://psitronic.de/div/FO/lastest.tar.gz
--12:41:02-- http://psitronic.de/div/FO/lastest.tar.gz
=> `lastest.tar.gz.2'
Resolving psitronic.de... 87.118.100.37
Connecting to psitronic.de|87.118.100.37|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59,054,889 (56M) [application/x-tar]

100%[====================================>] 59,054,889 247.03K/s ETA 00:00

12:46:25 (179.19 KB/s) - `lastest.tar.gz.2' saved [59054889/59054889]

niall@kronos:/tmp$ cd
niall@kronos:~$ mkdir -p games
niall@kronos:~$ cd games
niall@kronos:~/games$ tar xfz /tmp/lastest.tar.gz
niall@kronos:~/games$ /usr/local/games/freeorion/freeorion
bash: /usr/local/games/freeorion/freeorion: No such file or directory
niall@kronos:~/games$ games/freeorion/freeorion
bash: games/freeorion/freeorion: No such file or directory
niall@kronos:~/games$ freeorion/freeorion
freeorion/freeorion: symbol lookup error: freeorion/freeorion: undefined symbol: mng_free_ani_save
niall@kronos:~/games$ cd
niall@kronos:~$ md5sum lastest.tar.gz
md5sum: lastest.tar.gz: No such file or directory
niall@kronos:~$ /home/niall/games/freeorion/freeOrion
bash: /home/niall/games/freeorion/freeOrion: No such file or directory
niall@kronos:~$ /home/niall/games/freeorion/freeorion
/home/niall/games/freeorion/freeorion: symbol lookup error: /home/niall/games/freeorion/freeorion: undefined symbol: mng_free_ani_save
niall@kronos:~$ /home/niall/games/freeorion
bash: /home/niall/games/freeorion: is a directory
niall@kronos:~$ /home/niall/games/freeorion/freeorion
/home/niall/games/freeorion/freeorion: symbol lookup error: /home/niall/games/freeorion/freeorion: undefined symbol: mng_free_ani_save


This is proving to be very annoying. I'm not why a simple installer has not been made by someone.
Not that I'm complaining I just curious though I suspect it might have something to do with people having lives.

Thanks for your help.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#26 Post by kroddn » Wed Aug 08, 2007 2:00 pm

I know that this is annoying, but as soon as the leaders of this project will not agree to support a statically linked version for linux, i am not willing to make an installer for it, although it would not be very complicated (I have experience in configuring a loki-installer, which is used by many linux-games).


Okay, to your problem. This means that your version of the library "mng" does not support one function and therefore the game refuses to run. I don't know how that could happen, because libmng is statically linked...

Could you post the output of the fallowing command:

Code: Select all

ldd /home/niall/games/freeorion/freeorion
This should print an error that mng does not have one symbol which is needed.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12296
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Statically linked Linux-version

#27 Post by Geoff the Medio » Wed Aug 08, 2007 3:14 pm

kroddn wrote:I know that this is annoying, but as soon as the leaders of this project will not agree to support a statically linked version for linux...
What "support" do you want / need? Besides the patch about changing the current directory, which doesn't seem specific to or essential for the statically-linked version, you don't seem to have asked for anything, at least in this thread.

tzlaine pointed out the you can't guarantee portability, but didn't say that the statically linked version was useless or that you shouldn't make one. And even if he does see no use for it, so what? You can still make a distribution without his approval, can't you?
...i am not willing to make an installer for it...
Why is "support" now a requirement? Before you just wanted more interest:
kroddn wrote:/Edit Kroddn: if more linux-users are planning to use this version, i would create a Loki-Installer, which lets the user "install" the game.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#28 Post by kroddn » Wed Aug 08, 2007 10:46 pm

Don't understand me wrong. For me it seems that this topic is not very interesting to tzlaine, and I do not want to create the statically linked version manually in the future all the time. If I misunderstood the statements in this thread, than excuse me.

With "more linux-users" I do not mean 3 or 4 which download it here/from my server - I would make an installer if it would be put on the sf download site and officially supportet by the freeorion-team - and not only by me.

And I never said that one can guarantee portability - you never can. But as I can read through the forum, the windows version has similar problems. As long as it is so complicatet to compile FO on linux, most users will not be able to get it running. That should be taken in consideration, and not be ignored.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12296
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Statically linked Linux-version

#29 Post by Geoff the Medio » Wed Aug 08, 2007 11:57 pm

kroddn wrote:I do not want to create the statically linked version manually in the future all the time.
What do you mean by this, and what would you prefer instead?
I would make an installer if it would be put on the sf download site...
I imagine that can be arranged. Even if it's not on sourceforge, we can at least put a link to it on the wiki downloads page, and occasional announcements in the news. There's been a few more posts about it working, so it's not totally untested as it was when originally posted, but it'd still be good to figure out some specifics about what distros and versions thereof can run it, though. We don't really want to say "here's a statically linked download... it might work for you."
...and officially supportet by the freeorion-team - and not only by me.
I'm still not clear on what this means. People will post problems on the forums, and anyone can answer them. The "FreeOrion team" doesn't offer guaranteed support contracts, though, and I don't think anyone else will make the statically linked versions if you don't, but why is that a problem?
And I never said that one can guarantee portability - you never can. But as I can read through the forum, the windows version has similar problems.
Not really the same thing... The windows version does have some dependencies that aren't standard with installs of XP, but there aren't fundamental problems that prevent it from running on standard Win32, which is all it's supposed to be for.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Statically linked Linux-version

#30 Post by kroddn » Thu Aug 09, 2007 4:27 pm

I mean that there should be a way to include a parameter "dynamic=false" or similar, like it is possible with GG. But thats a hard work I think, for I do not know how to work with scons. And it would be nice if my patches would be included.

In the past i could easily link the game by calling a shell-script "link.sh", which the just calls gcc with some more flags:
http://psitronic.de/div/FO/link.sh
It needs a file"static-graphviz.o", which links all graphviz-modules statically too:
http://psitronic.de/div/FO/static-graphviz.c

The "change current working directory" patch is essential for linux-users, I believe. It's common for linux-users to call a binary directly, and not changing directory first. Thats better than installing files on different locations on the machine (e.g. /usr/share/freeorion or so).

Post Reply