Building gnome from anon CVS




I downloaded gnome via anon CVS (which worked somewhat well; I
had several timeouts and there seems to be a bug in CVS which
makes it read source code as if it was info sent to the client
by the server).

I succeeded to compile it but it was awkward. Here's a list
of things I found:

- mico can't be compiled with G++ 2.7.2.1 despite of what the docs say.
I downloaded egcs 1.0.2 and it worked flawlessly. A sure sign that
your GCC doesn't work is when idl crashes.

There is also a problem with the shared g++ libs on Linux. If they are
in the g++ search path (like /usr/lib), then makedepend will crash.
If compiled with the static version (with G++ 2.7.2.1), makedepend
will work, but in the end, idl won't, so don't even bother to try
to link makedepend with the static g++ libs :-)

- A warning in mico:

c++  -I. -I../include -I/usr/storage/packages/gnome/mico/./include/ministl -O \
    -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include
    -I/usr/X11R6/include  -c CORBA-c.cc -o CORBA-c.o
CORBA-c.cc: In function `void CORBA_BOA_impl_is_ready(class CORBA::BOA *, class
CORBA::Object *)':
CORBA-c.cc:57: warning: `return' with a value, in function returning void

- I had some trouble to make autogen.sh work. It finally succeeded
after I installed it in /usr/local. First, I tried to install all
gnome stuff under ~/packages/gnome to try-before-buy but this
doesn't work too well.

- I don't want all modules from the CVS server. If I do cvs -z9 upd -d
in the toplevel directory, it also updates modules which I didn't
checkout. Is there a way to restrict this to only the modules
which are already there ?

- Can you provide a "build-gnome" target/script which rebuilds all
changed parts of gnome after an cvs upd ?

--
Aaron "Optimizer" Digulla          Team AMIGA        AROS Head of Development
Author of XDME, ResTrackLib, CInt.		       <http://www.aros.org/>
"(to) optimize: Make a program faster by improving the algorithms rather than
by buying a faster machine."



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