Linux Compilation

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
slmclarengt
Militia
Posts: 68
Joined: Thu Mar 09, 2006 7:30 pm

Linux Compilation

Post by slmclarengt » Wed Nov 07, 2007 7:27 pm

--- Please enter the following information for support ---
War3ft Version: 3.0RC8
Amxmodx Version: 1.76d
Metamod Version: 1.19p32
amxx list:
Currently loaded plugins:
name version author file status
[ 1] AMXBans 5.0 YoMama/Lux & lan amxbans.amxx debug
[ 2] AmxBans Admin Base 1.76 AMXX Dev Team admin_amxbans.a running
[ 3] Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
[ 4] Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
[ 5] Multi-Lingual System 1.76d AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.76d AMXX Dev Team plmenu.amxx running
[ 9] Teleport Menu 1.76d AMXX Dev Team telemenu.amxx running
[ 10] Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
[ 11] Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.76d AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.76d AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.76d AMXX Dev Team nextmap.amxx running
[ 17] TimeLeft 1.76d AMXX Dev Team timeleft.amxx running
[ 18] Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
[ 19] Stats Configuration 1.76d AMXX Dev Team statscfg.amxx running
[ 20] Restrict Weapons 1.76d AMXX Dev Team restmenu.amxx running
[ 21] StatsX 1.76d AMXX Dev Team statsx.amxx running
[ 22] CS Misc. Stats 1.76d AMXX Dev Team miscstats.amxx running
[ 23] AMX Super 3.1 Bmann_420 & Bo0m amx_super.amxx running
[ 24] Bad Camper 1.3b Brad Jones bad_camper.amxx running
[ 25] Grenade Spam Punish 1.3 [gOf]-Soul grenspampunish. running
[ 26] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 27] AMX Toggle Immunity 3.12 slmclarengt amx_toggleimmun running
[ 28] DeagsMapManager 2.40 Deags/JTP10181 deagsmapmanager running
[ 29] ChickenMod: Rebirth 1.0a T(+)rget amx_chicken.amx running
[ 30] AMX Llama 1.4 SniperBeamer admin_llama.amx running
[ 31] Advanced Roll The Dice v2.5 RC Striker roll_the_dice.a running
[ 32] Spawn Protection 7.0 Peli spawnprotection running
[ 33] AdThemes 1.6 Vet(3TT3V) adthemes.amxx running
[ 34] FakeFull Original 1.7.6 JTP10181/Freecod fakefull_origin running
[ 35] Server redirect 0.9.1 x0R serverredirect. running
[ 36] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running
[ 37] Clan Vs. All 1.0 GHW_Chronic clanvsall.amxx running
[ 38] High Ping Kicker 0.17 OLO/Shadow amx_hpk.amxx running
[ 39] Knife Only on Bridge i 1.0 xx_sirhc_xx amx_deagle5_kni running
39 plugins, 39 running

amxx modules:
Currently loaded modules:
name version author status
[ 1] MySQL 1.76b AMX Mod X Dev Team running
[ 2] Fun 1.76 AMX Mod X Dev Team running
[ 3] Engine 1.76 AMX Mod X Dev Team running
[ 4] FakeMeta 1.76d AMX Mod X Dev Team running
[ 5] Sockets 1.76 HLSW Dev Team running
[ 6] nVault 1.76c AMX Mod X Dev Team running
[ 7] CStrike 1.76 AMX Mod X Dev Team running
[ 8] CSX 1.76c AMX Mod X Dev Team running
8 modules, 8 correct

meta list:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.76d ini ANY ANY
[ 2] SBSRV RUN - sbsrv_mm_i386.so v3.5.2 ini Start Never
[ 3] MySQL RUN - mysql_amxx_i386. v1.76b pl1 ANY ANY
[ 4] Fun RUN - fun_amxx_i386.so v1.76 pl1 ANY ANY
[ 5] Engine RUN - engine_amxx_i386 v1.76 pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.76d pl1 ANY ANY
[ 7] CStrike RUN - cstrike_amxx_i38 v1.76 pl1 ANY ANY
[ 8] CSX RUN - csx_amxx_i386.so v1.76c pl1 ANY ANY
8 plugins, 8 running

I am unable to compile war3ft on my Ubuntu Linux system and was wondering if someone wouldn't mind compiling 3.0RC8 for me or helping me fix the issue of "permission denied" - I tried everything listed on http://wiki.amxmodx.org/index.php/Compi ... X_Mod_X%29

but nothing worked for actually getting it to compile, which is frustrating me because I'd hate to revert back to windows just to keep WC3FT :-\. I have tried chmodding/properties but it still won't compile even with "sudo"

