From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 10:51:39 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C9C716A417 for ; Tue, 14 Aug 2007 10:51:39 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id EFF6213C457 for ; Tue, 14 Aug 2007 10:51:38 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.50) id 1IKu06-0000cj-Kq for questions@freebsd.org; Tue, 14 Aug 2007 03:51:55 -0700 Received: from 71-220-138-238.tcsn.qwest.net ([71.220.138.238] helo=.domain.actdsltmp) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IKu01-0000cQ-AW; Tue, 14 Aug 2007 03:51:45 -0700 Message-ID: <46C18914.2030703@math.arizona.edu> Date: Tue, 14 Aug 2007 03:51:00 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.4 (X11/20070713) MIME-Version: 1.0 To: Manolis Kiagias , questions@freebsd.org References: <46C15F55.9070608@math.arizona.edu> <46C179CD.8030808@otenet.gr> In-Reply-To: <46C179CD.8030808@otenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -5.8 (-----) Cc: Subject: Re: problem compiling xfig SOLVED 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: Tue, 14 Aug 2007 10:51:39 -0000 Manolis Kiagias wrote: > Predrag Punosevac wrote: > >> I was trying to use xfig to do some graphs but application would froze >> every time I tried to use the mouse. >> After inspecting /var/db/pkg I realized I have xfig-devel version of >> program which is ALPHA version. >> I cd /usr/ports/graphics/ xfig-devel && make deinstall >> I tried to compile xfig-3.2.5 version after I did portsnap fetch && >> portsnap extract && portsnap update >> >> I keep getting the message >> >> [root@ /usr/ports/graphics/xfig]# make install clean >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for xfig-3.2.5 >> ===> Extracting for xfig-3.2.5 >> => MD5 Checksum mismatch for xfig.3.2.5.full.tar.gz. >> => SHA256 Checksum mismatch for xfig.3.2.5.full.tar.gz. >> ===> Refetch for 1 more times files: xfig.3.2.5.full.tar.gz >> xfig.3.2.5.full.tar.gz >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for xfig-3.2.5 >> => xfig.3.2.5.full.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> => Attempting to fetch from http://xfig.org/software/xfig/3.2.5/. >> fetch: xfig.3.2.5.full.tar.gz: local modification time does not match >> remote >> => Attempting to fetch from ftp://www-epb.lbl.gov/xfig/. >> fetch: xfig.3.2.5.full.tar.gz: local modification time does not match >> remote >> => Attempting to fetch from >> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. >> fetch: xfig.3.2.5.full.tar.gz: local modification time does not match >> remote >> => Couldn't fetch it - please try to retrieve this >> => port manually into /usr/ports/distfiles/ and try again. >> *** Error code 1 >> >> Stop in /usr/ports/graphics/xfig. >> *** Error code 1 >> >> Stop in /usr/ports/graphics/xfig. >> *** Error code 1 >> >> Stop in /usr/ports/graphics/xfig. >> >> What am I doing wrong? >> >> I am running FreeBSD 6.2 XOrg 7.2 Gnome 2.18 on the Generic kernel >> >> I also tried pkg_add -r xfig-3.2.5 but I am getting message >> [root@ /usr/ports/distfiles]# pkg_add xfig-3.2.5 >> pkg_add: can't stat package file 'xfig-3.2.5' >> [root@ /usr/ports/distfiles]# pkg_add -r xfig-3.2.5 >> Error: FTP Unable to get >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/xfig-3.2.5.tbz: >> File unavailable (e.g., file not found, no access) >> pkg_add: unable to fetch >> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/xfig-3.2.5.tbz' >> by URL >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> >> > I can't tell you for sure about the message you are getting trying to > compile it from Ports, BUT this "local modification time does not match > remote" seems to me like there is something wrong with the date / time > settings on your machine. Have you checked this? Is your clock > synchronized with an NTP server? > > For the pkg_add part, solution is simple: > either change PACKAGESITE from Latest to All, e.g. > > export PACKAGESITE= > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/ > (or setenv PACKAGESITE > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/ if > you use csh) > and repeat your command: > > pkg_add -r xfig-3.2.5 > > or simply, without changing your PACKAGESITE, do: > > pkg_add -r xfig > > This will get you the latest package. The "Latest" location in the > FreeBSD FTP server contains links to the latest build packages. You > don't add version numbers in this case. > In fact a quick look in the FTP site suggests the latest version is > xfig-3.2.5.a5_2 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Of course, I am a moron. The clock is not synchronized with an NTP server. The clock drifting took me by surprise since this is relatively fresh installation. I used your quick solution with pkg_add to add xfig-3.2.5 to add the application. Now xfig works perfectly. Good thing I had a problem with that unstable ALPHA new develop version of Xfig because now I know that I have to fix the clock. Thanks Everybody Predrag Punosevac