discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Compiling for 64 bit Sparc Solaris 10

M
Michele
Sat, Dec 27, 2014 6:33 AM

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.

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.
TP
Torsten Paul
Sat, Dec 27, 2014 2:41 PM

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.

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.
JL
Joseph Lenox
Sat, Dec 27, 2014 3:22 PM

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

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 >
M
Michele
Sat, Dec 27, 2014 5:44 PM

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.

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.
M
Michele
Sat, Dec 27, 2014 6:00 PM

/"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 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.
JL
Joseph Lenox
Sat, Dec 27, 2014 6:22 PM

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.

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.
M
Michele
Sat, Dec 27, 2014 8:16 PM

/"> 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

pwd

/export/home/michele/openscad/openscad-2014.03

./scripts/check-dependencies.sh

./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

./scripts/setenv-unibuild.sh: cannot execute

./scripts/uni-build-dependencies.sh

./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.

/"> 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 # pwd /export/home/michele/openscad/openscad-2014.03 # ./scripts/check-dependencies.sh ./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 ./scripts/setenv-unibuild.sh: cannot execute # ./scripts/uni-build-dependencies.sh ./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.
JL
Joseph Lenox
Sat, Dec 27, 2014 8:27 PM

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

pwd

/export/home/michele/openscad/openscad-2014.03

./scripts/check-dependencies.sh

./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

./scripts/setenv-unibuild.sh: cannot execute

./scripts/uni-build-dependencies.sh

./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

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 > > # pwd > /export/home/michele/openscad/openscad-2014.03 > # ./scripts/check-dependencies.sh > ./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 > ./scripts/setenv-unibuild.sh: cannot execute > # ./scripts/uni-build-dependencies.sh > ./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 >
MK
Marius Kintel
Sat, Dec 27, 2014 8:40 PM

On Dec 27, 2014, at 15:16 PM, Michele denber@mindspring.com wrote:

pwd

/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

./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

./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

On Dec 27, 2014, at 15:16 PM, Michele <denber@mindspring.com> wrote: > # pwd > /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 > ./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 > ./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
M
Michele
Sat, Dec 27, 2014 10:22 PM

/"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.

/"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.