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: #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 


Messages In This Thread
Problems on 56d Linux builds - Coruja - 11-15-2016, 02:05 PM
RE: Problems on 56d Linux builds - Kanibal - 11-15-2016, 08:04 PM
RE: Problems on 56d Linux builds - Ben - 11-15-2016, 10:13 PM
RE: Problems on 56d Linux builds - Kanibal - 11-15-2016, 11:00 PM
RE: Problems on 56d Linux builds - Coruja - 11-16-2016 02:35 AM

Forum Jump:


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