If this is not the right group, tell me.

I have a joyent accelerator and try to build a facebook aplication on 
django/python. I have a dependency on pyLucene 
(http://pylucene.osafoundation.org/), but I can't compile it.

I have try this for 1 full week now. I have not experience on C/C++/Java 
development, or make and that stuff.

I post on joyent : 

http://discuss.joyent.com/viewtopic.php?pid=159014#p159014 

but here are not solaris developers, and of course, try the mail group of 
pyLucene

http://lists.osafoundation.org/pipermail/pylucene-dev/2008-January/002155.html

but they tell me have not experience on Solaris.

I post here because is necesary fix the makefile and maybe with expert solaris 
developers this become easy.

Pylucene could be build using two ways: Invoking java jdk 6 (installing and 
working) or using GCJ.

I prefer get it to work with GCJ for performance reason but I'm timming out on 
this project so anything that work is ok for me.

The makefile adjust for the JCC version (on /jcc/setup.py):

INCLUDES = {
    'sunos5': [':/usr/sfw/lib',
               '/usr/jdk/instances/jdk1.6.0/include',
               '/usr/jdk/instances/jdk1.6.0/include/solaris'],
}

LFLAGS = {
    'sunos5': ['-L/usr/jdk/instances/jdk1.6.0/jre/lib/amd64', '-ljava',
               
'-Wl,-rpath=/usr/jdk/instances/jdk1.6.0/jre/lib/amd64:/usr/jdk/instances/jdk1.6.0/jre/lib/amd64/server'],
}


and for the GCJ:

PREFIX=/opt/local/lib/
PREFIX_PYTHON=$(PREFIX)
LIBDIR_NAME=lib
GCJ_HOME=/usr/local/gcc-3.4.4
GCJ_LIBDIR=$(GCJ_HOME)/$(LIBDIR_NAME)
GCJ_STATIC=0
LIB_INSTALL=libstdc++.so.6 libgcc_s.so.1
#DB=$(PYLUCENE)/db-$(DB_VER)
#PREFIX_DB=$(PREFIX)/BerkeleyDB.$(DB_LIB_VER)
ANT=ant
PYTHON=/opt/local/bin/python2.4
PYTHON_VER=2.4
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to