Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Compiling ASSS on Ubuntu

 
Post new topic   Reply to topic Printable version
 View previous topic  TCP protocol LOG command Post :: Post can't attach modules  View next topic  
Author Message
Blocks
Novice


Joined: Jul 13 2006
Posts: 95
Location: California
Offline

PostPosted: Thu Jan 17, 2008 12:26 pm    Post subject: Compiling ASSS on Ubuntu Reply to topic Reply with quote

I've gotten a lot of help from this topic (thanks to the contributors there), but I'm stuck, or at least I think I am. I believe that I have specified the locations of Berkeley DB, MySQL, and Python in system.mk correctly:
Code: Show/Hide
# change this to the directory of your bdb 4.x install.
DB_HOME = /usr
DB_INC = $(DB_HOME)/include
DB_LIB = $(DB_HOME)/lib
DB_CFLAGS = -I$(DB_INC)
ifneq ($(link_db_statically),yes)
# you might have to change -ldb-4 to -ldb4 in the next line:
DB_LDFLAGS = -L$(DB_LIB) -Wl,-rpath,$(DB_LIB) -ldb-4
else
DB_LDFLAGS = $(DB_LIB)/libdb.a
endif

# change this to the directory of your mysql install.
MYSQL_HOME = /usr
MYSQL_INC = $(MYSQL_HOME)/include/mysql
MYSQL_LIB = $(MYSQL_HOME)/lib/mysql
MYSQL_CFLAGS = -I$(MYSQL_INC)
MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r

# change this to the location of your python 2.2 or higher install.
PYTHON_HOME = /usr
# change this to the major/minor version number of your python install.
PYTHON_VERSION = 2.5
PYTHON_INC = $(PYTHON_HOME)/include/python$(PYTHON_VERSION)
PYTHON_LIB = $(PYTHON_HOME)/lib/python$(PYTHON_VERSION)
PYTHON_CFLAGS = -I$(PYTHON_INC)
PYTHON_LDFLAGS = -L$(PYTHON_LIB)/config -lpython$(PYTHON_VERSION) $(UTIL_LIB) -lm

When I make deps, however:
Code: Show/Hide
makedeps: warning: "pthread.h" not found
makedeps: warning: "zlib.h" not found
makedeps: warning: "mysql.h" not found
makedeps: warning: "db.h" not found
makedeps: warning: "errno.h" not found
makedeps: warning: "Python.h" not found
makedeps: warning: "structmember.h" not found

Here are the locations of those files, I believe they are specified correctly in the makefile:
Code: Show/Hide
blocks@subspace:~$ locate pthread.h
/usr/include/mysql/my_no_pthread.h
/usr/include/mysql/my_pthread.h
/usr/include/pthread.h
blocks@subspace:~$ locate zlib.h
/usr/include/zlib.h
blocks@subspace:~$ locate mysql.h
/usr/include/mysql/mysql.h
blocks@subspace:~$ locate db.h
/home/blocks/asss-1.4.4/src/include/reldb.h
/usr/include/bits/netdb.h
/usr/include/db.h
/usr/include/linux/adb.h
/usr/include/mysql/ndb/ndbapi/Ndb.hpp
/usr/include/netdb.h
/usr/include/rpc/netdb.h
/usr/include/thread_db.h
blocks@subspace:~$ locate errno.h
/usr/include/asm/errno.h
/usr/include/asm-generic/errno.h
/usr/include/asm-i386/errno.h
/usr/include/asm-x86_64/errno.h
/usr/include/bits/errno.h
/usr/include/errno.h
/usr/include/linux/errno.h
/usr/include/sys/errno.h
blocks@subspace:~$ locate Python.h
/usr/include/python2.5/Python.h
blocks@subspace:~$ locate structmember.h
/usr/include/python2.5/structmember.h

Any ideas?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Thu Jan 17, 2008 12:47 pm    Post subject: Reply to topic Reply with quote

You don't need to worry about those errors, I've gotten them every time I've ever ran make deps but it still works.
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Blocks
Novice


Joined: Jul 13 2006
Posts: 95
Location: California
Offline

PostPosted: Thu Jan 17, 2008 3:05 pm    Post subject: Reply to topic Reply with quote

It compiles, but when I try to start up the server, I get:
Code: Show/Hide
I <cmod> loading C module 'security' from 'security'
E <cmod> can't find file: security
Unrecoverable error (5): Error in loading module 'security:security'

I looked, and security.so isn't there. I put a copy from the pre-built ASSS version in there (why isn't this in the src-only download), but then I get a security:enc_cont error.
Code: Show/Hide
I <cmod> loading C module 'enc_cont' from 'security'
E <cmod> error loading module 'enc_cont'
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Jan 17, 2008 4:59 pm    Post subject: Reply to topic Reply with quote

I'm not sure there's a prebuilt security that works. You may have to run with nullenc
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Blocks
Novice


Joined: Jul 13 2006
Posts: 95
Location: California
Offline

PostPosted: Thu Jan 17, 2008 5:05 pm    Post subject: Reply to topic Reply with quote

Hmm, that is unfortunate. So as long as I build my own binaries, I can't restrict clients to Continuum-only?

EDIT: Needed the scrty and scrty1 files, which weren't in the src-only download. Thanks to Arnk Dylie for solving this.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 186 page(s) served in previous 5 minutes.

phpBB Created this page in 0.527269 seconds : 30 queries executed (88.8%): GZIP compression disabled