configure currently checks the paths.h file for the definition of _PATH_STDPATH On IRIX the define is named _PATH_USERPATH The following patch to configure allows the correct value to be obtained --- configure.orig Wed Jun 26 07:08:18 2002 +++ configure Fri Nov 22 10:38:57 2002 @@ -15705,8 +15713,12 @@ #ifdef HAVE_PATHS_H # include <paths.h> #endif +#ifdef _PATH_USERPATH +# define _PATH_STDPATH _PATH_USERPATH +#else #ifndef _PATH_STDPATH # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" +#endif #endif #include <sys/types.h> #include <sys/stat.h> -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb at sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ======================================================================
On Fri, 22 Nov 2002, Herb Lewis wrote:> configure currently checks the paths.h file for the definition of > _PATH_STDPATH > > On IRIX the define is named _PATH_USERPATHFinally someone on IRIX has verified this will work. I've been holding onto a similar patch since July. I'll commit it now. BTW. changes go in configure.ac as configure is a generated file.> > The following patch to configure allows the correct value to be obtained > > --- configure.orig Wed Jun 26 07:08:18 2002 > +++ configure Fri Nov 22 10:38:57 2002 > @@ -15705,8 +15713,12 @@ > #ifdef HAVE_PATHS_H > # include <paths.h> > #endif > +#ifdef _PATH_USERPATH > +# define _PATH_STDPATH _PATH_USERPATH > +#else > #ifndef _PATH_STDPATH > # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" > +#endif > #endif > #include <sys/types.h> > #include <sys/stat.h> > >-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
Seemingly Similar Threads
- PATH problem in Irix.
- smbclient and large file support
- Samba Team? - "ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_winbind.so.1: symbol socket: referenced symbol not foun d"
- What features does SWAT support? (maybe bug)]
- Samba Team? - "ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_winbind.so.1: symbol socket: referenced symbol not fou n d"