Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 14:09:02 -0500
From:      Bjorn Nelson <o_sleep@babbleheaven.com>
To:        ports@freeBSD.org
Cc:        trevor@FreeBSD.org
Subject:   build error in Ports: print/preview-latex
Message-ID:  <3D1AFB82-688F-11D8-B0B1-003065B84EC8@babbleheaven.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-3-731094460
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

I found the cause of this: emacs needs xwindows to be installed and 
then compiled before it can render images which preview-latex needs.  
You might want to warn or error out if WITHOUT_X11 or NO_X is enabled.

Trevor, I cc'ed you on this because you submitted the last update, not 
sure who the maintainer of this port is.

-Bjorn

Begin forwarded message:

> From: Bjorn Nelson <o_sleep@babbleheaven.com>
> Date: Mon Feb 23, 2004  17:40:09 America/New_York
> To: ports@freeBSD.org
> Subject: build error in Ports: print/preview-latex
>
> ===>  Configuring for preview-latex-emacs21-0.7.8_1
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /usr/bin/install -c -o root 
> -g wheel
> checking for /usr/local/bin/emacs-21.3... /usr/local/bin/emacs-21.3
> checking if /usr/local/bin/emacs-21.3 is XEmacs... no
> checking if /usr/local/bin/emacs-21.3 supports images... cat: 
> ./conftest-23018: No such file or directory
> configure: error: "You need an Emacs that supports images"
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to ports@FreeBSD.org [maintainer] and attach 
> the
> "/usr/ports/print/preview-latex/work/preview-latex-0.7.8/config.log" 
> including
> the output of the failure of your make command. Also, it might be a 
> good idea
> to provide an overview of all packages installed on your system (e.g. 
> an `ls
> /var/db/pkg`).
> *** Error code 1
>
> Stop in /usr/ports/print/preview-latex.

--Apple-Mail-3-731094460
Content-Disposition: attachment;
	filename=config.log
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="config.log"

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by preview-latex configure 0.7.8, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --with-emacs=/usr/local/bin/emacs-21.3 --with-lispdir=/usr/local/share/emacs/21.3/site-lisp/preview --with-texmf=/usr/local/share/texmf --disable-8bit-test

## --------- ##
## Platform. ##
## --------- ##

