discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Compiling for 64 bit Sparc Solaris 10

M
Michele
Sat, Jan 24, 2015 10:25 PM

I don't think the computing gods want me to make a Sparc version of Openscad.
I found a source for gar here:

pkgutil -y -i gar_dev mgar gcc4core gcc4g++ sudo

but ran out of space in my root directory half way through.  I guess when I
set up the disk I wasn't anticipating needing to download half the content
of the Internet to compile Openscad.

So one backup/repartition/restore later, I managed to get gar and mgar in my
/opt/csw/bin/.  I ran the Qt5 make over again but still no gar/category.mk
on my system.  So I decided to punt that and try installing Qt 4.8.5
directly from opencsw.  But the makefile for that ALSO wants to include the
ephemerous gar/category.mk.  Apparently, that is to be found in
/opt/csw/src, another directory I don't have and can't find out how to get.
I have /opt/csw, but no src.

Briefly, to get Openscad you need Qt.  To get Qt you need gar/category.mk.
To get category.mk you need opt/csw/src.  And I see no instructions anywhere
on how to get that.

Since there are Linux versions of Openscad available, and since this prpblem
doesn't particularly seem to be Sparc or Solaris related, can someone please
tell me what I need to do to get Qt installed???  Pretty please?

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

I don't think the computing gods want me to make a Sparc version of Openscad. I found a source for gar here: # pkgutil -y -i gar_dev mgar gcc4core gcc4g++ sudo but ran out of space in my root directory half way through. I guess when I set up the disk I wasn't anticipating needing to download half the content of the Internet to compile Openscad. So one backup/repartition/restore later, I managed to get gar and mgar in my /opt/csw/bin/. I ran the Qt5 make over again but still no gar/category.mk on my system. So I decided to punt that and try installing Qt 4.8.5 directly from opencsw. But the makefile for that ALSO wants to include the ephemerous gar/category.mk. Apparently, that is to be found in /opt/csw/src, another directory I don't have and can't find out how to get. I have /opt/csw, but no src. Briefly, to get Openscad you need Qt. To get Qt you need gar/category.mk. To get category.mk you need opt/csw/src. And I see no instructions anywhere on how to get that. Since there are Linux versions of Openscad available, and since this prpblem doesn't particularly seem to be Sparc or Solaris related, can someone please tell me *what I need to do to get Qt installed???* Pretty please? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11212.html Sent from the OpenSCAD mailing list archive at Nabble.com.
AP
Andrew Plumb
Sat, Jan 24, 2015 11:49 PM

There’s mention of being able to build the test suites without any QT:

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_OpenSCAD_from_Sources#Library_notes https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_OpenSCAD_from_Sources#Library_notes

I wonder if that could be leveraged to build a CLI-only variant of openscad (on Solaris), completely unencumbered by QT dependencies.?.

Andrew.

On Jan 24, 2015, at 5:25 PM, Michele denber@mindspring.com wrote:

I don't think the computing gods want me to make a Sparc version of Openscad.
I found a source for gar here:

pkgutil -y -i gar_dev mgar gcc4core gcc4g++ sudo

but ran out of space in my root directory half way through.  I guess when I
set up the disk I wasn't anticipating needing to download half the content
of the Internet to compile Openscad.

So one backup/repartition/restore later, I managed to get gar and mgar in my
/opt/csw/bin/.  I ran the Qt5 make over again but still no gar/category.mk
on my system.  So I decided to punt that and try installing Qt 4.8.5
directly from opencsw.  But the makefile for that ALSO wants to include the
ephemerous gar/category.mk.  Apparently, that is to be found in
/opt/csw/src, another directory I don't have and can't find out how to get.
I have /opt/csw, but no src.

Briefly, to get Openscad you need Qt.  To get Qt you need gar/category.mk.
To get category.mk you need opt/csw/src.  And I see no instructions anywhere
on how to get that.

Since there are Linux versions of Openscad available, and since this prpblem
doesn't particularly seem to be Sparc or Solaris related, can someone please
tell me what I need to do to get Qt installed???  Pretty please?

--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11212.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/

