Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 17:21:47 GMT
From:      Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178774: print/dvipdfmx fails at configure phrase
Message-ID:  <201305191721.r4JHLlFp057516@oldred.FreeBSD.org>
Resent-Message-ID: <201305191730.r4JHU06s054690@freefall.freebsd.org>

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

>Number:         178774
>Category:       ports
>Synopsis:       print/dvipdfmx fails at configure phrase
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hon-Yu Lawrence Cheung
>Release:        FreeBSD 9.1-RELEASE-p3
>Organization:
>Environment:
>Description:
print/dvipdfmx is teTeX base while print/tex-dvipdfmx is texlive base now.
USE_TEX=yes in print/dvipdfmx/Makefile led to fail at configure phrase.

The following is poudriere log. 
=======================<phase: configure      >============================
===>  Configuring for dvipdfmx-20110311
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for kpse_find_file in -lkpathsea... no
configure: error: kpathsea library not found
This version of dvipdfmx requires the kpathsea library and its headers. If
you know where it is you might try setting the LDFLAGS environment variable
with -L pointing to the directory containing libkpathsea.a.
    
===>  Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/print/dvipdfmx/work/dvipdfmx-20110311/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. a
/usr/local/sbin/pkg info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/print/dvipdfmx.

>How-To-Repeat:

>Fix:
change USE_TEX=yes to USE_TEX=tetex in Makefile

Patch attached with submission follows:

--- Makefile.original   2013-05-20 00:22:27.637740478 +0800
+++ Makefile    2013-05-20 01:09:52.682741309 +0800
@@ -21,11 +21,11 @@
 
 LIB_DEPENDS=   png15:${PORTSDIR}/graphics/png \
                paper:${PORTSDIR}/print/libpaper
 RUN_DEPENDS=   ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
 
-USE_TEX=       yes
+USE_TEX=       tetex
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --datadir=${LOCALBASE}/share
 MAKE_JOBS_SAFE=        yes
 
 PLIST_SUB=     DVIPDFMXDIR=${DVIPDFMXDIR} \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305191721.r4JHLlFp057516>