[pylucene-dev] How compile pyLucene on Solaris 10

mario alejandro mamcx at elmalabarista.com
Mon Jan 7 15:01:18 PST 2008


Ok, I'm triying the JCC path. I download the JDK 6, but I don't know what to
put in the setup.py.

I get this:
INCLUDES = {
    'darwin':
['/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers'],
    'linux2': ['/usr/lib/jvm/java-6-sun/include',
               '/usr/lib/jvm/java-6-sun/include/linux'],
    'win32': ['o:/Java/jdk1.6.0_02/include',
              'o:/Java/jdk1.6.0_02/include/win32'],
    'sunos5': ['/usr/jdk/instances/jdk1.6.0/include',
               '/usr/jdk/instances/jdk1.6.0/include/solaris'],
}


LFLAGS = {
    'darwin': ['-framework', 'JavaVM'],
    'linux2': ['-L/usr/lib/jvm/java-6-sun/jre/lib/i386', '-ljava',

'-Wl,-rpath=/usr/lib/jvm/java-6-sun/jre/lib/i386:/usr/lib/jvm/java-6-sun/jre/lib/i386/client'],
#    'linux2': ['-L/usr/lib/jvm/java-6-sun/jre/lib/amd64', '-ljava',
#
'-Wl,-rpath=/usr/lib/jvm/java-6-sun/jre/lib/amd64:/usr/lib/jvm/java-6-sun/jre/lib/amd64/server'],
    'win32': ['/LIBPATH:o:/Java/jdk1.6.0_02/lib', 'jvm.lib'],
    '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'],
}

However, when run

python2.4 setup.py build

get, after a lot of text:

ld: fatal: dlopen() of support library (-lstdc++) failed with error: ld.so.1:
ld
: fatal: -lstdc++: open failed: No such file or directory
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

-- 
Mario A.Montoya
Gerente
http://www.elmalabarista.com

La mejor guía de los lugares donde estar y disfrutar
http://www.paradondevamos.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20080107/8919f851/attachment.htm


More information about the pylucene-dev mailing list