LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2012, 05:30 AM   #1
igor012
Member
 
Registered: Feb 2010
Posts: 89

Rep: Reputation: 2
Install of gcc-4.1.2 on Opensuse


Hello,
I'm trying to install gcc-4.1.2 on a OpenSuse 12.1 system.
It's required by the development team of my company. But I am experiencing some issues when executing this in a gcc-build folder
Code:
../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.1 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
here the output
Code:
loading site script /usr/share/site/x86_64-unknown-linux-gnu
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-suse-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gnatbind... no
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
configure: error: GMP with MPFR support is required to build fortran
gmp is installed and so is mpfr.

I don't understand how to get gmp with mpfr support ? Do I need to recompile gmp ?

Thanks
 
Old 04-03-2012, 05:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Why not use the Suse packages ?

http://download.opensuse.org/reposit...10_SDK/x86_64/
> cpp41 gcc41 gcc41-c++ libstdc++41-devel .. ..
Provides /usr/bin/ gcc-4.1 g++-4.1


About your build : Is gmp-devel, mpfr-devel installed ? ?
Your configure line : objc,fortran,obj-c++,java,ada should be omitted.
Most often not required for an extra compiler.

.

Last edited by knudfl; 04-03-2012 at 06:03 AM.
 
Old 04-03-2012, 05:54 AM   #3
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
yes both are installed.
I'll try what you said

Thanks
 
Old 04-03-2012, 06:05 AM   #4
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
It worked !!
Thanks a lot
 
  


Reply

Tags
gcc412


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Mingw32-gcc on openSUSE 11.4 ThatPerson SUSE / openSUSE 3 11-04-2011 04:31 PM
how to install openSuse 11 64bits on a box already has 32bits openSuse installed? 2007fld SUSE / openSUSE 7 11-28-2010 11:30 AM
no gcc in Opensuse 10.3?? Mufasa Linux - Software 8 08-09-2008 04:32 PM
gcc on opensuse 10.2 linuxmandrake SUSE / openSUSE 1 09-10-2007 12:28 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration