[gnome-love]Re: another task request

Nathan Cullen wrote:

On Wed, Apr 11, 2001 at 08:44:24AM -0400, Chema Celorio wrote:

there is a small (but annoying bug) in gnumeric cvs
for the non-bonobo build.

How do I make a "non-bonobo" build?  Does a configure option implement
this or does a separate non-bonobo gnumeric CVS source tree exist?

I think the default right now is a non-bonobo build.
There is a configuration option inside gnumeric to 
enable or disable bonobo.

If you run :
[chema sarados gnumeric]$ ./autogen.sh --help

You get :
--{with,without}-python   Compile the Python plugin loader
--{with,without}-bonobo   Compile with Bonobo support or without it
--{with,without}-gb       Compile with Gb support or without it
Now type `make' to compile Gnumeric
[chema sarados gnumeric]$

For programs like gnumeric which have their own RPM package, what is the
best way to perform the code/build/test cycle?   What I mean is that I
have a ximian gnumeric RPM package on my machine already.   The only way
I know of to code/build/test my stuff is to do the following steps:

1. save the "known good" RPM just in case I really mess something up
2. do a make dist in the source tree
3. rpm -ta gnumeric.tar.gz
4. install the rpm package on top of what I already have

Right now my ximian RPM packages are installed to /usr.  Could I just
install my "development" version to /usr/local and run it from there
without any conflicts?

This is not a good way to do so, you need to 
1. get the sources from cvs
2. configure & compile them
3. install them

Don't need to mess with RPM's for this.

1. get the sources from cvs

Since you don't yet have a cvs account you need to use
the anonymous cvs. You can find instructions on how
to use the anon cvs here :

You don't really need to get all the libraries that the page
says from source code provided that you have the -devel RPMS
of the libraries. So if you have gtk+-devel you don't need to 
install gtk from source

2. The next step is to configure the source code

For code that was retreived from the cvs server you need
to do :
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/lib/var 

I have a handy shell script to "autogen" sources that has all this
flags. This process will fail if any of the dependencies needed to
compile the program are not meet. Be patience with this process, getting
something to compile when you don't have a lot of experience can be
time consuming.

Then you need to type "make" to compile the code.

3. Install the compiled program

Run "make install"(as root) to install the compiled program. Some people
think it is a very stupid idea to install programs compiled from the cvs
as root, but the alternatives make the process a bit complicated. I've
never done an installation as a non-root user so i would not know how
to do it.

let me know if you have any other questions.


Nathan Cullen
furyu fuse net

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