Re: [OpenIndiana-discuss] Building Node.js
On 2012-12-16 05:55, dormitionsk...@hotmail.com wrote: Now some things simply won't work with the gnu compiler. Like for instance, for some reason the Perl DBD::mysql module wasn't included with Perl, and since Perl was compiled with Sun's compiler, I had to use Sun's (Oracle's) SolarisStudio. Note that PERL saves the configuration of compiler it was built with (for the distribution it's still Sun Studio, I guess). This config file is used to build native C source included with some PERL modules. It is possible to replace a few configuration lines (or use a file for GCC from the same perl distribution) and build working modules with GCC - or to really use Sun Studio as you did. See these: /usr/perl5/5.8.4/lib/sun4-solaris-64int/Config.pm - the file actually used, for Sun Studio originally (make a copy) /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc/Config.pm - the GCC variant Options to replace are the compiler program pathname and its CFLAGS (optimizations, etc.), rarely something else. HTH, //Jim Klimov ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Building Node.js
Alan, The GCC 4.4.4 compiler is located at: pkg://openindiana.org/developer/illumos-gcc@4.4.4,5.11-0.151.1.7:20121003T224008Z You can use: http://dlc.openindiana.org/isos/151a7/oi-dev-151a7-text-x86.iso ~ Ken Mays From: Alan Gutierrez a...@prettyrobots.com To: openindiana-discuss@openindiana.org Sent: Saturday, December 15, 2012 10:57 PM Subject: [OpenIndiana-discuss] Building Node.js I'm a confused as to which compiler to use for userland C/C++ on Open Indiana. There is no compiler installed. I vaguely recall that Sun had it's own compiler that it preferred to GCC. While looking around the Open Indiana website, I'm finding discussions of how or whether to use Sun Studio and various flavors of GCC to compile the kernel. I'm not sure what to install, or what effect installing one compiler over another will have on my system. If I want to build software that will work on other people's systems, I don't know which compiler they'd be likely to use, or how to test that any C or C++ code I write would work for other Open Indiana users. Here's a page on the Illumos website desribing of a common build environment that makes me wonder which of these compilers listed is the best userland compiler to use. http://wiki.illumos.org/display/illumos/Build+Environment Here is a long discussion of compilers from the beginning of the year. It is fascinating, but it does not seem to provide any direction. http://openindiana.org/pipermail/oi-dev/2012-January/001082.html For starters, I want to be able to build Node.js and compile Node.js modules that may include C/C++ code. I'd like to be able to explore DTrace once I have Node.js compiled. These instructions suggest installing gcc-3, but that compiler is rather old. http://instance.io/blog/compiling-node-js-and-npm-on-openindiana-oi_151 Any pointers on which compiler to use or how to manage multiple compilers? -- Alan Gutierrez - @bigeasy ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Building Node.js
Hi, http://pkg.openindiana.org/sfe node.js and new GCC part of that repo. Best regards, Milan On so, 2012-12-15 at 22:57 -0500, Alan Gutierrez wrote: I'm a confused as to which compiler to use for userland C/C++ on Open Indiana. There is no compiler installed. I vaguely recall that Sun had it's own compiler that it preferred to GCC. While looking around the Open Indiana website, I'm finding discussions of how or whether to use Sun Studio and various flavors of GCC to compile the kernel. I'm not sure what to install, or what effect installing one compiler over another will have on my system. If I want to build software that will work on other people's systems, I don't know which compiler they'd be likely to use, or how to test that any C or C++ code I write would work for other Open Indiana users. Here's a page on the Illumos website desribing of a common build environment that makes me wonder which of these compilers listed is the best userland compiler to use. http://wiki.illumos.org/display/illumos/Build+Environment Here is a long discussion of compilers from the beginning of the year. It is fascinating, but it does not seem to provide any direction. http://openindiana.org/pipermail/oi-dev/2012-January/001082.html For starters, I want to be able to build Node.js and compile Node.js modules that may include C/C++ code. I'd like to be able to explore DTrace once I have Node.js compiled. These instructions suggest installing gcc-3, but that compiler is rather old. http://instance.io/blog/compiling-node-js-and-npm-on-openindiana-oi_151 Any pointers on which compiler to use or how to manage multiple compilers? -- Alan Gutierrez - @bigeasy ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Tribblix update
Tribblix being a part-time hobby project means that progress tends to come in fits and starts, but I am moving along. Milestone 2 of Tribblix is based directly on Illumos. It was based on Illumos before, of course, but by proxy. Now I'm generating the packages that come from illumos-gate directly from my build, rather than repackaging bits that OI have built. I'm still dependent on OI for the remainder of the base OS (things like libxml, for example, and the whole of the X11 consolidation comes from OI). That's the major change in Milestone 2. There are minor fixes, and a few new and updated packages. http://www.tribblix.org/ In parallel, I've been trying to get LibreOffice going. I can now get it built and installed. (It's clear that others have trodden this path before me, I just lift patches from posts to mailing lists that I can find via Google.) Unfortunately, it exits during startup and I need to look into that more closely. A first attempt at version 4 indicates there's a lot more pain ahead. I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
On Dec 16, 2012, at 1:37 PM, Peter Tribble wrote: [...] I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. Since Open Group released CDE source, there's always dtlogin. :-) Unfortunately, last I heard it only built on Linux and FreeBSD - the source released does NOT correspond to what any particular vendor supplied, let alone provide much clue how they built their variants. ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
On 12/16/12 11:48 AM, Richard L. Hamilton wrote: On Dec 16, 2012, at 1:37 PM, Peter Tribble wrote: [...] I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. Since Open Group released CDE source, there's always dtlogin. :-) Unfortunately, last I heard it only built on Linux and FreeBSD - the source released does NOT correspond to what any particular vendor supplied, let alone provide much clue how they built their variants. dtlogin was definitely one of the CDE areas that Sun customized/forked a lot from the TOG upstream. If you've pulled the entire X consolidation, then you have xdm for whatever that's worth. I've also heard a lot of people talking about lightdm as a good path off of gdm. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
On Sun, Dec 16, 2012 at 7:54 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On Dec 16, 2012, at 1:37 PM, Peter Tribble wrote: [...] I'm still looking for a viable graphical login manager. If you've pulled the entire X consolidation, then you have xdm for whatever that's worth. I've also heard a lot of people talking about lightdm as a good path off of gdm. Well, yes, there is xdm. It works, although it's rather too basic for a login manager (things like being able to choose which session to use would be nice). In the longer term, lightdm may well be the right answer; unfortunately the gtk greeter requires gtk3 and I haven't made that jump yet. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
Don't know what the current state is but window maker had wdm that used to work pretty well. Disclaimer, used to maintain it briefly on Linux 10 or so years ago. Greg -- Sent from my Jelly Bean Galaxy Nexus Alan Coopersmith alan.coopersm...@oracle.com wrote: On 12/16/12 11:48 AM, Richard L. Hamilton wrote: On Dec 16, 2012, at 1:37 PM, Peter Tribble wrote: [...] I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. Since Open Group released CDE source, there's always dtlogin. :-) Unfortunately, last I heard it only built on Linux and FreeBSD - the source released does NOT correspond to what any particular vendor supplied, let alone provide much clue how they built their variants. dtlogin was definitely one of the CDE areas that Sun customized/forked a lot from the TOG upstream. If you've pulled the entire X consolidation, then you have xdm for whatever that's worth. I've also heard a lot of people talking about lightdm as a good path off of gdm. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
Any idea of what the minimum systems requirements will be? Something similar to a server install of OI? Less than the OI desktop? We have a very old laptop that I'd like to try to eek a few more years of use out of... Just curious. On Dec 16, 2012, at 1:27 PM, Gregory S. Youngblood wrote: Don't know what the current state is but window maker had wdm that used to work pretty well. Disclaimer, used to maintain it briefly on Linux 10 or so years ago. Greg -- Sent from my Jelly Bean Galaxy Nexus Alan Coopersmith alan.coopersm...@oracle.com wrote: On 12/16/12 11:48 AM, Richard L. Hamilton wrote: On Dec 16, 2012, at 1:37 PM, Peter Tribble wrote: [...] I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. Since Open Group released CDE source, there's always dtlogin. :-) Unfortunately, last I heard it only built on Linux and FreeBSD - the source released does NOT correspond to what any particular vendor supplied, let alone provide much clue how they built their variants. dtlogin was definitely one of the CDE areas that Sun customized/forked a lot from the TOG upstream. If you've pulled the entire X consolidation, then you have xdm for whatever that's worth. I've also heard a lot of people talking about lightdm as a good path off of gdm. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
Hi Peter, I like it. Could you do a milestone build based on Xorg 7.7? Maybe: Xorg 7.7 [https://hg.openindiana.org/upstream/oracle/x-cons/x-s11-update-clone/file/c0ba569ea901] ~ Ken From: Peter Tribble peter.trib...@gmail.com To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org; discuss disc...@lists.illumos.org Sent: Sunday, December 16, 2012 1:37 PM Subject: [OpenIndiana-discuss] Tribblix update Tribblix being a part-time hobby project means that progress tends to come in fits and starts, but I am moving along. Milestone 2 of Tribblix is based directly on Illumos. It was based on Illumos before, of course, but by proxy. Now I'm generating the packages that come from illumos-gate directly from my build, rather than repackaging bits that OI have built. I'm still dependent on OI for the remainder of the base OS (things like libxml, for example, and the whole of the X11 consolidation comes from OI). That's the major change in Milestone 2. There are minor fixes, and a few new and updated packages. http://www.tribblix.org/ In parallel, I've been trying to get LibreOffice going. I can now get it built and installed. (It's clear that others have trodden this path before me, I just lift patches from posts to mailing lists that I can find via Google.) Unfortunately, it exits during startup and I need to look into that more closely. A first attempt at version 4 indicates there's a lot more pain ahead. I'm keeping a keen eye on other lightweight desktops. E17 builds with very little effort, and the full E17 release is just around the corner. It would be nice to have LXDE and awesome available as well. I'm still looking for a viable graphical login manager. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
On 12/16/12 09:42 PM, ken mays wrote: Hi Peter, I like it. Could you do a milestone build based on Xorg 7.7? Maybe: Xorg 7.7 [https://hg.openindiana.org/upstream/oracle/x-cons/x-s11-update-clone/file/c0ba569ea901] I would not be surprised if that fails to build as-is on illumos/OI-147, as it has taken advantage of a few changes that happened in ON (such as new linker flags KMS support for i915) since then, as well as newer versions of packages like libtool than snv_147 had (but those may already be updated in OI as well). Hopefully other than the intel driver, the rest isn't that hard to make work. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Tribblix update
On 12/16/12 09:56 PM, Alan Coopersmith wrote: On 12/16/12 09:42 PM, ken mays wrote: Hi Peter, I like it. Could you do a milestone build based on Xorg 7.7? Maybe: Xorg 7.7 [https://hg.openindiana.org/upstream/oracle/x-cons/x-s11-update-clone/file/c0ba569ea901] I would not be surprised if that fails to build as-is on illumos/OI-147, as it has taken advantage of a few changes that happened in ON (such as new linker flags KMS support for i915) since then, as well as newer versions of packages like libtool than snv_147 had (but those may already be updated in OI as well). Oh, and it assumes no one needs 32-bit binaries any more, since all Solaris 11 users have to be running the 64-bit kernel since the 32-bit kernel was EOL'ed. (32-bit libraries are still there for binary compatibility with other programs, it's just most of the /usr/bin/x* commands converted to 64-bit.) If you care about 32-bit support, that's one more change you'll have to undo. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss