Getting LaTeX for Mac OS X on my laptop again. I am just using the tetex package from MacPorts, so this is no big deal. I just want to record an error I ended with: ---> Fetching ghostscript ---> Attempting to fetch ghostscript-8.63.tar.gz from http://downloads.sourceforge.net/ghostscript ---> Attempting to fetch ghostscript-fonts-std-8.11.tar.gz from http://downloads.sourceforge.net/gs-fonts ---> Attempting to fetch ghostscript-fonts-other-6.0.tar.gz from http://downloads.sourceforge.net/gs-fonts ---> Verifying checksum(s) for ghostscript ---> Extracting ghostscript ---> Applying patches to ghostscript ---> Configuring ghostscript ---> Building ghostscript Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.63" && make " returned error 2 Command output: ./src/gdevx.c:1147: error: syntax error before '*' token ./src/gdevx.c:1149: error: 'xdev' undeclared (first use in this function) ./src/gdevx.c:1149: error: 'struct gc_ptr_element_s' has no member named 'update' ./src/gdevx.c:1149: error: request for member 'box' in something not a structure or union ./src/gdevx.c:1149: error: request for member 'p' in something not a structure or union ./src/gdevx.c:1149: error: request for member 'x' in something not a structure or union ./src/gdevx.c:1149: error: invalid operands to binary << ./src/gdevx.c:1149: warning: statement with no effect ./src/gdevx.c:1150: error: 'struct gc_ptr_element_s' has no member named 'update' ./src/gdevx.c:1150: error: request for member 'box' in something not a structure or union ./src/gdevx.c:1150: error: request for member 'p' in something not a structure or union ./src/gdevx.c:1150: error: request for member 'y' in something not a structure or union ./src/gdevx.c:1150: error: invalid operands to binary << ./src/gdevx.c:1150: warning: statement with no effect ./src/gdevx.c:1151: error: 'struct gc_ptr_element_s' has no member named 'update' ./src/gdevx.c:1151: error: request for member 'box' in something not a structure or union ./src/gdevx.c:1151: error: request for member 'q' in something not a structure or union ./src/gdevx.c:1151: error: request for member 'x' in something not a structure or union ./src/gdevx.c:1151: error: invalid operands to binary << ./src/gdevx.c:1151: warning: statement with no effect ./src/gdevx.c:1152: error: 'struct gc_ptr_element_s' has no member named 'update' ./src/gdevx.c:1152: error: request for member 'box' in something not a structure or union ./src/gdevx.c:1152: error: request for member 'q' in something not a structure or union ./src/gdevx.c:1152: error: request for member 'y' in something not a structure or union ./src/gdevx.c:1152: error: invalid operands to binary << ./src/gdevx.c:1152: warning: statement with no effect ./src/gdevx.c: In function 'x_bbox_add_rect': ./src/gdevx.c:1157: error: parse error before 'const' ./src/gdevx.c:1160: error: 'xdev' undeclared (first use in this function) make: *** [obj/gdevx.o] Error 1 Error: The following dependencies failed to build: ghostscript gsed texi2html perl5 texinfo lzmautils Error: Status 1 encountered during processing. Approaching this again... Output now is complaining about my X11 version $ sudo port install tetex Password: ---> Configuring xorg-libXext Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/work/libXext-1.0.5" && ./configure --prefix=/opt/local " returned error 1 ... Requested 'x11 >= 1.1.99.1' but version of X11 is 1.1.5 Requested 'xextproto >= 7.0.5' but version of XExtProto is 7.0.2 And there is another piece of version information here which makes this confusing. The below is from within the X11 app $ X -version XFree86 Version 4.4.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) $ And the X11 mac port has this $ sudo port info X11 Error: Port X11 not found $ sudo port info XFree86 XFree86 @4.7.0 (x11) Variants: darwin, macosx, puredarwin The XFree86 project's X window system implementation Homepage: http://www.xfree86.org/ Platforms: darwin, freebsd Maintainers: nomaintainer@macports.org So at least I know I don't have the latest XFree86 version, but how does that translate to the X11 version which is picked up by what tetex wants? Hmm there's also [current projects/doitt-101009-suggestions] > search x11 xdm @1.1.8 (x11) X11 display manager with support for XDMCP, host chooser xorg @20090316 (x11) The X Window System xorg-libX11 @1.2.1 (x11, devel) X.org libX11 And I'm getting this [current projects/doitt-101009-suggestions] > upgrade xorg Error: xorg is not installed [current projects/doitt-101009-suggestions] > upgrade X11 Error: X11 is not installed [current projects/doitt-101009-suggestions] > upgrade XFree86 Error: XFree86 is not installed [current projects/doitt-101009-suggestions] > So what's the deal ? I have X11 from my OS CD. Why isn't Mac Ports recognizing that I do have XFree86 ? If I try to install it, will that mean I will have two versions of XFree86 running ? One in some /Library directory and another somewhere in /opt ? Okay I learned something. It seems the 'X11' which Mac Ports is referring to is a dependency of xorg . I tried installing xorg, as below, and I got the same warning about X11 as before : [current projects/doitt-101009-suggestions] > install xorg ---> Fetching xorg-applewmproto ---> Attempting to fetch applewmproto-1.2.0.tar.bz2 from http://distfiles.macports.org/xorg-applewmproto ---> Verifying checksum(s) for xorg-applewmproto ---> Extracting xorg-applewmproto ---> Configuring xorg-applewmproto ---> Building xorg-applewmproto ---> Staging xorg-applewmproto into destroot ---> Installing xorg-applewmproto @1.2.0_0 ---> Activating xorg-applewmproto @1.2.0_0 ---> Cleaning xorg-applewmproto ---> Configuring xorg-libXext Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/work/libXext-1.0.5" && ./configure --prefix=/opt/local " returned error 1 Command output: checking if /usr/bin/gcc-4.0 static flag -static works... no checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc-4.0 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.11.1 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 ./configure: line 11916: CWARNFLAGS+= -Wold-style-definition -Wdeclaration-after-statement: command not found checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XEXT... configure: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.5 xau) were not met: Requested 'x11 >= 1.1.99.1' but version of X11 is 1.1.5 Requested 'xextproto >= 7.0.5' but version of XExtProto is 7.0.2 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XEXT_CFLAGS and XEXT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error: The following dependencies failed to build: quartz-wm xorg-libAppleWM xorg-libXext xorg-util-macros xorg-libXinerama xorg-xineramaproto xorg-apps appres xorg-libXt xorg-libsm xorg-libice bdftopcf xorg-libXfont xorg-fontcacheproto xorg-fontsproto xorg-libfontenc bitmap xbitmaps xorg-libXaw xorg-libXmu editres fonttosfnt fslsfonts xorg-libFS fstobdf iceauth ico listres luit mkfontdir mkfontscale oclock rgb sessreg setxkbmap xorg-libxkbfile showfont twm viewres x11perf xauth xcalc xclipboard xclock xconsole xcursorgen xorg-libXcursor xorg-fixesproto xorg-libXfixes xditview xdm xdpyinfo xorg-libXp xorg-printproto xorg-libXtst xorg-libXi xorg-recordproto xorg-libXxf86misc xorg-xf86miscproto xorg-libXxf86vm xorg-xf86vidmodeproto xorg-libdmx xorg-dmxproto xedit xev xeyes xfd xfontsel xfs xfsinfo xgc xhost xinit xinput xkbcomp xkbevd xkbprint xkbutils xkill xload xlogo xlsatoms xlsclients xlsfonts xmag xman xmessage xmh xmodmap xmore xorg-scripts xpr xprop xrandr xorg-libXrandr xorg-randrproto xrdb xrefresh xset xorg-libXfontcache xsetmode xsetpointer xsetroot xsm xstdcmap xterm xtrap xorg-libXTrap xorg-trapproto xvinfo xorg-libXv xorg-videoproto xwd xwininfo xwud xorg-server xorg-damageproto xorg-evieproto xorg-fonts font-adobe-100dpi xorg-font-util font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1 font-alias font-arabic-misc font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bh-ttf font-bh-type1 font-bitstream-100dpi font-bitstream-75dpi font-bitstream-speedo font-bitstream-type1 font-cronyx-cyrillic font-cursor-misc font-daewoo-misc font-dec-misc font-ibm-type1 font-isas-misc font-jis-misc font-micro-misc font-misc-cyrillic font-misc-ethiopic font-misc-meltho font-misc-misc font-mutt-misc font-schumacher-misc font-screen-cyrillic font-sony-misc font-sun-misc font-winitzki-cyrillic font-xfree86-type1 xorg-encodings xorg-glproto xorg-resourceproto xorg-scrnsaverproto Error: Status 1 encountered during processing. d |