Closed
Bug 1970
Opened 26 years ago
Closed 26 years ago
[PP] layout/tools doesn't build on linux
Categories
(Core :: Layout, defect, P1)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: akkzilla, Assigned: buster)
Details
Make fails for the following directories:
layout/html/tests
layout/base/tests
layout/tools
Reporter | ||
Updated•26 years ago
|
Assignee: toshok → rickg
Reporter | ||
Comment 1•26 years ago
|
||
Why are layout bugs going to toshok by default? Reassigning to rickg.
I have no way to build on Linux from home, so maybe Kevin can take a look at
this?
Comment 4•26 years ago
|
||
Looks like we are building and bundling the following in the daily
linux builds.
DumpColors FilesTest RegFactory TestAtoms TestCRT TestColorNames
TestFactory TestRec
Are there other test programs that should be getting built?
leaf/donm, can you have a look at what is going on in the
daily verifcation builds in these directories?
Comment 5•26 years ago
|
||
Looks like we are building and bundling the following in the daily
linux builds.
DumpColors FilesTest RegFactory TestAtoms TestCRT TestColorNames
TestFactory TestRec
Are there other test programs that should be getting built?
leaf/donm, can you have a look at what is going on in the
daily verifcation builds in these directories?
Updated•26 years ago
|
Assignee: kmcclusk → ramiro
Updated•26 years ago
|
Assignee: ramiro → mcafee
Summary: [PP] standalone tests don't build on linux → [PP] layout tests don't build on linux
Updated•26 years ago
|
Summary: [PP] layout tests don't build on linux → [PP] layout/tools doesn't build on linux
Comment 8•26 years ago
|
||
html & base tests are working on Linux, moving this
bug to focus on the tools stuff.
Updated•26 years ago
|
Assignee: mcafee → kipp
Comment 9•26 years ago
|
||
Kipp, is there anything to build in layout/tools?
It's not clear there's anything to do here for Unix,
but I see Makefile.in sitting there.
Comment 10•26 years ago
|
||
Theres some reference files and genhash.pl script. I think Chris Seawood added
this makfile for completeness, but its not really needed.
Comment 11•26 years ago
|
||
I fixed the stuff to build on linux (yay). However, you must install the gperf
rpm and build it before you can expect the build in that directory to work
(sigh) and gperf wasn't part of my standard linux install (its easy to get and
build, however).
Comment 12•26 years ago
|
||
I fixed the stuff to build on linux (yay). However, you must install the gperf
rpm and build it before you can expect the build in that directory to work
(sigh) and gperf wasn't part of my standard linux install (its easy to get and
build, however).
Updated•26 years ago
|
QA Contact: 3819
Comment 13•26 years ago
|
||
presuming akkana agrees with the fix, will mark as verified.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 14•26 years ago
|
||
I have gperf-2.7-2. When I type make in objdir/layout/tools, it creates a bunch
of .cpp files, but doesn't actually compile anything. Is that what it's
supposed to do?
If I build in objdir/layout/html/tests, I get a link error:
/usr/bin/ld: warning: libraptorhtmlpars.so, needed by
../../../dist/./bin/libraptorhtml.so, not found (try using --rpath)
/usr/bin/ld: warning: libraptorgfx.so, needed by
../../../dist/./bin/libraptorhtml.so, not found (try using --rpath)
/usr/bin/ld: warning: libjsdom.so, needed by
../../../dist/./bin/libraptorhtml.so, not found (try using --rpath)
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptDocument'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_TagToEnum(char
const *)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsRect::Deflate(int, int)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptStyleSheetCollection'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsRect::Deflate(nsMargin const &)'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_ColorNameToRGB'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptHTMLCollection'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`operator<<(_IO_FILE *, nsRect const &)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptEventListener'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsRect::IntersectRect(nsRect const &, nsRect const &)'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_Get3DColors'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_NewImageGroup'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewWellFormed_DTD(nsIDTD **)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptCSSStyleRuleCollection'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_EnumToTag(nsHTMLTag)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewNavHTMLDTD(nsIDTD **)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsFont::nsFont(char const *, unsigned char, unsigned char, unsigned short,
unsigned char, int)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsRect::Inflate(int, int)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_GetSpecial3DColors'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptCSSStyleRule'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsFont::nsFont(nsFont const &)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsRect::Contains(int, int) const'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_EntityToUnicode(char const *)'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_HexToRGB'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptCSS2Properties'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsFont::operator=(nsFont const &)'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`nsFont::~nsFont(void)'
../../../dist/./bin/libraptorhtml.so: undefined reference to `NS_LooseHexToRGB'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptHTMLDocument'
../../../dist/./bin/libraptorhtml.so: undefined reference to
`NS_NewScriptCSSStyleSheet'
and similarly in layout/base/tests.
If I try to build from the top with --enable-tests, then it tries to build these
.cpp files, but fails:
nsColorNames.cpp:2: syntax error before `::'
What is the approved way to build tests so that these errors don't happen, and
why can't I just cd into the directory and type "make" to make them?
Comment 15•26 years ago
|
||
Building in layout/tools only generates source files and then copies them into
place where later builds can use them. The only time the build is done is when
generated files need updating (we don't normally generate generated files during
the build - especially this directory).
So, in summary, yes its working correctly. If you are having problems building
in layout/base/tests and layout/html/base/tests during a normal build, please
file a new bug.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 16•26 years ago
|
||
marking verified
You need to log in
before you can comment on or make changes to this bug.
Description
•