Problems Building ErLang R11B

Bruce Bailey <>
Wed Jun 21 00:16:52 CEST 2006


I hope this is the right place for these types of questions . . .


While trying to build version R11B (otp_src_R11B-0.tar.gz), I encountered 
several problems (segfaults, compile errors, etc.  see below).  Can anyone 
suggest anyway to get past this?

Thanks in advance,

Bruce

**********************  Software Versions  **********************

Os: Linux C126215 2.4.18-27.8.0-3 #1 Tue Jan 18 04:26:03 PST 2005 i686 i686 
i386 GNU/Linux
Java version: 1.4.0_03
OpenSSL 0.9.7c 30 Sep 2003

**********************  Build Errors  **********************

erlc -W   +debug_info +strict_record_tests  -o../ebin gse.erl
erl -pa ../ebin -s gs_make -s erlang halt -noshell
make[3]: *** [gstk_generic.hrl] Segmentation fault (core dumped)


erlc -W   +debug_info +strict_record_tests  -o./ mk_ssl_pkix_oid.erl
erl -pa ../ebin -noshell -s mk_ssl_pkix_oid make -s erlang halt
make[3]: *** [ssl_pkix_oid.erl] Segmentation fault (core dumped)


cd src; erlc -W -o ../ebin make_certs.erl
erl -noinput -pa ebin -run make_certs all /bjb/bin/openssl \
        -s erlang halt
make[4]: *** [done] Segmentation fault (core dumped)


erlc -W   +debug_info +strict_record_tests 
-I/bjb/tmp/otp_src_R11B-0/lib/kernel/src -I../include +warn_unused_vars 
-DVSN=\"3.0.12\"
-o../ebin ssl_pkix.erl
./ssl_pkix.hrl:19: can't find include file "SSL-PKIX.hrl"
./ssl_pkix.erl:78: record 'Certificate' undefined
./ssl_pkix.erl:79: record 'Certificate' undefined
./ssl_pkix.erl:91: record 'TBSCertificate' undefined
./ssl_pkix.erl:92: record 'TBSCertificate' undefined
./ssl_pkix.erl:102: record 'SignatureAlgorithm-Any' undefined
./ssl_pkix.erl:108: record 'SignatureAlgorithm' undefined
./ssl_pkix.erl:109: record 'SignatureAlgorithm' undefined
./ssl_pkix.erl:118: record 'AttributeTypeAndValue' undefined
./ssl_pkix.erl:122: record 'AttributeTypeAndValue' undefined
./ssl_pkix.erl:123: record 'AttributeTypeAndValue' undefined
./ssl_pkix.erl:137: record 'SubjectPublicKeyInfo' undefined
./ssl_pkix.erl:140: record 'SubjectPublicKeyInfo' undefined
./ssl_pkix.erl:143: record 'SubjectPublicKeyInfo' undefined
./ssl_pkix.erl:145: record 'PublicKeyAlgorithm' undefined
./ssl_pkix.erl:148: record 'SubjectPublicKeyInfo-Any' undefined
./ssl_pkix.erl:157: record 'SubjectPublicKeyInfo' undefined
./ssl_pkix.erl:158: record 'SubjectPublicKeyInfo_algorithm' undefined
./ssl_pkix.erl:160: record 'SubjectPublicKeyInfo_algorithm' undefined
./ssl_pkix.erl:162: record 'SubjectPublicKeyInfo' undefined
./ssl_pkix.erl:164: record 'Extension' undefined
./ssl_pkix.erl:165: record 'Extension' undefined
./ssl_pkix.erl:170: record 'Extension' undefined
./ssl_pkix.erl:183: record 'Certificate' undefined
./ssl_pkix.erl:183: record 'TBSCertificate' undefined
./ssl_pkix.erl:108: Warning: variable 'NAlgo' is unused
./ssl_pkix.erl:122: Warning: variable 'Type' is unused
./ssl_pkix.erl:141: Warning: variable 'Algo' is unused
./ssl_pkix.erl:142: Warning: variable 'Parameters' is unused
./ssl_pkix.erl:145: Warning: variable 'AlgorithmAny' is unused
./ssl_pkix.erl:147: Warning: variable 'Bin' is unused
./ssl_pkix.erl:159: Warning: variable 'NAlgoCd' is unused
./ssl_pkix.erl:160: Warning: variable 'NAlgorithmCd' is unused
./ssl_pkix.erl:165: Warning: variable 'NExtID' is unused
./ssl_pkix.erl:175: Warning: function transform_extensions/1 is unused
make[3]: *** [../ebin/ssl_pkix.beam] Error 1





/usr/bin/install -c -d /bjb/tmp/otp_src_R11B-0/erts/start_scripts/tmp
( cd /bjb/tmp/otp_src_R11B-0/erts/start_scripts/tmp && \
erlc -W   -I/bjb/tmp/otp_src_R11B-0/lib/kernel/ebin 
-I/bjb/tmp/otp_src_R11B-0/lib/stdlib/ebin 
-I/bjb/tmp/otp_src_R11B-0/lib/sasl/ebi
n -o /bjb/tmp/otp_src_R11B-0/erts/start_scripts/start_sasl.boot 
/bjb/tmp/otp_src_R11B-0/erts/start_scripts/start_sasl.rel )
/usr/bin/install -c -d /bjb/tmp/otp_src_R11B-0/erts/start_scripts/tmp
( cd /bjb/tmp/otp_src_R11B-0/erts/start_scripts/tmp && \
erl -boot start_clean -noinput +B -eval 
'release_handler:create_RELEASES("%ERL_ROOT%", 
"/bjb/tmp/otp_src_R11B-0/erts/start_scripts",
"/bjb/tmp/otp_src_R11B-0/erts/start_scripts/start_sasl.rel", []), halt()')
make[2]: *** [RELEASES.src] Error 139
make[2]: Leaving directory `/bjb/tmp/otp_src_R11B-0/erts/start_scripts'
make[1]: *** [local_setup] Error 2
make[1]: Leaving directory `/bjb/tmp/otp_src_R11B-0/erts'
make: *** [local_setup] Error 2

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the erlang-questions mailing list