LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 01-03-2010, 10:48 PM   #1
verthex
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
trying to install lidia-2.2.0 and I'm getting a configure error


Hello,

I'm trying to configure the lidia package. Thus far I've changed to su and typed ./configure to find this long mess with an error saying I don't have multiprecision integer arithmatic???


I've searched google and this seems to be the first time this has ever happened to anyone.

[root@localhost lidia-2.2.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name... 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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 type bool... yes
checking for ISO C++ inline... yes
checking for ISO C++ casting... yes
checking for explicit constructors by ISO C++... yes
checking for mutable class members by ISO C++... yes
checking for working template<>... yes
checking for explicit template instantiation by ISO C++... yes
checking for ISO C++ namespaces... yes
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by g++... /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... g++ -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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from g++ object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if g++ static flag works... yes
checking if g++ supports -fno-rtti -fno-exceptions... 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 dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
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 dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for latex... no
configure: WARNING:
You don't appear to have LaTeX 2e or some required LaTeX 2e packages, therefore you
will not be able to build the manual. You can obtain the manual in PostScript format
from http://www.informatik.tu-darmstadt.de/TI/LiDIA/
checking for gunzip... gunzip
checking for bunzip2... bunzip2
configure: checking which multi-precision arithmetic library to use
checking for GNU MP (version >= 3.1)... no
checking for CLN... no
checking for Piologie... no
checking for libI... no
configure: error: could not find a multi-precision integer arithmetic.
[root@localhost lidia-2.2.0]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost lidia-2.2.0]#
 
Old 01-03-2010, 11:54 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,716

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Try adding gmp as suggested then rerunning './configure'

Quote:
The gmp package contains GNU MP, a library for arbitrary precision
arithmetic, signed integers operations, rational numbers and floating
point numbers. GNU MP is designed for speed, for both small and very
large operands. GNU MP is fast because it uses fullwords as the basic
arithmetic type, it uses fast algorithms, it carefully optimizes
assembly code for many CPUs' most common inner loops, and it generally
emphasizes speed over simplicity/elegance in its operations.
cheers
 
Old 01-04-2010, 12:14 AM   #3
verthex
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
I seem to have it already???

[root@localhost c]# yum install gmp
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package gmp-4.3.1-5.fc12.i686 already installed and latest version
Nothing to do
[root@localhost c]#
 
Old 01-04-2010, 12:17 AM   #4
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,822

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Is there a gmp-devel package?

Evo2.
 
Old 01-04-2010, 12:28 AM   #5
verthex
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
I downloaded that just now and used ./configure and then make and make install. This did solve the problem. Now I'm having a different problem, but thanks.
 
Old 01-04-2010, 12:32 AM   #6
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,822

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Quote:
Originally Posted by verthex View Post
I downloaded that just now and used ./configure and then make and make install. This did solve the problem.
Great. Just one thing I wanted to point out: Generally you should not compile code as root. Usually, at most, only the installation should be done as root. Eg.

Code:
[verthex@localhost lidia-2.2.0]% ./configure
[verthex@localhost lidia-2.2.0]% make
[verthex@localhost lidia-2.2.0]% su
[root@localhost lidia-2.2.0]# make install
Cheers,

Evo2.
 
Old 01-04-2010, 12:44 AM   #7
verthex
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
tried that and I'm get permission denied for ./configure
 
Old 01-04-2010, 12:46 AM   #8
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,822

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Quote:
Originally Posted by verthex View Post
tried that and I'm get permission denied for ./configure
Ahh, you need to untar foo.tar.gz as that user too.

Cheers,

Evo2.
 
Old 01-04-2010, 01:59 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,196

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Compiling lidia-2.0.0

.. Fix the code for gcc-4.x with this patch
http://www.montefiore.ulg.ac.be/~poi...gcc-4.4.0.diff

mv lidia-2.2.0-gcc-4.4.0.diff lidia-2.0.0/
cd lidia-2.0.0/
patch -p1 < lidia-2.2.0-gcc-4.4.0.diff
./configure && make

.....

P.S. : Compiling as root : Is asking for trouble !
Please do not do anything as root, except admin tasks.
.....

Last edited by knudfl; 01-04-2010 at 02:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: cannot find libusb support install hplip-3.9.8 redhatwannabe Linux - Enterprise 7 09-11-2010 04:39 PM
configure: error: cannot find install-sh or install.sh in . ./.. ./../.. jialin Debian 9 12-01-2009 08:36 PM
configure error: configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld GunNam Linux - General 0 10-24-2008 08:26 PM
configure php install error obj63 Linux - Software 2 08-18-2004 09:19 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration