Red Hat General - Problem compiling GNU utilities ..

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > September 2004 > Problem compiling GNU utilities ..





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem compiling GNU utilities ..
Thundersmash

2004-09-22, 9:24 pm

I would like to compile the GNU coreutils, findutils, and GREP on a Red Hat
9.0 machine with all packages installed.

I get the following error when running "./configure" for all three
packages:

": bad interpreter: No such file or directory"

My Linux skills are somewhat basic, so I don't know how to resolve this.
The system is completely default, I just installed it a few days ago.

Thanks for the advice!


Alexander Dalloz

2004-09-22, 9:24 pm

On Thu, 16 Sep 2004 10:21:21 -0700 Thundersmash wrote:

> I would like to compile the GNU coreutils, findutils, and GREP on a Red Hat
> 9.0 machine with all packages installed.
>
> I get the following error when running "./configure" for all three
> packages:
>
> ": bad interpreter: No such file or directory"


head -1 configure

That will print out the so called shebang line, pointing to the needed
interpreter. Be sure you have that one installed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Thundersmash

2004-09-22, 9:24 pm

"Alexander Dalloz" <alexander.dalloz@uni-bielefeld.de> wrote in message
news:pan.2004.09.16.17.40.18.228880@uni-bielefeld.de...
> On Thu, 16 Sep 2004 10:21:21 -0700 Thundersmash wrote:
>
Hat[vbcol=seagreen]
>
> head -1 configure
>
> That will print out the so called shebang line, pointing to the needed
> interpreter. Be sure you have that one installed.
>
> Alexander


Hi Alexander,

When I run "head -1 configure" from the GNU coreutils directory I made, I
get:

"#! /bin/sh"

So I tried "sh ./configure" and got:

:command not found3
../configure: line 21:syntax error near unexpected token 'elif'
../configure: line 21: 'elif test -n "${BASH_VERSION+set}" && (set -o posix)
'/dev/null 2>&1;then

Not sure what that means. Also, I ran "sh" and tried "./configure" from
that shell. I got:

": bad interpreter: No such file or directory"

I'm surprised I can't get coreutils compiled quickly on a default (with full
packages) installation of Red Hat 9. Maybe I'm screwed something up? I'm
using the latest stable coreutils source as of this morning from the GNU
site.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com