With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

Installation problem (ubuntu 12.4 64-bit)

Postby Phalkon » Tue Jun 04, 2013 2:50 pm

Hi,
I downloaded the deb file from here http://www.smokin-guns.org/downloads/Sm ... ns_1.1.zip
and got error message "The package doesn't provide a valid Installed-Size control field. See Debian Policy 5.6.20."
I wasnt sure if I should continue to install, so I aborted it and downloaded the independent package http://www.smokin-guns.org/downloads/Sm ... ns_1.1.zip
I followed the readme in there and tried to compile the package. I unziped it and went in the unzipped folder in terminal and I typed "make" (as in the instructions), but I got this "make: *** No targets specified and no makefile found."
I tried to follow some other instructions I found, which usually involved running .x86 file, but in the archive is no such file.
I tried to run the .i386 file, but nothing happened (yes, I made it executable).

I´m not really experienced much with linux OS yet (that´s why I run Ubuntu), so I would appreciate step by step instructions. :)
Thanks.
Phalkon
Newcomer
 
Posts: 2
Joined: Tue Jun 04, 2013 2:21 pm



Re: Installation problem (ubuntu 12.4 64-bit)

Postby TheDoctor » Tue Jun 04, 2013 8:52 pm

Phalkon wrote:...so I aborted it and downloaded the independent package http://www.smokin-guns.org/downloads/Sm ... ns_1.1.zip. I followed the readme in there and tried to compile the package. I unziped it and went in the unzipped folder in terminal and I typed "make" (as in the instructions), but I got this "make: *** No targets specified and no makefile found."


The file Smokin_Guns_1.1.zip does not contain source code, but binary executables, for Windows as well as for Linux:
Code: Select all
Archive:  Smokin_Guns_1.1.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  05-29-2012 19:13   Smokin' Guns 1.1/
        0  05-29-2012 19:14   Smokin' Guns 1.1/baseq3/
   865113  05-29-2012 19:14   Smokin' Guns 1.1/baseq3/pak0.pk3
     3940  10-11-2009 19:29   Smokin' Guns 1.1/baseq3/pak0.README
    15148  11-03-2009 11:38   Smokin' Guns 1.1/COPYING.txt
     6910  10-19-2009 00:52   Smokin' Guns 1.1/id-readme.txt
   224256  10-19-2009 00:52   Smokin' Guns 1.1/libcurl-4.dll
     2091  10-19-2009 02:29   Smokin' Guns 1.1/LICENSE.txt
   135168  10-19-2009 00:52   Smokin' Guns 1.1/openal32.dll
    28644  12-10-2009 18:39   Smokin' Guns 1.1/README
      438  11-03-2009 11:38   Smokin' Guns 1.1/README-SDL.txt
   324096  10-19-2009 00:27   Smokin' Guns 1.1/SDL.dll
     4205  10-11-2009 19:29   Smokin' Guns 1.1/sg_48.png
        0  05-29-2012 19:19   Smokin' Guns 1.1/smokinguns/
  2972842  05-29-2012 00:06   Smokin' Guns 1.1/smokinguns.exe
  2156794  05-29-2012 00:06   Smokin' Guns 1.1/smokinguns.i386
     7718  04-12-2012 15:36   Smokin' Guns 1.1/smokinguns/default.cfg
 27153817  02-27-2012 19:46   Smokin' Guns 1.1/smokinguns/included_fanpak0.pk3
     1749  04-19-2011 17:28   Smokin' Guns 1.1/smokinguns/mapcycle_all_br.cfg
     2009  04-19-2011 17:28   Smokin' Guns 1.1/smokinguns/mapcycle_all_dm.cfg
      839  04-19-2011 17:28   Smokin' Guns 1.1/smokinguns/mapcycle_big_br.cfg
      850  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_big_dm.cfg
      289  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_du.cfg
     1872  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_medium_br.cfg
     1868  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_medium_dm.cfg
     3450  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_mix.cfg
      882  04-19-2011 17:29   Smokin' Guns 1.1/smokinguns/mapcycle_small_br.cfg
     1018  02-28-2012 02:46   Smokin' Guns 1.1/smokinguns/mapcycle_small_dm.cfg
     3940  02-15-2009 01:29   Smokin' Guns 1.1/smokinguns/pak0.README
     4954  04-15-2012 15:06   Smokin' Guns 1.1/smokinguns/server.cfg
     1275  04-15-2012 15:06   Smokin' Guns 1.1/smokinguns/server_bank_robbery.cfg
     1359  04-15-2012 15:06   Smokin' Guns 1.1/smokinguns/server_deathmatch.cfg
     2126  04-15-2012 15:06   Smokin' Guns 1.1/smokinguns/server_duel.cfg
     1206  04-15-2012 15:06   Smokin' Guns 1.1/smokinguns/server_mixed.cfg
387526330  05-29-2012 19:18   Smokin' Guns 1.1/smokinguns/sg_pak0.pk3
  1068580  05-29-2012 00:06   Smokin' Guns 1.1/smokinguns_dedicated.exe
   855858  05-29-2012 00:06   Smokin' Guns 1.1/smokinguns_dedicated.i386
     9731  10-19-2009 00:52   Smokin' Guns 1.1/voip-readme.txt
---------                     -------
423391365                     38 files

The Linux executable is smokinguns.i386. It should at least give some messages, when started via command line. Please try again, before you try to compile the sources yourself.
Image
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Re: Installation problem (ubuntu 12.4 64-bit)

Postby dowoshek » Thu Jun 13, 2013 12:14 pm

Hi,
I'm just trying Ubuntu 13.04 64bit at my new laptop. SG gives me:
Code: Select all
./smokinguns.i386: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

I got libsdl1.2debian package installed. What was the trick to run it, please?
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Re: Installation problem (ubuntu 12.4 64-bit)

Postby /dev/random » Sun Jun 16, 2013 1:58 pm

smokinguns.i386 tries to load 32bit SDL libraries.
Try
Code: Select all
sudo apt-get install libsdl1.2debian:i386
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Re: Installation problem (ubuntu 12.4 64-bit)

Postby Barto » Mon Jun 17, 2013 11:51 am

Or you can compile the game on the x86_64 platform

If you have installed build-essential and git do those steps:
Code: Select all
git clone https://github.com/smokin-guns/SmokinGuns.git
cd SmokinGuns
git checkout v1.1
make

And the brand new binaries would be in ./build/release-linux-x86_64/

Or well... Here they are (compiled on my Arch Linux)
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland




Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron