* * *

Author Topic: Lazarus on OpenIndiana  (Read 3618 times)

jwdietrich

  • Hero Member
  • *****
  • Posts: 936
    • formatio reticularis
Lazarus on OpenIndiana
« on: August 02, 2016, 08:33:12 pm »
Has anybody successfully installed Lazarus 1.6 on OpenIndiana?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

Lazarus 1.6.4 | FPC 3.0.2 | PPC, Intel, ARM | macOS, Windows, Linux

Graeme

  • Hero Member
  • *****
  • Posts: 1419
    • Graeme on the web
Re: Lazarus on OpenIndiana
« Reply #1 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.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

jwdietrich

  • Hero Member
  • *****
  • Posts: 936
    • formatio reticularis
Re: Lazarus on OpenIndiana
« Reply #2 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?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

Lazarus 1.6.4 | FPC 3.0.2 | PPC, Intel, ARM | macOS, Windows, Linux

Cyrax

  • Hero Member
  • *****
  • Posts: 553
Re: Lazarus on OpenIndiana
« Reply #3 on: August 10, 2016, 12:30:05 am »
From the FPC subversion repository?

Thaddy

  • Hero Member
  • *****
  • Posts: 4803
Re: Lazarus on OpenIndiana
« Reply #4 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..
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

jwdietrich

  • Hero Member
  • *****
  • Posts: 936
    • formatio reticularis
Re: Lazarus on OpenIndiana
« Reply #5 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 the archive comes with an install script, but it doesn't. Manually copying the files doesn't work, as expected.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

Lazarus 1.6.4 | FPC 3.0.2 | PPC, Intel, ARM | macOS, Windows, Linux

Thaddy

  • Hero Member
  • *****
  • Posts: 4803
Re: Lazarus on OpenIndiana
« Reply #6 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 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.
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

jwdietrich

  • Hero Member
  • *****
  • Posts: 936
    • formatio reticularis
Re: Lazarus on OpenIndiana
« Reply #7 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.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

Lazarus 1.6.4 | FPC 3.0.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus