From owner-freebsd-ports@FreeBSD.ORG Mon Jan 24 06:18:55 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75003106566B for ; Mon, 24 Jan 2011 06:18:55 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3727D8FC15 for ; Mon, 24 Jan 2011 06:18:54 +0000 (UTC) Received: from wald.nfv.gwdg.de ([134.76.242.31] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PhFlN-0005tm-LT for freebsd-ports@freebsd.org; Mon, 24 Jan 2011 07:18:53 +0100 Message-ID: <4D3D19CA.6040806@gwdg.de> Date: Mon, 24 Jan 2011 07:18:50 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.13) Gecko/20101221 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4D3C99F6.6040703@gwdg.de> In-Reply-To: <4D3C99F6.6040703@gwdg.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Subject: Re: New port math/sprng: Need some help, please X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2011 06:18:55 -0000 For who is interested in (and for the record): I filed a PR and b.f. has taken it, see http://www.freebsd.org/cgi/query-pr.cgi?pr=154249 Am 23.01.2011 22:13 (UTC+1) schrieb Rainer Hurling: > I created a port for SPRNG version 2, the Scalable Parallel Pseudo > Random Number Generators Library ( http://sprng.cs.fsu.edu/ ). > > It builds and installs but it is not usable so far because of some > problems with the method of building shared libraries. > > The sources seem to be incomplete in some way. They only build static > libraries and there is no install target in the code. I had to patch the > sources on several places to get it compiled. > > Now there remain several problems with the installed libraries 'libsprng*': > > (1) After installation with ${INSTALL_LIB} they do not have any symbols > any more. > > nm /usr/ports/math/sprng/work/sprng2.0/lib/libsprng.so.2.0 > > shows symbols built in, the next does not > > nm /usr/local/lib/libsprng.so.2.0 > > (2) The fortran stuff is not build in correctly. SPRNG has two scripts > to test the installed sprng code, 'checksprng' and 'timesprng'. Both > give correct results for the C interface and both fail for the fortran > interface. > > Probably there a more issues with the port and patches :-( > > I have only little experience in creating ports and almost no skills in > C/C++ programming, so I could really need some help.