2.96.4 beta build reports

"George N. White III" <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Organization Bedford Institute of Oceanography
Message-ID <[email protected]>
Knoppix 3.4

$ uname -a
Linux Knoppix 2.6.5 #1 SMP Sat May 1 22:31:22 CEST 2004 i686 
GNU/Linux

2.96.4 builds cleanly on Knoppix 3.4.  Parts of our current "mission 
critical" LaTeX project seem to work.

  -----------------------------------
SGI Irix 6.5.22 (merged)

$ /bin/uname -aR
IRIX64 montigo 6.5 6.5.22m 10070055 IP30

I've been building the betas with the MIPSpro compilers.  Since they
have been working, I'm not messing with gcc builds.  The current
nasty configure incantation is (watch line wrapping in mail):

CONFIG_SHELL=/usr/freeware/bin/bash CC='c99' CXX='CC' \
CFLAGS="-mips4 -g -O2 -D_XOPEN_SOURCE=500 -I/usr/local/include
-I/usr/freeware/include -I/usr/Motif-2.1/include" \
CXXFLAGS="-mips4 -g -O2 -D_XOPEN_SOURCE=500 -I/usr/local/include
-I/usr/freeware/include -I/usr/Motif-2.1/include" \
LDFLAGS="-mips4 -g -O2 -L/usr/local/lib -L/usr/freeware/lib32
-rpath /usr/local/lib:/usr/freeware/lib32" \
./configure --prefix=/opt/tex/tetex/2.96.4

Xdvik failed to compile:

   ----------------------
c99 -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I../../libs/t1lib \
  -I./../../libs/t1lib -I../../libs/t1lib/../type1 \
  -I./../../libs/t1lib/../type1 -DPS_GS  -I./gui \
  -I../../libs/t1lib/lib/t1lib -I../kpathsea  \
  -mips4 -g -O2 -D_XOPEN_SOURCE=500 -I/usr/local/include \
  -I/usr/freeware/include -I/usr/Motif-2.1/include \
  -c print-internal.c -o print-internal.o
cc-1020 c99: ERROR File = print-internal.c, Line = 175
   The identifier "PATH_MAX" is undefined.

   	    char path[2 * PATH_MAX];
   	                  ^
1 error detected in the compilation of "print-internal.c".
   ---------------------- 
"xdvi.h" defines MAXPATHLEN, so a quick fix was to edit
"print-internal.c" and "util.c" to replace PATH_MAX with MAXPATHLEN..

Note that /usr/include/internal/limits_core.h states:

  * ARG_MAX
  * CHILD_MAX
  * LINK_MAX
  * NAME_MAX
  * OPEN_MAX
  * PATH_MAX
  * STREAM_MAX
  *      - are available only thru sysconf/pathconf

The link of xdvi-motif.bin failed until I added -L/usr/Motif-2.1/lib32 and 
made the corresponding adjustment to the rpath.  This system was
on the maintenance stream prior to 6.5.22, so the Motif-2.1 libraries
may not be installed the same as a system that was on the feature
stream prior to the 6.5.22 merge.

The "dump core on cancel" problem in Xdvi-motif seems to be fixed.

I get the expected 126 files in bin/mips-sgi-irix6.5.

--
George N. White III  <[email protected]>
   Head of St. Margarets Bay, Nova Scotia, Canada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.