The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems on 56d Linux builds
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #1
Problems on 56d Linux builds
Anyone here is using 56d nightlies on linux?

I'm trying here on CentOS 7.2 (64bit) but it seems quite broken. 56c also have some problems. It's my first time using linux, and unfortunately I don't have enough knowledge to fix this thing alone

56d builds on windows are running perfectly fine and stable, but on linux I can't even launch sphere without get tons os console errors (eg: weird linux memory errors, scripts files that exists but it's not being read at server startup, etc)

I'm planning to make linux builds stable as the windows builds, so if you're an linux user, I invite you to join our source code project on github, to send pull requests, report bugs, update linux guides, etc. Every help will be appreciated, and together we can make linux builds great again Smile
(This post was last modified: 11-15-2016 02:10 PM by Coruja.)
11-15-2016 02:05 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #2
RE: Problems on 56d Linux builds
Check capital letters in spheretables when loading scripts > scripts/Item.scp if in the folder is item.scp it will not be loaded

I remember run 56c in centos 7 or 6 i dont rmember, and was working good

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
(This post was last modified: 11-15-2016 07:02 PM by Criminal.)
11-15-2016 07:01 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #3
RE: Problems on 56d Linux builds
(11-15-2016 07:01 PM)Criminal Wrote:  Check capital letters in spheretables when loading scripts > scripts/Item.scp if in the folder is item.scp it will not be loaded
Oh yes, that was a little problem for me to Tongue

(11-15-2016 07:01 PM)Criminal Wrote:  I remember run 56c in centos 7 or 6 i dont rmember, and was working good

I run 56b in Ubuntu Server 12.04 and that was fine Veryhappy

Grandmaster Localhost Admin
11-15-2016 08:04 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #4
RE: Problems on 56d Linux builds
imho the biggest problem with making the linux build stable, is that there are so many distros with different libs, it's just not possible.
The best possible solution is to compile it directly on the distro you are using

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
11-15-2016 10:13 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #5
RE: Problems on 56d Linux builds
(11-15-2016 10:13 PM)Ben Wrote:  ...that there are so many distros with different libs...

SphereBuntu Devil

Grandmaster Localhost Admin
11-15-2016 11:00 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #6
RE: Problems on 56d Linux builds
I'm trying to compile directly on my CentOS server but always get this error when I type "make NIGHTLY=1 -f makefile" on terminal

Code:
Current build revision: 251 (GIT hash: 72ff099)
Compiler Flags: g++ -c -Wall -Wno-unknown-pragmas -Wno-invalid-offsetof -Wno-unused-but-set-variable -Wno-switch -pipe -fexceptions -fnon-call-exceptions -s -00 -fno-expensive-optimizations -fno-omit-frame-pointer -ffast-math -fpermissive -I./src/common -I/usr/include/mysql -D_GRAY_SVR -D_CONSOLE -D_REENTRANT -D_LINUX -D_NIGHTLYBUILD -D_MTNETWORK
  ...
  Compiling src/common/sqlite/sqlite3.c
/bin/ld: cannot find -lmysqlclient
collect2: error: ld returned 1 exit status
make: *** [spheresvr] Error 1

PS: these 3 packages are already installed:
-yum install mysql
-yum install mysql-libs
-yum install mysql-devel



EDIT: Compiler is working fine now, but using the compilated spheresvr file I'm having tons of errors on console. There's so many errors that sphere always return "Server unstable - closing" before finish loading proccess.

these problems occur using both spheresvr file compiled on the same PC and spheresvr file generated from automated GIT / Travis-CI server (Ubuntu/Linaro 4.6.3-1ubuntu5)



EDIT²: I finally found the problem, sphere is 32bit and must run in 32bit even on 64bit OS, but both spheresvr files that I had tried was compiled in 64bit, making it very unstable.
I just changed the compiler to build using 32bit and now everything is running fine (at least for now) Big Grin

So the problem with sphere on linux is not a fault on source code, but just a lack of updated guides/instructions telling what the user must do to make everything work properly
(This post was last modified: 11-16-2016 06:34 PM by Coruja.)
11-16-2016 02:35 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)