Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121425 - preview-latex-0.9.1 compilation error
Summary: preview-latex-0.9.1 compilation error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-03 06:01 UTC by Ulrich Meyle
Modified: 2006-02-07 12:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Meyle 2006-02-03 06:01:48 UTC
Hi!

I had problems with latex, so I decided to re-compile it again.
I am sorry for posting so much text, but the error message told me to post this config.log-file and I didn't find the upload-button... )-:

Thanks for help!


This is what I got:

hek216 ulrich # emerge preview-latex
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-tex/preview-latex-0.9.1 to /
>>> checksums files   ;-) preview-latex-0.8.1.ebuild
>>> checksums files   ;-) preview-latex-0.9.1.ebuild
>>> checksums files   ;-) files/digest-preview-latex-0.8.1
>>> checksums files   ;-) files/digest-preview-latex-0.9.1
>>> checksums files   ;-) files/60preview-latex-gentoo.el
>>> checksums src_uri ;-) preview-latex-0.9.1.tar.gz
>>> Unpacking source...
>>> Unpacking preview-latex-0.9.1.tar.gz to /var/tmp/portage/preview-latex-0.9.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1 ...
./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-emacs --with-lispdir=/var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex --build=i386-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking for emacs... /usr/bin/emacs
checking if /usr/bin/emacs is XEmacs... no
checking for Emacs prefix... "/usr"
checking if Emacs is recent enough... yes
checking if build directory is valid... yes
checking where lisp files go... /var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex
checking
The place for the startup file... /var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex

Startup file relative directories:
checking where the package lisp files go... preview
checking where the icon files go... ${packagelispdir}/images

checking Where the info files go... /usr/share/info
checking for the location of AUCTeX's tex-site.el... /usr/share/emacs/site-lisp
checking for gs... gs
checking for latex... /usr/bin/latex
checking for pdflatex... /usr/bin/pdflatex
checking for tex... /usr/bin/tex
checking for texhash... /usr/bin/texhash
checking for prefix from kpsepath... "/usr"
checking for TDS-compliant directory... no
checking for TeX directory hierarchy... no
checking for TeX input directory... no
configure: error: Cannot find the texmf directory!
Please use --with-texmf-dir=dir to specify where the preview tex files go

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/config.log

!!! ERROR: dev-tex/preview-latex-0.9.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  preview-latex-0.9.1.ebuild, line 38:   Called econf 'compile' '--with-emacs'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

###############################################################################
Here is this log-file:
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.9.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-emacs --with-lispdir=/var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex --build=i386-pc-linux-gnu

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

hostname = hek216
uname -m = i686
uname -r = 2.6.12-gentoo-r10
uname -s = Linux
uname -v = #1 Mon Sep 12 00:59:15 UTC 2005

/usr/bin/uname -p = AMD Athlon(tm) XP 2000+
/bin/uname -X     = unknown

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

PATH: /usr/lib/ccache/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i386-pc-linux-gnu/gcc-bin/3.4.5
PATH: /opt/ati/bin
PATH: /opt/sun-jdk-1.4.2.10/bin
PATH: /opt/sun-jdk-1.4.2.10/jre/bin
PATH: /opt/sun-jdk-1.4.2.10/jre/javaws
PATH: /usr/bin
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.4/sbin
PATH: /usr/kde/3.4/bin


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

configure:1271: checking whether make sets $(MAKE)
configure:1291: result: yes
configure:1338: checking for a BSD-compatible install
configure:1393: result: /bin/install -c
configure:1435: checking for emacs
configure:1453: found /usr/bin/emacs
configure:1465: result: /usr/bin/emacs
configure:1482: checking if /usr/bin/emacs is XEmacs
/usr/bin/emacs -batch -no-site-file -eval (let* ((x (if (featurep (quote xemacs)) "yes" "no"))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206"))
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1506: result: no
configure:1510: checking for Emacs prefix
/usr/bin/emacs -batch -no-site-file -eval (let* ((cmd(pop command-line-args-left))(x (condition-case nil (let*
    ((prefix (directory-file-name (file-name-directory (executable-find cmd))))
     (parent (directory-file-name (file-name-directory prefix))))
    (if (string= (file-name-nondirectory prefix) "bin")
        (setq prefix parent)
      (if (string= (file-name-nondirectory parent) "bin")
         (setq prefix (directory-file-name (file-name-directory parent)))))
    prefix) (error NONE)))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/bin/emacs
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1529: result: "/usr"
configure:1561: checking if Emacs is recent enough
/usr/bin/emacs -batch -no-site-file -eval (let* ((x (cond ((< emacs-major-version 21) "no")
			 ((> emacs-major-version 21) "yes")
			 ((< emacs-minor-version 01) "no")
			 (t "yes")))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206"))
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1575: result: yes
configure:1618: checking if build directory is valid
/usr/bin/emacs -batch -eval (let* ((x (if (or (member (directory-file-name default-directory) load-path)	      (member (file-name-as-directory default-directory) load-path))	 "no" "yes"))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206"))
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1636: result: yes
configure:1723: checking where lisp files go
configure:1796: result: /var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex
configure:1810: checking
The place for the startup file
configure:1815: result: /var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex

Startup file relative directories:
configure:1820: checking where the package lisp files go
/usr/bin/emacs -batch -no-site-file -eval (let* ((path(pop command-line-args-left))(x (progn (setq path (directory-file-name path))
  (unless (string= (car load-path) (directory-file-name (car load-path)))
    (setq path (file-name-as-directory path)))
  (prin1-to-string
   (if (file-name-absolute-p path)
     (expand-file-name path)
    (backquote (expand-file-name (, path)
       (file-name-directory load-file-name)))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) preview
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1858: result: preview
configure:1861: checking where the icon files go
/usr/bin/emacs -batch -no-site-file -eval (let* ((path(pop command-line-args-left))(x (progn (setq path (directory-file-name path))
  (unless (string= (car load-path) (directory-file-name (car load-path)))
    (setq path (file-name-as-directory path)))
  (prin1-to-string
   (if (file-name-absolute-p path)
     (expand-file-name path)
    (backquote (expand-file-name (, path)
       (file-name-directory load-file-name)))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) preview/images
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:1900: result: ${packagelispdir}/images

configure:1945: checking Where the info files go
configure:1947: result: /usr/share/info
configure:1954: checking for the location of AUCTeX's tex-site.el
/usr/bin/emacs -batch -eval (let* ((x (condition-case nil
             (directory-file-name (file-name-directory
                (locate-library "tex-site")))
	    (error "")))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206"))
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2008: result: /usr/share/emacs/site-lisp
configure:2020: checking for gs
configure:2036: found /usr/bin/gs
configure:2046: result: gs
/usr/bin/emacs -batch -no-site-file -eval (let* ((dir(pop command-line-args-left))(x (if (string= dir "gs") "" (backquote (defvar preview-gs-command (, dir)))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) gs
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2081: checking for latex
configure:2099: found /usr/bin/latex
configure:2112: result: /usr/bin/latex
configure:2130: checking for pdflatex
configure:2148: found /usr/bin/pdflatex
configure:2160: result: /usr/bin/pdflatex
configure:2178: checking for tex
configure:2196: found /usr/bin/tex
configure:2209: result: /usr/bin/tex
configure:2229: checking for texhash
configure:2247: found /usr/bin/texhash
configure:2259: result: /usr/bin/texhash
configure:2441: checking for prefix from kpsepath
/usr/bin/emacs -batch -no-site-file -eval (let* ((cmd(pop command-line-args-left))(x (condition-case nil (let*
    ((prefix (directory-file-name (file-name-directory (executable-find cmd))))
     (parent (directory-file-name (file-name-directory prefix))))
    (if (string= (file-name-nondirectory prefix) "bin")
        (setq prefix parent)
      (if (string= (file-name-nondirectory parent) "bin")
         (setq prefix (directory-file-name (file-name-directory parent)))))
    prefix) (error NONE)))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) kpsepath
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2465: result: "/usr"
configure:2468: checking for TDS-compliant directory
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*\\)/tex/latex//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) ${datadir}/texmf /usr/share/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*\\)/tex/latex//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share/texmf-local /usr/share/texmf-local .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*\\)/tex/latex//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share/texmf /usr/share/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*\\)/tex/latex//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/texmf-local /usr/texmf-local .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*\\)/tex/latex//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/texmf /usr/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2532: result: no
configure:2534: checking for TeX directory hierarchy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) ${datadir}/texmf /usr/share/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share/texmf-local /usr/share/texmf-local .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share/texmf /usr/share/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/texmf-local /usr/texmf-local .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/texmf /usr/texmf .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) ${datadir} /usr/share .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share /usr/share .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)//+\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr /usr .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2597: result: no
configure:2599: checking for TeX input directory
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)/?\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) ${datadir} /usr/share .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)/?\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr/share /usr/share .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
/usr/bin/emacs -batch -no-site-file -eval (let* ((prefix(pop command-line-args-left)) (expanded(pop command-line-args-left)) (pathoutput(pop command-line-args-left))(x (catch 22
       (let (reldir (dirs (mapcar (lambda(x)
              (and (string-match "\\`!*\\(.*[^/]\\)/?\\'" x)
	           (match-string 1 x)))
      (append (split-string pathoutput ";")
             (split-string pathoutput ":")))))
	  (dolist (name (list nil) "NONE")
	    (dolist (dir dirs)
	      (when (and dir
	      	         (setq dir (directory-file-name dir))
                         (file-name-absolute-p dir)
	      	         (file-directory-p dir)
	                 (not (string-match "\\`\\.\\."
                           (setq reldir (file-relative-name dir expanded))))
                         (let ((name name) (dir dir))
		           (while (and dir name
		                       (string= (file-name-nondirectory dir)
		                                (file-name-nondirectory name))
                              (setq dir (file-name-directory dir)
				   name (file-name-directory name))
			      (if (and dir name)
			         (setq dir (directory-file-name dir)
			              name (directory-file-name name)))))
		            (null name))
		   (throw 22
                      (if (string= reldir ".") (directory-file-name prefix)
                        (concat (file-name-as-directory prefix)
                                reldir))))))))))) (write-region (if (stringp x) x (prin1-to-string x)) nil "./conftest-11206")) /usr /usr .:/var/lib/texmf/tex/latex//:/var/lib/texmf/tex/generic//:/var/lib/texmf/tex///
Wrote /var/tmp/portage/preview-latex-0.9.1/work/preview-latex-0.9.1/conftest-11206
=> dummy
configure:2664: result: no
configure:2667: error: Cannot find the texmf directory!
Please use --with-texmf-dir=dir to specify where the preview tex files go

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

EMACS_cv_ACCEPTABLE_AUCTEX=/usr/share/emacs/site-lisp
ac_cv_env_GS_set=
ac_cv_env_GS_value=
ac_cv_env_TEXHASH_set=
ac_cv_env_TEXHASH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_EMACS=/usr/bin/emacs
ac_cv_path_LATEX=/usr/bin/latex
ac_cv_path_PDFLATEX=/usr/bin/pdflatex
ac_cv_path_TEX=/usr/bin/tex
ac_cv_path_TEXHASH=/usr/bin/texhash
ac_cv_path_install='/bin/install -c'
ac_cv_prog_GS=gs
ac_cv_prog_make_make_set=yes

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

DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EMACS='/usr/bin/emacs'
EMACS_FLAVOR='emacs'
GS='gs'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LATEX='/usr/bin/latex'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO=''
MAKEINFO_MACROS=''
PACKAGE_BUGREPORT='bug-auctex@gnu.org'
PACKAGE_NAME='preview-latex'
PACKAGE_STRING='preview-latex 0.9.1'
PACKAGE_TARNAME='preview-latex'
PACKAGE_VERSION='0.9.1'
PATH_SEPARATOR=':'
PDFLATEX='/usr/bin/pdflatex'
PERL=''
PLAT_LISP='prv-emacs.el'
SET_MAKE=''
SHELL='/bin/sh'
TEX='/usr/bin/tex'
TEXHASH='/usr/bin/texhash'
TEXMFGEN='preview.sty prauctex.def prauctex.cfg prshowbox.def prshowlabels.def prtracingall.def prtightpage.def prlyx.def prcounters.def prfootnotes.def'
XEMACS='no'
auctexdir='/usr/share/emacs/site-lisp'
bindir='${exec_prefix}/bin'
build_alias='i386-pc-linux-gnu'
datadir='/usr/share'
exec_prefix='NONE'
host_alias='i386-pc-linux-gnu'
icondir='${packagelispdir}/images'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
lispGS=''
lispdir='/var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex'
lispicondir='(expand-file-name "preview/images" (file-name-directory load-file-name))'
lisppackagelispdir='(expand-file-name "preview" (file-name-directory load-file-name))'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
packagedir='no'
packagelispdir='/var/tmp/portage/preview-latex-0.9.1/image//usr/share/emacs/site-lisp/preview-latex/preview'
prefix='/usr'
previewdocdir=''
previewtexmfdir=''
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
texmfdir='NONE'

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

#define PACKAGE_BUGREPORT "bug-auctex@gnu.org"
#define PACKAGE_NAME "preview-latex"
#define PACKAGE_STRING "preview-latex 0.9.1"
#define PACKAGE_TARNAME "preview-latex"
#define PACKAGE_VERSION "0.9.1"

configure: exit 1

###############################################################################


hek216 ulrich # emerge info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O3"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.hadiko.de/pub/dists/gentoo/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.hadiko.de/pub/dists/gentoo/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm arts avi berkdb bitmap-fonts clamav crypt cups divx4linux dri dts eds emboss encode exif fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java javascript jpeg kde libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs wmf xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-03 06:41:55 UTC
Please, use 'Create a New Attachment' feature instead of posting such huge logs next time...
Comment 2 Ulrich Meyle 2006-02-03 08:00:05 UTC
(In reply to comment #0)

> I am sorry for posting so much text, but the error message told me to post this 
> config.log-file and I didn't find the upload-button... )-:

Hi Jakub,

I looked again, but I didn't find it.

Uli
Comment 3 Alexandre Buisse (RETIRED) gentoo-dev 2006-02-07 09:41:22 UTC
It's in a HTML table, between "Keywords" and "Bug #foo depends on...".

Anyway, there were some problems with tetex installs, that should be solved now. Could you try the solution in bug #120515:

emerge sync
rm -rf /etc/texmf
emerge tetex
texmf-update

Thanks.
Comment 4 Ulrich Meyle 2006-02-07 10:54:28 UTC
(In reply to comment #3)
> It's in a HTML table, between "Keywords" and "Bug #foo depends on...".

Ahh... now!
Its only there, when you reply, not in the _reporting a new bug window_.
Maybe that should be chaged...

> Anyway, there were some problems with tetex installs, that should be solved
> now. Could you try the solution in bug #120515:
> 
> emerge sync
> rm -rf /etc/texmf
> emerge tetex
> texmf-update
> 
> Thanks.
> 

Thank you,
i'm syncing at the moment.
I will tell you  later, if it worked

Uli
Comment 5 Ulrich Meyle 2006-02-07 11:48:41 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > emerge sync
> > rm -rf /etc/texmf
> > emerge tetex
> > texmf-update
> 
> I will tell you  later, if it worked

compiled tetex and preview-latex without any errors.
Thanks very much for the help.

Uli

PS: Do you change it to fixed?
Comment 6 Alexandre Buisse (RETIRED) gentoo-dev 2006-02-07 12:01:20 UTC
Yes, I'll close the bug.

About attachments, what one usually does is to first create the bug describing the problem and then add any files of interest (log, configuration, patch...) as attachments in comments.