Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.xml:86 build failed #4

Open
aiqubo opened this issue Apr 7, 2020 · 3 comments
Open

build.xml:86 build failed #4

aiqubo opened this issue Apr 7, 2020 · 3 comments

Comments

@aiqubo
Copy link

aiqubo commented Apr 7, 2020

“”“download-ivy:
[mkdir] Created dir: /root/.ant/lib
[get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar
[get] To: /root/.ant/lib/ivy.jar
[get] Error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar to /root/.ant/lib/ivy.jar

BUILD FAILED
/home/aiqubo/MetaFunPrimer/MetaFunPrimer/RDPTools/PrimerDesign/build.xml:86: java.net.UnknownHostException: repo2.maven.org
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at java.net.Socket.connect(Socket.java:556)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:712)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:626)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:616)
”“”
java version "1.7.0_251"

Can you help us with this?

@wangqion
Copy link

wangqion commented Apr 9, 2020 via email

@gunturus
Copy link
Member

gunturus commented Apr 9, 2020

@aiqubo I made the changes to build script can you try compiling.

@aiqubo
Copy link
Author

aiqubo commented Apr 10, 2020

@aiqubo I made the changes to build script can you try compiling.

thanks,build successful now
but another error has occurred in centOS 7.5. Can you tell me how to fix it?

"""
[aiqubo@iZ8vbhjgwhc1nm2b1b1kwwZ PrimerDesign]$ make
gcc -shared -fPIC -o libPrimer3.so edu_msu_cme_rdp_primerdesign_utils_Primer3Wrapper.c thal.o oligotm.o -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include/darwin -I. -lm
In file included from edu_msu_cme_rdp_primerdesign_utils_Primer3Wrapper.c:1:0:
edu_msu_cme_rdp_primerdesign_utils_Primer3Wrapper.h:2:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.
make: *** [libPrimer3.so] Error 1
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants