- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error when trying to configure bash 3.0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 03:32 AM
тАО01-17-2007 03:32 AM
# ./configure
configure: error: cannot find sources (shell.h) in . or ..
same when I do
# sh ./configure
configure: error: cannot find sources (shell.h) in . or ..
or
/sbin/sh is the same
I have nothing installed on this system yet.
Thanks
noradanjo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 03:50 AM
тАО01-17-2007 03:50 AM
Re: Error when trying to configure bash 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 03:58 AM
тАО01-17-2007 03:58 AM
Re: Error when trying to configure bash 3.0
i only have shell.c in the pwd where do I get shell.h?
Thnks
Nora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 04:14 AM
тАО01-17-2007 04:14 AM
Re: Error when trying to configure bash 3.0
I realised what happened, yesterday when I did the install I filled the file system to 100% so it obviously didnt install correctly so have extended and installed agian, the configure works now so will continue on.
Regards,
Nora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 04:18 AM
тАО01-17-2007 04:18 AM
Re: Error when trying to configure bash 3.0
Hmmm, it should there, if it's not there, other solution might be copying it from the web and testing with it...
http://iep.water.ca.gov/d/bin/sbin/site/etc/httpd/cgi-bin/dss/bin/sbin/site/src/gnu/bash-2.0/shell.h
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 04:25 AM
тАО01-17-2007 04:25 AM
Re: Error when trying to configure bash 3.0
I hope that you have a compelling reason to use bash. One of my least favorite features of most implementations of bash is that the following very useful construct does not work:
echo "One Two Three" | read A B C
but works perfectly with the POSIX or Korn shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 04:33 AM
тАО01-17-2007 04:33 AM
Re: Error when trying to configure bash 3.0
I did the following and still haev no bash. Is this the expected output?
# make
making ./lib/intl/libintl.a in ./lib/intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I/home/bash/bash-3.0 -I../.. -g bindtextdom.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
cpp: "libgnuintl.h", line 301: error 4065: Recursion in macro "libintl_set_relocation_prefix".
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
# make tests
making ./lib/intl/libintl.a in ./lib/intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I/home/bash/bash-3.0 -I../.. -g bindtextdom.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
cpp: "libgnuintl.h", line 301: error 4065: Recursion in macro "libintl_set_relocation_prefix".
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
# make install
making ./lib/intl/libintl.a in ./lib/intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I/home/bash/bash-3.0 -I../.. -g bindtextdom.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
cpp: "libgnuintl.h", line 301: error 4065: Recursion in macro "libintl_set_relocation_prefix".
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
Thanks
Noreen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 04:39 AM
тАО01-17-2007 04:39 AM
Re: Error when trying to configure bash 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 10:11 PM
тАО01-17-2007 10:11 PM
Re: Error when trying to configure bash 3.0
I have installed gcc now
# find / -name gcc -print 2>/dev/null
/usr/local/bin/gcc
/var/adm/sw/products/gcc
But when I did ./configure I noticed when it checked for gcc it returned "no" in output. And when I do make I still get
# make
making ./lib/intl/libintl.a in ./lib/intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I/home/bash/bash-3.0 -I../.. -g bindtextdom.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
cpp: "libgnuintl.h", line 301: error 4065: Recursion in macro "libintl_set_relocation_prefix".
*** Error exit code 1
Why is bash not recognising that I have installed gcc?
THanks
Noreen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 09:31 PM
тАО01-22-2007 09:31 PM
Re: Error when trying to configure bash 3.0
Does anyone have any further ideas on this problem, am still stuck, trying to install bash 3.0 on hp-ux 11.0 but keep having problems when running the configure script complaining about lack of a compiler which prompted me to download and install gcc but still problems see above.
Regards,
Noradanjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 10:04 PM
тАО01-22-2007 10:04 PM
Re: Error when trying to configure bash 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2007 01:59 AM
тАО01-23-2007 01:59 AM
Re: Error when trying to configure bash 3.0
yes I did this and now I realise that I need other binaries that are contained in the gnu binutils package (i think) for gcc to work properly. So I have downloaded this package and trying to install 2.9.1.
But when I do "make" am getting
"In file included from hpux-core.c:35:
/usr/include/sys/core.h:81: parse error before `uint64_t'
/usr/include/sys/core.h:81: warning: no semicolon at end of struct or union
hpux-core.c: In function `hpux_core_core_file_p':
hpux-core.c:140: storage size of `proc_info' isn't known
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#"
I'll look this up now.
God I thought installing and configuring bash would be easy but looks like I need a tonne of things to make bash work anyway which I haven't already got. Do you know if this is the normal procedure for installation or is there some other "packaged and compiled file" that would have everything I need.
Thanks
Noreen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2007 09:07 AM
тАО01-23-2007 09:07 AM
SolutionSomeone else ports the few non-HP tools that I use, so I haven't experienced the pain.
I would have tought some of these are available at the porting center.