niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Tru64
Firefox 1.0.7 and latest C++ compiler (7.1)
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
Albert Chin
*nix forums beginner


Joined: 14 Dec 2003
Posts: 37

PostPosted: Fri Dec 02, 2005 5:26 pm    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Hayashi Naoyuki <netnews@culzean.org> wrote:
Quote:
Hi.
The problem(build OK, but cannot run) is occurred to the following
environment too.
target Firefox is trunk version.
Compaq C++ V7.1-006(V6.5-042 has no problem.)
gtk+ v1.2.10
glib v1.2.10
ORBit(libIDL) v0.5.7

Don't build with -O2. -O1 works. We've reported this problem to HP.

--
albert chin (china @at@ thewrittenword .dot. com)
Back to top
Hayashi Naoyuki
*nix forums beginner


Joined: 30 Nov 2005
Posts: 2

PostPosted: Thu Dec 01, 2005 2:29 pm    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

I succeeded in build of Firefox(trunk, gtk2) with the following tools.

Compaq C++ V6.5-042
pkgconfig-0.15.0.tar.gz
freetype-2.1.7.tar.gz
pcre-5.0.tar.gz
render-0.8.tar.gz
expat-1.95.8.tar.gz
fontconfig-2.3.1.tar.gz
xrender-0.8.3.tar.gz
libXft-2.1.7.tar.gz
glib-2.8.4.tar.gz
atk-1.10.3.tar.gz
cairo-1.0.2.tar.gz
pango-1.10.1.tar.gz
gtk+-2.8.7.tar.gz
popt-1.7.tar.gz
libIDL-0.8.6.tar.gz
ORBit2-2.13.2.tar.gz
and so on.

The compilation of some tools require patches.
e.g. ORBit2, cairo, expat and tools using "ld -pthread" when linking.
Back to top
Urs Traber
*nix forums beginner


Joined: 16 Nov 2005
Posts: 4

PostPosted: Thu Dec 01, 2005 9:26 am    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Below is how I configured mozilla so far (part of my makefile to build
a product kit). This builds with cxx V6.1-029 and runs with glib
v1.2.10, gtk+ v1.2.10, libIDL v0.6.8.

However, one of the problems I have with this is that images (bmp,
jpeg, png) are displayed in a screwed fashion by the browser. When I
clean gtk+ from the system and build with
--enable-default-toolkit=xlib, the image problem is gone but others
appear, e.g. mozilla hanging every time when I close one of its windows
(e.g. the properties box).

..../../configure $(BUILD_DIR)/Makefile : $(BUILD_DIR)
cd $(BUILD_DIR) && \
CFLAGS='-w0 -std1 -g' \
CXXFLAGS='-w1 -gall' \
CPPFLAGS='-I/usr/local/include' \
LDFLAGS=' -L/usr/local/lib' \
LD='ld' \
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 ../../configure \
--prefix=$(PREFIX) \
--mandir=$(PREFIX)/share/man \
--infodir=$(PREFIX)/share/info \
--with-default-mozilla-five-home=$(PREFIX)/lib/mozilla
\
--enable-debug \
--disable-optimize \
--enable-shared \
--disable-static \
--with-x \
--with-pthreads \
--with-libIDL-prefix=/usr/local \
--with-glib-prefix=/usr/local \
--with-gtk-prefix=/usr/local \
--enable-default-toolkit=gtk \
--enable-extensions \
--enable-crypto \
--with-system-jpeg=/usr/local \
--with-system-zlib=/usr/local \
--with-system-png=/usr/local \
--enable-image-decoders \
--enable-composer \
--enable-mailnews \
--enable-calender \
--disable-cpp-exceptions \
--disable-freetype2 \
--disable-xprint \
--disable-xinerama \
--disable-gssapi \
--disable-ctl \
--disable-gnomevfs \
--disable-tests \
$(NULL)
Back to top
Hayashi Naoyuki
*nix forums beginner


Joined: 30 Nov 2005
Posts: 2

PostPosted: Wed Nov 30, 2005 6:13 pm    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Hi.
The problem(build OK, but cannot run) is occurred to the following
environment too.
target Firefox is trunk version.
Compaq C++ V7.1-006(V6.5-042 has no problem.)
gtk+ v1.2.10
glib v1.2.10
ORBit(libIDL) v0.5.7


Strangely, it is possible to run Firefox builded with -gall option.

----- begin .mozconfig -------
.. $topsrcdir/browser/config/mozconfig
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize=""
ac_add_options --enable-crypto
ac_add_options --enable-extensions="default -negotiateauth"
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --enable-default-toolkit=gtk
----- end .mozconfig -------

build command(with -g, -gall option)
$ gmake -f client.mk \
CC="cc -pthread -g" \
CXX="cxx -pthread -gall" \
SHELL=/usr/bin/ksh \
CPPFLAGS="-I/usr/local/include" \
LDFLAGS="-L/usr/local/lib" \
build
Back to top
Urs Traber
*nix forums beginner


Joined: 16 Nov 2005
Posts: 4

PostPosted: Wed Nov 30, 2005 11:23 am    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

The problem I faced when I tried to build mozilla 1.7.12 with gtk2 is
that ./configure asked for libIDL >= 0.8. This is quite contrary to
what I have read: mozilla's IDL generator (xpidl) works with libIDL
0.6x versions only. I have tried 0.86 - and xpidl failed miserably ...

So what versions of the Gnome packages do you use?

libIDL
glib2
gtk2

Urs
Back to top
Albert Chin
*nix forums beginner


Joined: 14 Dec 2003
Posts: 37

PostPosted: Tue Nov 29, 2005 6:34 pm    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Urs Traber <urs.traber@swissonline.ch> wrote:
Quote:
Sorry that I can't give you any answer to your question since I am
still using V6.1-029.

What I would like to ask you is what X toolkit and version you build
against: gtk, gtk2 or xlib?

gtk2.

Quote:
I have been struggling building mozilla for quite some time now and any
combination is either so buggy (gtk, xlib) that it is unusable or does
not even build (gtk2).

We have Firefox, Mozilla, and Thunderbird built with V6.5-042 working
fine.

--
albert chin (china @at@ thewrittenword .dot. com)
Back to top
Urs Traber
*nix forums beginner


Joined: 16 Nov 2005
Posts: 4

PostPosted: Tue Nov 29, 2005 5:28 pm    Post subject: Re: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Hi Albert,

Sorry that I can't give you any answer to your question since I am
still using V6.1-029.

What I would like to ask you is what X toolkit and version you build
against: gtk, gtk2 or xlib?

I have been struggling building mozilla for quite some time now and any
combination is either so buggy (gtk, xlib) that it is unusable or does
not even build (gtk2).

TIA
Urs
Back to top
Albert Chin
*nix forums beginner


Joined: 14 Dec 2003
Posts: 37

PostPosted: Tue Nov 22, 2005 4:45 am    Post subject: Firefox 1.0.7 and latest C++ compiler (7.1) Reply with quote

Has anyone built Firefox 1.0.7 with the latest C++ compiler, v7.1? It
builds successfully but we get a lot of:
Incurred fault #32, FLTBOUNDS %pc = 0x000003FF80194588 addr = 0x000000011FFFA370
errors when running the executable with truss. The V6.5-042 compiler
has no problems running Firefox 1.0.7.

When IBM upgraded their compiler to v7, Firefox crashed on startup
(PR275004). It was due to a different stack layout in the new
compiler.

I've read through the release notes for the v7.1 compiler but don't
see anything obvious that would cause a problem.

--
albert chin (china @at@ thewrittenword .dot. com)
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Tue Jan 06, 2009 7:54 am | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Anyone interested in a 4gl compiler ? Mike Aubury MySQL 1 Fri Jul 21, 2006 1:53 pm
No new posts How to use Sun C Compiler in place of gcc? Richard B. Gilbert Solaris 6 Thu Jul 20, 2006 9:43 pm
No new posts again a newbie... :( compiler problems Thorsten Kaben C++ 18 Thu Jul 20, 2006 2:52 am
No new posts Weird gibberish when loading a gif in Firefox, but it's f... Edric Apache 9 Wed Jul 19, 2006 10:55 pm
No new posts latest configuration supported by Sarge Sumith augustine Debian 0 Wed Jul 19, 2006 12:40 pm

Mortgage Loans | Credit Counseling | Debt Consolidation | Bad Credit Mortgages | Buy WoW Gold
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4550s ][ Queries: 20 (0.3382s) ][ GZIP on - Debug on ]