Re: building gnumeric in garnome



On Wed, Nov 20, 2002 at 07:00:30PM -0500, Jody Goldberg wrote:

You've got remarkable patience.  I have no idea why it is so
complicted on your system.  gnome2 on the whole should be much much
simpler to build than 1.4.

I have patience because:

1. I *really* want gnumeric working to import Applix files. Selfish factor.
2. It is probably complicated because of some eccentricity in my environment.
   Humility factor.
3. You are all so patiently helping me, how could I dare cop an attitude?
   Appreciation factor.

For my cvs based build script I set the following variables

set prefix=/local/gnome20/test
setenv PKG_CONFIG_PATH                ${prefix}/lib/pkgconfig
setenv ACLOCAL_FLAGS          "-I ${prefix}/share/aclocal"
setenv LD_LIBRARY_PATH                ${prefix}/lib   #:/usr/lib/debug

# bonus tweaks
setenv CC                     colorgcc
setenv CFLAGS                 "-g -Wall -O2"
set path=(${prefix}/bin $path)

Here's what I have as a resource file (I use bash):
----------------------------------------------------------------------------
~>cat garnome.sourcable 
PREFIX=/home/george/garnome

PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig; export PKG_CONFIG_PATH
ACLOCAL_FLAGS="-I $PREFIX/share/sclocal"; export PKG_CONFIG_PATH
LD_LIBRARY_PATH=$PREFIX/lib/; export LD_LIBRARY_PATH
PATH=$PREFIX/bin:$PATH; export PATH
GNOME_PATH=$HOME/garnome/bin; export GNOME_PATH
----------------------------------------------------------------------------

Here's the relevant part of my env. after sourcing this file:
----------------------------------------------------------------------------
~>source garnome.sourcable
~>printenv
...
ACLOCAL_FLAGS=-I /home/george/garnome/share/sclocal
...
LD_LIBRARY_PATH=/home/george/garnome/lib/
...
GNOME_PATH=/home/george/garnome/bin
...
PKG_CONFIG_PATH=/home/george/garnome/lib/pkgconfig
...
PATH=/home/george/garnome/bin:/home/george/bin:/home/george/RGT/bin:/usr/local/bin/:/usr/local/OpenOffice/program:/bin:/usr/bin:/usr/X11/bin:/usr/openwin/bin:/usr/games:/usr/local/games:/sbin:/usr/sbin:/usr/local/src/Twin/TWIN/linux/bin
...
_=/usr/bin/printenv
----------------------------------------------------------------------------

and here's what happens when I try to configure:
----------------------------------------------------------------------------
~/GNOME/gnumeric>./autogen.sh --prefix="/home/george/garnome"
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /home/george/garnome/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Making ./aclocal.m4 writable ...
Running intltoolize...
patching file po/Makefile.in.in
Hunk #1 succeeded at 21 (offset 7 lines).
Hunk #2 succeeded at 34 (offset -5 lines).
Hunk #3 succeeded at 99 with fuzz 2 (offset 7 lines).
Hunk #4 succeeded at 196 (offset -22 lines).
Hunk #5 succeeded at 236 (offset 7 lines).
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal -I /home/george/garnome/share/aclocal/gnome2-macros -I /home/george/garnome/share/sclocal ...
aclocal: couldn't open directory `/home/george/garnome/share/sclocal': No such file or directory

**Error**: `aclocal' failed. Please fix the warnings
(probably missing development files) and try again
Running ./configure --enable-maintainer-mode --enable-compile-warnings --prefix=/home/george/garnome ...
./autogen.sh: ./configure: No such file or directory
----------------------------------------------------------------------------

Note the same errors about aclocal...

Any suggestions?  I'll try (almost) anything...  I can't think of anything
off-hand configured in my environment that would be "odd"...

-Michael

-- 
In light of the terrorist attack on the U.S.:
        They that give up essential liberty to obtain a little temporary
        safety deserve neither liberty nor safety.
                        -- Benjamin Franklin, 1759



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