OpenBSD Journal

Phoenix for OpenBSD

Contributed by jose on from the more-efficient-browsers dept.

The folks at OpenBeer are at it again. This time they have put together an article entitled A short recipe for building Phoenix on OpenBSD . This is somewhat limited, as the Mozilla and Phoenix codebase only work on a.out systems. However, if you're on 3.3-release, this may work nicely for you. If you're using -current and you want to learn about linkers and loaders, I wholeheartedly encourage you to try and get Mozilla and Phoenix working on an ELF system. You'll learn more by debugging the problems in that than you may imagine.

(Comments are closed)


Comments
  1. By Anonymous Coward () on

    I've trid it .
    much smaller and faster than Moz :-)

    Comments
    1. By Anonymous Coward () on

      Phoenix and Moz work great on pre-ELF OpenBSD. But I've been having a helluva time trying to get it to work with ELF...

    2. By emagius () on

      Then again, soon Phoenix will be Mozilla (or vice versa) as they migrate to the Phoenix code from the bloat that was Mozilla. =)

  2. By Chris Humphries () on

  3. By waldo () on

    i've tried these instructions, i've tried others i've found on the net, they've all failed like this:

    ---[snip]---
    ld -Bshareable /usr/lib/c++rt0.o -o libxpcom.so.1.0 nsXPComInit.o -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a ../../dist/lib/libstring_obsolete_s.a ../../dist/lib/libxpcomglue_s.a -Wl,--no-whole-archive -L/tmp/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lm
    ld: unrecognized option 'nsXPComInit.o'
    ld: use the --help option for usage information
    gmake[4]: *** [libxpcom.so.1.0] Error 1
    gmake[4]: Leaving directory `/tmp/mozilla/xpcom/build'
    gmake[3]: *** [libs] Error 2
    gmake[3]: Leaving directory `/tmp/mozilla/xpcom'
    gmake[2]: *** [tier_2] Error 2
    gmake[2]: Leaving directory `/tmp/mozilla'
    gmake[1]: *** [default] Error 2
    gmake[1]: Leaving directory `/tmp/mozilla'
    gmake: *** [build] Error 2
    $
    ---[end]---

    i've met all the dependencies, applied the patches, updated in cvs ... running
    a snapshot downloaded 18 april 2003, so it should effectively be 3.3 ... any thoughts?

    Comments
    1. By Anonymous Coward () on

      The snapshots you are running are ELF. Mozilla / Phoenix dont build on ELF OpenBSD yet. Read the article.

      Comments
      1. By David Krause () on

        Mozilla most definitely builds on i386/ELF. Now actually running is a totally different matter. The in-tree port (ports/www/mozilla) has the latest patches.

        Comments
        1. By Anonymous Coward () on

          Why don't post your ELF build instructions? The port is marked broken in -current. The source build breaks with :
          ld: unrecognized option 'nsXPComInit.o' . Everything built fine before the ELF transition. What needs to be done to get Moz/Phoenix running under ELF?

      2. By waldo () waldo@iastate.edu on mailto:waldo@iastate.edu

        i /did/ read the article. that's not the problem :]
        the problem is, i thought elf binaries weren't coming until 3.4. my bad. crap. so ... instructions for elf binaries anyone?
        -w

  4. By shawn () on

    What the difference between a.out and ELF ?

  5. By john () bob@bob.com on mailto:bob@bob.com

    this sadens me

    the mozilla suite worked well and was just starting to get calendar and meeting....

    now what is ORBIT needed for I thought that they where striping it down

    if your going to use CORBA/COM go the whole way dont kludge it

    I feel sick

    john

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]