Tuesday Apr 28, 2009
Thursday Jun 26, 2008
By octav on Jun 26, 2008
OpenSolaris is on path to become a compelling development environment. Once in a while I use my local installation that runs on my MacBook (under Virtual Box) to experiment with different tasks. Yesterday I tried to build NetBeans on OpenSolaris. With that in mind I knew I'll need the JDK (for the compiler), ant to build the sources, mercurial to pull the sources from the NetBeans open source repositories, etc.
In a terminal I became root and started looking for packages (e.g. pkg install mercurial - but this won't work). I found out that at this point the naming is not yet consistent. You can look for software like netbeans or openoffice by name, however for something like mercurial and ant, one has to use SUNWmercurial and SUNWant respectively.
Pulling from the NetBeans repository is simple:
hg clone http://hg.netbeans.org/main
The next step calls for going into the <nbsourcedir>/main/nbbuild/ directory and looking for build targets using ant -projecthelp. "All" seemed an intuitive so I tried it. The bad part is that NetBeans requires ant version 1.7.0 and the version I installed earlier was 1.6.5 . At this point I gave up and I'll ping the NetBeans community for help.
Saturday Dec 02, 2006
By octav on Dec 02, 2006
MacBuntu - A word describing making something easy, humane towards others.
Starting again with a picture for the folks that like shinny objects :-)
In installed parallels with a trial key (I was not going to pay just in case my manager alter ego kicks in and I am not able finish the project), I downloaded Ubuntu 6.10 and started on the journey of making my MacBook Pro even more powerful.
- I burned the Ubuntu image on a DVD and tried the install. Oops, parallels won't recognize the media :-(. OK, perhaps I have a coaster, let me burn another iso. Nope, the VM would choke and would ask me to insert the media. OK, let me google this ...
- It turns out that you can boot from a local image of the guest OS. I further use Parallels to configure for Ubuntu to use 1024 MB of memory and 16GB of hard drive. Once I do that, happiness! So short lived :-(
- Ubuntu loads a live image of the desktop and you seem to be one click away of the installation. The installer hangs after 15% progress. I am agitated. I pull Anger Management and watch a short segment to relax :-)
- It turns out that on MacBook Pro hardware the installer chokes if the memory is set to anything higher than 512 MB. Once I change the setting of the VM I am able to install without any problems
The result is stunning:
- desktop is beautiful
- (wireless) networking works like a charm - this blew me away, since I was expecting all kind of driver issues
- OpenOffice, Firefox, Evolution
- bash as the default shell
- JDK 1.4.2 (we have to fix that)
One of the things you'll have to do is edit /etc/X11/xorg.conf and add the native resolution of the you Mac. In my case I had to add 1440x900 and tweak HorizSync and VertRefresh.
Modes "1440x900" "1280x800" "800x600" "640x480"
Thursday Nov 30, 2006
By octav on Nov 30, 2006
The experiment with a multi boot of Solaris 10, OSX and Windows on the loaner MacBook did not go so well after all. The only way I was successful in installing Solaris was by blowing away the OSX install. The workarounds suggested by a couple of blogs did not fully work for me and I can allocate only very little time to the system administration hobby ;-)
I've been experimenting with a Parallels to see if I can install, Solaris 10, Ubuntu 6.10 and Vista on my new 17" MacBook Pro (2.33 GHz, 2 GB RAM, 100 GB 7200 rpm hard drive). I'll allocate 15 GB for each the hosted OSs and keep the rest for OSX. On the new notebook, I also switched to Apple Mail after a few years on Thunderbird. Among the software that I rapidly installed: NeoOffice (with Aqua support - a beauty), Stuffit, Cisco VPN client, Firefox (2), Window Media Player (9), NetBeans and the supporting cast.