LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 04-29-2013, 05:12 AM   #1
tjayanth
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Rep: Reputation: Disabled
gcc-4.7.3 compilation from source fails with error Unable to find a usable PPL.


Not able to compile & install gcc-4.7.3 from source . Failing with below Error

#-----------------------------------------------------------------
checking for objdir... .libs
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
configure: error: Unable to find a usable PPL. See config.log for details.
#--------------------------------------------------------------------------------


Downloaded below versions:
gcc-4.7.3.tar.bz2
gmp-4.3.2.tar.bz2
isl-0.11.1.tar.bz2
mpfr-2.4.2.tar.bz2

cloog-0.16.1.tar.gz
cloog-ppl-0.15.tar.gz
mpc-0.8.1.tar.gz
polylib-5.22.5.tar.gz
ppl-0.11.tar.gz


options used to configure:
./configure --prefix=/vobs/ims_tools/rhlinux/gcc --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-libgcj-multifile --enable-java-maintainer-mode --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --enable-cloog-backend=isl
 
Old 04-29-2013, 01:44 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,107

Rep: Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478
What operating system is this
and why can you not use the package manager to install 4.7

if 4.7 is not in the base repos there is likely a third party repo that dose have it .

Quote:
checking for PWL_handle_timeout in -lpwl... no
install libpwl and it's development package
 
Old 04-29-2013, 11:02 PM   #3
tjayanth
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
john we want to install gcc in custom path & the os is RHEL 6.4. gcc rpm is not re locateable
 
Old 04-30-2013, 12:15 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,107

Rep: Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478
then rebuild the src.rpm
and have it install in a new place besides the default /usr/bin/gcc-4.7 with a link to /usr/bin/gcc and to /usr/bin/cc
but you will also want g++

you can have as many versions of gcc installed side by side
i have gcc 3.4,4.3, and 4.7 installed
the rpm's are designed for this

use "alternatives" to set what one you want
or like i do ( old habit )
create a shell script that makes the links

Last edited by John VV; 04-30-2013 at 12:16 AM.
 
Old 04-30-2013, 04:08 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
# 3 .
Quote:
we want to install gcc in custom path
@tjayanth : Please have a look at the gcc build you did a year ago.

The @tjayanth thread http://www.linuxquestions.org/questi...th-4175423962/

Seems you are repeating some mistakes.
1) No ./configure, but ../gcc-Xx/configure --
2) You should avoid building java and ada.

-
 
Old 04-30-2013, 06:24 AM   #6
tjayanth
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
hello ,

we are not building with java option!
 
Old 05-04-2013, 08:35 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
# 6 .
Quote:
We are not building with java option !
Quote post # 1 :
Quote:
languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-libgcj-multifile --enable-java-maintainer-mode
Well, I guess you will have to edit post #1, so no java is mentioned.

-
 
Old 05-21-2013, 01:42 AM   #8
tjayanth
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
downloaded Offical GCC source from RedHat & issue is solved
 
  


Reply

Tags
gcc47


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
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) compilation error adhesh_19 Red Hat 0 01-05-2010 05:34 AM
gcc compilation fails due to __KERNEL__ macro in mod_devicetable.h and linux/types.h ErV Programming 1 03-25-2007 08:07 AM
have gcc compilation error during gcc installtion in linuxfromscratch vbshanmugaprakash Linux - General 3 12-13-2006 05:52 AM
"unable to find usable depth" and other errors when starting X with xdm in RHL 5.2 celejar Linux - Newbie 3 03-07-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 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