Menu

#90 Compiling on Mac OS X

closed-out-of-date
nobody
None
5
2014-08-17
2002-10-11
No

I have the following failure when I try to compile the latest cvs version of xdvik on Mac OS 10.2 (22.40n fails even more spectacularly). I can submit the entire log if you like.

[banksia:~/Source/xdvik] williamm% make

(chugs along happily for a while)
....

for d in web2c bibtex8 dtl dvi2tty dvidvi dviljk dvipdfm dvipsk gsftopk lacheck makeindexk musixflx odvipsk oxdvik ps2pkm seetexk tetex tex4htk texlive tth xdvik; do if test -d $d; then \ (cd $d && make CC='gcc' CFLAGS='-g -O2 ' prefix=/usr/local/teTeX/share exec_prefix=/usr/local/teTeX/share bindir=/usr/local/teTeX/share/bin scriptdir=/usr/local/teTeX/share/bin libdir=/usr/local/teTeX/share/lib datadir=/usr/local/teTeX/share/share infodir=/usr/local/teTeX/share/info includedir=/usr/local/teTeX/share/include manext=1 mandir=/usr/local/teTeX/share/man/man1 texmf=/usr/local/teTeX/share/texmf web2cdir=/usr/local/teTeX/share/texmf/web2c vartexfonts=/var/tmp/texfonts texinputdir=/usr/local/teTeX/share/texmf/tex mfinputdir=/usr/local/teTeX/share/texmf/metafont mpinputdir=/usr/local/teTeX/share/texmf/metapost fontdir=/usr/local/teTeX/share/texmf/fonts fmtdir=/usr/local/teTeX/share/texmf/web2c basedir=/usr/local/teTeX/share/texmf/web2c memdir=/usr/local/teTeX/share/texmf/web2c texpooldir=/usr/local/teTeX/share/texmf/web2c mfpooldir=/usr/local/teTeX/share/texmf/web2c mppooldir=/usr/local/teTeX/share/texmf/web2c dvips_plain_macrodir=/usr/local/teTeX/share/texmf/tex/plain/dvips dvilj_latex2e_macrodir=/usr/local/teTeX/share/texmf/tex/latex/dvilj dvipsdir=/usr/local/teTeX/share/texmf/dvips psheaderdir=/usr/local/teTeX/share/texmf/dvips default_texsizes='300:600' all) || break; else true; fi; done
gcc -DHAVE_CONFIG_H -I. -I. -I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1 -I./../../libs/t1lib/../type1 -DPS_GS -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include -I.. -I./.. -g -O2 -c xdvi.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1 -I./../../libs/t1lib/../type1 -DPS_GS -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include -I.. -I./.. -g -O2 -c dvi-draw.c
dvi-draw.c:3870: warning: #warning FIXME: check whether other char * can be made const!!!
gcc -DHAVE_CONFIG_H -I. -I. -I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1 -I./../../libs/t1lib/../type1 -DPS_GS -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include -I.. -I./.. -g -O2 -c dvi-init.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1 -I./../../libs/t1lib/../type1 -DPS_GS -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include -I.. -I./.. -g -O2 -c events.c
events.c: In function `read_events':
events.c:3037: too few arguments to function
events.c:3039: too few arguments to function
make[2]: *** [events.o] Error 1

Discussion

  • William McCallum

    Logged In: YES
    user_id=374487

    Sorry, I spoke too soon. The new --with-system-wwwlib option to configure in 22-40n solves all the compile problems I had been having with 22-40l, and xdvik now compiles on Mac OS X. Thanks very much!

     
  • Stefan Ulrich

    Stefan Ulrich - 2002-10-11

    Logged In: YES
    user_id=177175

    That's good to hear ;-) I'll add that --with-system-wwwlib
    as a tip for OS X users on the FAQ page ... I think you
    wouldn't have had much joy with the CVS HEAD, since it's not
    really usable for everyday work yet (see
    http://xdvi.sourceforge.net/roadmap.html for an overview).

     
  • Stefan Ulrich

    Stefan Ulrich - 2002-10-11
    • status: open --> closed-out-of-date
     

Log in to post a comment.