Need Help To Install Bash


 
Thread Tools Search this Thread
Operating Systems Solaris Need Help To Install Bash
# 1  
Old 09-05-2003
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

Smilie
# 2  
Old 09-05-2003
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?
# 3  
Old 09-05-2003
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



Smilie
# 4  
Old 09-05-2003
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
# 5  
Old 09-09-2003
.............

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/freewa...sparc-local.gz



greetings Preßy
# 6  
Old 09-10-2003
Cheers, I'll give these a go......

Mark

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

BASH install

Hi im trying to install BASH on my hp-ux i have the depot file on my machine. im runnig the command: swinstall -s "name of the file" and on the very first screen im unable to pass the first phase, please see the screen shots attached. what am i doing wrong? im logged in as "root" (2 Replies)
Discussion started by: guy3145
2 Replies

2. Solaris

How to install bash 3.0?

Solaris has bash 3.2 but i need bash 3.0, How we can do this and link for binaries (1 Reply)
Discussion started by: Deepak416
1 Replies

3. Shell Programming and Scripting

Automated Bash Install Script

I'm making an automated bash install script. When you install mysql-server using apt-get, there's a blue dialog screen where it wants you to chose your mysql root password. Is there a way to pre-define the password in the apt-get command, or have it not chose a root password? It's not a... (2 Replies)
Discussion started by: Matezius
2 Replies

4. OS X (Apple)

Where should I install an alias file under UNIX bash ?

I have a file named 'aliases' which contains a list of aliases like: alias loc='locate' alias h='history' alias .='pwd' alias ..='cd ..' alias cd..='cd .. ; pwd' .............................. Where should I put this file (alias) so when Terminal launches .bash and thus a shell at... (1 Reply)
Discussion started by: shub22
1 Replies

5. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies

6. AIX

Install bash on AIX

Hi, Im trying to install bash on AIX, I have rpm installed but get: rpm --install bash-3.0-19.3.ppc.rpm error: failed dependencies: libc.so.6 is needed by bash-3.0-19.3 libc.so.6(GLIBC_2.0) is needed by bash-3.0-19.3 libc.so.6(GLIBC_2.1) is needed by... (0 Replies)
Discussion started by: chris5126
0 Replies

7. Linux

install macbook pro fedora10 ???((<<if can install, how to install? >> ))

If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies

8. Linux

Install bash command

Hello, I am trying to copy some dirs and files over from one part of my server to the other with groups, owners and permissions so . . . I am using the command: install -m <777> -o <owner> -g <group> /<source>/* /<destination> This works fine for the files but gives me "install:... (1 Reply)
Discussion started by: dave_c00
1 Replies

9. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

10. HP-UX

how to install bash

i'm newbie hp-ux . i want to install on my hp-ux B.11.23. actually i installed bash but when i run # bash /usr/lib/hpux32/dld.so: Unable to find library 'libtermcap.so'. Killed how can i install bash ? any doc or how to ? best regards (3 Replies)
Discussion started by: galkan
3 Replies
Login or Register to Ask a Question