Re: Bootstrapping GNU Classpath on Fedora Core 5
Hi all. Robert added the package names needed on Debian to the developer wiki: http://developer.classpath.org/mediation/ClasspathFirstSteps#head-ef627d3b855ba73a11250a2b1fd9a51af45348c8 Thanks Mark for pointing this out. I read the discussion when not sitting at my own computer while preparing a development environment for Classpath. I took this opportunity to document which packages I had to install for a successfull build. It would probably be a good idea to add the development package names for the major GNU/Linux distributions to the INSTALL file. I second that. Please add these package names to the Wiki *and* if you follow the instructions and something did not work the way it was described please change the instructions. :) cya Robert signature.asc Description: OpenPGP digital signature
Re: Bootstrapping GNU Classpath on Fedora Core 5
On Sat, 2006-09-02 at 14:32 -0600, Tom Tromey wrote: Paul == Paul Jenner [EMAIL PROTECTED] writes: Paul IMHO the INSTALL file in the distribution should contain enough detail Paul on requirements for people to be able to build. I'll take a look at Paul updating that if necessary and maybe compare notes with you offline Paul Alexander? Yeah, that would be handy. Updating it for all the distros when things change may be a bit painful, but it is worth trying. Robert added the package names needed on Debian to the developer wiki: http://developer.classpath.org/mediation/ClasspathFirstSteps#head-ef627d3b855ba73a11250a2b1fd9a51af45348c8 It would probably be a good idea to add the development package names for the major GNU/Linux distributions to the INSTALL file. Cheers, Mark
Re: Bootstrapping GNU Classpath on Fedora Core 5
Alexander Another thing - which package provides the dependencies for Alexander gtk-peer? gtk2-devel Actually - I had gtk2-devel. What was missing ws libXtest-devel. Kind regards: al_shopov
Re: Bootstrapping GNU Classpath on Fedora Core 5
IMHO the INSTALL file in the distribution should contain enough detail on requirements for people to be able to build. I'll take a look at updating that if necessary and maybe compare notes with you offline Alexander? In hindsight - yes it did. It turned out that I did not have libXtst-devel and its dependencies installed. Kind regards: al_shopov
Re: Bootstrapping GNU Classpath on Fedora Core 5
Paul == Paul Jenner [EMAIL PROTECTED] writes: Paul IMHO the INSTALL file in the distribution should contain enough detail Paul on requirements for people to be able to build. I'll take a look at Paul updating that if necessary and maybe compare notes with you offline Paul Alexander? Yeah, that would be handy. Updating it for all the distros when things change may be a bit painful, but it is worth trying. Paul If mozilla devel dependency is not available on the system, I think it Paul should be picked up at configure time and either error or disable plugin Paul then, not have configure step succeed but compile fail later. I like configure arguments in situations like this to be 3-state: if nothing is specified, default to what is on the system, but if the feature is explicitly requested, error out during configure if the dependencies are not available. This lets us maintain best effort -- handy for builds in eclipse, for instance -- but also lets power users request a specific set of features and get a real failure if the request can't be satisfied. Tom
Bootstrapping GNU Classpath on Fedora Core 5
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:[EMAIL PROTECTED]:/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'
Re: Bootstrapping GNU Classpath on Fedora Core 5
Il giorno ven, 01/09/2006 alle 19.58 +0300, Alexander Shopov ha scritto: 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) Hi! As a really super fast look, it seems that you need to disable gcjplugin. Try adding this flag also: --disable-plugin Mario -- Lima Software, SO.PR.IND. s.r.l. http://www.limasoftware.net/ pgp key: http://subkeys.pgp.net/ Proud GNU Classpath developer: http://www.classpath.org/ Read About us at: http://planet.classpath.org Please, support open standards: http://opendocumentfellowship.org/petition/ http://www.nosoftwarepatents.com/ signature.asc Description: Questa รจ una parte del messaggio firmata digitalmente
Re: Bootstrapping GNU Classpath on Fedora Core 5
Alexander == Alexander Shopov [EMAIL PROTECTED] writes: Alexander Is there a small tutorial on how to bootstrap GNU classpath Alexander on Fedora Core 5? Not exactly, I'm afraid. In particular I don't think we document what devel packages you need. For general info there is the INSTALL file, and some stuff on the wiki. http://developer.classpath.org/mediation/ClasspathFirstSteps Mostly it is a matter of figuring out what devel packages you need. Once you've got those you should be in good shape. Currently I'm using an ordinary FC5 install on my main development machine, and I do builds every day, so I'm confident it can be done :-) Alexander 4. ./configure --prefix=/home/ash/GNUCP --with-jikes --disable-gtk-peer IMO better to use ecj instead of jikes. Alexander Another thing - which package provides the dependencies for Alexander gtk-peer? gtk2-devel Alexander gcjwebplugin.cc:47:19: error: npapi.h: No such file or directory yum install mozilla-devel Tom