LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-24-2008, 05:26 PM   #1
jhilgeman
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
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]#
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache HTTP web server 2.2.8 compile error gully300 Linux - Server 7 06-17-2008 02:16 AM
[SOLVED] web photo gallery generator aihaike Linux - Software 2 01-31-2008 08:11 AM
gnome-web-photo running against large files robbbert Linux - Desktop 0 10-01-2006 10:18 AM
Good distribution for web photo gallery? 2500hd Linux - Distributions 3 07-31-2005 06:24 PM
Best web photo gallery? pantoniades Linux - Software 10 03-19-2005 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration