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.
On 12/27/2014 07:33 AM, Michele wrote:
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.
In general that should be possible, but there are probably no fitting settings
for the build scripts. It may take some digging to find the correct parameters
and amend the scripts.
The best fitting steps would be:
https://github.com/openscad/openscad/#building-for-linuxbsd-on-systems-with-older-or-missing-dependencies
But it's not too likely the scripts will just work, e.g. the first script
(setenv-unibuild.sh) tries to detect various different Unix variants and
sets the correct values.
Is the system already having development tools like the GNU C/C++ compilers,
make and so on?
ciao,
Torsten.
I have some experience with compiling random things on Solaris 10.
On Solaris 10 /bin/sh is really that, not bash. The builtin test is not as
featured as bash. Or it's csh or ksh. Need to run the script with real
bash. If that doesn't work or bash isn't installed, need to install a
recent version. Good luck with that.
First you need to make sure you have a compiler. Oracle makes one and gcc
or g++ have packages for sun. Once you have a working compiler, time to get
the correct library version of everything and hope it doesn't break
backwards compatibility. I think most of the third party sites have mostly
dried up at this point.
In short, it is a pain to get a lot of new software running on an old os
like Solaris 10.
If you aren't tied to Solaris (and I really hope you are not), consider the
sparc debian linux distro or freebsd, which I think still has an active
sparc build.
Iirc that system is pretty old! 6 years?
On Dec 27, 2014 12: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
tp3 wrote
Is the system already having development tools like the GNU C/C++
compilers,
make and so on?
I do have make and I did manage to get gcc installed. It's sounding like
this isn't going to be easy, but I really would like to have it.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10748.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
/"On Solaris 10 /bin/sh is really that, not bash. The builtin test is not as
featured as bash. Or it's csh or ksh. Need to run the script with real
bash. If that doesn't work or bash isn't installed, need to install a
recent version. Good luck with that."/
I'm running the bsh shell so I guess I have bash.
/
"First you need to make sure you have a compiler. Oracle makes one and gcc
or g++ have packages for sun."/
Got it.
/"Once you have a working compiler, time to get
the correct library version of everything and hope it doesn't break
backwards compatibility. I think most of the third party sites have mostly
dried up at this point."/
Uh oh - stuck already. Libraries?
/"In short, it is a pain to get a lot of new software running on an old os
like Solaris 10."/
I'll grant you that. I find it a pain to get anything running in Solaris.
/"If you aren't tied to Solaris (and I really hope you are not), consider
the
sparc debian linux distro or freebsd, which I think still has an active
sparc build."/
Unfortunately, I am. The primary purpose of this machine is to run
Interlisp-D which AFAIK only runs in Solaris/Sun OS.
/"Iirc that system is pretty old! 6 years?"/
Ha - I wish. 2005. But with two Sparc IIIi 64 bit 1.6 GHz CPUs it still
runs rings around lots of modern PC's. The XVR-1200 graphics card will
support two 1920x1200 monitors and even has an output for stereo glasses..
Perhaps I should explain. I have a degree in CS and I've been using Suns
since the days of the Sun 4 but I'm primarily a Lisp programmer. I know
enough about Unix to do simple stuff and I did manage to install Solaris 10,
set up an account, get the networking running, start VNC, install gcc and
stuff like that, but when it comes to wading through long make files, I will
cheerfully admit I need help. And with this one, I don't even know where to
begin.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10749.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 12/27/2014 12:00 PM, Michele wrote:
/"On Solaris 10 /bin/sh is really that, not bash. The builtin test is not as
featured as bash. Or it's csh or ksh. Need to run the script with real
bash. If that doesn't work or bash isn't installed, need to install a
recent version. Good luck with that."/
I'm running the bsh shell so I guess I have bash.
It could be shorthand for the Bourne shell or the bean shell. I don't
think bash was installed by default on 10. Also, which subversion did
you have installed? Sun/Oracle had multiple updates to the system. I
think 10/09 was the last one.
/
"First you need to make sure you have a compiler. Oracle makes one and gcc
or g++ have packages for sun."/
Got it.
/"Once you have a working compiler, time to get
the correct library version of everything and hope it doesn't break
backwards compatibility. I think most of the third party sites have mostly
dried up at this point."/
Uh oh - stuck already. Libraries?
Most software doesn't write everything on its own -- it relies on blocks
of code other people have written. These are the dependencies.
The short list is in
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX#Installing_dependencies,
but I don't know how old that is.
If you can get scripts/setenv-unibuild.sh and
./scripts/uni-build-dependencies.sh to run for you then you're most of
the way there.
There's a host of places where it could fail though, mostly due to the
dependencies failing to compile for one reason or another (largely
because the compilation WorksForMe(tm) on the majority of people with
x86 systems and it wasn't tested on a SPARC and someone got clever
with their assumptions w/r/t pointers. Hopefully everything just works
for you, but I'd definitely run the regression tests to be sure.//
But if you're getting issues from test, you probably need to figure out
what the differences in syntax for your program
/"In short, it is a pain to get a lot of new software running on an old os
like Solaris 10."/
I'll grant you that. I find it a pain to get anything running in Solaris.
/"If you aren't tied to Solaris (and I really hope you are not), consider
the
sparc debian linux distro or freebsd, which I think still has an active
sparc build."/
Unfortunately, I am. The primary purpose of this machine is to run
Interlisp-D which AFAIK only runs in Solaris/Sun OS.
Medeley, right? I found this Interlisp interpreter with source at
http://algorithms.us/software/lispf4/index.html, hopefully it's helpful!
/"Iirc that system is pretty old! 6 years?"/
ave a degree in CS and I've been using Suns
since the days of the Sun 4 but I'm primarily a Lisp programmer. I know
enough about Unix to do simple stuff and I did manage to install Solaris 10,
set up an account, get the networking running, start VNC, install gcc and
stuff like that, but when it comes to wading through long make files, I will
cheerfully admit I need help. And with this one, I don't even know where to
begin.
I had to maintain a lab of Solaris 10 SPARC systems. The newest ones
were a Ultra45s, the majority were older SunBlade150s and SunBlade100s.
--
--Joseph Lenox, BS, MS
I'm an engineer. I solve problems.
/"> I'm running the bsh shell so I guess I have bash.
It could be shorthand for the Bourne shell or the bean shell. "/
Sorry, that was a typo. I meant "bash", not "bsh".hic
/"I don't think bash was installed by default on 10. "/
When I created my account on the system, I specified "-s /bin/bash" in #
useradd and it worked.
/"Also, which subversion did you have installed? Sun/Oracle had multiple
updates to the system. I think 10/09 was the last one."/
I'm running Solaris 10 Update 11 but I don't think I have this:
-bash-3.2$ which subversion
no subversion in /usr/bin /usr/sbin /usr/openwin/bin /usr/ucb /usr/X11/bin
/usr/local/bin /usr/local/share . /usr/sbin /usr/X11/bin /usr/openwin/bin
/usr/ucb /usr/local/lib /usr/local/bin /usr/ccs/bin /usr/local/share .
-bash-3.2$ whereis subversion
subversion:
-bash-3.2$
/"Most software doesn't write everything on its own -- it relies on blocks
of code other people have written. These are the dependencies.
The short list is in
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX#Installing_dependencies,
but I don't know how old that is.
If you can get scripts/setenv-unibuild.sh and
./scripts/uni-build-dependencies.sh to run for you then you're most of the
way there."/
OK, I went to that page and ran
/export/home/michele/openscad/openscad-2014.03
./scripts/check-dependencies.sh: syntax error at line 301: grv_tmp="grep
-i ".$depname.*' unexpected
but don't know what that means. I also don't seem to have git, scmgit, or
git-core.
/" Hopefully everything just works for you, but I'd definitely run the
regression tests to be sure."/
Somehow I don't think everything will just work...
./scripts/setenv-unibuild.sh: cannot execute
./scripts/uni-build-dependencies.sh:
/export/home/michele/setenv-unibuild.sh: not found
That's not working either.
/"But if you're getting issues from test, you probably need to figure out
what the differences in syntax for your program"/
Uh oh.
/"I had to maintain a lab of Solaris 10 SPARC systems. The newest ones were
a Ultra45s, the majority were older SunBlade150s and SunBlade100s."
/
Cool. I had an Ultra 10 before I got this machine. I used to have pizza
boxes on my desk at work. Everything from the SparcStation 1, then 1+, 2,
5, 10, and finally 20. Getting Openscad on the 2500 would help relieve the
computational load on my already overburdened PC.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10755.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Do you have gnu make installed? And are the scripts calling bin/bash or
bin/sh?
You would need to install subversion or git (preferably git) from source or
a sunw package
On Dec 27, 2014 2:16 PM, "Michele" denber@mindspring.com wrote:
/"> I'm running the bsh shell so I guess I have bash.
It could be shorthand for the Bourne shell or the bean shell. "/
Sorry, that was a typo. I meant "bash", not "bsh".hic
/"I don't think bash was installed by default on 10. "/
When I created my account on the system, I specified "-s /bin/bash" in #
useradd and it worked.
/"Also, which subversion did you have installed? Sun/Oracle had multiple
updates to the system. I think 10/09 was the last one."/
I'm running Solaris 10 Update 11 but I don't think I have this:
-bash-3.2$ which subversion
no subversion in /usr/bin /usr/sbin /usr/openwin/bin /usr/ucb /usr/X11/bin
/usr/local/bin /usr/local/share . /usr/sbin /usr/X11/bin /usr/openwin/bin
/usr/ucb /usr/local/lib /usr/local/bin /usr/ccs/bin /usr/local/share .
-bash-3.2$ whereis subversion
subversion:
-bash-3.2$
/"Most software doesn't write everything on its own -- it relies on blocks
of code other people have written. These are the dependencies.
The short list is in
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX#Installing_dependencies
,
but I don't know how old that is.
If you can get scripts/setenv-unibuild.sh and
./scripts/uni-build-dependencies.sh to run for you then you're most of the
way there."/
OK, I went to that page and ran
/export/home/michele/openscad/openscad-2014.03
./scripts/check-dependencies.sh: syntax error at line 301: grv_tmp="grep
-i ".$depname.*' unexpected
but don't know what that means. I also don't seem to have git, scmgit, or
git-core.
/" Hopefully everything just works for you, but I'd definitely run the
regression tests to be sure."/
Somehow I don't think everything will just work...
./scripts/setenv-unibuild.sh: cannot execute
./scripts/uni-build-dependencies.sh:
/export/home/michele/setenv-unibuild.sh: not found
That's not working either.
/"But if you're getting issues from test, you probably need to figure out
what the differences in syntax for your program"/
Uh oh.
/"I had to maintain a lab of Solaris 10 SPARC systems. The newest ones were
a Ultra45s, the majority were older SunBlade150s and SunBlade100s."
/
Cool. I had an Ultra 10 before I got this machine. I used to have pizza
boxes on my desk at work. Everything from the SparcStation 1, then 1+, 2,
5, 10, and finally 20. Getting Openscad on the 2500 would help relieve the
computational load on my already overburdened PC.
--
View this message in context:
http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10755.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
On Dec 27, 2014, at 15:16 PM, Michele denber@mindspring.com wrote:
/export/home/michele/openscad/openscad-2014.03
I would use the latest master. I will be hard to troubleshoot an older version.
./scripts/check-dependencies.sh: syntax error at line 301: grv_tmp="grep
-i ".$depname.*’ unexpected
I think most scripts assume that the system shell is also bash. Try forcing bash by adding this to the top:
#!/bin/bash
./scripts/setenv-unibuild.sh: cannot execute
You’re not supposed to execute that script, but source it:
$ . .scripts/setenv-unibuild.sh
I would strongly recommend teaming up with someone who has significant experience with Solaris and build systems. Porting to a new platform could be challenging and take significant time. ..but who knows, you might get lucky :)
-Marius
/"Do you have gnu make installed?"
/
I don't think so.
*
-bash-3.2$ pwd
/usr/local/bin
-bash-3.2$ ls
addr2name.awk gcc gcov helloworld jv-scan
cpp gccbug gij jar rmic
g++ gcj gnuplot jcf-dump rmiregistry
g77 gcjh grepjar jv-convert
-bash-3.2$*
/"And are the scripts calling bin/bash or bin/sh?"/
Um, bin/sh?
-bash-3.2$ which make
/usr/ccs/bin/make
-bash-3.2$
/"You would need to install subversion or git (preferably git) from source
or a sunw package "/
OK, well I guess now I have to figure out where I can git git (nyuk nyuk).
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10759.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 12/27/2014 04:22 PM, Michele wrote:
/"Do you have gnu make installed?"
/
I don't think so.
*
-bash-3.2$ pwd
/usr/local/bin
-bash-3.2$ ls
addr2name.awk gcc gcov helloworld jv-scan
cpp gccbug gij jar rmic
g++ gcj gnuplot jcf-dump rmiregistry
g77 gcjh grepjar jv-convert
-bash-3.2$*
/"And are the scripts calling bin/bash or bin/sh?"/
Um, bin/sh?
Yeah, /bin/sh isn't /bin/bash on Solaris 10, so far as I can remember.
You will need to change #!/bin/sh to #!/bin/bash on the scripts. And
remember to source the environment script (as the entry on the wikibook
says).
-bash-3.2$ which make
/usr/ccs/bin/make
-bash-3.2$
To figure out what make you have, try "make -v". Should say "GNU Make"
right at the top if it's gnu make.
/"You would need to install subversion or git (preferably git) from source
or a sunw package "/
OK, well I guess now I have to figure out where I can git git (nyuk nyuk).
http://git-scm.com for source tarballs. Once that's compiled/installed,
checkout a copy of the master branch using the instructions at
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX#Building_OpenSCAD_yourself
and start working your way down. The instructions assume you have sudo
installed. If not (and using sudo is a good idea in general), drop down
to root privs before running the install target for make.
You will probably have to build the dependencies yourself (details are
there on the wiki).
--
--Joseph Lenox, BS, MS
I'm an engineer. I solve problems.
/export/home/michele/openscad/openscad-2014.03
/"I would use the latest master. I will be hard to troubleshoot an older
version."/
OK, I thought that's what I had. Where do I get the latest version?
"I think most scripts assume that the system shell is also bash. Try forcing
bash by adding this to the top:
#!/bin/bash"
Well at least it gave me a different set of errors this time.
# ./check-dependencies.sh
depname minimum found OKness \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
qt4 unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
cgal unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
gmp unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
mpfr unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
boost unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
opencsg unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
glew unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
eigen unknown unknown NotOK \033[0m
./check-dependencies.sh: line 81: [: =: unary operator expected
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
glib2 unknown 2.4.1 NotOK \033[0m
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
gcc unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
bison unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
flex unknown unknown NotOK \033[0m
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
make 3 unknown NotOK \033[0m
#
./scripts/setenv-unibuild.sh: cannot execute
/"You’re not supposed to execute that script, but source it:
$ . .scripts/setenv-unibuild.sh"/
OK, now I get this:
*
test: argument expected
#*
/"I would strongly recommend teaming up with someone who has significant
experience with Solaris and build systems."/
Now /that /is an excellent suggestion. Were I still working at my old
company that was loaded with Sun system programming talent, that would have
been no problem. But being retired for some years and all, my circle of
Unix experts is now basically none.
/"Porting to a new platform could be challenging and take significant time.
..but who knows, you might get lucky :) "/
Sure, and I might win the Powerball too :-) I probably have about the same
chance. It's now painfully obvious to everyone that I haven't a clue. I
feel like I'm stuck in a maze of twisty little passages, all of them
different. If anyone reading this thread would like to help me on this
project, I'd be very grateful. Otherwise, I guess it will just remain a
dream.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10761.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Dec 27, 2014, at 17:39 PM, Michele denber@mindspring.com wrote:
OK, I thought that's what I had. Where do I get the latest version?
You clone it (using git). See https://github.com/openscad/openscad
grep: illegal option — q
You have an old version of grep. I’d install a newer version, or GNU grep.
You can probably safely remove the -q option though.
test: argument expected
Hmm, which version of bash are you using? I’d recommend at least 3.x. I’m using 3.2. Most Linux users should be on 4.
Now /that /is an excellent suggestion
I’d say, if you enjoy it, keep going :)
I’ve done a lot of this sort of stuff for work, so I’ll back down early as I know how annoying it can be.
-Marius
His version of bash is 3.2. I know that his version of grep is not gnu. Awk
is going to be similarly different. Everything on Solaris is just different
enough to be frustrating to port stuff written for Linux on it; sun doing
things the Apple way. Although to be fair it was more like the Bad old days
of yore where you had to make your own cpu to be a Real computer company.
I worked a few years ago to get stuff compiled from source working on
Solaris 10 sparc. It was so painful that the machines were replaced with
Linux x86 systems as soon as we knew that the EDA tools we needed ran on
Linux x86. Newer core 2 systems were faster cheaper and more reponsive
anyway than the ultra45s.
Anyone who has such an old workstation and wants to use it is best advised
to become proficient in the black arts in order to keep it running. If I
had access to a system with your configuration I might be able to get it
compiled.
On Dec 27, 2014 4:56 PM, "Marius Kintel" marius@kintel.net wrote:
On Dec 27, 2014, at 17:39 PM, Michele denber@mindspring.com wrote:
OK, I thought that's what I had. Where do I get the latest version?
You clone it (using git). See https://github.com/openscad/openscad
grep: illegal option — q
You have an old version of grep. I’d install a newer version, or GNU grep.
You can probably safely remove the -q option though.
test: argument expected
Hmm, which version of bash are you using? I’d recommend at least 3.x. I’m
using 3.2. Most Linux users should be on 4.
Now /that /is an excellent suggestion
I’d say, if you enjoy it, keep going :)
I’ve done a lot of this sort of stuff for work, so I’ll back down early as
I know how annoying it can be.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
/"You clone it (using git). See https://github.com/openscad/openscad"
/
OK - sounds like I need to find git first them.
/"You have an old version of grep. I’d install a newer version, or GNU grep.
You can probably safely remove the -q option though."/
I have whatever came with Solaris 10 Update 11.
/"Hmm, which version of bash are you using? I’d recommend at least 3.x. I’m
using 3.2. Most Linux users should be on 4."/
Well it says "bash 3.2" in front of every command prompt, so I guess that's
what it is.
/"I’d say, if you enjoy it, keep going :)
I’ve done a lot of this sort of stuff for work, so I’ll back down early as I
know how annoying it can be."/
I don't mind it, an it's certainly educational - I just feel bad for
whoever's helping to have to wade through a lot of noobish question.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10765.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Sure, definitely won't be able to help until Monday. Internet connection is
lousy where I am now.
On Dec 27, 2014 7:24 PM, "Michele" denber@mindspring.com wrote:
/"You clone it (using git). See https://github.com/openscad/openscad"
/
OK - sounds like I need to find git first them.
/"You have an old version of grep. I’d install a newer version, or GNU
grep.
You can probably safely remove the -q option though."/
I have whatever came with Solaris 10 Update 11.
/"Hmm, which version of bash are you using? I’d recommend at least 3.x. I’m
using 3.2. Most Linux users should be on 4."/
Well it says "bash 3.2" in front of every command prompt, so I guess that's
what it is.
/"I’d say, if you enjoy it, keep going :)
I’ve done a lot of this sort of stuff for work, so I’ll back down early as
I
know how annoying it can be."/
I don't mind it, an it's certainly educational - I just feel bad for
whoever's helping to have to wade through a lot of noobish question.
--
View this message in context:
http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10765.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
/"Sure, definitely won't be able to help until Monday. Internet connection is
lousy where I am now."/
Wow - that would be awesome. Whenever is fine. Thanks much.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10767.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Well I went to
www.opencsw.org/manual-for-administrators/getting-started.html
http://www.opencsw.org/manual-for-administrators/getting-started.html
and executed the commands there.
And to my complete astonishment, they worked! I have now officially entered
some commands that did NOT throw an error. So I guess I now have git. In a
stock market blog I read it was once said that you should strive to achieve
at least one small victory every day, no matter how minor it might seem. I
think this was my victory for today :-)
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10768.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
"Medeley, right? I found this Interlisp interpreter with source at
http://algorithms.us/software/lispf4/index.html, hopefully it's helpful!"
Yes. That pointer is for Interlisp though. I'm running Interlisp-D,
Xerox's version of Interlisp that features a full GUI that includes all
sorts of handy features like a syntax-directed editor. Interlisp-D releases
came to be known by musical terms: Intermezzo, Lyric, and finally Medley.
Medley was the end of the line.
PARC still has an ftp server with working Interlisp-D images for Sparc for
free here ftp://ftp.parc.xerox.com/pub/lfg/
ftp://ftp.parc.xerox.com/pub/lfg/
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10779.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I'm not a lisp person, can't really tell the difference.
Wonder if the source could be pried out of someone's hands...
On Dec 28, 2014 2:25 PM, "Michele" denber@mindspring.com wrote:
"Medeley, right? I found this Interlisp interpreter with source at
http://algorithms.us/software/lispf4/index.html, hopefully it's helpful!"
Yes. That pointer is for Interlisp though. I'm running Interlisp-D,
Xerox's version of Interlisp that features a full GUI that includes all
sorts of handy features like a syntax-directed editor. Interlisp-D
releases
came to be known by musical terms: Intermezzo, Lyric, and finally Medley.
Medley was the end of the line.
PARC still has an ftp server with working Interlisp-D images for Sparc for
free here ftp://ftp.parc.xerox.com/pub/lfg/
ftp://ftp.parc.xerox.com/pub/lfg/
--
View this message in context:
http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p10779.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
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
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.
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.
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
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.
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
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."
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.
"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.
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.
I don't think the computing gods want me to make a Sparc version of Openscad.
I found a source for gar here:
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.
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:
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
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
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.
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
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.
/"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.
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.
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
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
/"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.
On Feb 5, 2015, at 17:13 PM, Michele denber@mindspring.com wrote:
What is the standard directory for Qt?
We search here:
$OPENSCAD_LIBRARIES "/usr/local" "/opt/local" "/usr/pkg" "/usr"
And thanks for mentioning that too - looks like I don't even have qmake.
qmake is part of Qt. Look through your Qt installation and see where the qmake binary is. That’s where your PATH needs to be pointed to.
-Marius
Yes, I just figured that out :-). I guess I was updating my previous post
when you wrote that. I'll just assume that Qt is satisfied now.
At this point all I have left are:
qscintilla2
cgal - has 7 more dependencies I need
opencsg
glew - make failed
gcc - make failed
make
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11488.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Feb 5, 2015, at 17:32 PM, Michele denber@mindspring.com wrote:
glew - make failed
glew should really only require OpenGL..
gcc - make failed
make
Since you’re already building, I assume you have a compiler and make, so you can consider those resolved.
-Marius
On 02/06/2015 03:20 AM, jon wrote:
Win 8.1, 8 GB, process grows to about 2.5 GB and then crashes
out. Not sure how I can help further. F5 works fine; F6 crashes.
Are you maybe using the 32-bit version of OpenSCAD? That
2.5GB is suspiciously near the limit for 32-bit applications.
What happens with the dev-snapshot version?
ciao,
Torsten.
On Feb 5, 2015, at 21:45 PM, jon jon@jonbondy.com wrote:
Torsten:
Good point! There is nothing about 32 vs 64 in the Help About for the March 2014 install that I am using.
Where would I find a Win 8 64-bit installer for the dev snapshot, please?
They’re linked from http://www.openscad.org/downloads.html#snapshots
http://files.openscad.org/snapshots/OpenSCAD-2015.02.05-x86-64-Installer.exe
http://files.openscad.org/snapshots/OpenSCAD-2015.02.05-x86-64.zip
The zip file is sometimes more convenient - you can just run OpenSCAD from the unpacked zip file.
-Marius
On Feb 5, 2015, at 21:20 PM, jon jon@jonbondy.com wrote:
Win 8.1, 8 GB, process grows to about 2.5 GB and then crashes out. Not sure how I can help further. F5 works fine; F6 crashes.
Btw., I just tested on Win 8.1 in a 32-bit VM, and both versions of OpenSCAD worked perfectly.
Are you sure you posted the crashing design?
-Marius
$fn=100;
rotate_extrude(convexity = 10)
difference() {
square(25);
translate([0, 0, 0])
circle(20);
polygon(
points = [[22,22], [22, 10], [10, 22]],
paths = [[0, 1, 2]]);
}
/"glew should really only require OpenGL.."/
It failed in a very strange way. I've opened a support ticket over there if
you want to see what happened. It's ugly and involves relocation overflows,
whatever they are.
http://sourceforge.net/p/glew/bugs/267/
/'Since you’re already building, I assume you have a compiler and make, so
you can consider those resolved.'/
Well I do have gcc, but it's version 3.4.4. The script says it wants at
least 4.2. This is a tough one. The gcc make takes over eight hours to
complete on my Sun Blade 2500 and I don't get the error until the very end.
I can't really tweak random stuff hoping for a fix if it takes that long to
see if it helps. I do however have a current copy of Solaris Studio 12.4.
Is there some reason Openscad can't be compiled with that instead of gcc?
When I do "which make" it says "GNU Make 4.1". The script says it wants
"make 3". Can I assume that gmake 4.1 satisfies "make 3"?
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11495.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Here's a potential problem. I'm working on CGAL now. It says it needs LEDA
(plus 6 more). But the download page for LEDA
(www.algorithmic-solutions.info/fre/d5.php) only lists Linux files and they
all have "i386" in their names. Is this a show-stopper for my Sparc build?
For the source code, they say they want 3000 euros. Boo wah hah hah hah.
/That's/ not gonna happen.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11497.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Marius:
Thanks for your help!
Win 8.1, 8 GB, process grows to about 2.5 GB and then crashes out. Not
sure how I can help further. F5 works fine; F6 crashes.
Jon
On 2/5/2015 2:01 PM, Marius Kintel wrote:
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
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Looks optional to me.
On Feb 5, 2015 7:59 PM, "Michele" denber@mindspring.com wrote:
Here's a potential problem. I'm working on CGAL now. It says it needs
LEDA
(plus 6 more). But the download page for LEDA
(www.algorithmic-solutions.info/fre/d5.php) only lists Linux files and
they
all have "i386" in their names. Is this a show-stopper for my Sparc build?
For the source code, they say they want 3000 euros. Boo wah hah hah hah.
/That's/ not gonna happen.
--
View this message in context:
http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11497.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
Torsten:
Good point! There is nothing about 32 vs 64 in the Help About for the
March 2014 install that I am using.
Where would I find a Win 8 64-bit installer for the dev snapshot, please?
Jon
On 2/5/2015 3:40 PM, Torsten Paul wrote:
On 02/06/2015 03:20 AM, jon wrote:
Win 8.1, 8 GB, process grows to about 2.5 GB and then crashes
out. Not sure how I can help further. F5 works fine; F6 crashes.
Are you maybe using the 32-bit version of OpenSCAD? That
2.5GB is suspiciously near the limit for 32-bit applications.
What happens with the dev-snapshot version?
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Yes, I am sure that I sent you the bad code.
I just tried it on the latest. Stunning. Amazing. So, SO, SOOOO FAST.
My hat is off to you all. Wonderful.
Jon
On 2/5/2015 4:08 PM, Marius Kintel wrote:
On Feb 5, 2015, at 21:20 PM, jon jon@jonbondy.com wrote:
Win 8.1, 8 GB, process grows to about 2.5 GB and then crashes out. Not sure how I can help further. F5 works fine; F6 crashes.
Btw., I just tested on Win 8.1 in a 32-bit VM, and both versions of OpenSCAD worked perfectly.
Are you sure you posted the crashing design?
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
/"Looks optional to me."/
Oops - right you are. The whole process has gotten so complex I set up a
OneNote table to keep track of all the pieces needed. I've just gotten so
used to automatically copying stuff into that I completely missed the giant
heading that said "optional". Duh.
Thanks.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11502.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Feb 5, 2015, at 23:09 PM, jon jon@jonbondy.com wrote:
Yes, I am sure that I sent you the bad code.
I just tried it on the latest. Stunning. Amazing. So, SO, SOOOO FAST.
My hat is off to you all. Wonderful.
I’m happy that was resolved - good to see our efforts pay off :)
-Marius
On Feb 5, 2015, at 20:00 PM, Michele denber@mindspring.com wrote:
Ouch. Switching compiler might help.
I do however have a current copy of Solaris Studio 12.4.
Is there some reason Openscad can't be compiled with that instead of gcc?
Any decent C++ compiler should do. The current code should be C++03 compatible, so given that your compiler is < 12 years old you have a decent chance. Nobody have tried though, and all dependencies are likely to have to be recompiled as I don’t think Sun’s compiler is ABI compatible with gcc.
When I do "which make" it says "GNU Make 4.1". The script says it wants
"make 3". Can I assume that gmake 4.1 satisfies "make 3”?
I’m pretty sure it will. I haven’t used GNU make 4 myself though.
-Marius
Unfortunately,CGAL also failed to build. I've started a thread on their
support list for this one too, with the sorry tale of the cmake and make
output:
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11510.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
So you're going to get this working or die trying?
On Feb 5, 2015 11:53 PM, "Marius Kintel" marius@kintel.net wrote:
On Feb 5, 2015, at 20:00 PM, Michele denber@mindspring.com wrote:
Ouch. Switching compiler might help.
I do however have a current copy of Solaris Studio 12.4.
Is there some reason Openscad can't be compiled with that instead of gcc?
Any decent C++ compiler should do. The current code should be C++03
compatible, so given that your compiler is < 12 years old you have a decent
chance. Nobody have tried though, and all dependencies are likely to have
to be recompiled as I don’t think Sun’s compiler is ABI compatible with gcc.
When I do "which make" it says "GNU Make 4.1". The script says it wants
"make 3". Can I assume that gmake 4.1 satisfies "make 3”?
I’m pretty sure it will. I haven’t used GNU make 4 myself though.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Joseph Lenox wrote
So you're going to get this working or die trying?
Almost choked on my wine... LOL
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11516.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
What I thought of was http://xkcd.com/349/
After spending a few hours on this project myself, he has done quite a lot.
Unfortunately there is an awful lot of work to go.
On Feb 6, 2015 3:29 AM, "MichaelAtOz" oz.at.michael@gmail.com wrote:
Joseph Lenox wrote
So you're going to get this working or die trying?
Almost choked on my wine... LOL
Unless specifically shown otherwise above, my contribution is in the
Public Domain; To the extent possible under law, I have waived all
copyright and related or neighbouring rights to this work. This work is
published globally via the internet. :) Inclusion of works of previous
authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it!
--
View this message in context:
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
On 02/06/2015 07:44 AM, Michele wrote:
Unfortunately,CGAL also failed to build. I've started a thread on their
support list for this one too, with the sorry tale of the cmake and make
output:
I guess what this exhaustive and very helpful answer "SunPro is
no supported compiler." on your post means is that you have
to tell cmake to not pick up the system compiler at /usr/bin/CC
but instead the gcc you are using otherwise.
That should work by adding parameters to the cmake call:
cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
(depending on the installation it might need the full path)
ciao,
Torsten.
/"So you're going to get this working or die trying? "/
Well I clearly have far too much time invested in this to just give up now.
I refuse to let this program get the better of me.
However I am also mindful of the guy who tried to get to the moon by
climbing a tree and was pleased because each new branch climbed brought him
closer to his goal.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11529.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
/"I guess what this exhaustive and very helpful answer "SunPro is
no supported compiler." on your post means is that you have
to tell cmake to not pick up the system compiler at /usr/bin/CC
but instead the gcc you are using otherwise."
/
LOL. He is definitely a man of few words. But I suppose he could have just
said RTFM or even not bothered to reply at all. In any event thank you for
providing the real answer with:
"cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ "
That worked fine and allowed cmake to complete. However it still had an
error about halfway through xcomplaining about "libmpfr.so: wrong ELF class:
ELFCLASS64". And when I did gmake afterwards, it also complained about the
same thing.
Now I did install MPFR from a prebuilt package so it's possible there's
something in there it didn't like. (What is it with Unix and elves anyway?)
It's not clear from the error, but I'm assuming it found a 32 bit library
but wants 64 bits. In any case, I'm recompiling MPFR, this time from
source. Then we'll go back to CGAL. One more branch up the tree...
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11532.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
After more poking around, it appears that the Qt4.5.3 package I installed was
32 bit rather than 64 bit. I'm guessing that this may be what CGAL was
complaining about with those "wrong ELFCLASS" errors.
I already know I couldn't install Qt5.2 so I downloaded Qt 4.6.4 and
compiled that. The ./configure went OK (though with a bunch of warnings)
but the gmake failed with two errors. I started a new thread over at
http://qt-project.org/forums/viewthread/52895/
with the sad results.
I'm afraid I really need help at this point. Qt is the last big sticking
point. I'm hoping that if I can get that to work, CGAL will work and then I
can install OpenCSG. That will be the last of the dependencies. But
nothing happens until I can get Qt to go.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11544.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Are you sure that it was compiling with gcc?
On Feb 7, 2015 4:27 PM, "Michele" denber@mindspring.com wrote:
After more poking around, it appears that the Qt4.5.3 package I installed
was
32 bit rather than 64 bit. I'm guessing that this may be what CGAL was
complaining about with those "wrong ELFCLASS" errors.
I already know I couldn't install Qt5.2 so I downloaded Qt 4.6.4 and
compiled that. The ./configure went OK (though with a bunch of warnings)
but the gmake failed with two errors. I started a new thread over at
http://qt-project.org/forums/viewthread/52895/
with the sad results.
I'm afraid I really need help at this point. Qt is the last big sticking
point. I'm hoping that if I can get that to work, CGAL will work and then
I
can install OpenCSG. That will be the last of the dependencies. But
nothing happens until I can get Qt to go.
--
View this message in context:
http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11544.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
I'm not familiar with the Qt code base, so the following comments
might not be correct.
I find it suspicious that you are compiling an old version of Qt
(4.6.4, released in 2011) with the latest version of gcc (4.9.2, Oct
2014). My experience with gcc makes me wonder if these releases are
compatible.
The company I work for has a large C++ project (hundreds of thousands
of code lines, at least), and every time we upgrade to a new version
of gcc, we spend about a month fixing the code so that it will compile
with this new version. Most of the work is eliminating new warnings
that our code never used to trigger, but there are also new compile
time errors that we need to fix.
On 7 February 2015 at 17:27, Michele denber@mindspring.com wrote:
After more poking around, it appears that the Qt4.5.3 package I installed was
32 bit rather than 64 bit. I'm guessing that this may be what CGAL was
complaining about with those "wrong ELFCLASS" errors.
I already know I couldn't install Qt5.2 so I downloaded Qt 4.6.4 and
compiled that. The ./configure went OK (though with a bunch of warnings)
but the gmake failed with two errors. I started a new thread over at
http://qt-project.org/forums/viewthread/52895/
with the sad results.
I'm afraid I really need help at this point. Qt is the last big sticking
point. I'm hoping that if I can get that to work, CGAL will work and then I
can install OpenCSG. That will be the last of the dependencies. But
nothing happens until I can get Qt to go.
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11544.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
/"Are you sure that it was compiling with gcc? "/
No, I'm not. How do I tell?
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11561.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
"I find it suspicious that you are compiling an old version of Qt
(4.6.4, released in 2011) with the latest version of gcc (4.9.2, Oct
2014). My experience with gcc makes me wonder if these releases are
compatible. "
I had not considered that possibility. I also have gcc 3.4.3 on the
machine. I could try using that if I could figure out how to tell CGAL to
use that compiler.
We've got this:
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11563.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
gcc 3.4.3 sounds pretty old. Why are you using such an old version of
QT 4? Why not use QT 4.8.3, which was released April 2014? Okay, I've
never tried to build OpenSCAD, but using recent versions of QT4 and
gcc makes more sense to me, for building the most recent version of
OpenSCAD.
On 8 February 2015 at 13:10, Michele denber@mindspring.com wrote:
"I find it suspicious that you are compiling an old version of Qt
(4.6.4, released in 2011) with the latest version of gcc (4.9.2, Oct
2014). My experience with gcc makes me wonder if these releases are
compatible. "
I had not considered that possibility. I also have gcc 3.4.3 on the
machine. I could try using that if I could figure out how to tell CGAL to
use that compiler.
We've got this:
--
View this message in context: http://forum.openscad.org/Compiling-for-64-bit-Sparc-Solaris-10-tp10741p11563.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
She was having trouble getting newer versions to compile too, I thought. Or
was because it was the same version as her precompiled package.
On Feb 8, 2015 1:04 PM, "doug moen" doug@moens.org wrote:
gcc 3.4.3 sounds pretty old. Why are you using such an old version of
QT 4? Why not use QT 4.8.3, which was released April 2014? Okay, I've
never tried to build OpenSCAD, but using recent versions of QT4 and
gcc makes more sense to me, for building the most recent version of
OpenSCAD.
On 8 February 2015 at 13:10, Michele denber@mindspring.com wrote:
"I find it suspicious that you are compiling an old version of Qt
(4.6.4, released in 2011) with the latest version of gcc (4.9.2, Oct
2014). My experience with gcc makes me wonder if these releases are
compatible. "
I had not considered that possibility. I also have gcc 3.4.3 on the
machine. I could try using that if I could figure out how to tell CGAL
to
use that compiler.
We've got this:
--
View this message in context:
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