From owner-freebsd-ports@FreeBSD.ORG Thu Mar 25 13:46:24 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD0AB16A4CE; Thu, 25 Mar 2004 13:46:24 -0800 (PST) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5E9943D53; Thu, 25 Mar 2004 13:46:23 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd07.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1B6cg7-0008RM-03; Thu, 25 Mar 2004 22:46:19 +0100 Received: from Andro-Beta.Leidinger.net (EkM4seZlYe45gsSL35bY0g8+y0varCSC3u0ns3Tq0rotTWMFzHD8UB@[217.229.209.165]) by fmrl07.sul.t-online.com with esmtp id 1B6cfv-0MXSXw0; Thu, 25 Mar 2004 22:46:07 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i2PLk47J064077; Thu, 25 Mar 2004 22:46:04 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i2PLk3YJ082806; Thu, 25 Mar 2004 22:46:03 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Thu, 25 Mar 2004 22:46:03 +0100 From: Alexander Leidinger To: "Dr. Richard E. Hawkins" Message-Id: <20040325224603.7c207108@Magellan.Leidinger.net> In-Reply-To: <20040325205112.GD24906@slytherin.ds.psu.edu> References: <20040324163317.GA24906@slytherin.ds.psu.edu> <20040324175937.04014407@Magellan.Leidinger.net> <20040325205112.GD24906@slytherin.ds.psu.edu> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: EkM4seZlYe45gsSL35bY0g8+y0varCSC3u0ns3Tq0rotTWMFzHD8UB@t-dialin.net cc: maho@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: installing ifc at the moment (version conflict) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 21:46:24 -0000 On Thu, 25 Mar 2004 15:51:12 -0500 "Dr. Richard E. Hawkins" wrote: ifc maintainer CCed. > So now I have l_fc_pc_8.0.039.tar.gz and l_fc_pc_8.0.039_pe043.tar.gz. > I edited the Make file so that > > #PATCHLEVEL= ${PORTVERSION:C/(.+p)(.+)$/pe\2/} > PATCHLEVEL= pe043 > > This installed the patched version (with the help of NO_CHECKSUM). This is not enough. The icc port has the "intel-patch" target in the makefile. This needs to be used for ifc too. > I'm guessing that there's a cleaner way to do this . . . > > AFter a bit more mucking about, I've found that I have to change the > extension from f95 to f90 for ifort to recognize it. > > Finally, a running compiler. And then: *wham*. > > slytherin ttyp1:dpt>ifort dphs1.f90 > /usr/local/intel_fc_80/lib/libifcore.a(for_diags.o): In function > `redirect_stderr': > for_diags.o(.text+0x967): undefined reference to `freopen64' > /usr/local/intel_fc_80/lib/libifcore.a(for_open_proc.o): In function > `for__open_proc': > for_open_proc.o(.text+0x1619): undefined reference to `lseek64' > for_open_proc.o(.text+0x16b9): undefined reference to `lseek64' > > and so forth. I'm guessing that this is some kind of library mismatch. Remember, this is not a native port. It's a linux port "hacked" to produce FreeBSD binaries. I think you have to add a lseek64 wrapper into lang/ifc/files/linux_file.c. > The only dependency seems to be an extraction dependency upon a file from > rpm2cpio--doesn't this mean that it should only be depending upon its > own files (or base system file) to function? Yes. Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7