Need Help To Install Bash

Hi,

I'm kinda new to doing anything too complicated on unix. I'm trying to install bash 2.05b and have run into trouble. I have got the source code in a directory I have created called bashInstall.

I have run the config by doing....

sh ./configure and I get the following =>

aseries > sh ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) ./install.sh -c
checking how to run the C preprocessor... (cached) gcc -E
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
creating ./config.status
creating Makefile

However when I try and compile using make I get......
make: *** No rule to make target `../config.h', needed by `mkbuiltins.o'. Stop.

Now I thought configure should create a config.h file. Can't find one anywhere. I have done a find on the whole box. In the Makefile it seems to reference ../config.h all over the place. But it definetely wasn't created in the sub directory.

Anyone got any ideas?

Thanks in advance.

Mark

:cool:

Telling us about your system might help. What release of what os running on what hardware?

When I run configure for a different package than bash, I get a config.h in my current directory. And I get a message in config.log that says it did that. What do you see in config.log?

And when you run configure, do you have permission to write in the current directory?

Running on solaris 2.6.

Yes I have permission to use the current directory. There is nothing in the config.log file. In the config.cache we get:

ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_stdc=${ac_cv_header_stdc='no'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_path_install=${ac_cv_path_install='./install.sh -c'}
ac_cv_prog_CC=${ac_cv_prog_CC='cc'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='cc -E'}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='no'}

Mark

:confused:

Maybe you have a config.site somewhere on your box that configure is finding?

configure is a shell script. You should be able to track down why it isn't writing a config.h. If you don't have a sh expert who can do that, maybe you should just download a precompiled binary from www.sunfreeware.com

when you are new to solaris and compiling, i would prefer the binaries:

tipp: http://www.sunfreeware.com

bash 2.05 for solaris 6 on sparc:
ftp://ftp.sunfreeware.com/pub/freeware/sparc/2.6/bash-2.05-sol26-sparc-local.gz

greetings Pre�y

Cheers, I'll give these a go......

Mark

:slight_smile: