> > When I startup gmc in the default session from a RedHat 6.0 install, it > > appears to be trying to stat all of the sites under /afs. This causes > > AFS to hang while it times out on sites that aren't available. I'm not > > sure if the stat of /afs is happening as it tries to descend to a user's > > home directory, but this renders it virtually unusable. > > Does your gmc distribution include the file /etc/mc.global? > > Miguel. Found the problem! The RedHat spec defines a prefix of /usr, so that mc + gmc are looking for the mc.global file in /usr/etc/mc.global. I softlinked /etc/mc.global to /usr/etc/mc.global and gmc now works fine. Changing the %prefix to "" changes the location to /etc/mc.global, but then changes the location in which to install all of the binaries to /bin from /usr/bin. NOTE: In the Make.common file, the C preprocessor macro CONFDIR is defined in Make.common to be $(confdir) which is $(prefix)/etc. This appears to be where it is looking for mc.global. Do you want CONFDIR to be $(confdir) or $(sysconfdir)? I'm going to try changing the RPM SPEC file to install mc.global in ${RPM_BUILD_ROOT}/%{prefix}/etc and see if that works by default. --Murray Anderegg
This problem is fixed in the latest mc package (mc-4.5.38-1).