|
|
| Author |
Message |
< Erlang ~ R13B03 build problems |
| daserlang |
Posted: Thu Jan 14, 2010 3:11 am |
|
|
|
Joined: 11 Dec 2008
Posts: 4
|
Ok, I tried configuring it and keep getting the same warning about not having ODBC (if possible, I'd like it to use PostgreSQL.)
I found the below link and simply forged ahead, figuring that I could just set up a connection to a database client later on.
https://www.cs.tcd.ie/~htewari/4D1/erlang/lib/odbc-0.9.4/doc/html/OdbcCompileUnix.html
I did make and was greeted with this mess:
Code: make[3]: Entering directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src'
set -e; set -x; \
case "make" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
if test -f com/ericsson/otp/erlang/ignore_config_record.inf; then xflag=$tflag; fi; \
(cd com/ericsson/otp/erlang && make -f Makefile.otp $xflag opt)
+ tflag=
+ test -f com/ericsson/otp/erlang/ignore_config_record.inf
+ xflag=
+ cd com/ericsson/otp/erlang
+ make -f Makefile.otp opt
make[4]: Entering directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang'
if [ ! -d "/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/" ];then mkdir "/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/"; fi
CLASSPATH=/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/ javac -d /home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/ OtpAuthException.java
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpException.java:24: warning: The serializable class OtpException does not declare a static final serialVersionUID field of type long
public abstract class OtpException extends Exception {
^^^^^^^^^^^^
1 problem (1 warning)
CLASSPATH=/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/ javac -d /home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/ OtpErlangDecodeException.java
OtpErlangDecodeException.java:28: warning: The serializable class OtpErlangDecodeException does not declare a static final serialVersionUID field of type long
public class OtpErlangDecodeException extends OtpErlangException {
^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpException.java:24: warning: The serializable class OtpException does not declare a static final serialVersionUID field of type long
public abstract class OtpException extends Exception {
^^^^^^^^^^^^
2 problems (2 warnings)
CLASSPATH=/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/ javac -d /home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/ OtpErlangExit.java
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpException.java:24: warning: The serializable class OtpException does not declare a static final serialVersionUID field of type long
public abstract class OtpException extends Exception {
^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangObject.java:174: warning: Unnecessary cast from byte to int
abc[k] += ((int)b[j+0] & 0xFF) + ((int)b[j+1]<<8 & 0xFF00)
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangObject.java:174: warning: Unnecessary cast from byte to int
abc[k] += ((int)b[j+0] & 0xFF) + ((int)b[j+1]<<8 & 0xFF00)
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangObject.java:175: warning: Unnecessary cast from byte to int
+ ((int)b[j+2]<<16 & 0xFF0000) + ((int)b[j+3]<<24);
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangObject.java:175: warning: Unnecessary cast from byte to int
+ ((int)b[j+2]<<16 & 0xFF0000) + ((int)b[j+3]<<24);
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangObject.java:181: warning: Unnecessary cast from byte to int
abc[k] += (int)b[j]<<n & m;
^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangDecodeException.java:28: warning: The serializable class OtpErlangDecodeException does not declare a static final serialVersionUID field of type long
public class OtpErlangDecodeException extends OtpErlangException {
^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java:1019: warning: The local variable n is never read
final int n = read4BE();
^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java:1087: error: The constructor String(int[], int, int) is undefined
return new String(intbuf, 0, intbuf.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java:46: warning: The field OtpOutputStream.eform is never read locally
private static final DecimalFormat eform = new DecimalFormat("e+00;e-00");
^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java:47: warning: The field OtpOutputStream.ten is never read locally
private static final BigDecimal ten = new BigDecimal(10.0);
^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java:48: warning: The field OtpOutputStream.one is never read locally
private static final BigDecimal one = new BigDecimal(1.0);
^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java:722: warning: The local variable charbuf is never read
final char[] charbuf = s.toCharArray();
^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangPort.java:43: warning: The constructor OtpErlangPort(OtpSelf) is never used locally
private OtpErlangPort(final OtpSelf self) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangRef.java:261: error: Type mismatch: cannot convert from Object to int[]
newRef.ids = ids.clone();
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangFun.java:22: warning: The import java.util.Arrays is never used
import java.util.Arrays;
^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangString.java:22: warning: The import java.lang.Character is never used
import java.lang.Character;
^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java:404: error: The constructor String(int[], int, int) is undefined
return new String(values, 0, values.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangTuple.java:258: error: Type mismatch: cannot convert from Object to OtpErlangObject[]
newTuple.elems = elems.clone();
^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangBitstr.java:281: error: Type mismatch: cannot convert from Object to byte[]
that.bin = bin.clone();
^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractConnection.java:277: warning: The parameter from is never read
protected void sendBuf(final OtpErlangPid from, final OtpErlangPid dest,
^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractConnection.java:510: warning: The label tick_loop is never explicitly referenced
tick_loop: do {
^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangInt.java:59: warning: The local variable j is never read
final int j = intValue();
^
/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpMD5.java:147: warning: The method dumpstate() from the type OtpMD5 is never used locally
private void dumpstate() {
^^^^^^^^^^^
24 problems (5 errors, 19 warnings)
make[4]: *** [/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangExit.class] Error 1
make[4]: Leaving directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src/com/ericsson/otp/erlang'
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface/java_src'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib/jinterface'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/ysg/Desktop/Documents/Development/Erlang/VirtualMachines/otp_src_R13B03/lib'
make: *** [fourth_bootstrap_build] Error 2
Since I installed a Java compiler (the configure script didn't mention that something was lacking), I figured that jinterface would compile without a hitch.
Any possible solutions to this? I have PostgreSQL installed, how can I get the Erlang VM to use one of its clients? |
|
|
| Back to top |
|
| sd3n |
Posted: Thu Feb 11, 2010 3:37 am |
|
|
|
Joined: 09 Feb 2010
Posts: 1
|
You need to get and install odbc:
sudo apt-get install unixodbc-dev |
|
|
| Back to top |
|
| wuji |
Posted: Thu Sep 06, 2012 7:14 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
thought about was how much I really loved and and Cheap Ralph Lauren Shirts and enjoyed just being alive -- and that no matter
happened, I was going to embrace more opportunities in life life cheap designer *beep* life if I survived."Denniston was flown to a nearby hospital,
he received the terrible news. "The doctor came in and and [h2]Cheap Ralph Lauren Shirts[/h2] and said, 'Dave, I have never really seen anyone break
back this way, and I don't know if you will will [h3]cheap designer *beep*[/h3] will ever walk again.'"It was when I was in the |
|
|
| Back to top |
|
| dongdongwu |
Posted: Wed Sep 19, 2012 8:29 am |
|
|
|
User
Joined: 19 Sep 2012
Posts: 236
|
| Girls would refuse to even leave their replicas behind. specifically when the product beats the complete meaning of the Christian Louboutin men outlet; in conditions of good quality and detailing.If Cinderella was residing in your twenty primary century as opposed to the aged a single then there would not be any 'Happy actually after'. properly appears like girls nowadays are as well fond of the strong;Christian Louboutin Men Shoes to leave them in your center of nowhere.Christian Louboutin for men Shoes would arrive true handy being a excellent handbag using the glimpse and really feel belonging to the authentic but at a very much lesser price tag adding as very much as types picture in your process. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot 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 cannot attach files in this forum You cannot download files in this forum
|
|
|