Dechenjm / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

failed to load crack runtime from module load path #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make install
2.
3.

make[1]: Entering directory `/mnt/md3/cache/inst/crack-language'
 /bin/mkdir -p '/usr/local/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libCrackDebugTools.la libCrackLang.la libCrackNativeRuntime.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libCrackDebugTools.so.1.0.0 
/usr/local/lib/libCrackDebugTools.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libCrackDebugTools.so.1.0.0 
libCrackDebugTools.so.1 || { rm -f libCrackDebugTools.so.1 && ln -s 
libCrackDebugTools.so.1.0.0 libCrackDebugTools.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libCrackDebugTools.so.1.0.0 
libCrackDebugTools.so || { rm -f libCrackDebugTools.so && ln -s 
libCrackDebugTools.so.1.0.0 libCrackDebugTools.so; }; })
libtool: install: /usr/bin/install -c .libs/libCrackDebugTools.lai 
/usr/local/lib/libCrackDebugTools.la
libtool: install: warning: relinking `libCrackLang.la'
libtool: install: (cd /mnt/md3/cache/inst/crack-language; /bin/sh 
/mnt/md3/cache/inst/crack-language/libtool  --tag CXX --mode=relink g++ -g -O2 
-fno-PIE -fPIC -version-info 4:0:0 -L/usr/lib64/llvm -lpthread -lffi -ldl -lm 
-lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMipo -lLLVMVectorize 
-lLLVMBitWriter -lLLVMInstrumentation -lLLVMX86AsmParser -lLLVMX86Disassembler 
-lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser 
-lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT 
-lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts 
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget 
-lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport -o libCrackLang.la -rpath 
/usr/local/lib libCrackLang_la-Module.lo libCrackLang_la-Func.lo 
libCrackLang_la-RCObj.lo libCrackLang_la-Type.lo libCrackLang_la-Annotation.lo 
libCrackLang_la-Construct.lo libCrackLang_la-ConstSequenceExpr.lo 
libCrackLang_la-Deserializer.lo libCrackLang_la-GetRegisterExpr.lo 
libCrackLang_la-StrConst.lo libCrackLang_la-AssignExpr.lo 
libCrackLang_la-VarRef.lo libCrackLang_la-SetRegisterExpr.lo 
libCrackLang_la-FuncCall.lo libCrackLang_la-Expr.lo libCrackLang_la-Generic.lo 
libCrackLang_la-OverloadDef.lo libCrackLang_la-ResultExpr.lo 
libCrackLang_la-Initializers.lo libCrackLang_la-AllocExpr.lo 
libCrackLang_la-CompositeNamespace.lo libCrackLang_la-IntConst.lo 
libCrackLang_la-FloatConst.lo libCrackLang_la-FuncAnnotation.lo 
libCrackLang_la-PrimFuncAnnotation.lo libCrackLang_la-VarDef.lo 
libCrackLang_la-Context.lo libCrackLang_la-LocalNamespace.lo 
libCrackLang_la-MultiExpr.lo libCrackLang_la-NullConst.lo 
libCrackLang_la-Namespace.lo libCrackLang_la-Serializer.lo 
libCrackLang_la-CleanupFrame.lo libCrackLang_la-TernaryExpr.lo 
libCrackLang_la-TypeDef.lo libCrackLang_la-FuncDef.lo 
libCrackLang_la-ModuleDef.lo libCrackLang_la-Toker.lo libCrackLang_la-Parser.lo 
libCrackLang_la-ParseError.lo libCrackLang_la-Token.lo libCrackLang_la-md5.lo 
libCrackLang_la-SourceDigest.lo libCrackLang_la-CacheFiles.lo 
libCrackLang_la-ArrayTypeDef.lo libCrackLang_la-BModuleDef.lo 
libCrackLang_la-BBuilderContextData.lo libCrackLang_la-BCleanupFrame.lo 
libCrackLang_la-BFieldRef.lo libCrackLang_la-BFuncDef.lo 
libCrackLang_la-BTypeDef.lo libCrackLang_la-Consts.lo 
libCrackLang_la-ExceptionCleanupExpr.lo libCrackLang_la-FunctionTypeDef.lo 
libCrackLang_la-FuncBuilder.lo libCrackLang_la-Incompletes.lo 
libCrackLang_la-LLVMBuilder.lo libCrackLang_la-LLVMJitBuilder.lo 
libCrackLang_la-LLVMLinkerBuilder.lo libCrackLang_la-LLVMValueExpr.lo 
libCrackLang_la-Native.lo libCrackLang_la-Ops.lo 
libCrackLang_la-PlaceholderInstruction.lo libCrackLang_la-Utils.lo 
libCrackLang_la-VarDefs.lo libCrackLang_la-VTableBuilder.lo 
libCrackLang_la-DebugInfo.lo libCrackLang_la-Cacher.lo 
libCrackLang_la-StructResolver.lo libCrackLang_la-init.lo 
libCrackLang_la-Annotation2.lo libCrackLang_la-CrackContext.lo 
libCrackLang_la-Token2.lo libCrackLang_la-Location2.lo libCrackLang_la-Crack.lo 
libCrackDebugTools.la -lasound -lm -ldl -lpthread -lpcre )
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/crtbeginS.o  
.libs/libCrackLang_la-Module.o .libs/libCrackLang_la-Func.o 
.libs/libCrackLang_la-RCObj.o .libs/libCrackLang_la-Type.o 
.libs/libCrackLang_la-Annotation.o .libs/libCrackLang_la-Construct.o 
.libs/libCrackLang_la-ConstSequenceExpr.o .libs/libCrackLang_la-Deserializer.o 
.libs/libCrackLang_la-GetRegisterExpr.o .libs/libCrackLang_la-StrConst.o 
.libs/libCrackLang_la-AssignExpr.o .libs/libCrackLang_la-VarRef.o 
.libs/libCrackLang_la-SetRegisterExpr.o .libs/libCrackLang_la-FuncCall.o 
.libs/libCrackLang_la-Expr.o .libs/libCrackLang_la-Generic.o 
.libs/libCrackLang_la-OverloadDef.o .libs/libCrackLang_la-ResultExpr.o 
.libs/libCrackLang_la-Initializers.o .libs/libCrackLang_la-AllocExpr.o 
.libs/libCrackLang_la-CompositeNamespace.o .libs/libCrackLang_la-IntConst.o 
.libs/libCrackLang_la-FloatConst.o .libs/libCrackLang_la-FuncAnnotation.o 
.libs/libCrackLang_la-PrimFuncAnnotation.o .libs/libCrackLang_la-VarDef.o 
.libs/libCrackLang_la-Context.o .libs/libCrackLang_la-LocalNamespace.o 
.libs/libCrackLang_la-MultiExpr.o .libs/libCrackLang_la-NullConst.o 
.libs/libCrackLang_la-Namespace.o .libs/libCrackLang_la-Serializer.o 
.libs/libCrackLang_la-CleanupFrame.o .libs/libCrackLang_la-TernaryExpr.o 
.libs/libCrackLang_la-TypeDef.o .libs/libCrackLang_la-FuncDef.o 
.libs/libCrackLang_la-ModuleDef.o .libs/libCrackLang_la-Toker.o 
.libs/libCrackLang_la-Parser.o .libs/libCrackLang_la-ParseError.o 
.libs/libCrackLang_la-Token.o .libs/libCrackLang_la-md5.o 
.libs/libCrackLang_la-SourceDigest.o .libs/libCrackLang_la-CacheFiles.o 
.libs/libCrackLang_la-ArrayTypeDef.o .libs/libCrackLang_la-BModuleDef.o 
.libs/libCrackLang_la-BBuilderContextData.o 
.libs/libCrackLang_la-BCleanupFrame.o .libs/libCrackLang_la-BFieldRef.o 
.libs/libCrackLang_la-BFuncDef.o .libs/libCrackLang_la-BTypeDef.o 
.libs/libCrackLang_la-Consts.o .libs/libCrackLang_la-ExceptionCleanupExpr.o 
.libs/libCrackLang_la-FunctionTypeDef.o .libs/libCrackLang_la-FuncBuilder.o 
.libs/libCrackLang_la-Incompletes.o .libs/libCrackLang_la-LLVMBuilder.o 
.libs/libCrackLang_la-LLVMJitBuilder.o 
.libs/libCrackLang_la-LLVMLinkerBuilder.o .libs/libCrackLang_la-LLVMValueExpr.o 
.libs/libCrackLang_la-Native.o .libs/libCrackLang_la-Ops.o 
.libs/libCrackLang_la-PlaceholderInstruction.o .libs/libCrackLang_la-Utils.o 
.libs/libCrackLang_la-VarDefs.o .libs/libCrackLang_la-VTableBuilder.o 
.libs/libCrackLang_la-DebugInfo.o .libs/libCrackLang_la-Cacher.o 
.libs/libCrackLang_la-StructResolver.o .libs/libCrackLang_la-init.o 
.libs/libCrackLang_la-Annotation2.o .libs/libCrackLang_la-CrackContext.o 
.libs/libCrackLang_la-Token2.o .libs/libCrackLang_la-Location2.o 
.libs/libCrackLang_la-Crack.o   -L/usr/lib64/llvm -L/usr/local/lib 
-lCrackDebugTools -lffi -lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMipo 
-lLLVMVectorize -lLLVMBitWriter -lLLVMInstrumentation -lLLVMX86AsmParser 
-lLLVMX86Disassembler -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter 
-lLLVMMCParser -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils 
-lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen 
-lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa 
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport 
-lasound -ldl -lpthread -lpcre -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4 
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64 -L/lib/../lib64 
-L/usr/lib/../lib64 
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../x86_64-pc-linux-gnu/lib 
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../.. -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/crtendS.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/crtn.o  -O2   
-Wl,-soname -Wl,libCrackLang.so.4 -o .libs/libCrackLang.so.4.0.0
libtool: install: /usr/bin/install -c .libs/libCrackLang.so.4.0.0T 
/usr/local/lib/libCrackLang.so.4.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libCrackLang.so.4.0.0 
libCrackLang.so.4 || { rm -f libCrackLang.so.4 && ln -s libCrackLang.so.4.0.0 
libCrackLang.so.4; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libCrackLang.so.4.0.0 
libCrackLang.so || { rm -f libCrackLang.so && ln -s libCrackLang.so.4.0.0 
libCrackLang.so; }; })
libtool: install: /usr/bin/install -c .libs/libCrackLang.lai 
/usr/local/lib/libCrackLang.la
libtool: install: /usr/bin/install -c .libs/libCrackNativeRuntime.so.2.1.0 
/usr/local/lib/libCrackNativeRuntime.so.2.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f 
libCrackNativeRuntime.so.2.1.0 libCrackNativeRuntime.so.2 || { rm -f 
libCrackNativeRuntime.so.2 && ln -s libCrackNativeRuntime.so.2.1.0 
libCrackNativeRuntime.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f 
libCrackNativeRuntime.so.2.1.0 libCrackNativeRuntime.so || { rm -f 
libCrackNativeRuntime.so && ln -s libCrackNativeRuntime.so.2.1.0 
libCrackNativeRuntime.so; }; })
libtool: install: /usr/bin/install -c .libs/libCrackNativeRuntime.lai 
/usr/local/lib/libCrackNativeRuntime.la
libtool: install: /usr/bin/install -c .libs/libCrackDebugTools.a 
/usr/local/lib/libCrackDebugTools.a
libtool: install: chmod 644 /usr/local/lib/libCrackDebugTools.a
libtool: install: ranlib /usr/local/lib/libCrackDebugTools.a
libtool: install: /usr/bin/install -c .libs/libCrackLang.a 
/usr/local/lib/libCrackLang.a
libtool: install: chmod 644 /usr/local/lib/libCrackLang.a
libtool: install: ranlib /usr/local/lib/libCrackLang.a
libtool: install: /usr/bin/install -c .libs/libCrackNativeRuntime.a 
/usr/local/lib/libCrackNativeRuntime.a
libtool: install: chmod 644 /usr/local/lib/libCrackNativeRuntime.a
libtool: install: ranlib /usr/local/lib/libCrackNativeRuntime.a
libtool: finish: 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr
/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/usr/lib64/subversion/bin:/home/root/bin:/hom
e/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c crack '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/crack /usr/local/bin/crack
ln -f /usr/local/bin/crack /usr/local/bin/crack-0.7
ln -sf /usr/local/bin/crack-0.7 /usr/local/bin/crackc
 /bin/mkdir -p '/usr/local/include/crack-0.7/crack/compiler'
 /usr/bin/install -c -m 644 compiler/Annotation.h compiler/CrackContext.h compiler/Location.h compiler/Token.h '/usr/local/include/crack-0.7/crack/compiler'
./crack -l ./lib ./tools/nml2html.crk -t \
   ./doc/Manual.template \
   ./doc/Manual.nml
failed to load crack runtime from module load path
make[1]: *** [doc/Manual.html] Error 1
make[1]: Leaving directory `/mnt/md3/cache/inst/crack-language'
make: *** [install-am] Error 2

Original issue reported on code.google.com by wbr...@gmail.com on 1 Sep 2012 at 7:13

GoogleCodeExporter commented 9 years ago
can you try it with rev e860ad4dc59a?  Building the manual depends on the 
presence of the testbed "lib" directory tree, but that wasn't getting created 
along the "make install" path.  You'll need to run "bootstrap". 

Original comment by mind...@gmail.com on 2 Sep 2012 at 6:00

GoogleCodeExporter commented 9 years ago
it is fixed

Original comment by wbr...@gmail.com on 2 Sep 2012 at 6:36

GoogleCodeExporter commented 9 years ago
fixed in revision e860ad4dc59a

Original comment by mind...@gmail.com on 2 Sep 2012 at 7:14