public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* configuration error
@ 2001-01-20 22:50 Jeffery Zhang
  2001-01-21 13:16 ` Alexandre Oliva
  0 siblings, 1 reply; 6+ messages in thread
From: Jeffery Zhang @ 2001-01-20 22:50 UTC (permalink / raw)
  To: gcc-help

I encountered a problem while following the
installation instructions. It returned an error
message saying that crt1.o is not found, and this is
generated by ld. The thing is, it's not very helpful,
because it gives me no clue whatsoever to solve this
problem. I have no idea what can be causing this, is
crt1 a file that's supposed to come with or be built
by GCC or is that something I should already have on
my system?

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: configuration error
  2001-01-20 22:50 configuration error Jeffery Zhang
@ 2001-01-21 13:16 ` Alexandre Oliva
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 2001-01-21 13:16 UTC (permalink / raw)
  To: Jeffery Zhang; +Cc: gcc-help

On Jan 21, 2001, Jeffery Zhang <jz02@yahoo.com> wrote:

> is crt1 a file that's supposed to come with or be built by GCC or is
> that something I should already have on my system?

The latter.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuration Error
  2012-08-15 17:49   ` B B
@ 2012-08-15 17:57     ` Jonathan Wakely
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Wakely @ 2012-08-15 17:57 UTC (permalink / raw)
  To: B B; +Cc: ron.stubbs, gcc-help

On 15 August 2012 18:44, B B wrote:
> Hi,
> Maybe this will help youŠ

Not, it won't, because it doesn't install prerequisites such as Flex.

He already has GMP, MPFR and MPC installed, and even if he didn't, the
instructions at http://gcc.gnu.org/wiki/InstallingGCC are much simpler
(see the 9 line recipe at the bottom of the page)

> https://github.com/beurdouche/scripts/blob/master/build_gcc.sh
>
> This is working for me as it is so you should just have to replace with
> what you need ;)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuration Error
  2012-08-15 15:43 ` Jonathan Wakely
@ 2012-08-15 17:49   ` B B
  2012-08-15 17:57     ` Jonathan Wakely
  0 siblings, 1 reply; 6+ messages in thread
From: B B @ 2012-08-15 17:49 UTC (permalink / raw)
  To: ron.stubbs; +Cc: gcc-help, Jonathan Wakely

Hi,
Maybe this will help youŠ

https://github.com/beurdouche/scripts/blob/master/build_gcc.sh

This is working for me as it is so you should just have to replace with
what you need ;)
B.



On 8/15/12 4:34 PM, "Jonathan Wakely" <jwakely.gcc@gmail.com> wrote:

>On 15 August 2012 13:39, Ron Stubbs wrote:
>> Hi,
>>
>> I get the following configuration error message when configuring GCC 4.8
>> on an x86_64 suystem running Scientific linux 6.2.
>>
>> checking for the correct version of gmp.h... yes
>> checking for the correct version of mpfr.h... yes
>> checking for the correct version of mpc.h... yes
>> checking for the correct version of the gmp/mpfr/mpc libraries... no
>> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
>> 0.8.0+.
>> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
>>
>> Although the version check for the .h files succeeds, the library check
>> fails.
>>
>> The installed version are required libraries:
>> gmp-4.3.1-7.el6_2.2.x86_64
>> mpfr-2.4.1-6.el6.x86_64
>> mpc-0.8.2
>>
>> I've tried with both ./configure and /configure --with-gmp=/usr/lib64
>> --with-mpfr=/usr/lib64  --with-mpc=/usr/local/lib
>
>1) Don't use ./configure, as documented at
>http://gcc.gnu.org/install/configure.html and
>http://gcc.gnu.org/wiki/FAQ#configure and
>http://gcc.gnu.org/wiki/InstallingGCC you should build outside the
>source directory.
>
>2) /usr/lib64 is a library path, not the installation prefix. You
>would want to use --with-gmp-lib=/usr/lib64 or --with-gmp=/usr but the
>compiler will always look in /usr/lib64 anyway so you shouldn't need
>to use any --with-xxx options for gmp, mpfr and mpc if they're
>installed in /usr
>
>For more specific information on what fails you will need to look in
>the config.log file.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuration Error
  2012-08-15 14:34 Configuration Error Ron Stubbs
@ 2012-08-15 15:43 ` Jonathan Wakely
  2012-08-15 17:49   ` B B
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Wakely @ 2012-08-15 15:43 UTC (permalink / raw)
  To: ron.stubbs; +Cc: gcc-help

On 15 August 2012 13:39, Ron Stubbs wrote:
> Hi,
>
> I get the following configuration error message when configuring GCC 4.8
> on an x86_64 suystem running Scientific linux 6.2.
>
> checking for the correct version of gmp.h... yes
> checking for the correct version of mpfr.h... yes
> checking for the correct version of mpc.h... yes
> checking for the correct version of the gmp/mpfr/mpc libraries... no
> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
> 0.8.0+.
> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
>
> Although the version check for the .h files succeeds, the library check
> fails.
>
> The installed version are required libraries:
> gmp-4.3.1-7.el6_2.2.x86_64
> mpfr-2.4.1-6.el6.x86_64
> mpc-0.8.2
>
> I've tried with both ./configure and /configure --with-gmp=/usr/lib64
> --with-mpfr=/usr/lib64  --with-mpc=/usr/local/lib

1) Don't use ./configure, as documented at
http://gcc.gnu.org/install/configure.html and
http://gcc.gnu.org/wiki/FAQ#configure and
http://gcc.gnu.org/wiki/InstallingGCC you should build outside the
source directory.

2) /usr/lib64 is a library path, not the installation prefix. You
would want to use --with-gmp-lib=/usr/lib64 or --with-gmp=/usr but the
compiler will always look in /usr/lib64 anyway so you shouldn't need
to use any --with-xxx options for gmp, mpfr and mpc if they're
installed in /usr

For more specific information on what fails you will need to look in
the config.log file.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Configuration Error
@ 2012-08-15 14:34 Ron Stubbs
  2012-08-15 15:43 ` Jonathan Wakely
  0 siblings, 1 reply; 6+ messages in thread
From: Ron Stubbs @ 2012-08-15 14:34 UTC (permalink / raw)
  To: gcc-help

Hi,

I get the following configuration error message when configuring GCC 4.8
on an x86_64 suystem running Scientific linux 6.2.

checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify

Although the version check for the .h files succeeds, the library check
fails.

The installed version are required libraries:
gmp-4.3.1-7.el6_2.2.x86_64 
mpfr-2.4.1-6.el6.x86_64
mpc-0.8.2

I've tried with both ./configure and /configure --with-gmp=/usr/lib64 
--with-mpfr=/usr/lib64  --with-mpc=/usr/local/lib

Any guidance would be appreciated.

Thanks,
Ron

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Stubbs MS CS
Senior Systems Programmer
Research Computing
Pratt School of Engineering
410 Teer Bldg. P.O. Box 90271
Duke University, Durham, N.C. 27708-0271
office: (919)660-5339   cell:(919)641-5689
fax: (919) 613-9156
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-15 17:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-20 22:50 configuration error Jeffery Zhang
2001-01-21 13:16 ` Alexandre Oliva
2012-08-15 14:34 Configuration Error Ron Stubbs
2012-08-15 15:43 ` Jonathan Wakely
2012-08-15 17:49   ` B B
2012-08-15 17:57     ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).