There’s mention of being able to build the test suites without any QT: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_OpenSCAD_from_Sources#Library_notes <https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_OpenSCAD_from_Sources#Library_notes> I wonder if that could be leveraged to build a CLI-only variant of openscad (on Solaris), completely unencumbered by QT dependencies.?. Andrew. > On Jan 24, 2015, at 5:25 PM, Michele <denber@mindspring.com> wrote: > > I don't think the computing gods want me to make a Sparc version of Openscad. > I found a source for gar here: > > # pkgutil -y -i gar_dev mgar gcc4core gcc4g++ sudo > > but ran out of space in my root directory half way through. I guess when I > set up the disk I wasn't anticipating needing to download half the content > of the Internet to compile Openscad. > > So one backup/repartition/restore later, I managed to get gar and mgar in my > /opt/csw/bin/. I ran the Qt5 make over again but still no gar/category.mk > on my system. So I decided to punt that and try installing Qt 4.8.5 > directly from opencsw. But the makefile for that ALSO wants to include the > ephemerous gar/category.mk. Apparently, that is to be found in > /opt/csw/src, another directory I don't have and can't find out how to get. > I have /opt/csw, but no src. > > Briefly, to get Openscad you need Qt. To get Qt you need gar/category.mk. > To get category.mk you need opt/csw/src. And I see no instructions anywhere > on how to get that. > > Since there are Linux versions of Openscad available, and since this prpblem > doesn't particularly seem to be Sparc or Solaris related, can someone please > tell me *what I need to do to get Qt installed???* Pretty please? > > > > > -- > View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11212.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
Sun, Jan 25, 2015 1:42 AM

Thanks for the reply.  That sounds good.  I assume you're referring to this:
"As of mid 2013 it was possible to build the test suites entirely without
QT.".

Unfortunately they don't say how to do this.  And then further down they
say "OpenSCAD also needs tools like 'git', 'cmake', and ImageMagick."  Uh oh

  • ImageMagick, OK, let's look it up.  Hmmm - 28 dependencies including the
    memorable "Cairo bindings for Pango", which sounds like something from "The
    Maltese Falcon".

So Openscad has 18 dependencies,  If each of those has 28 dependencies, that
means 504 packages to load.  And all those dependencies no doubt have their
own dependencies.  Honest to God I don't know how Openscad ever came into
existence at all in the first place.

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

Thanks for the reply. That sounds good. I assume you're referring to this: "As of mid 2013 it was possible to build the test suites entirely without QT.". Unfortunately they don't say *how* to do this. And then further down they say "OpenSCAD also needs tools like 'git', 'cmake', and ImageMagick." Uh oh - ImageMagick, OK, let's look it up. Hmmm - 28 dependencies including the memorable "Cairo bindings for Pango", which sounds like something from "The Maltese Falcon". So Openscad has 18 dependencies, If each of those has 28 dependencies, that means 504 packages to load. And all those dependencies no doubt have their own dependencies. Honest to God I don't know how Openscad ever came into existence at all in the first place. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11214.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Sun, Jan 25, 2015 3:24 AM

On Jan 24, 2015, at 20:42 PM, Michele denber@mindspring.com wrote:

Thanks for the reply.  That sounds good.  I assume you're referring to this:
"As of mid 2013 it was possible to build the test suites entirely without
QT.”.

The test framework doesn’t require Qt, and that basically builds a full OpenSCAD, just without a GUI, so if you just want to use it on the cmd-line this could work.
The docs are sketchy as this is meant only for developers, but here’s some info: https://github.com/openscad/openscad/blob/master/doc/testing.txt

Yes, you’ll likely need other dependencies.

OpenSCAD is Free Software, build on the shoulders of giants. Having lots of dependencies isn’t necessarily a huge problem. The challenge is to get it to work on bare-bones or really old systems.
I’m not opposed to replacing some of our dependencies with homegrown solutions, but we need more developers to develop and test those solutions.

-Marius

On Jan 24, 2015, at 20:42 PM, Michele <denber@mindspring.com> wrote: > Thanks for the reply. That sounds good. I assume you're referring to this: > "As of mid 2013 it was possible to build the test suites entirely without > QT.”. > The test framework doesn’t require Qt, and that basically builds a full OpenSCAD, just without a GUI, so if you just want to use it on the cmd-line this could work. The docs are sketchy as this is meant only for developers, but here’s some info: https://github.com/openscad/openscad/blob/master/doc/testing.txt Yes, you’ll likely need other dependencies. OpenSCAD is Free Software, build on the shoulders of giants. Having lots of dependencies isn’t necessarily a huge problem. The challenge is to get it to work on bare-bones or really old systems. I’m not opposed to replacing some of our dependencies with homegrown solutions, but we need more developers to develop and test those solutions. -Marius
M
Michele
Sat, Jan 31, 2015 10:29 PM

Well, one down, hopefully.  After spending a week trying (unsuccessfully) to
compile Qt5, I managed to locate a pre-built package of Qt4.5.3 here
http://bwachter.lart.info/sfw.xp/ http://bwachter.lart.info/sfw.xp/  and
amazingly it claims to have installed successfully.

However, when I run scripts/check-dependencis.sh, it can't find it.  It's
installed in /opt/aard/qt4/.  How do I tell Openscad about that?

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

Well, one down, hopefully. After spending a week trying (unsuccessfully) to compile Qt5, I managed to locate a pre-built package of Qt4.5.3 here http://bwachter.lart.info/sfw.xp/ <http://bwachter.lart.info/sfw.xp/> and amazingly it claims to have installed successfully. However, when I run scripts/check-dependencis.sh, it can't find it. It's installed in /opt/aard/qt4/. How do I tell Openscad about that? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11363.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Wed, Feb 4, 2015 12:28 AM

/"You have my objection. They are variables in the mathematical sense. A
symbol that represents a quantity in a mathematical expression."/

I agree with Mr. Peel and cast my vote similarly.

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

/"You have my objection. They are variables in the mathematical sense. A symbol that represents a quantity in a mathematical expression."/ I agree with Mr. Peel and cast my vote similarly. -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11428.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Thu, Feb 5, 2015 9:27 PM

Bump.

Could someone please tell me how to tell Openscad where to find Qt?

I now have 10 dependencies resolved but even though I have Qt4.5.3 on my
system, check-dependencies.sh still says that qt is "unknown".

I installed Qt as a package and it went to /opt/aard/Qt4.  I already have
/opt/aard/qt4 in my PATH but that doesn't seem to help.

???

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

Bump. Could someone please tell me how to tell Openscad where to find Qt? I now have 10 dependencies resolved but even though I have Qt4.5.3 on my system, check-dependencies.sh still says that qt is "unknown". I installed Qt as a package and it went to /opt/aard/Qt4. I already have /opt/aard/qt4 in my PATH but that doesn't seem to help. ??? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11474.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Feb 5, 2015 9:35 PM

On Feb 5, 2015, at 16:27 PM, Michele denber@mindspring.com wrote:

Could someone please tell me how to tell Openscad where to find Qt?

I now have 10 dependencies resolved but even though I have Qt4.5.3 on my
system, check-dependencies.sh still says that qt is "unknown”.

I don’t think check-dependencies can locate packages outside the standard directories.
However, the build system will pick up Qt even if check-dependencies doesn’t, as we use a different lookup there.

I installed Qt as a package and it went to /opt/aard/Qt4.  I already have
/opt/aard/qt4 in my PATH but that doesn't seem to help.

Your PATH is set correctly if you can run qmake.

-Marius

On Feb 5, 2015, at 16:27 PM, Michele <denber@mindspring.com> wrote: > Could someone please tell me how to tell Openscad where to find Qt? > > I now have 10 dependencies resolved but even though I have Qt4.5.3 on my > system, check-dependencies.sh still says that qt is "unknown”. > I don’t think check-dependencies can locate packages outside the standard directories. However, the build system will pick up Qt even if check-dependencies doesn’t, as we use a different lookup there. > I installed Qt as a package and it went to /opt/aard/Qt4. I already have > /opt/aard/qt4 in my PATH but that doesn't seem to help. > Your PATH is set correctly if you can run qmake. -Marius
MK
Marius Kintel
Thu, Feb 5, 2015 10:01 PM

Blows up how?
On which OS?

It works for me, both in 2014.03 and the latest dev snapshot.
I’d recommend testing the latest dev snapshot (http://www.openscad.org/downloads.html#snapshots).

If you still have problems, we’ll look into it - just need some more info about what happens.

-Marius

Blows up how? On which OS? It works for me, both in 2014.03 and the latest dev snapshot. I’d recommend testing the latest dev snapshot (http://www.openscad.org/downloads.html#snapshots). If you still have problems, we’ll look into it - just need some more info about what happens. -Marius
M
Michele
Thu, Feb 5, 2015 10:13 PM

/"I don’t think check-dependencies can locate packages outside the standard
directories."/

What is the standard directory for Qt?  You'd think they'd tell you
somewhere on the Qt website, but I couldn't find it.  I tried building Qt
from source but their Makefile doesn't work for me.  The prebuilt package
does seem to work but it installed itself in a funny place.

/"the build system will pick up Qt even if check-dependencies doesn’t"/

Thanks - that's good to know.

/"Your PATH is set correctly if you can run qmake."/

And thanks for mentioning that too - looks like I don't even have qmake.
check-dependencies wants to see "make" but says nothing about qmake.  Or is
that what it means by "make"?

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

/"I don’t think check-dependencies can locate packages outside the standard directories."/ What is the standard directory for Qt? You'd think they'd tell you somewhere on the Qt website, but I couldn't find it. I tried building Qt from source but their Makefile doesn't work for me. The prebuilt package does seem to work but it installed itself in a funny place. /"the build system will pick up Qt even if check-dependencies doesn’t"/ Thanks - that's good to know. /"Your PATH is set correctly if you can run qmake."/ And thanks for mentioning that too - looks like I don't even have qmake. check-dependencies wants to see "make" but says nothing about qmake. Or is that what it means by "make"? -- View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11479.html Sent from the OpenSCAD mailing list archive at Nabble.com.