building FLENS
hello
im currently trying to build FLENS, i used autoconf, i then called ./configure to build the make file but unfortunately i got this error moha@moha:~/FLENS$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes ${SHELL} /home/moha/FLENS/missing --run aclocal-1.11 -I . checking for perl... /usr/bin/perl ./configure: line 2761: syntax error near unexpected token `Text::Wrap,' ./configure: line 2761: `AC_PROG_PERL_MODULES(Text::Wrap, ,' moha@moha:~/FLENS$ this is the lines that had the problem in the configure file -------------- AC_PROG_PERL_MODULES(Text::Wrap, , as_fn_error "Perl module 'Text::Wrap' required" "$LINENO" 5) ---------------------- Thanks on advance and sorry if it's a fool question |
We need a little more information.
1) The Linux, you are using. Name and version, please. Like : Ubuntu 9.10 Karmic, Fedora 12, CentOS 5.4, etc. 2) FLENS version .. ( the latest is FLENS-2009-06-12 ). And the full file name like FLENS.tar.gz, please .. + a link to where you got it. http://www.linuxquestions.org/linux/...Ask_a_Question http://linuxsilo.net/docs/smart-questions_en.html ..... ..... |
WELL
im sorry for forgetting that the i use ubuntu 9.10 <updated today> the svn last version of flens. i'd like to tell u that i have made another steps and passed that problem however another problem occured i will show what i did that is what i wrote in terminal ---------- aclocal -I . && autoconf && automake -acf LIBRARY_PATH=/path/to/nagc/libraries:$LIBRARY_PATH LD_LIBRARY_PATH=/path/to/nagc/libraries:$LD_LIBRARY_PATH NAGC_INCLUDE=/path/to/nagc/includefiles export LIBRARY_PATH LD_LIBRARY_PATH NAGC_INCLUDE autoheader automake autoconf ./configure |
[QUOTE]moha@moha:~/FLENS$ make
Making all in ora make[1]: Entering directory `/home/moha/FLENS/ora' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/moha/FLENS/ora' Making all in utils make[1]: Entering directory `/home/moha/FLENS/utils' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../flens -I.. -I.. -fPIC -DUSE_ORA -O2 -g -DDEBUG -Werror -Wall -pedantic -MT modulo.lo -MD -MP -MF .deps/modulo.Tpo -c -o modulo.lo modulo.cc g++ -DHAVE_CONFIG_H -I. -I../flens -I.. -I.. -fPIC -DUSE_ORA -O2 -g -DDEBUG -Werror -Wall -pedantic -MT modulo.lo -MD -MP -MF .deps/modulo.Tpo -c modulo.cc -fPIC -DPIC -o .libs/modulo.o In file included from /usr/include/c++/4.4/ext/hash_map:59, from ../matvec/hashmap.h:13, from ../matvec/sparseproxy.h:6, from ../matvec/crsdata.h:8, from ../flens/matvec.h:13, from ../utils/modulo.h:4, from modulo.cc:4: /usr/include/c++/4.4/backward/backward_warning.h:28:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from ../matvec/densevector.h:125, from ../matvec/diagonalmatrix.h:8, from ../matvec/densematrix.h:8, from ../flens/matvec.h:14, from ../utils/modulo.h:4, from modulo.cc:4: |
../matvec/densevector.tcc:54: error: prototype for 'typename restrictFrom<isConvertible::value, flens::DenseVector<D>&>::type flens::DenseVector<D>::operator=(const MatVec<MatVecData>&)' does not match any in class 'flens::DenseVector<D>'
|
../matvec/densevector.h:63: error: candidates are: flens::ListInitializerSwitch<flens::DenseVector<D> > flens::DenseVector<D>::operator=(const typename D::TT&)
../matvec/densevector.h:60: error: template<class D> template<template<template<class> class MatVec, class MatVecData> template<class D> template<class> class MatVec, class MatVecData> typename restrictFrom<isConvertible::value, flens::DenseVector<D>&>::type flens::DenseVector::operator=(const MatVec<MatVecData>&) In file included from ../matvec/diagonalmatrix.h:189, from ../matvec/densematrix.h:8, from ../flens/matvec.h:14, from ../utils/modulo.h:4, from modulo.cc:4: |
../matvec/diagonalmatrix.tcc:61: error: prototype for 'typename restrictFrom<isConvertible::value, flens::DiagonalMatrix<D>&>::type flens::DiagonalMatrix<D>::operator=(const MatVec<MatVecData>&)' does not match any in class 'flens::DiagonalMatrix<D>'
../matvec/diagonalmatrix.h:70: error: candidates are: flens::ListInitializerSwitch<Vec> |
flens::DiagonalMatrix<D>::operator=(const typename D::TT&)
../matvec/diagonalmatrix.h:67: error: template<class D> template<template<template<class> class MatVec, class MatVecData> template<class D> template<class> class MatVec, class MatVecData> typename restrictFrom<isConvertible::value, flens::DiagonalMatrix<D>&>::type flens::DiagonalMatrix::operator=(const MatVec<MatVecData>&) In file included from ../matvec/densematrix.h:174, from ../flens/matvec.h:14, from ../utils/modulo.h:4, from modulo.cc:4: |
../matvec/densematrix.tcc:44: error: prototype for 'typename restrictFrom<isConvertible::value, flens::DenseMatrix<D>&>::type flens::DenseMatrix<D>::operator=(const MatVec<MatVecData>&)' does not match any in class 'flens::DenseMatrix<D>'
|
../matvec/densematrix.h:73: error: candidates are: flens::ListInitializerSwitch<flens::DenseMatrix<D> > flens::DenseMatrix<D>::operator=(const typename D::TT&)
../matvec/densematrix.h:70: error: template<class D> template<template<template<class> class MatVec, class MatVecData> template<class D> template<class> class MatVec, class MatVecData> typename restrictFrom<isConvertible::value, flens::DenseMatrix<D>&>::type flens::DenseMatrix::operator=(const MatVec<MatVecData>&) make[1]: *** [modulo.lo] Error 1 make[1]: Leaving directory `/home/moha/FLENS/utils' make: *** [all-recursive] Error 1[/QUOTE] i noticed that when i excute make i found that it genrates *.loT file , to link the library as it was written in the file isnt supposed to be named *.lo ?? Thanks on advance |
sorry for posting the make o/p in several posts
|
@ mohabic,
you probably should, if possible, disable smilies in the above post(s) so there are no happy-faces in the code output. Also, I really don't know what to make of all that stuff; may I ask, why did you post it in all these pieces? Would it not make sense to post all the error output together? :) Sasha |
Code:
Posting in code blocks is a better solution than disabling smilies. :) |
FLENS .. .. Ubuntu 8.10 Karmic
You are still missing out to tell us the file name for
the FLENS you are using ( FLENS-2009-06-12.tgz ? ? ) Or ? And why do : autoheader && automake && autoconf && ./configure .. when a Makefile already is provided ? ..... Anyway, FLENS-2009-06-12 seems buggy, luckily the "cvs version" is OK .. http://flens.sourceforge.net/obtain.html Code:
export CVSROOT=:pserver:anonymous@flens.cvs.sourceforge.net:/cvsroot/flens libatlas-headers libblas-dev liblapack-pic libatlas-base-dev cd FLENS-lite/ cp config.ubuntu config make .. And if you want "sudo make install" : Edit Makefile.common , line 19, to : include $(FLENS_HOME)./config ( This bug only appears by 'make install', do not edit when doing 'make' ). sudo make install : provides /usr/local/lib/libflens.so + some headers etc. in /usr/local/include/flens/ ..... |
Quote:
now this is the configure and make o/p thanks |
All times are GMT -5. The time now is 10:33 AM. |