Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11034 - Mozilla 1.2_beta bad headers
Summary: Mozilla 1.2_beta bad headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-20 19:18 UTC by José Fonseca
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Fonseca 2002-11-20 19:18:25 UTC
I've emerged mozilla-1.2_beta. It seams to be working ok, but when trying to
emerge galeon-cvs one gets errors like this:

  /usr/lib/mozilla/include/xpcom/nsCppSharedAllocator.h:6:10: #include expects
"FILENAME" or <FILENAME>

In that file one finds stuff like:
  
  #include NEW_H                                  // to allow placement |new|

It's not clear, but it seems that some preprocessing of the headers wasn't made
before install.
Comment 1 José Fonseca 2002-11-20 19:29:24 UTC
Just a more note: making 'find /usr/lib/mozilla/include/ | xargs grep NEW_H' shows:

/usr/lib/mozilla/include/string/nsBufferHandleUtils.h:#include NEW_H
/usr/lib/mozilla/include/xpcom/nsCppSharedAllocator.h:#include NEW_H           
                        //
 to allow placement |new|
/usr/lib/mozilla/include/xpcom/nsFixedSizeAllocator.h:    #include NEW_H //
You'll need this!
/usr/lib/mozilla/include/mozilla-config.h:#define NEW_H <new>


Sot it's not clear if it's a problem in mozilla installation or simply galeon is
not include mozilla-config.h. For completeness I checked nsCppSharedAllocator.h
on RedHat 8.0's Mozilla 1.01 and it has:

#include <new.h>                                        // to allow placement |new

and there is no mozilla-config.h on the system.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2002-11-21 02:29:43 UTC
In the ebuild of galeon-cvs in the src_compile() part change 

--with-mozilla-snapshot 

to 

--with-mozilla-snapshot=1.2

At least this solved the problem for me...
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2002-11-21 02:31:06 UTC
In the ebuild of galeon-cvs in the src_compile() part change 

--with-mozilla-snapshot 

to 

--with-mozilla-snapshot=1.2

At least this solved the problem for me...
Comment 4 José Fonseca 2002-11-21 06:53:40 UTC
It solved the problem for me too. Thanks, Suka!

Perhaps that change to gentoo-cvs ebuild should be commited to portage.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-21 15:21:54 UTC
Know about the problem, and the fix for galeon-cvs.  galeon-cvs is however not
my baby, and
I havent had time yet to fix mozilla.  Anyhow, mozilla with Xft2.0 looks much
better than galeon :/
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 07:16:06 UTC
mozilla-1.2 out that fixes this.