From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 20:30:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4434F106566C for ; Mon, 19 Oct 2009 20:30:01 +0000 (UTC) (envelope-from brentb@beanfield.com) Received: from smtp02.beanfield.com (smtp02.beanfield.com [76.9.193.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA968FC18 for ; Mon, 19 Oct 2009 20:30:00 +0000 (UTC) Received: from [66.207.193.249] (helo=brent.local) by mta02.beanfield.com with esmtpa (Exim 4.69) (envelope-from ) id 1MzyrI-0001Mq-4R for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 16:29:36 -0400 Message-ID: <4ADCCC30.7070500@beanfield.com> Date: Mon, 19 Oct 2009 16:29:36 -0400 From: Brent Bloxam Organization: Beanfield Technologies User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <4ADC98DD.4050301@beanfield.com> In-Reply-To: <4ADC98DD.4050301@beanfield.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Beanfield-MTA02: OnNet (SMTPFROM) 66.207.193.249, brentb@beanfield.com (SMTPRCPT) freebsd-questions@freebsd.org X-beanfield-mta02-MailScanner: Found to be clean X-beanfield-mta02-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-beanfield-mta02-MailScanner-From: brentb@beanfield.com X-Spam-Status: No Subject: Re: Building Ghostscript from source on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 20:30:01 -0000 Brent Bloxam wrote: > I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. > I cannot use the version in the ports tree for various reasons. I've > looked at the .mak patches in ./files/ for the ports tree however to try > to suss out any differences but they elude me. > > My configure line: > ./configure --prefix=/usr/local/imagemagick-6.5.6 --disable-cups > --disable-gtk --disable-cairo --disable-fontconfig --without-libpaper > --without-pdftoraster --without-ijs --without-jbig2dec --without-jasper > --without-omni --without-x --with-drivers=BMP,FAX,JPEG,PNG,PS,TIFF > > The error I receive building: > > gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations > -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing > -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H > -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./base -o ./obj/genconf > ./base/genconf.c > gcc: ./base/genconf.c: No such file or directory > gcc: No input files specified > > ./base/genconf.c exists. Executing the gcc command on its own is > successful, yet the build can't continue even with ./obj/genconf > existing. `make -d A` reaches the failure with: > > Examining ./base/stdpn.h...modified 18:23:38 Jun 05, 2007...up-to-date. > Examining ./obj/genconf...non-existent...modified before source > (/home/build/ghostscript-8.70/./base/genconf.c)...out-of-date. > ./obj/genconf:> = /home/build/ghostscript-8.70/./base/genconf.c > ./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c > ./obj/genconf:> = /home/build/ghostscript-8.70/./base/genconf.c > /home/build/ghostscript-8.70/./base/stdpre.h > ./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c > /home/build/ghostscript-8.70/./base/stdpre.h > ./obj/genconf:> = /home/build/ghostscript-8.70/./base/genconf.c > /home/build/ghostscript-8.70/./base/stdpre.h > /home/build/ghostscript-8.70/./base/stdpn.h > ./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c > /home/build/ghostscript-8.70/./base/stdpre.h > /home/build/ghostscript-8.70/./base/stdpn.h > cc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations > -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing > -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H > -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./base -o ./obj/genconf > ./base/genconf.c > cc: ./base/genconf.c: No such file or directory > cc: No input files specified > > Why is it that it believes ./obj/genconf is nonexistent, and then > proceeds to fail while it has no problems with anything else up to that > point? Solved. Looks like building Ghostscript explicitly requires gmake