Jdrrant

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 12 March 2009

Why Does Anyone Use OpenSolaris?

Posted on 07:00 by Unknown
I was trying to help someone on the filezilla forums who uses OpenSolaris. They weren't too familiar with how to compile their own binary. Since OpenSolaris is free, I decided I would just download a copy, stick it in VirtualBox and try it out.

First of all, it looks nice, and all the vmware hardware seemed to work (more or less). The graphics driver seemed to be VESA based so my resolution was limited to 1024x768. Maybe the VirtualBox extensions would fix this.

Okay, my first gripe: The default installation doesn't come with any development tools. Okay, the whole thing did come on a single CD and includes Gnome, so I guess some stuff needs to be sacrificed, but the development tools? So I started Package Manager and looked for gcc. In comes my second gripe. Even though OpenSolaris is from Nov 2008, the gcc version they are hosting is 3.4.3. That's pretty old. Whatever, it should work for my needs.

There are several minor packages on which filezilla depends. It needs wxWidgets, libidn, libgcrypt, and gnutls. FileZilla depends on version 2.8 of wxWidgets, and the installer checks for the latest minor revision 2.8.9, but the package manager only had 2.8.8 (not as ancient as the gcc they're hosting, but still old). I couldn't find any of the other libraries. It also needs GNU gettext, but since I was able to run gettext and xgettext, I thought OpenSolaris came with that (more on that later).

Since I wasn't sure how to get around the FileZilla check for wxWidgets 2.8.9, I decided to build wxWidgets. Now we come to even more problems. wxWidgets seems to want to build the Motif version even though I got the wxGTK release. Oh, this must be because the gtk development headers aren't installed on OpenSolaris. BTW: I still can't find these. I saw a GTK package, but it's version 1.2. Who would use that these days? It's unsuitable IMO. Okay, we'll use the 2.8.8 package and figure out how to trick FileZilla later.

I was able to build libidn, libgcrypt, and gnutls without problem. That's about the only positive I ran into.

Since I can't figure out how to build wxWidgets since I can't find the gtk development package, I had to find a way to trick FileZilla into using the 2.8.8 version. First I decided to modify the configure.in script to accept version 2.8.8. When I first tried it, it ignored my changes. It didn't rerun autoconf for some reason. Oh yeah, it's not installed. Go back to Package Manager, and surprise, surprise, autoconf isn't one of the packages. Okay, well that solution won't work.

Let's tell wx-config to lie to FileZilla instead. Oh wait, there's no usable editor on this system. No nano, pico, or even emacs. I'm stick with vi. Since I have no idea how to use vi, I look at the graphical editor options and I find gedit. Okay, that will work, overkill that it is. BTW: nano isn't in the Package Manager either.

After telling wx-config to lie for us, FileZilla gives me a new error. We don't have dbus installed. Really I blame FileZilla for this. If dbus isn't available, it's configure script should disable support for it itself; we shouldn't have to pass --without-dbus on the configure line. Instead of trying to find dbus (which I'm already sure won't be found in package manager), I rerun with --disable-dbus.

On to the next error. Oh, msgmerge isn't installed. Apparently, gettext and xgettext are not from GNU gettext after all. So we need to go get that. I tried to build the 0.17 version from source and ran into some weird compile error. So I ran back to package manager and it had the 0.16 version, so I installed that. Finally, the configure script completes.

I have a quad core processor, so of course I use make -j5 to build. But no, we're not using GNU make. We're using Sun make, which doesn't support that option. So I'll just leave 75% of my CPU idling while it builds on a single core.

It quits with another cryptic message. One thing I noticed was that it said ld: fatal: library -lCstd: not found. Does this mean it can't find the C standard library? Well, that would be par for the course I guess.

If anyone has suggestions, I'm open to them. For now, I'm left with the question: Why does anyone use OpenSolaris?

edit: Someone mentioned that lCstd is the Sun CC C++ library, which is probably why it wouldn't work with gcc, but I'm not sure if that's right or not. It makes sense anyways.

I was able to find what I needed to build FileZilla. SUNWgnome-common-devel contains the GTK+ libraries. SUNWxwinc and SUNWxorg-headers are the X libraries and includes. SUNWgnu-idn was there all the time. Not sure how I missed it. Building wxWidgets and GNU gettext from source solved the rest of my problems. I put up a guide to compiling FileZilla under Solaris on the FileZilla wiki.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in dbus, FileZilla, gettext, GNU, lCstd, ld, make, msgmerge, OpenSolaris | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • TiVo Serial Null-Modem Networking on Windows Vista and 7
    The original series 1 TiVo used a built-in modem to connect to the internet to download program guide and channel listings. A few years ago,...
  • SSH is a versatile tool
    I had no idea SSH was so versatile. I moved to a new apartment a few months back. It comes with shared internet service for the complex. The...
  • Hackintosh Lion Triple Boot with Windows 7 and Linux
    My hard drive recently failed and took out all my operating systems. After replacing the drive, I spent a week figuring out how to get all t...
  • ImgBurn on Linux
    I've seen this covered in other places, but it never worked for me until today, so I thought I'd share my solution. First off, why w...
  • Snow Leopard 10.6.8 on VirtualBox 4 with Sandy Bridge
    Edit: 2013-May-23 -- This doesn't seem to work with new versions of VirtualBox. VirtualBox 4.1.24 seems to be the last version where thi...
  • numlock on kde under gentoo linux
    I find it very annoying that linux seems to have no uniform way to just turn the numlock on when the system comes on and leave it that way. ...
  • DVDFabHDDecrypter on Linux
    It's not too difficult to setup DVDFab under Linux using Wine, but there are a couple caveats. It seems the settings cannot be modified ...
  • Comcast, It's FRAUDtastic!
    There are plenty of stories about Comcast and their terrible customer service. It doesn't seem to faze them, but you never know. A small...
  • attempt to access beyond end of device
    I ran across this error the other day and couldn't figure out what it meant. For starters, it was talking about a partition that wasn...
  • Why Does Anyone Use OpenSolaris?
    I was trying to help someone on the filezilla forums who uses OpenSolaris . They weren't too familiar with how to compile their own bin...

Categories

  • 10.4
  • 10.6
  • 10.6.8
  • Advanced Format
  • binary
  • Burning
  • CD
  • Chameleon
  • Chimera
  • Comcast
  • core i5
  • dbus
  • dmesg
  • DNS
  • DOCSIS
  • dslreports
  • DVD
  • dvdauthor
  • DVDAuthorGUI
  • DVDFab
  • end of device
  • FileZilla
  • frontend
  • gentoo
  • gettext
  • GNU
  • gptfdisk
  • hackintosh
  • hibernation
  • iBoot
  • ImgBurn
  • Internet
  • kde
  • kdm
  • keychain
  • lCstd
  • ld
  • Linux
  • Lion
  • Mac
  • make
  • modem
  • Mountain Lion
  • msgmerge
  • MultiBeast
  • numlock
  • numlockx
  • OpenSolaris
  • OSX
  • proxy
  • qSimpleDvd
  • resume
  • reverse
  • ripping
  • Sandy Bridge
  • Snow Leopard
  • SOCKS5
  • speedtest
  • SSH
  • ssh-askpass
  • suspend
  • swap
  • Tiger
  • tunnel
  • VirtualBox
  • Windows
  • Wine
  • x11-ssh-askpass

Blog Archive

  • ►  2013 (1)
    • ►  September (1)
  • ►  2012 (2)
    • ►  October (1)
    • ►  May (1)
  • ►  2010 (2)
    • ►  October (1)
    • ►  January (1)
  • ▼  2009 (7)
    • ▼  March (2)
      • Why Does Anyone Use OpenSolaris?
      • Comcast, It's FRAUDtastic!
    • ►  January (5)
Powered by Blogger.

About Me

Unknown
View my complete profile