Andrew Benton wrote:
Dan McGhee wrote:
This is another one of those it says "no such file or directory," but
it's there. This is the first time I've ever had a firefox build
fail. I'm really mystified.
Here's the log excerpt:
c++ -o nsDeviceContextGTK.o -c
-I../../../dist/include/system_wrappers -include
/usr/src/firefox/mozilla/config/gcc_hidden.h -DNATIVE_THEME_SUPPORT
-DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6.12\" -DOSARCH=\"Linux\"
-DBUILD_ID=0000000000 -DUSE_POSTSCRIPT -I../..
-I/usr/src/firefox/mozilla/gfx/src/gtk/.
-I/usr/src/firefox/mozilla/gfx/src/gtk/..
-I/usr/src/firefox/mozilla/gfx/src/gtk/../shared
-I/usr/src/firefox/mozilla/gfx/src/gtk/../x11shared
-I/usr/X11R7/include -I/usr/include/freetype2
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/widget -I../../../dist/include/view
-I../../../dist/include/util -I../../../dist/include/pref
-I../../../dist/include/uconv -I../../../dist/include/unicharutil
-I../../../dist/include/locale -I../../../dist/include/necko
-I../../../dist/include/content -I../../../dist/include/layout
-I../../../dist/include/gfx -I../../../dist/include
-I../../../dist/include/nspr -I../../../dist/sdk/include
-fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread
-pipe -DNDEBUG -DTRIMMED -O -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsDeviceContextGTK.pp
/usr/src/firefox/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp
In file included from
/usr/src/firefox/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:70:
../../../dist/include/system_wrappers/pango/pangox.h:3:31: error:
pango/pangox.h: No such file or directory
make[5]: Leaving directory
`/usr/src/firefox/mozilla/firefox-build/gfx/src/gtk'
make[5]: *** [nsDeviceContextGTK.o] Error 1
In the ./mozilla source tree:
# find ./ -name "pangox.h" -print
./firefox-build/config/system_wrappers/pango/pangox.h
The file it's looking for is /usr/include/pango-1.0/pango/pangox.h,
does it exist?
find /usr -name pangox.h 2> /dev/null
This got me to thinking. BTW, no it didn't exist and I knew it. I
erroneously continued on since the file was in the mozilla build
directory--or so I thought. pangox.h in this directory was three
"commented out" lines.
I found this line in the pango-1.10.2 /pango/Makefile:
#am__append_3=pangox.h
Note that this line is commented.
I'm building from BLFS SVN and have Xorg-7.0 installed. I added
--x-includes=/usr/X11R7/include
--x-libraries=/usr/X11R7/lib
to the pango ./configure command. The line in the Makefile was now not
commented.
The build of firefox failed again but not at pango.
[mozilla-remote-client] this time, but that's fodder for a different thread.
Thanks for helping get my brain engaged, Andy.
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page