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
[split] Questions on building 1.4.0

 
Post new topic   Reply to topic Printable version
 View previous topic  Points... Post :: Post Why no *ufo nor *super  View next topic  
Author Message
guest
Guest


Offline

PostPosted: Fri Jul 15, 2005 4:10 pm    Post subject: Reply to topic Reply with quote

How do you rebuild it against python 2.2? Due to other application that required 2.2 I cannot upgrade to python 2.4.
Back to top
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Fri Jul 15, 2005 5:48 pm    Post subject: Reply to topic Reply with quote

Follow the wiki guide instructions for building ASSS.
_________________
Oldbie Server Help
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
guest
Guest


Offline

PostPosted: Fri Jul 15, 2005 7:34 pm    Post subject: Reply to topic Reply with quote

modified the src/system~
and set the python paths accordingly, make'd, same error :/
Back to top
guest
Guest


Offline

PostPosted: Fri Jul 15, 2005 7:36 pm    Post subject: Reply to topic Reply with quote

# change this to the location of your python 2.2 or higher install.
PYTHON_HOME = /usr/local
# change this to the major/minor version number of your python install.
PYTHON_VERSION = 2.2
# these probably won't have to change
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
Back to top
Guest



Offline

PostPosted: Fri Jul 15, 2005 7:38 pm    Post subject: Reply to topic Reply with quote

i tried setting pythonhome also
Back to top
Guest



Offline

PostPosted: Fri Jul 15, 2005 7:42 pm    Post subject: Reply to topic Reply with quote

make deps
python ../scripts/makedeps.py -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -I/opt/db-4.0.14/include -I/opt/mysql/include -I/usr/include/python2.2 \
*/*.c -P '$(BUILDDIR)/' -o ../build/deps.mk
makedeps: ignoring option: -D_REENTRANT
makedeps: ignoring option: -D_GNU_SOURCE
makedeps: ignoring option: -fPIC
makedeps: ignoring option: -I/opt/db-4.0.14/include
makedeps: ignoring option: -I/opt/mysql/include
makedeps: ignoring option: -I/usr/include/python2.2
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
[root@fc src]#
Back to top
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Fri Jul 15, 2005 10:42 pm    Post subject: Reply to topic Reply with quote

I wasn't aware that we needed to do a make deps. though i'm still on 1.3.6 or something. I think I shall go up to 1.4.0 tonight. Drinking and Compiling :P.


Note: I just did make -j 2 and it built relatively ok except for errors below.

It seems like I get those same warnings this time around. Can someone split this into its own thread?


Last edited by i88gerbils on Fri Jul 15, 2005 11:27 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Mon May 01, 2006 6:31 pm    Post subject: Thread Necromancy woo woo Reply to topic Reply with quote

***Resolved*** (sorta, relevant to 1.4.x)

I finally took another look at this issue. It seems that scripts/makedeps.py is having trouble finding the required libraries and thus doesn't create builds/deps.mk properly. Since I can't understand python I decided to tackle the problem by manually editing deps.mk. This corrects the issue with makedeps.py. The ideal solution is to figure out why makedeps.py is doing this when the files are within my $PATH and in places defined in system.mk:

Code: Show/Hide
if os.path.isabs(arg):

Code: Show/Hide
elif arg.startswith('-'):


If you install mysql, python, and bdb with --prefix=/usr, then the following attachment should help.


edit: i dunno why that diff looked wierd. it shouldn't be doing all that wierd stuff in the middle.




i88gerbils' modified deps.mk

deps.mk.txt - 62.95 KB
File downloaded or viewed 40 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo 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: 24 page(s) served in previous 5 minutes.

phpBB Created this page in 0.498947 seconds : 34 queries executed (87.7%): GZIP compression disabled