From owner-freebsd-questions Fri Jan 12 17:31:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id B42F337B400 for ; Fri, 12 Jan 2001 17:30:58 -0800 (PST) Received: (qmail 69375 invoked from network); 13 Jan 2001 01:30:57 -0000 Received: from unknown (HELO tea.thpoon.com) (mail@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 13 Jan 2001 01:30:57 -0000 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 14HFWz-0001TO-00; Fri, 12 Jan 2001 20:30:57 -0500 To: Mike Meyer Cc: questions@freebsd.org Subject: Re: Fail to build ghostscript6 port References: <14943.19811.464748.366589@guru.mired.org> From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com Mail-Copies-To: never Date: 12 Jan 2001 20:30:57 -0500 Message-ID: <87ely8utke.fsf@tea.thpoon.com> Lines: 38 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Meyer writes: > > ,---- > > | ./obj/echogs -e .dev -w- -l-obj ./obj/compfont -include \ > > | ./obj/psf0lib ./obj/psf0read > > | gmake: *** No rule to make target `jpeg/jpeglib.h', needed by \ > > | `obj/jpeglib0.h'. Stop. > > `---- > jpeglib.h is in the jpeg port (/usr/ports/graphics/jpeg). My copy of > the ghostscript6 port has that as a dependency. You should check for > that in ${PREFIX}/include, and if it's not there, install the jpeg > port. I have it in /usr/local/include/jpeglib.h, and have jpeg-6b port installed. I have figured this out. In subdirectory work/gs6.01/ there was a symlink jpeg -> /usr/ports/graphics/jpeg/work/jpeg-6b. That is, building of the ghostscript6 port relied on having extracted sources of libjpeg, and I always do `make clean' after any installation. Why it would point to the .../jpeg/work directory I don't know. Isn't that what include/ directories are for?.. In any case, I made `make extract' in graphics/jpeg, and ghostscript compiled. > Well, if you're running 4.0, you need set set XFREE86_VERSION=4 in > /etc/make.conf. Hmmm... Not only did I not have that, but I also had `NO_X=true'. ;^) The reason is that I had no X installed on that computer (don't need it there), but got sick of not being able to compile this or that library because of missing X libraries; so today I gave in and compiled XFree86-libraries-4.0.1_2 from ports. Thanks for your suggestions, -- Arcady Genkin Don't read everything you believe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message