Error when trying to compile gnome-web-photo-0.5
I've installed all the pre-requisites for this program, and all the .h header files that it complains about are on the system, but I don't see their paths in the make output.
I've tried to manually modify the Makefiles and add in the paths, but every time I add another path, it complains about not being able to find something else. I think I'm just doing something wrong and the install instructions aren't helpful (it just says to do a regular ./configure without any arguments). Any suggestions? Here's the output:
[root@horse1b gnome-web-photo-0.5]# make
make all-recursive
make[1]: Entering directory `/root/gnome-web-photo-0.5'
Making all in src
make[2]: Entering directory `/root/gnome-web-photo-0.5/src'
g++ -DHAVE_CONFIG_H -I. -I.. -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/. -I/content -I/docshell -I/dom -I/embed_base -I/gfx -I/gtkembedmoz -I/layout -I/locale -I/necko -I/pipnss -I/pref -I/uriloader -I/view -I/webbrwsr -I/widget -I/windowwatcher -I/xpcom -DSHARE_DIR=\"/usr/local/share/gnome-web-photo\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGECKO_HOME=\"\" -DGECKO_PREFIX=\"\" -DXPCOM_GLUE_USE_NSPR -DXPCOM_GLUE -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-module-2.0 -fno-rtti -fshort-wchar -fvisibility=hidden -UGTK_DISABLE_DEPRECATED -g -O2 -Wall -Wno-unused -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -g -O2 -MT gnome_web_photo-Components.o -MD -MP -MF .deps/gnome_web_photo-Components.Tpo -c -o gnome_web_photo-Components.o `test -f 'Components.cpp' || echo './'`Components.cpp
Components.cpp:21:28: error: mozilla-config.h: No such file or directory
In file included from Components.cpp:24:
Components.h:24:18: error: nspr.h: No such file or directory
Components.cpp:26:22: error: nsCOMPtr.h: No such file or directory
Components.cpp:27:31: error: nsIServiceManager.h: No such file or directory
Components.cpp:28:35: error: nsIComponentRegistrar.h: No such file or directory
Components.cpp:29:31: error: nsIGenericFactory.h: No such file or directory
Components.cpp:30:22: error: nsMemory.h: No such file or directory
Components.cpp:31:24: error: nsEmbedCID.h: No such file or directory
Components.cpp:32:30: error: nsIPromptService.h: No such file or directory
Components.h:26: error: ‘PRBool’ does not name a type
Components.cpp:45: error: expected class-name before ‘{’ token
Components.cpp:47: error: ‘NS_DECL_ISUPPORTS’ does not name a type
Components.cpp:56: error: ‘nsIPromptService’ has not been declared
Components.cpp:59: error: expected constructor, destructor, or type conversion before ‘NS_IMETHODIMP’
Components.cpp:66: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:74: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:82: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:91: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:104: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:113: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:123: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:132: error: ‘NS_IMETHODIMP’ does not name a type
Components.cpp:150: error: expected constructor, destructor, or type conversion before ‘static’
make[2]: *** [gnome_web_photo-Components.o] Error 1
make[2]: Leaving directory `/root/gnome-web-photo-0.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-web-photo-0.5'
make: *** [all] Error 2
[root@horse1b gnome-web-photo-0.5]# locate mozilla-config.h
/usr/include/xulrunner-sdk-1.9/mozilla-config.h
[root@horse1b gnome-web-photo-0.5]# locate nspr.h
/usr/include/nspr4/nspr.h
/usr/include/xulrunner-sdk-1.9/system_wrappers/nspr.h
[root@horse1b gnome-web-photo-0.5]# locate nsCOMPtr.h
/usr/include/xulrunner-sdk-1.9/stable/nsCOMPtr.h
/usr/include/xulrunner-sdk-1.9/xpcom/nsCOMPtr.h
[root@horse1b gnome-web-photo-0.5]#
|