GNU bug report logs - #10677
24.0.93; missing pathmax.h on Solaris

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Tue, 31 Jan 2012 07:18:02 UTC

Severity: normal

Found in version 24.0.93

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: 10677 <at> debbugs.gnu.org
Cc: Chris Leyon <cleyon <at> gmail.com>
Subject: bug#10677: 24.0.93; missing pathmax.h on Solaris
Date: Tue, 31 Jan 2012 15:17:00 +0800
I received the following compile failure on Solaris (SunOS 5.10).

Paul, could you investigate?  Thanks.  (Keeping my fingers crossed that
the proferred solution is not going to be a Gnulib sync ;-)

--

Hi, I'm attempting to compile Emacs 24.0.93 on my work Solaris box but
pathmax.h is not found.

Uname -a reports
SunOS morocco 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Fire-V490 Solaris
I'm compiling with gcc --version
gcc (GCC) 3.4.6

I'm afraid I have no control over the system software that's installed
here...  That's why I compile into my home directory.  This exact same
machine compiled Emacs 23.3 without any problems at all.

The configuration is nothing special:
bash-4.1$ ./configure --prefix=/home/leyon/contrib
--with-x-toolkit=lucid --with-gif=no

The exact error is:
bash-4.1$ make
[ -r "/home/leyon/morocco/emacs-24.0.93/src/config.in" ] || ( cd
/home/leyon/morocco/emacs-24.0.93 && autoheader )
cd lib; make all                            \
  CC='gcc -std=gnu99' CFLAGS='-g -O2' CPPFLAGS='' \
  LDFLAGS='-L/usr/openwin/lib' MAKE='make'
make  all-am
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../src
-I/home/leyon/morocco/emacs-24.0.93/src      -g -O2 -MT stat.o -MD -MP
-MF .deps/stat.Tpo -c -o stat.o stat.c
stat.c:50:22: pathmax.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `stat.o'
Current working directory /home/leyon/morocco/emacs-24.0.93/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/leyon/morocco/emacs-24.0.93/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'

If you would like any further information I'd be happy to assist.




This bug report was last modified 13 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.