New port math/sprng: Need some help, please

Rainer Hurling rhurlin at gwdg.de
Mon Jan 24 06:18:55 UTC 2011


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.


More information about the freebsd-ports mailing list