What should I do? I tried to install xdvi-system-tetex, and got the following:

Information about 1033 packages read in 0 seconds.

The following package will be installed or updated:
xdvi-system-tetex
curl -f -L -s -S -O ftp://ftp.math.berkeley.edu/pub/Software/TeX/xdvi-22.73.tar.gz
mkdir -p /sw/src/xdvi-system-tetex-22.73-1
/sw/bin/tar -xzf /sw/src/xdvi-22.73.tar.gz
./configure --prefix=/sw --with-tetex --mandir='${prefix}/share/man' --enable-config-file=/sw
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -L/sw/lib) works... yes
checking whether the C compiler (gcc -L/sw/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ANSI C header files... yes
checking for X11/Xosdefs.h... yes
checking for unistd.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether byte ordering is bigendian... yes
checking for integer type to use in bitmaps... unsigned int, size = 4
checking for whether the C compiler supports string concatenation... yes
checking for stropts.h and isastream()... no
checking for SunOS 4... no
checking for certain old versions of Linux... no
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for poll.h and poll()... no
checking for sys/select.h... yes
checking for select.h... no
checking for vfork.h... no
checking for working vfork... yes
checking for waitpid... yes
checking for putenv... yes
checking for mkstemp... yes
checking for sigaction... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for the function ulltostr() and the long long type... no
checking for a c99-compatible implementation of (v)snprintf()... no
checking for sin... yes
checking for whether -lXpm needs to be explicitly given... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
make
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include xdvi.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include events.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include dvi-init.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include dvi-draw.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include special.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include font-open.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include filefind.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include pk.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include vf.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include util.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include popups.c
gcc -g -O2 -I/sw/include -I. -I. -o squeeze ./squeeze.c
./squeeze ./psheader.txt psheader.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include psheader.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include psgs.c
gcc -L/sw/lib -L/usr/X11R6/lib -o xdvi xdvi.o events.o dvi-init.o dvi-draw.o special.o font-open.o filefind.o pk.o vf.o util.o popups.o psheader.o psgs.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11
chmod go+rx xdvi
./mksedscript -g -O2 -I/sw/include -I. -I. > sedscript
sed -f sedscript < ./xdvi-man.sed > xdvi.man
rm -rf /sw/src/root-xdvi-system-tetex-22.73-1
mkdir -p /sw/src/root-xdvi-system-tetex-22.73-1/sw
mkdir -p /sw/src/root-xdvi-system-tetex-22.73-1/DEBIAN
mkdir -p /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin
mkdir -p /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1
make install prefix=/sw/src/root-xdvi-system-tetex-22.73-1/sw
strip xdvi
/usr/bin/install -c xdvi /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvi
/usr/bin/install -c ./xdvizilla /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvizilla
/usr/bin/install -c -m 644 xdvi.man /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvi.1
/usr/bin/install -c -m 644 ./xdvizilla.1 /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvizilla.1
head -25 xdvi.c > LICENSE
mv /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvi /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvi.xdvi
mv /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvi.1 /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvi.1.xdvi
mv /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvizilla /sw/src/root-xdvi-system-tetex-22.73-1/sw/bin/xdvizilla.xdvi
mv /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvizilla.1 /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/man/man1/xdvizilla.1.xdvi
install -d -m 755 /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/doc/xdvi-system-tetex
install -c -p -m 644 FAQ INSTALL README LICENSE /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/doc/xdvi-system-tetex/
rm -f /sw/src/root-xdvi-system-tetex-22.73-1/sw/info/dir /sw/src/root-xdvi-system-tetex-22.73-1/sw/info/dir.old /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/info/dir /sw/src/root-xdvi-system-tetex-22.73-1/sw/share/info/dir.old
rm -rf xdvi-system-tetex-22.73-1
Writing control file...
Writing package script postinst...
Writing package script prerm...
dpkg-deb -b root-xdvi-system-tetex-22.73-1 /sw/fink/dists/stable/main/binary-darwin-powerpc/text
dpkg-deb: building package `xdvi-system-tetex' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/text/xdvi-system-tetex_22.73-1_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/text/xdvi-system-tetex_22.73-1_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-xdvi-system-tetex-22.73-1
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/text/xdvi-system-tetex_22.73-1_darwin-powerpc.deb
Selecting previously deselected package xdvi-system-tetex.
(Reading database ... 11851 files and directories currently installed.)
Unpacking xdvi-system-tetex (from .../xdvi-system-tetex_22.73-1_darwin-powerpc.deb) ...
dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/text/xdvi-system-tetex_22.73-1_darwin-powerpc.deb (--install):
trying to overwrite `/sw/bin/xdvi.xdvi', which is also in package xdvi
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:

/sw/fink/dists/stable/main/binary-darwin-powerpc/text/xdvi-system-tetex_22.73-1_darwin-powerpc.deb
### execution of dpkg failed, exit code 1
Failed: can't install package xdvi-system-tetex-22.73-1


Thanks,
Martin

Reply via email to