bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binutils - Problem with the configure script


From: Pierrot
Subject: Binutils - Problem with the configure script
Date: Mon, 06 Aug 2001 14:43:39 +0200

 Hi,

    Trying to build binutils 2.11.2, the 'configure ' script produced
the following output:

----
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /usr/src/packages/binutils-2.11.2 using "mt-frag"
./ld: installation problem, cannot exec `./ld': Permission denied
collect2: ld returned 255 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
----

gcc and ld are however working perfectly... Except in the concerned
directory...
After a while I found that the directory named 'ld' in the package tree
was conflicting with the 'ld' executable. Renaming the 'ld' directory to

'ld.dir' solved the problem.
Apparently gcc tries to execute './ld' and is screwed by a
'permission denied' trying to execute the 'ld' directory.

However this modification will cause 'make' to ignore ld and not
building
it, probably because the configure script didn't build the makefile.
So I had to run configure in './ld.dir' and make ld separately...

My system is a Linux 2.2.13, installed a while ago from a Suse
distribution (can't remember which version), gcc version is now 2.95.3,
ld version is 2.9.1...

    Thanks a lot for your work...


        Piere Bureau










reply via email to

[Prev in Thread] Current Thread [Next in Thread]