Re: Reduce algebra system successfully built on DragonFlyBSD 5.2

2018-04-24 Thread John Marino

On 4/24/2018 03:25, karu.pruun wrote:

Hello

Thanks for pointing out and I am thankful for all the work Dr Beebe
has done. I genuinely meant it was great that Reduce builds on
DragonFly! I haven't used it myself but colleagues of mine do use it
for their work.

If there is anything that can be done to improve the support on
DragonFly, then I suppose people are happy to send patches upstream or
add further tweaks to the already existing port in dports. I am not
sure how much effort it would be to create a port in ravenports

http://ravenports.ironwolf.systems

Cheers

Peeter

--



By the way, ravenports has an easier URL now:
http://www.ravenports.com/

The older one still works, of course.
John

P.S. It's probably not hard to port reduce on ravenports or dports if 
it's building without patches already.  I'll add it my todo list for 
Ravenports.





Re: Reduce algebra system successfully built on DragonFlyBSD 5.2

2018-04-24 Thread karu.pruun
Hello

Thanks for pointing out and I am thankful for all the work Dr Beebe
has done. I genuinely meant it was great that Reduce builds on
DragonFly! I haven't used it myself but colleagues of mine do use it
for their work.

If there is anything that can be done to improve the support on
DragonFly, then I suppose people are happy to send patches upstream or
add further tweaks to the already existing port in dports. I am not
sure how much effort it would be to create a port in ravenports

http://ravenports.ironwolf.systems

Cheers

Peeter

--



On Tue, Apr 24, 2018 at 4:18 AM, Predrag Punosevac
 wrote:
>> Hello
>>
>> Cool you could build it! However, reduce is available as a port and a
>> binary package on DragonFly 5.0, 5.2 and master.
>>
>
> You must be new in the UNIX world or completely oblivious to whom you
> were responding. The person behind original email is Dr. Nelson H. F.
> Beebe himself
>
> https://www.math.utah.edu/~beebe/
>
> or his UNIX books on Amazon
>
> https://www.amazon.com/Classic-Shell-Scripting-Hidden-Commands-ebook/dp/B0043GXMPW
>
>
> Reduce would not have being available in ports as quite a few other
> basic tool from UNIX toolbox if not for the hard work of Dr. Beebe. He
> is the gatekeeper. He is the upstream. He is the guy who tests many
> things on all those UNIX-es you have heard of and you have never heard
> of. He is testing all those packages on those exotic architectures.
> Without people like Dr. Beebe all of us would be running Wintel crap and
> Windows XP right now including super computing guys like me.
>
> Cheers,
> Predrag
>
>
>
>> % pkg search reduce
>> reduce-20180117REDUCE Codemist Standard Lisp
>> general-purpose computer system
>> % sudo pkg install reduce-20180117
>>
>> installs the snapshot as of Jan 2018. DragonFly follows FreeBSD's
>> ports when possible and reduce does not seem to need anything
>> DragonFly specific at the moment. Regarding how to create a port, have
>> a look at math/reduce in /usr/dports on DragonFly.
>>
>> Cheers
>>
>> Peeter
>>
>> --
>>
>>
>>
>>
>> On Sat, Apr 21, 2018 at 11:35 PM, Nelson H. F. Beebe
>>  wrote:
>> > Recent correspondence on the Reduce algebra system developers list at
>> >
>> > reduce-algebra-develop...@lists.sourceforge.net
>> >
>> > raised the issue of porting that system to OpenBSD and other BSD
>> > members.  Reduce is the second oldest computer algebra system, and was
>> > developed at Utah, shortly after MIT's Macsyma; both first appeared in
>> > 1968, a half century ago this year.
>> >
>> > Older versions of Reduce have been ported to FreeBSD (e.g., binary
>> > package reduce-20170124 in FreeBSD 10.x, 11.x and 12.x, and in PCBSD
>> > and its succcessor TrueOS), but packaging systems of all other BSD
>> > family members, including DragonFlyBSD, appear to lack Reduce.
>> >
>> > I'm happy to report that a recent version of Recent has been
>> > successfully built on the new DragonFlyBSD 5.2 (11-Apr-2018) with this
>> > recipe:
>> >
>> > cd $prefix/ashare/reduce
>> > gtar xf ~/Reduce-svn4372-src.tar.gz
>> > cd Reduce-svn4372-src
>> > mkdir /tmp/bin
>> > ln -s /usr/local/bin/guname /tmp/bin/uname
>> > set path = ( /tmp/bin /bin /usr/bin /usr/local/bin )
>> > env CC='gcc6 -I/usr/local/include/freetype2 
>> > -I/usr/local/include/ncurses'   \
>> >CXX='g++6 -I/usr/local/include/freetype2 
>> > -I/usr/local/include/ncurses'   \
>> >./configure --with-csl && gmake all check
>> > ln -s `pwd`/bin/redcsl $prefix/bin/reduce-20180228-csl
>> > ln -s reduce-20180228-csl $prefix/bin/reduce-csl
>> > ln -s reduce-csl $prefix/bin/reduce
>> >
>> > Here is a short demonstration:
>> >
>> > % set path=( $path 
>> > $prefix/ashare/reduce/Reduce-svn4372-src/scripts )
>> >
>> > Reduce (Free CSL version, revision 4330), 21-Apr-18 ...
>> >
>> > 1: int(sin(x), x);
>> >
>> >  - cos(x)
>> >
>> > 2: int(exp(-x) * sin(x), x);
>> >
>> >   - (cos(x) + sin(x))
>> > --
>> > x
>> >  2*e
>> > 3: on rounded;
>> >
>> > 4: precision 75;
>> >
>> > 12
>> >
>> > 5: sin(22);
>> >
>> >  
>> > -0.00885130929040387592169025681577233246328920395133256644233083529808955201463
>> >
>> > More information about publications about Reduce can be found in
>> > bibliographies at
>> >
>> > http://www.math.utah.edu/tex/bib/
>> >
>> > in the files
>> >
>> > red-a-f.bib red-g-l.bib red-m-z.bib redbooks.bib redextra.bib 
>> > reduce.bib
>> >
>> > and at the FAQ at
>> >
>> > http://www.math.utah.edu/faq/reduce/
>> >
>> > The official SourceForce site for Reduce source code is
>> >
>> > http://reduce-algebra.sourceforge.net/
>> >
>> > Its release as Free Software was announced in its original author's
>> > paper
>> >
>> >