Bootstrapping GNU Classpath on Fedora Core 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
Is there a small tutorial on how to bootstrap GNU classpath on Fedora Core 5?
I am trying to build it and use it, but I fail time and again.

I did:
1. wget ftp://ftp.gnu.org/pub/gnu/classpath/classpath-0.92.tar.gz
2. tar xvfz classpath-0.92.tar.gz
3. cd classpath-0.92
4. ./configure --prefix=/home/ash/GNUCP --with-jikes --disable-gtk-peer
5. make
I got an error (it is given down)


Then I tried a CVS co:

1. cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxx:/sources/classpath co .
2. cd casspath
3. ./autogen.sh --prefix=/home/ash/GNUCP --with-jikes --disable-gtk-peer
4. make

and I get the same error given below (I compared them with diff - they are the same)
Any ideas what I am doing wrong?
Another thing - which package provides the dependencies for gtk-peer?

Kind regards:
al_shopov

=====================ERROR==============================================
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -DAPPLETVIEWER_EXECUTABLE=\"/home/ash/GNUCP/bin/gappletviewer\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT libgcjwebplugin_la-gcjwebplugin.lo -MD -MP -MF .deps/libgcjwebplugin_la-gcjwebplugin.Tpo -c gcjwebplugin.cc -fPIC -DPIC -o .libs/libgcjwebplugin_la-gcjwebplugin.o
gcjwebplugin.cc:47:19: error: npapi.h: No such file or directory
gcjwebplugin.cc:48:19: error: npupp.h: No such file or directory
gcjwebplugin.cc:55:21: error: gtk/gtk.h: No such file or directory
gcjwebplugin.cc:61:31: error: nsIPluginInstance.h: No such file or directory
gcjwebplugin.cc:62:35: error: nsIPluginInstancePeer.h: No such file or directorygcjwebplugin.cc:63:31: error: nsIPluginTagInfo2.h: No such file or directory gcjwebplugin.cc:145: error: ISO C++ forbids declaration of 'NS_DEFINE_IID' with no type gcjwebplugin.cc:145: error: 'kIPluginTagInfo2IID' was not declared in this scopegcjwebplugin.cc:145: error: 'NS_IPLUGINTAGINFO2_IID' was not declared in this scope gcjwebplugin.cc:145: error: initializer expression list treated as compound expression
gcjwebplugin.cc:148: error: 'NPNetscapeFuncs' does not name a type
gcjwebplugin.cc:185: error: 'NPP' does not name a type
gcjwebplugin.cc:203: error: ISO C++ forbids declaration of 'nsIPluginTagInfo2' with no type
gcjwebplugin.cc:203: error: expected ';' before '*' token
gcjwebplugin.cc:210: error: 'NPP' was not declared in this scope
gcjwebplugin.cc:225: error: 'NPError' does not name a type
gcjwebplugin.cc:226: error: 'int16' was not declared in this scope
gcjwebplugin.cc:226: error: expected primary-expression before 'char'
gcjwebplugin.cc:227: error: expected primary-expression before 'char'
gcjwebplugin.cc:227: error: initializer expression list treated as compound expression
gcjwebplugin.cc:264: error: 'NPError' does not name a type
gcjwebplugin.cc:586: error: 'NPError' does not name a type
gcjwebplugin.cc:615: error: 'NPError' does not name a type
gcjwebplugin.cc:643: error: 'NPError' does not name a type
gcjwebplugin.cc:757: error: 'NPError' does not name a type
gcjwebplugin.cc:769: error: variable or field 'GCJ_StreamAsFile' declared void
gcjwebplugin.cc:769: error: 'NPP' was not declared in this scope
gcjwebplugin.cc:769: error: 'NPStream' was not declared in this scope
gcjwebplugin.cc:769: error: 'stream' was not declared in this scope
gcjwebplugin.cc:769: error: expected primary-expression before 'const'
gcjwebplugin.cc:769: error: initializer expression list treated as compound expression
gcjwebplugin.cc:770: error: expected ',' or ';' before '{' token
gcjwebplugin.cc:776: error: 'NPError' does not name a type
gcjwebplugin.cc:786: error: 'int32' does not name a type
gcjwebplugin.cc:796: error: 'int32' does not name a type
gcjwebplugin.cc:808: error: variable or field 'GCJ_Print' declared void
gcjwebplugin.cc:808: error: 'NPP' was not declared in this scope
gcjwebplugin.cc:808: error: 'NPPrint' was not declared in this scope
gcjwebplugin.cc:808: error: 'platformPrint' was not declared in this scope
gcjwebplugin.cc:808: error: initializer expression list treated as compound expression
gcjwebplugin.cc:809: error: expected ',' or ';' before '{' token
gcjwebplugin.cc:815: error: 'int16' does not name a type
gcjwebplugin.cc:826: error: variable or field 'GCJ_URLNotify' declared void
gcjwebplugin.cc:826: error: 'NPP' was not declared in this scope
gcjwebplugin.cc:826: error: expected primary-expression before 'const'
gcjwebplugin.cc:826: error: 'NPReason' was not declared in this scope
gcjwebplugin.cc:827: error: expected primary-expression before 'void'
gcjwebplugin.cc:827: error: initializer expression list treated as compound expression
gcjwebplugin.cc:828: error: expected ',' or ';' before '{' token
gcjwebplugin.cc:834: error: 'jref' does not name a type
gcjwebplugin.cc: In function 'void plugin_data_new(GCJPluginData**)':
gcjwebplugin.cc:852: error: 'browserFunctions' was not declared in this scope
gcjwebplugin.cc: At global scope:
gcjwebplugin.cc:868: error: redefinition of 'gchar* plugin_get_documentbase'
gcjwebplugin.cc:210: error: 'gchar* plugin_get_documentbase' previously defined here
gcjwebplugin.cc:868: error: 'NPP' was not declared in this scope
gcjwebplugin.cc:145: warning: 'NS_DEFINE_IID' defined but not used
gcjwebplugin.cc:151: warning: 'data_directory' defined but not used
gcjwebplugin.cc:154: warning: 'whitelist_filename' defined but not used
gcjwebplugin.cc:847: warning: 'void plugin_data_new(GCJPluginData**)' defined but not used
gcjwebplugin.cc:210: warning: 'plugin_get_documentbase' defined but not used
gcjwebplugin.cc:212: warning: 'bool plugin_failed()' declared 'static' but never defined gcjwebplugin.cc:214: warning: 'bool plugin_user_trusts_documentbase(char*)' declared 'static' but never defined gcjwebplugin.cc:215: warning: 'bool plugin_ask_user_about_documentbase(char*)' declared 'static' but never defined gcjwebplugin.cc:216: warning: 'void plugin_add_documentbase_to_whitelist(char*)' declared 'static' but never defined gcjwebplugin.cc:220: warning: 'gboolean plugin_in_pipe_callback(GIOChannel*, GIOCondition, void*)' declared 'static' but never defined gcjwebplugin.cc:224: warning: 'gboolean plugin_out_pipe_callback(GIOChannel*, GIOCondition, void*)' declared 'static' but never defined gcjwebplugin.cc:226: warning: 'plugin_create_applet_tag' defined but not used gcjwebplugin.cc:229: warning: 'void plugin_send_message_to_appletviewer(GCJPluginData*, const gchar*)' declared 'static' but never defined gcjwebplugin.cc:230: warning: 'void plugin_stop_appletviewer(GCJPluginData*)' declared 'static' but never defined gcjwebplugin.cc:232: warning: 'void plugin_data_destroy(GCJPluginData**)' declared 'static' but never defined
gcjwebplugin.cc:236: warning: 'plugin_instance_mutex' defined but not used
gcjwebplugin.cc:238: warning: 'plugin_instance_counter' defined but not used
gcjwebplugin.cc:240: warning: 'whitelist_file' defined but not used
gcjwebplugin.cc:243: warning: 'channel_error' defined but not used
make[2]: *** [libgcjwebplugin_la-gcjwebplugin.lo] Error 1
make[2]: Leaving directory `/home/ash/classpath-0.92/native/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ash/classpath-0.92/native'
make: *** [all-recursive] Error 1
[ash@void classpath-0.92]$
=====================ERROR==============================================


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux