Bug 41057

Summary: WebMagick doesn't compile
Product: Ports & Packages Reporter: njyoder <njyoder>
Component: Individual Port(s)Assignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description njyoder 2002-07-27 21:20:01 UTC
WebMagick fails when running it's configure script.  It's important to note that I do not have X11 on this system, with the corresponding flags set in /etc/make.conf (so it installs non-x11 versions of certain ports).

Here are some file outputs that might help-
/etc/make.conf:
#USE_GCC=3.1
CPUTYPE=k6-2
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

NO_X=true
NO_X11=true
WITHOUT_X11=true
WITHOUT_SNMP=true

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

configure:556: checking for a BSD compatible install
configure:609: checking whether build environment is sane
configure:666: checking whether make sets ${MAKE}
configure:705: checking for working aclocal
configure:718: checking for working autoconf
configure:731: checking for working automake
configure:744: checking for working autoheader
configure:757: checking for working makeinfo
configure:773: checking whether build environment is sane
configure:824: checking for a BSD compatible install
configure:879: checking for perl
configure:919: checking for RGB database
configure:986: checking for xlsfonts
configure:1022: checking for default font


make output:
===>  Configuring for WebMagick-2.02_1,1
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for perl... /usr/bin/perl
checking for RGB database... 
checking for xlsfonts... xlsfonts 
checking for default font... ===>  Script "configure" failed unexpectedly.
      Please report the problem to ache@freebsd.org [maintainer] and attach the
      "/usr/ports/www/WebMagick/work/WebMagick-2.02/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/www/WebMagick.

Installed packages:
ImageMagick-nox11-5.4.7.1_1
agrep-2.04
apg-2.0.0
arpwatch-2.1.a11_2
autoconf-2.53
autoconf213-2.13.000227_2
automake14-1.4.5
bash-2.05a
bison-1.35_1
boehm-gc-6.0
bounce-1.0
chexedit-0.9.7
curl-7.9.8
cvsup-without-gui-16.1f
ddup-3.0.1
dict-1.5.5
dsniff-2.3
expat-1.2
expat-1.95.3
flawfinder-1.01
freenet6-0.9.6
freetype2-2.1.2
gcc-3.1.1_20020617
gd-1.8.4_6
gdbm-1.8.0
gdchart-0.10.1_1
gettext-0.10.35_2
gettext-0.11.2
ghostscript-gnu-nox11-7.05_1
gmake-3.79.1_2
isc-dhcp3-3.0.1.r9
its4-1.1.1
jbigkit-1.4
jpeg-6b_1
jpgtn-1.04
lcms-1.08
libfpx-1.2.0.4
libiconv-1.8
libnet-1.0.2a
libnids-1.16_1
libtool-1.3.4_4
libxml2-2.4.23
lynx-ssl-2.8.4.1b_1
m4-1.4_1
nano-1.0.9_1
netcat-1.10_1
netpbm-10.3
newsfetch-1.21
newsfish-1.2.5
newsgrab-0.2.2
nmap-2.54.b34
ntop-2.0.99.r2_1
openssh-3.4_3
openssl-0.9.6d
p5-NNTPClient-0.37
p5-News-Newsrc-1.08
p5-Set-IntSpan-1.07
p5-Term-ReadKey-2.14
p5-Time-101.062101
pavuk-0.9.28_1
pkg_remove-1.1
pkg_tarup-1.2_3
pkg_tree-1.1
pkgconfig-0.12.0
pkgdb.db
png-1.2.4
popt-1.5.1_1
portupgrade-20020429_1
python-2.2.1
rats-1.3
replaceit-1.0.0
rsync-2.5.5_1
ruby-1.6.7.2002.05.23
ruby-bdb1-0.1.7
ruby-optparse-0.8.6
ruby-shim-ruby18-1.7.2.2002.05.21
screen-3.9.11_1
sed_inplace-2002.06.28
snort-1.8.6
thttpd-2.22
thumbnail_index-1998.08.10_1
tiff-3.5.7
txt2regex-0.7
unzip-5.50
w3m-0.3
w3mir-1.0.10
wget+ipv6-1.7_2

How-To-Repeat: cd /usr/ports/www/WebMagick
make
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2002-08-04 18:45:41 UTC
Responsible Changed
From-To: freebsd-ports->ache

over to the maintainer
Comment 2 njyoder 2002-08-29 08:07:47 UTC
The cause of the problem was a lack of X11 being installed.  I've found that
the configure script does in fact have a without x compiling option which I
failed to notice before.  I have enclosed a patch to the WebMagick Makefile
(/usr/ports/www/WebMagick/Makefile) to check for the WITHOUT_X11 environment
variable, and then set the corresponding environment variable (with_x=no)
for the configure script.

--- Makefile.patch begins here ---
--- Makefile.old        Thu Aug 29 03:03:06 2002
+++ Makefile    Thu Aug 29 03:03:15 2002
@@ -37,4 +37,8 @@
        fi; \
        ${INSTALL_DATA} webmagickrc ${PREFIX}/etc/webmagickrc.dist

+.if defined(WITHOUT_X11)
+CONFIGURE_ENV+=with_x=no
+.endif
+
 .include <bsd.port.mk>
--- Makefile.patch ends here ---
Comment 3 Andrey A. Chernov freebsd_committer freebsd_triage 2002-08-29 20:14:17 UTC
State Changed
From-To: open->closed

Fix committed