[ https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529454#comment-17529454 ]
lisa.shi commented on PYLUCENE-63: ---------------------------------- i also can not build jcc with java11. when i try to run "python setup.py build" x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC build/temp.linux-x86_64-2.7/jcc2/sources/jcc.o build/temp.linux-x86_64-2.7/jcc2/sources/JCCEnv.o -o build/lib.linux-x86_64-2.7/libjcc2.so -L/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64 -ljava -L/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64/server -ljvm -Wl,-rpath=/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64/server -Wl,-S -lpython2.7 /usr/bin/ld: cannot find -ljava /usr/bin/ld: cannot find -ljvm collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-g++' failed with exit status 1 > can not install pylucene on linux with proxy > --------------------------------------------- > > Key: PYLUCENE-63 > URL: https://issues.apache.org/jira/browse/PYLUCENE-63 > Project: PyLucene > Issue Type: Bug > Environment: ubuntu 2020.4 > Reporter: lisa.shi > Priority: Major > > i try to install pyylucene on linux with proxy. i have already set > http_proxy on linux . i have change Makefile . > from > cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap ) > to > cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) > ivy-bootstrap -autoproxy) > then i can get ivy-2.4.0.jar in ~/.ant/lib/ > when i try to make pyluence. i meet a bug. > > > ivy:cachepath] [https://repository.cloudera.com/artifactory/li] > bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17 .pom > [ivy:cachepath] – artifact org.codehaus.groovy#groovy-all;2.4 > .17!groovy-all.jar: > [ivy:cachepath] [https://repository.cloudera.com/artifactory/li] > bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17 .jar > [ivy:cachepath] :::::::::::::::::::::::::::::::::::::::: > :::::: > [ivy:cachepath] :: UNRESOLVED DEPENDENCIES > :: > [ivy:cachepath] :::::::::::::::::::::::::::::::::::::::: > :::::: > [ivy:cachepath] :: org.codehaus.groovy#groovy-all;2.4.17 : > not found > [ivy:cachepath] :::::::::::::::::::::::::::::::::::::::: > :::::: > [ivy:cachepath] :::: ERRORS > [ivy:cachepath] Server access error at url > [https://repo1.maven.o|https://repo1.maven.o/] > rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j > ava.net.ConnectException: Connection timed out (Connection timed out)) > [ivy:cachepath] Server access error at url > [https://repo1.maven.o|https://repo1.maven.o/] > rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j > ava.net.ConnectException: Connection timed out (Connection timed out)) > [ivy:cachepath] Server access error at url > [https://oss.sonatype|https://oss.sonatype/]. > org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/ > groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out ( > Connection timed out)) > [ivy:cachepath] Server access error at url > [https://oss.sonatype|https://oss.sonatype/]. > org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/ > groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out ( > Connection timed out)) > [ivy:cachepath] Server access error at url > [https://repository.cl|https://repository.cl/] > oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all > /2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim ed > out (Connection timed out)) > [ivy:cachepath] Server access error at url > [https://repository.cl|https://repository.cl/] > oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all > /2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim ed > out (Connection timed out)) > [ivy:cachepath] > [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > BUILD FAILED > > > how can i fix this bug? > i am sure the file ( > [https://repo1.maven.o|https://repo1.maven.o/]rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar) > is not exist -- This message was sent by Atlassian Jira (v8.20.7#820007)