discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Compiling for 64 bit Sparc Solaris 10

AP
Andrew Plumb
Mon, Dec 29, 2014 1:59 AM

If you can get the old Solaris version of GNOME installed and running (if you haven’t already) you may have better luck satisfying all the other dependencies.

That’s what I found worked best when “in the field” with a Tadpole RDI Ultrabook, back in the day. :-)

Andrew.

On Dec 27, 2014, at 1:33 AM, Michele denber@mindspring.com wrote:

I'd really love to have Openscad running on my Sun Blade 2500 but haven't
been able to find any precompiled binaries.  I downloaded the source but
only got as far as typing

$ sh builder.sh

which just got me "builder.sh test: argument expected"

This is for 64 bit Sparc Solaris 10.  I'll be the first to admit I know very
little about compiling source code in Unix and the README doesn't
specifically mention this platform.  Any help would be greatly appreciated.
Thanks.

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/

If you can get the old Solaris version of GNOME installed and running (if you haven’t already) you may have better luck satisfying all the other dependencies. That’s what I found worked best when “in the field” with a Tadpole RDI Ultrabook, back in the day. :-) Andrew. > On Dec 27, 2014, at 1:33 AM, Michele <denber@mindspring.com> wrote: > > I'd really love to have Openscad running on my Sun Blade 2500 but haven't > been able to find any precompiled binaries. I downloaded the source but > only got as far as typing > > $ sh builder.sh > > which just got me "builder.sh test: argument expected" > > This is for 64 bit Sparc Solaris 10. I'll be the first to admit I know very > little about compiling source code in Unix and the README doesn't > specifically mention this platform. Any help would be greatly appreciated. > Thanks. > > > > -- > View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- "The future is already here. It's just not very evenly distributed" -- William Gibson Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/>
M
Michele
Mon, Dec 29, 2014 6:20 AM

Joseph Lenox wrote

I'm not a lisp person, can't really tell the difference.

Wonder if the source could be pried out of someone's hands...

I never even saw that myself, and I worked for Xerox.  That would certainly
be the Holy Grail of Interlisp-D.

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10789.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Joseph Lenox wrote > I'm not a lisp person, can't really tell the difference. > > Wonder if the source could be pried out of someone's hands... I never even saw that myself, and I worked for Xerox. That would certainly be the Holy Grail of Interlisp-D. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10789.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Mon, Dec 29, 2014 6:27 AM

clothbot wrote

If you can get the old Solaris version of GNOME installed and running (if
you haven’t already) you may have better luck satisfying all the other
dependencies.

Well I'm currently running the Java Desktop Environment, which is just Gnome
plus Nautilus.  Or do you specifically mean some older version from an
earlier Solaris?

I'm still looking at that page on "Building OpenSCAD yourself".  I've gotten
as far as getting git installed, which is something I suppose.

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10790.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

clothbot wrote > If you can get the old Solaris version of GNOME installed and running (if > you haven’t already) you may have better luck satisfying all the other > dependencies. Well I'm currently running the Java Desktop Environment, which is just Gnome plus Nautilus. Or do you specifically mean some older version from an earlier Solaris? I'm still looking at that page on "Building OpenSCAD yourself". I've gotten as far as getting git installed, which is something I suppose. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10790.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MD
Michele Denber
Sat, Jan 10, 2015 5:12 PM

On 12-27-2014 8:34 PM, Joseph Lenox wrote:

Sure, definitely won't be able to help until Monday. Internet
connection is lousy where I am now.

Any luck?

         - Michele
On 12-27-2014 8:34 PM, Joseph Lenox wrote: > > Sure, definitely won't be able to help until Monday. Internet > connection is lousy where I am now. > Any luck? - Michele
M
Michele
Tue, Jan 20, 2015 10:18 PM

Well continuing my perhaps quixotic quest to get Openscad on Sparc Solaris
10, I have managed to make some progress.  I now have gcc running and
installed Solaris Studio 12.4 so I also have the Sun C compiler.  I got git
and a collection of OpenCSW tools including gmake.

