Lazarus

Installation => General => Topic started by: jwdietrich on August 02, 2016, 08:33:12 pm

Title: Lazarus on OpenIndiana
Post by: jwdietrich on August 02, 2016, 08:33:12 pm
Has anybody successfully installed Lazarus 1.6 on OpenIndiana?
Title: Re: Lazarus on OpenIndiana
Post by: Graeme on August 09, 2016, 03:04:16 pm
I haven't tried recently, but about 2 years ago I compiled and ran Lazarus without problems on OpenIndiana.
Title: Re: Lazarus on OpenIndiana
Post by: jwdietrich on August 09, 2016, 08:30:40 pm
Thanks, that is good news.

I have previously successfully compiled Lazarus from sources on Mac OS X, but there I had the FPC sources from an older Lazarus version. Were do I get FPC SRC for OpenIndiana from?
Title: Re: Lazarus on OpenIndiana
Post by: Cyrax on August 10, 2016, 12:30:05 am
From the FPC subversion repository?
Title: Re: Lazarus on OpenIndiana
Post by: Thaddy on August 10, 2016, 08:59:50 am
Note I believe you can use the Solaris distro from sourceforge as a starting compiler for 3.0.0 and after that you can build trunk as well.

You can ask Pierre on the mailing list what the current status is regarding OpenIndiana compatibility. Maybe he knows more about it..
Title: Re: Lazarus on OpenIndiana
Post by: jwdietrich on August 13, 2016, 03:40:22 pm
Sorry, but I even fail to install Free Pascal. According to the instructions (e.g. from http://www.freepascal.org/down/i386/solaris-austria.var (http://www.freepascal.org/down/i386/solaris-austria.var) the archive comes with an install script, but it doesn't. Manually copying the files doesn't work, as expected.
Title: Re: Lazarus on OpenIndiana
Post by: Thaddy on August 13, 2016, 06:27:59 pm
Sorry, but I even fail to install Free Pascal. According to the instructions (e.g. from http://www.freepascal.org/down/i386/solaris-austria.var (http://www.freepascal.org/down/i386/solaris-austria.var) the archive comes with an install script, but it doesn't. Manually copying the files doesn't work, as expected.
You just need only the latest (open)Solaris ppc binary, just the compiler itself!, provided you have the toolchain installed (like build-essential and the GNU compiler suite) and build fpc with "make clean all install PP=/the/path/to/your/ppc/ppc386"
I theory that should work on OpenIndiana. You can determine the missing dependencies for libraries afterwards. See if that helps.

First try if that compiler runs!  It should.  It is 2.6.4, so build 3.0.0 first. You 3.0.0 to build trunk. Otherwise I am mistaken but it is something I described from memory.
Title: Re: Lazarus on OpenIndiana
Post by: jwdietrich on August 27, 2016, 05:21:48 pm
You just need only the latest (open)Solaris ppc binary, just the compiler itself!, provided you have the toolchain installed (like build-essential and the GNU compiler suite) and build fpc with "make clean all install PP=/the/path/to/your/ppc/ppc386"

Unfortunately, it doesn't work. I assume that some paths, environment variables or access privileges were wrong. This may result from my lack of deep knowledge on Solaris-based systems and from the missing install script.