hostname = imp.baruch.cuny.edu
uname -m = i386
uname -r = 5.2-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004     root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1227: checking whether make sets $(MAKE)
configure:1247: result: yes
configure:1293: checking for a BSD-compatible install
configure:1347: result: /usr/bin/install -c -o root -g wheel
configure:1387: checking for /usr/local/bin/emacs-21.3
configure:1417: result: /usr/local/bin/emacs-21.3
configure:1433: checking if /usr/local/bin/emacs-21.3 is XEmacs
/usr/local/bin/emacs-21.3 -batch -no-site-file -eval (let* ((x (if (string-match "XEmacs" emacs-version) "yes" "no"))) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil "./conftest-23018"))
Wrote /usr/ports/print/preview-latex/work/preview-latex-0.7.8/conftest-23018
=> no
configure:1466: result: no
configure:1625: checking if /usr/local/bin/emacs-21.3 supports images
/usr/local/bin/emacs-21.3 -batch -no-site-file -eval (let* ((x (unless (and (boundp 'image-types) image-types)		 (error "This Emacs does not support images")))) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil "./conftest-23018"))
This Emacs does not support images
=> 
configure:1655: error: "You need an Emacs that supports images"

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_host_alias_set=
ac_cv_env_build_alias_set=
EMACS_cv_SYS_XEMACS=no
ac_cv_env_target_alias_set=
ac_cv_prog_make_make_set=yes
ac_cv_env_host_alias_value=
ac_cv_env_build_alias_value=
ac_cv_env_target_alias_value=
EMACS_cv_SYS_emacs21=
ac_cv_path_EMACS=/usr/local/bin/emacs-21.3

## ----------------- ##
## Output variables. ##
## ----------------- ##

AUCTEXDIR=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EMACS='/usr/local/bin/emacs-21.3'
EMACS_FLAVOR='emacs'
GS=''
HAVE_tex_site=''
ICONFORM=''
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_INFO=''
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
LATEX=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO=''
MAKEINFO_MACROS=''
PACKAGE_BUGREPORT='preview-latex-bugs@lists.sourceforge.net'
PACKAGE_NAME='preview-latex'
PACKAGE_STRING='preview-latex 0.7.8'
PACKAGE_TARNAME='preview-latex'
PACKAGE_VERSION='0.7.8'
PATH_SEPARATOR=':'
PLAT_LISP='prv-emacs.el'
SET_MAKE=''
SHELL='/bin/sh'
TEX=''
TEXHASH=''
TEXMFGEN=''
XEMACS='no'
auctexdir=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
icondir=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
lispdir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
packagedir=''
prefix='NONE'
previewdocdir=''
previewtexmfdir=''
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
texmfdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "preview-latex-bugs@lists.sourceforge.net"
#define PACKAGE_NAME "preview-latex"
#define PACKAGE_STRING "preview-latex 0.7.8"
#define PACKAGE_TARNAME "preview-latex"
#define PACKAGE_VERSION "0.7.8"

configure: exit 1

--Apple-Mail-3-731094460
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

>
>
> root@imp=>ls /var/db/pkg/
> apache-1.3.29_1                 p5-Digest-SHA1-2.06
> auctex-11.13                    p5-GD-2.07
> autoconf-2.13.000227_5          p5-GDBM-1.00
> autoconf-2.57                   p5-HTML-Parser-3.34
> automake-1.4.5_9                p5-HTML-Tagset-3.03
> bash-2.05b.007                  p5-IO-stringy-2.108
> bison-1.75_1                    p5-MIME-Base64-2.21
> cclient-2002d,1                 p5-MIME-Lite-3.01
> compat4x-i386-5.0.20030328      p5-MIME-Tools-5.411a_3,1
> curl-7.10.7                     p5-Mail-Sender-0.8.06
> cvsup-mirror-1.2_1              p5-Mail-Tools-1.60
> cvsup-without-gui-16.1h         p5-Net-1.17,1
> dvipng-0.9_1                    p5-Net-SNMP-4.1.2
> emacs-21.3_2                    p5-SNMP_Session-0.98
> expat-1.95.6_1                  p5-SOAP-Lite-0.55
> ezm3-1.1                        p5-Time-HiRes-1.51,1
> freetype2-2.1.5_1               p5-TimeDate-1.16,1
> gd-2.0.15_1,1                   p5-URI-1.27
> gdbm-1.8.3                      p5-XML-Parser-2.34
> gettext-0.12.1                  p5-libapreq-1.3
> ghostscript-gnu-nox11-7.07_4    p5-libwww-5.75
> gmake-3.80_1                    pcre-4.4
> help2man-1.29                   pear-Archive_Tar-1.1
> horde-2.2.4_1                   pear-Auth-1.2.2
> imp-3.2.2                       pear-Auth_SASL-1.0.1
> jbigkit-1.5                     pear-Console_Getopt-1.0_1
> jpeg-6b_1                       pear-DB-1.5.0.r2,1
> kronolith-1.1_1                 pear-Date-1.3_2
> libiconv-1.9.1_3                pear-HTML_Common-1.2.1
> libltdl-1.5                     pear-Log-1.7.1
> libmcal-0.7                     pear-Mail-1.1.2
> libmcrypt-2.5.7_1               pear-Mail_Mime-1.2.1_3
> libtool-1.3.5_1                 pear-Net_SMTP-1.2.3
> libtool-1.4.3_2                 pear-Net_Socket-1.0.1_1
> libwww-5.4.0                    pear-PEAR-1.2.1
> libxml2-2.6.2_1                 perl-5.6.1_15
> m4-1.4_1                        pg-webwork-2.0
> mnemo-1.1                       php4-4.3.4_2
> mod_perl-1.28                   phpMyAdmin-2.5.4
> mod_perl2-1.99r10_1             phppgadmin-3.0.1
> musixtex-T98                    pkgconfig-0.15.0
> mysql-client-3.23.58            png-1.2.5_2
> mysql-client-4.1.0              portlint-2.5.3
> mysql-server-4.1.0_1            portupgrade-20040208
> nagios-1.1_3                    postfix-2.0.16,1
> nagios-plugins-1.3.1            postgresql-7.3.4_1
> net-snmp-5.1                    postgresql-client-7.3.4_1
> netpbm-10.17_1                  python-2.3.2_3
> openldap-client-2.1.23          qstat-2.5.c
> openssl-0.9.7c                  rc_subr-1.16
> p5-Apache-Test-1.03             rrdtool-1.0.45
> p5-Authen-SASL-2.06             ruby-1.6.8.2003.10.15
> p5-CGI-SpeedyCGI-2.22           ruby-bdb1-0.2.1
> p5-Compress-Zlib-1.32           ruby-shim-ruby18-1.8.1.p3
> p5-Crypt-DES-2.03               sudo-1.6.7.5
> p5-Crypt-SSLeay-0.51            teTeX-2.0.2_2
> p5-DBD-Pg-1.22_2                tiff-3.6.0
> p5-DBD-mysql-2.9003             tth-2.78
> p5-DBI-1.38                     turba-1.2.1
> p5-Data-UUID-0.11               unzip-5.50_2
> p5-Digest-HMAC-1.01             webwork-2.0
> p5-Digest-MD5-2.30

--Apple-Mail-3-731094460--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D1AFB82-688F-11D8-B0B1-003065B84EC8>