Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-30-2010, 11:35 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Rep:
|
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
|
|
|
01-30-2010, 02:01 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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
.....
.....
|
|
|
01-31-2010, 04:20 PM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
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
|
|
|
01-31-2010, 04:22 PM
|
#4
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
[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:
Last edited by mohabic; 01-31-2010 at 05:01 PM.
|
|
|
01-31-2010, 05:03 PM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
../matvec/densevector.tcc:54: error: prototype for 'typename restrictFrom<isConvertible::value, flens:  enseVector<D>&>::type flens:  enseVector<D>:  perator=(const MatVec<MatVecData>&)' does not match any in class 'flens:  enseVector<D>'
|
|
|
01-31-2010, 05:04 PM
|
#6
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
../matvec/densevector.h:63: error: candidates are: flens::ListInitializerSwitch<flens:  enseVector<D> > flens:  enseVector<D>:  perator=(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:  enseVector<D>&>::type flens:  enseVector:  perator=(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:
|
|
|
01-31-2010, 05:04 PM
|
#7
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
../matvec/diagonalmatrix.tcc:61: error: prototype for 'typename restrictFrom<isConvertible::value, flens:  iagonalMatrix<D>&>::type flens:  iagonalMatrix<D>:  perator=(const MatVec<MatVecData>&)' does not match any in class 'flens:  iagonalMatrix<D>'
../matvec/diagonalmatrix.h:70: error: candidates are: flens::ListInitializerSwitch<Vec>
|
|
|
01-31-2010, 05:05 PM
|
#8
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
flens:  iagonalMatrix<D>:  perator=(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:  iagonalMatrix<D>&>::type flens:  iagonalMatrix:  perator=(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:
|
|
|
01-31-2010, 05:05 PM
|
#9
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
../matvec/densematrix.tcc:44: error: prototype for 'typename restrictFrom<isConvertible::value, flens:  enseMatrix<D>&>::type flens:  enseMatrix<D>:  perator=(const MatVec<MatVecData>&)' does not match any in class 'flens:  enseMatrix<D>'
|
|
|
01-31-2010, 05:06 PM
|
#10
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
../matvec/densematrix.h:73: error: candidates are: flens::ListInitializerSwitch<flens:  enseMatrix<D> > flens:  enseMatrix<D>:  perator=(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:  enseMatrix<D>&>::type flens:  enseMatrix:  perator=(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
|
|
|
01-31-2010, 05:06 PM
|
#11
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
sorry for posting the make o/p in several posts
|
|
|
01-31-2010, 05:10 PM
|
#12
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
@ 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
|
|
|
01-31-2010, 05:31 PM
|
#13
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
Code:
Posting in code blocks is a better solution than disabling smilies. :)
Given your problem, I'd try downloading the file again from scratch, and try again. It looks like you had a download failure.
Last edited by Quakeboy02; 01-31-2010 at 05:34 PM.
|
|
|
02-01-2010, 06:36 AM
|
#14
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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
export CVS_RSH=ssh
cvs login
cvs -z3 co -P FLENS-lite
sudo apt-get install \
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/
.....
Last edited by knudfl; 02-01-2010 at 07:01 AM.
|
|
|
02-01-2010, 06:43 AM
|
#15
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
Quote:
moha@moha:~$ cd /home/moha/FLENS
moha@moha:~/FLENS$ ./configurre
bash: ./configurre: No such file or directory
moha@moha:~/FLENS$ ./configurre
bash: ./configurre: No such file or directory
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... gawk
checking whether make sets $(MAKE)... yes
${SHELL} /home/moha/FLENS/missing --run aclocal-1.11 -I .
checking for perl... /usr/bin/perl
checking for perl module Text::Wrap... ok
checking for doxygen... true
checking for icc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for icc... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for plotserver_connect in -lplotserver... no
LIBPLOTSERVER=
checking version of g++... OK
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... /usr/bin/f77: Illegal option: -print-search-dirs
GNU/Linux ld.so
checking for a00aac in -lnagc... no
checking how to get verbose linking output from f77... configure: WARNING: cannot determine how to obtain linking information from f77
checking for Fortran 77 libraries of f77...
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, extra underscore
checking for sgemm_... no
checking for ATL_xerbla in -latlas... yes
checking for sgemm_ in -lf77blas... yes
checking for cblas_dgemm in -lcblas... yes
checking for cheev_... no
checking for cheev_ in -llapack... yes
checking for the Boost C++ libraries, version 1.30.0 or newer... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examples/Makefile
config.status: creating matvec/Makefile
config.status: creating solver/lapack/Makefile
config.status: creating solver/nagc/Makefile
config.status: creating solver/ulm/Makefile
config.status: creating solver/Makefile
config.status: creating mllib/Makefile
config.status: creating flens/Makefile
config.status: creating ora/ora.pl
config.status: creating ora/makeclean.pl
config.status: creating doc/cc2dox.pl
config.status: creating ora/Makefile
config.status: creating test/Makefile
config.status: creating utils/Makefile
config.status: creating export/Makefile
config.status: creating export/matlab/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating flens/config.h
config.status: flens/config.h is unchanged
config.status: executing depfiles commands
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
moha@moha:~/FLENS$
|
sorry, im still newbie
now this is the configure and make o/p
thanks
|
|
|
All times are GMT -5. The time now is 07:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|