Building on Solaris

Discussion of general topics about Mozilla Firefox
Post Reply
Robert Archer
Posts: 4
Joined: November 5th, 2002, 5:32 pm
Location: Adelaide, South Australia

Building on Solaris

Post by Robert Archer »

Hi all,

We're looking for a new browser for ~50 Solaris systems in a University environment. I've installed NS 7, but it's big & slow.... I'm very impressed with Phoenix 0.4 on Windows (nicer than IE, quicker than Moz) and hoping to try it on Solaris.

It's not currently on sunfreeware.com, and a quick trawl throught the FAQ and Google didn't turn up much on cross-platform building - has anyone had success with getting it up & running on Sun boxes?

Thanks
Rob.
User avatar
tmb
Posts: 55
Joined: November 5th, 2002, 1:44 pm
Contact:

Post by tmb »

somebody had something about solaris builds on the old forums, but they aren't accessable anymore
lar3ry
Posts: 87
Joined: November 4th, 2002, 8:27 pm

Re: Building on Solaris

Post by lar3ry »

Robert Archer wrote:We're looking for a new browser for ~50 Solaris systems in a University environment. I've installed NS 7, but it's big & slow.... I'm very impressed with Phoenix 0.4 on Windows (nicer than IE, quicker than Moz) and hoping to try it on Solaris.


I have the same problem (for a different platform: Tru64 Unix/Alpha).

What I've done is taken the instructions from http://phoenix.ragweed.net/build and used them to create an XFT version of Phoenix on my RedHat 8.0 system. (I know... it's not Solaris NOR Tru64... bear with me!).

Now that I've actually generated a build, the next step is to repeat the procedure on my Tru64 box (omitting XFT, of course). Once I have this working, I'll post a comment on what needed to be done in the "Phoenix General" board on this forum, which may hopefully give some clues to others trying to build on non-Windows and non-Linux platforms. Hopefully, this "how to" may even get posted to David Tenser's Phoenix Help web site.
"As God is my witness, I thought turkeys could fly!" - A. Carlson
Robert Archer
Posts: 4
Joined: November 5th, 2002, 5:32 pm
Location: Adelaide, South Australia

Post by Robert Archer »

Thanks both - I've found the link for the old forums, so I'm reading the archives & ragweed.net as we speak... if I have success, I'll script it & post a summary.
scf2004
Posts: 1
Joined: November 14th, 2002, 7:00 pm

Re: Building on Solaris

Post by scf2004 »

Hi,

here's how I built 0.3...

If I can either figure out how to turn off xft in the build or
fix xft ... I'll repost for 0.4....

... Does anyone know how to switch off xft in the build!!!

Regards,

Stephen

---

Solaris SPARC - Phoenix 0.3 Build HOWTO v1.0 10/23/02

* Using the following OS:

SunOS bali 5.8 Generic sun4u sparc SUNW,Ultra-1

... with the following patches installed:

Patch: 110934-05
Patch: 110380-04
Patch: 108652-27
Patch: 108940-14
Patch: 108921-11

* Using the following GNU compiler (gcc -v):

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)

* Using 'bash' as my shell

* With 'cvs' from:

http://www.cvshome.org/dev/codeunix.html

* Using Perl 5.8.0 from:

http://www.sunfreeware.com/

... installed from this source. Without this the make fails.

* I built the following prerequisites:

(all configured with the default --prefix=/usr/local)

* With:

atk-1.0.3
atk-1.0.3.tar.gz

glib-2.0.6
glib-2.0.6.tar.gz

... both from: http://ftp.gnome.org/pub/GNOME/sources/

* With:

flex-2.5.4a.tar.gz
flex-2.5.4

... from: http://www.gnu.org/software/flex/#downloading

* With:

gtk+-2.0.6.tar.gz
gtk+-2.0.6

... from: ftp://ftp.gtk.org/pub/gtk/v2.0

* With:

pango-1.0.5
pango-1.0.5.tar.gz

... from: http://www.pango.org/download.shtml

* With:

pkgconfig-0.14.0
pkgconfig-0.14.0.tar.gz

... from: http://www.freedesktop.org/software/pkgconfig

* With:

libIDL-2.0

... from:

http://www.labs.redhat.com/orbit/

Under: /pub/gnome/sources/libIDL/0.8

* In a clear/clean directory I checked out the Mozilla source using the notes at:

http://mozilla.org/cvs.html

% export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
% cvs login
(Logging in to anonymous@cvs-mirror.mozilla.org)
CVS password: anonymous

% cvs checkout mozilla/client.mk
U mozilla/client.mk

% cd mozilla
% make -f client.mk checkout

* During my initial build I got an error from make ... :-)

gmake[3]: *** No rule to make target `export'. Stop.
gmake[3]: Leaving directory `mozbuild/mozilla/toolkit'

... so I searched and found I needed to checkout the browser/toolkit via:

% cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot checkout mozilla/browser
% cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot checkout mozilla/toolkit

( ... tags for the version: -r PHOENIX_0_3_RELEASE ... )

* Guided by:

http://lxr.mozilla.org/mozilla/source/b ... EADME.html

* With the following set:

% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

* Then for Phoenix 0.3 I followed:

http://lxr.mozilla.org/mozilla/source/b ... EADME.html

On my Solaris machine I had to remove the 'export' before:

% export MOZ_PHOENIX=1

... in my .mozconfig file.

* Then I configured Phoenix:

% ./configure --enable-default-toolkit=gtk2

* Followed by a build:

% ./make

* After the build, the runtime is under:

dist/bin/phoenix
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

My vote would be for this thread to become sticky :)
(and a mod could delete this message at the same time)
User avatar
spark
Posts: 327
Joined: November 6th, 2002, 9:28 am
Location: UK

Re: Building on Solaris

Post by spark »

Maybe David Tenser could add this information somewhere on the excellent <a href="http://texturizer.net/phoenix/faq.html">Phoenix Help</a> site.

-spark
statiic
Posts: 1
Joined: November 25th, 2002, 11:56 am

Phoenix build on Solaris failing on Chrome?

Post by statiic »

Am trying to build Phoenix 0.4 on Solaris 8 (Sparc). Have read this thread and the one other on compiling Phoenix on sparc/solaris. I have all the required packages and checked out the latest mozilla source tree and updated the browser and toolkit via cvs. Shell is bash, have .mozconfig and LD_LIBRARY_PATH all set.

When I build (and it takes a looooong time on my trusty U30) it errors out when it starts making chrome (part of the ui I believe??). Says that it is looking for 0.8 version of a spec file and only find 0.6??? I have been digging thru the forums, good, usenet, etc... and am not finding anything. The spec file is in toolkit.jar I believe which is confusing because if I did a cvs update on the toolkit you would think I have the latest.

Any info would be greatly appreciated.

Thx,

- statiic
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Re: Building on Solaris

Post by djst »

spark wrote:Maybe David Tenser could add this information somewhere on the excellent <a href="http://texturizer.net/phoenix/faq.html">Phoenix Help</a> site.

-spark


I just don't know where this information would be appropriate on the site.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Re: Building on Solaris

Post by Stefan »

djst wrote:
spark wrote:Maybe David Tenser could add this information somewhere on the excellent <a href="http://texturizer.net/phoenix/faq.html">Phoenix Help</a> site.

-spark


I just don't know where this information would be appropriate on the site.


In the FAQ perhaps in a new section with OS specific issues?
The info itself should probably be on a separet page linked from the FAQ page.
asa
Posts: 684
Joined: November 4th, 2002, 4:16 pm
Location: CA
Contact:

Re: Building on Solaris

Post by asa »

Stefan wrote:
djst wrote:
spark wrote:Maybe David Tenser could add this information somewhere on the excellent <a href="http://texturizer.net/phoenix/faq.html">Phoenix Help</a> site.

-spark


I just don't know where this information would be appropriate on the site.


In the FAQ perhaps in a new section with OS specific issues?
The info itself should probably be on a separet page linked from the FAQ page.


Actually, this kind of info belongs on a developer site. David's pages are user oriented.
--Asa
"You'd PAY to know what you REALLY think." --Dobbs 1961
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Re: Building on Solaris

Post by djst »

asa wrote:
Stefan wrote:
djst wrote:
spark wrote:Maybe David Tenser could add this information somewhere on the excellent <a href="http://texturizer.net/phoenix/faq.html">Phoenix Help</a> site.

-spark


I just don't know where this information would be appropriate on the site.


In the FAQ perhaps in a new section with OS specific issues?
The info itself should probably be on a separet page linked from the FAQ page.


Actually, this kind of info belongs on a developer site. David's pages are user oriented.
--Asa


That's what I feel about this too. I don't think users goes to Phoenix Help to get information about how to build Phoenix on Solaris. Maybe a separate "developer's FAQ" could be added, but I don't have enough material to make that a decent faq yet.
Post Reply