Slmclarengt
"I am become Death destroyer of worlds" - Hindu God Krishna speaking with Soldier about battle (Later quoted by Robert Oppenheimer, head of the Manhattan Project in Los Alamos Laboratories.)

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Nov 07, 2007 10:16 pm

Sure, if you edited the code at all, give me a copy of the edited code and I will compile it for 1.76d for you. Though, you can compile it on a windows box and it still work fine on the linux one, fyi
Image

No support via PM or Email

slmclarengt
Militia
Posts: 68
Joined: Thu Mar 09, 2006 7:30 pm

Post by slmclarengt » Wed Nov 07, 2007 10:40 pm

YamiKaitou wrote:Sure, if you edited the code at all, give me a copy of the edited code and I will compile it for 1.76d for you. Though, you can compile it on a windows box and it still work fine on the linux one, fyi
I don't remember if/when I edited any of this code but here it is anyway. I worry that even when compiled locally on Linux that the same problem will arise because I tried using my locally compiled Windows version with this problem and same thing. I want to know why the heck MY WC3FT doesn't work on Linux but others do!

Code: Select all

Could not get attachment information for filename: war3ft_370.zip

DEBUG MODE

SQL Error : 2013 Lost connection to MySQL server during query

SELECT attach_id FROM phpbb_attachments_desc WHERE physical_filename = 'war3ft_370.zip' LIMIT 1

Line : 451
File : functions_attach.php
Attachment didn't work so I uploaded to my website.

http://www.bndclan.com/files/war3ft.zip

Lol, for some reason when I put that link in my post it SUDDENLY made attachment work, too.

Slmclarengt
Attachments
war3ft.zip
(122.67 KiB) Downloaded 509 times
"I am become Death destroyer of worlds" - Hindu God Krishna speaking with Soldier about battle (Later quoted by Robert Oppenheimer, head of the Manhattan Project in Los Alamos Laboratories.)

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Nov 07, 2007 11:02 pm

Code: Select all

Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size:           8928 bytes
Code size:           329368 bytes
Data size:           226224 bytes
Stack/heap size:      16384 bytes; max. usage is unknown, due to recursion
Total requirements:  580904 bytes
Done.
Attachments
war3ft.amxx
(275.91 KiB) Downloaded 496 times
Image

No support via PM or Email

slmclarengt
Militia
Posts: 68
Joined: Thu Mar 09, 2006 7:30 pm

Post by slmclarengt » Thu Nov 08, 2007 12:22 am

YamiKaitou wrote:

Code: Select all

Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size:           8928 bytes
Code size:           329368 bytes
Data size:           226224 bytes
Stack/heap size:      16384 bytes; max. usage is unknown, due to recursion
Total requirements:  580904 bytes
Done.
Thanks, glad to see that's different size from my Windows compilation. I don't know what to do and how to test it because I had my operating system swapped quickly back to Windows just to regain population. I may have them switch it again to test it and if it works, great but I sure hope it will always work but if not, I'll have to deal with Windows.

By the way, how did you run the compile? Did you do "sh compile.sh" or "./amxxpc war3ft.sma" because neither of those worked for me. "./amxxpc" returns a command not found error and "sh compile.sh" just returns a blank terminal on my 7.04 Feisty install; but it says permission denied for all plugins. I tried chmodding their permissions but everything still failed.

Slmclarengt
"I am become Death destroyer of worlds" - Hindu God Krishna speaking with Soldier about battle (Later quoted by Robert Oppenheimer, head of the Manhattan Project in Los Alamos Laboratories.)

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Thu Nov 08, 2007 6:24 pm

First, I set the permissions of amxxpc, amxxpc32.so, amxxpc64.so, compile.sh, dlsym, dlsym64, and sasm to 700.

Then, this is the exact command that I ran

screen ./compile.sh war3ft.sma


I think that I have 7.04 Server as well. If not, then 6.10 Server
Image

No support via PM or Email

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Sun Nov 11, 2007 11:26 pm

ubuntu ftw
No Support via PM

slmclarengt
Militia
Posts: 68
Joined: Thu Mar 09, 2006 7:30 pm

Post by slmclarengt » Mon Nov 12, 2007 12:28 am

Geesu wrote:ubuntu ftw
Yep, I got my Ubuntu install to work on the compilation by setting the permissions to be read/write and execute as program. I'm happy it worked for me now that I follow Yami's instructions because now Ubuntu is on my good terms again ;-)

Slmclarengt
"I am become Death destroyer of worlds" - Hindu God Krishna speaking with Soldier about battle (Later quoted by Robert Oppenheimer, head of the Manhattan Project in Los Alamos Laboratories.)

Post Reply