Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 07:18:50 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: New port math/sprng: Need some help, please
Message-ID:  <4D3D19CA.6040806@gwdg.de>
In-Reply-To: <4D3C99F6.6040703@gwdg.de>
References:  <4D3C99F6.6040703@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3D19CA.6040806>