Then I was able to download all the needed files using git.  I also got
scripts/check-dependencies to work (although it kept spitting out "grep:
illegal option -- q" - what's that all about?),

So now I'm going down the list of dependencies.  The first one is Qt.  The
"Building Openscad yourslef" page says you need Qt4.  The script just says
Qt.  Qt is now apparently up to 5.2.

So, can I just install 5.2 or do I really have to find version 4 somewhere?

And FWIW, scripts/uni-get-dependencies.sh simply said "Unknown system type".
Perhaps an entry for 64 bit Sparc could be added there?

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11151.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Well continuing my perhaps quixotic quest to get Openscad on Sparc Solaris 10, I have managed to make some progress. I now have gcc running and installed Solaris Studio 12.4 so I also have the Sun C compiler. I got git and a collection of OpenCSW tools including gmake. Then I was able to download all the needed files using git. I also got scripts/check-dependencies to work (although it kept spitting out "grep: illegal option -- q" - what's that all about?), So now I'm going down the list of dependencies. The first one is Qt. The "Building Openscad yourslef" page says you need Qt4. The script just says Qt. Qt is now apparently up to 5.2. So, can I just install 5.2 or do I really have to find version 4 somewhere? And FWIW, scripts/uni-get-dependencies.sh simply said "Unknown system type". Perhaps an entry for 64 bit Sparc could be added there? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11151.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Tue, Jan 20, 2015 10:26 PM

On Jan 20, 2015, at 17:18 PM, Michele denber@mindspring.com wrote:

(although it kept spitting out “grep: illegal option -- q" - what's that all about?),

I guess Solaris’ grep doesn’t have the -q option. We tend to require GNU grep or a recent BSD grep.
You can edit the script and remove the -q, or install GNU grep.

So, can I just install 5.2 or do I really have to find version 4 somewhere?

This is a more updated list of dependencies. Qt 5 is recommended if it’s supported on your platform. I build binaries using Qt-5.4.
https://github.com/openscad/openscad#prerequisites

And FWIW, scripts/uni-get-dependencies.sh simply said "Unknown system type".
Perhaps an entry for 64 bit Sparc could be added there?

Adding such support might be an outcome of what you’re doing. It’s a bit hard to maintain though, as we’d need access to a Solaris box to test.

-Marius

On Jan 20, 2015, at 17:18 PM, Michele <denber@mindspring.com> wrote: > > (although it kept spitting out “grep: illegal option -- q" - what's that all about?), > I guess Solaris’ grep doesn’t have the -q option. We tend to require GNU grep or a recent BSD grep. You can edit the script and remove the -q, or install GNU grep. > So, can I just install 5.2 or do I really have to find version 4 somewhere? > This is a more updated list of dependencies. Qt 5 is recommended if it’s supported on your platform. I build binaries using Qt-5.4. https://github.com/openscad/openscad#prerequisites > And FWIW, scripts/uni-get-dependencies.sh simply said "Unknown system type". > Perhaps an entry for 64 bit Sparc could be added there? > Adding such support might be an outcome of what you’re doing. It’s a bit hard to maintain though, as we’d need access to a Solaris box to test. -Marius
JL
Joseph Lenox
Tue, Jan 20, 2015 10:29 PM

Sun's version of grep isn't the same as gnu grep, so there are different
switches.
For GNU Grep, -q means "quiet".

You can install GNU grep if you want, just need to edit the script so that
it uses it (as I don't think there's an env variable that it respects)

Sun's version of grep isn't the same as gnu grep, so there are different switches. For GNU Grep, -q means "quiet". You can install GNU grep if you want, just need to edit the script so that it uses it (as I don't think there's an env variable that it respects)
M
Michele
Wed, Jan 21, 2015 12:53 AM

"Sun's version of grep isn't the same as gnu grep, so there are different
switches."

That was it.  Gnu grep was one of the utilities in my OpenCSW download so I
just added /opt/csw/gnu to the front of my PATH, ran it again and got this:

-bash-3.2$ ./scripts/check-dependencies.sh
depname    minimum    found      OKness
qt          4.4        unknown    NotOK
./scripts/check-dependencies.sh: line 215: -query: command not found
./scripts/check-dependencies.sh: line 215: -query: command not found
qscintilla2 2.7        unknown    NotOK
cgal        3.6        unknown    NotOK
gmp        5.0        unknown    NotOK
mpfr        3.0        unknown    NotOK
boost      1.35        unknown    NotOK
opencsg    1.3.2      unknown    NotOK
glew        1.5.4      unknown    NotOK
eigen      3.0        unknown    NotOK
glib2      2.0        2.4.1      OK
fontconfig  2.10        2.5.        NotOK
freetype2  2.4        14.1.8      OK
harfbuzz    0.9.19      unknown    NotOK
gcc        4.2        3.4.4      NotOK
bison      2.4        unknown    NotOK
flex        2.5.35      unknown    NotOK
make        3          unknown    NotOK
-bash-3.2$

I guess it's progress that I actually have two OK's.  OTOH, sometimes I feel
like the guy who's trying to get to the moon by climbing a tree and reports
some progress because he's reached the second branch.

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11162.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

"Sun's version of grep isn't the same as gnu grep, so there are different switches." That was it. Gnu grep was one of the utilities in my OpenCSW download so I just added /opt/csw/gnu to the front of my PATH, ran it again and got this: -bash-3.2$ ./scripts/check-dependencies.sh depname minimum found OKness qt 4.4 unknown NotOK ./scripts/check-dependencies.sh: line 215: -query: command not found ./scripts/check-dependencies.sh: line 215: -query: command not found qscintilla2 2.7 unknown NotOK cgal 3.6 unknown NotOK gmp 5.0 unknown NotOK mpfr 3.0 unknown NotOK boost 1.35 unknown NotOK opencsg 1.3.2 unknown NotOK glew 1.5.4 unknown NotOK eigen 3.0 unknown NotOK glib2 2.0 2.4.1 OK fontconfig 2.10 2.5. NotOK freetype2 2.4 14.1.8 OK harfbuzz 0.9.19 unknown NotOK gcc 4.2 3.4.4 NotOK bison 2.4 unknown NotOK flex 2.5.35 unknown NotOK make 3 unknown NotOK -bash-3.2$ I guess it's progress that I actually have two OK's. OTOH, sometimes I feel like the guy who's trying to get to the moon by climbing a tree and reports some progress because he's reached the second branch. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11162.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Wed, Jan 21, 2015 12:58 AM

"This is a more updated list of dependencies. Qt 5 is recommended if it’s
supported on your platform. I build binaries using Qt-5.4.
https://github.com/openscad/openscad#prerequisites"

18 dependencies!  That's quite a list.  And I've got two of them.  Well,
I've got Qt5 downloading right now (from here:
http://stacloverflow.com/questions/20879/how-to-build-qt-5-2-on-solaris-10).
This thing (whatever it is) is huge.  We'll see what happens.  Thanks.

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11163.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

"This is a more updated list of dependencies. Qt 5 is recommended if it’s supported on your platform. I build binaries using Qt-5.4. https://github.com/openscad/openscad#prerequisites" 18 dependencies! That's quite a list. And I've got two of them. Well, I've got Qt5 downloading right now (from here: http://stacloverflow.com/questions/20879/how-to-build-qt-5-2-on-solaris-10). This thing (whatever it is) is huge. We'll see what happens. Thanks. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11163.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Wed, Jan 21, 2015 1:30 AM

OK, so I downloaded Qt5.  But when I ran make I got "make: Warning: Can't
find 'gar/category.mk': no such file or directory"  So what the heck is
that?  When I search for "gar download" I get results like the UN Global
Assessment Report" on something or another, a band called Gar, and the
General Aviation Report.  Somehow, I don't think any of these are what I
need.  And no doubt gar, if I ever find it has its own list of dependencies,
none of which I will have.  Does anyone know what "gar" is and where I can
find it?

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11165.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

OK, so I downloaded Qt5. But when I ran make I got "make: Warning: Can't find 'gar/category.mk': no such file or directory" So what the heck is *that*? When I search for "gar download" I get results like the UN Global Assessment Report" on something or another, a band called Gar, and the General Aviation Report. Somehow, I don't think any of these are what I need. And no doubt gar, if I ever find it has its own list of dependencies, none of which I will have. Does anyone know what "gar" is and where I can find it? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11165.html Sent from the OpenSCAD mailing list archive at Nabble.com.