Author |
Message |
Blocks Novice

Joined: Jul 13 2006 Posts: 95 Location: California Offline
|
Posted: Thu Jan 17, 2008 12:26 pm Post subject: Compiling ASSS on Ubuntu |
 |
|
|
|
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:
# 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:
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:
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 |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Jan 17, 2008 12:47 pm Post subject: |
 |
|
|
|
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 |
|
 |
Blocks Novice

Joined: Jul 13 2006 Posts: 95 Location: California Offline
|
Posted: Thu Jan 17, 2008 3:05 pm Post subject: |
 |
|
|
|
It compiles, but when I try to start up the server, I get:
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.
I <cmod> loading C module 'enc_cont' from 'security'
E <cmod> error loading module 'enc_cont' |
|
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Thu Jan 17, 2008 4:59 pm Post subject: |
 |
|
|
|
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 |
|
 |
Blocks Novice

Joined: Jul 13 2006 Posts: 95 Location: California Offline
|
Posted: Thu Jan 17, 2008 5:05 pm Post subject: |
 |
|
|
|
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 |
|
 |
|