Compile help

Derek Atkins warlord at MIT.EDU
Sat Oct 9 20:11:24 EDT 2004


What version of Guppi did you install?  Looks like you don't have it all.  In
particular, you're definitely missing a BUNCH of guppi header files!

-derek

Quoting magpie <cabernet at webshield.net.au>:

> 
> 
> I am not sure how to interpret the below Config.log. Guppi is installed as
> per following. The ./configure script will not go past guppi at the moment.
> 
> Brian
> 
> checking for gnome-config... (cached) /usr/local/lib/gnome-config
> checking for libguppi - version >= 0.35.1... Unknown library ibguppi'
> Unknown library ibguppi'
> Unknown library ibguppi
> 
> Location of guppi
> 
> /usr/local/include/gnome-1.0/libguppi/guppi-xml.h
> /usr/local/include/gnome-1.0/libguppi/mconf.h
> /usr/local/include/gnome-1.0/libguppi/specfns_protos.h
> /usr/local/include/gnome-1.0/libguppitank
> /usr/local/include/gnome-1.0/libguppitank/guppi-object.h
> /usr/local/include/gnome-1.0/libguppitank/guppi-tank.h
> /usr/local/include/gnome-1.0/libguppitank/guppi-tank-init.h
> /usr/local/lib/libguppiConf.sh
> /usr/local/lib/libguppi.la
> /usr/local/lib/libguppi.so
> /usr/local/lib/libguppi.so.16
> /usr/local/lib/libguppi.so.16.0.0
> /usr/local/lib/libguppitank.la
> /usr/local/lib/libguppitank.so
> /usr/local/lib/libguppitank.so.16
> /usr/local/lib/libguppitank.so.16.0.0
> /usr/local/share/aclocal/libguppi.m4
> 
> 
> Config.log.....sorry about the long post.
> 
> 
> configure:14173: checking for main in -lzvt
> configure:14188: gcc -o conftest -g -O2 -Wall -Wunused    conftest.c -lzvt
> -rdynamic -L/opt/gnome/lib -L/usr/X11
> configure:14216: checking for main in -loaf
> configure:14231: gcc -o conftest -g -O2 -Wall -Wunused    conftest.c -loaf
> -L/opt/gnome/lib -loaf -lORBitCosNami
> configure:14309: checking for gnome-config
> configure:14344: checking for libguppi - version >= 0.35.1
> configure:14446: gcc -o conftest -g -O2 -Wall -Wunused  -I/opt/gnome/include
> -I/opt/gnome/include/gtk-1.2 -I/opt
> configure:14384:36: libguppi/guppi-version.h: No such file or directory
> configure: In function 
> ain':
> configure:14416: error: nome' undeclared (first use in this function)
> configure:14416: error: (Each undeclared identifier is reported only once
> configure:14416: error: for each function it appears in.)
> configure:14416: error: ibs' undeclared (first use in this function)
> configure:14416:20: too many decimal points in number
> configure:14416: warning: implicit declaration of function
> uppi_version_major'
> configure:14417:20: too many decimal points in number
> configure:14417: warning: implicit declaration of function
> uppi_version_minor'
> configure:14418:20: too many decimal points in number
> configure:14418: warning: implicit declaration of function
> uppi_version_micro'
> configure:14419:112: too many decimal points in number
> configure:14419:132: too many decimal points in number
> configure:14419:152: too many decimal points in number
> configure:14420: warning: implicit declaration of function uppi_version'
> configure:14420: warning: format argument is not a pointer (arg 2)
> configure:14425:20: too many decimal points in number
> configure:14426:20: too many decimal points in number
> configure:14426:53: too many decimal points in number
> configure:14427:20: too many decimal points in number
> configure:14427:53: too many decimal points in number
> configure:14427:86: too many decimal points in number
> configure:14433:116: too many decimal points in number
> configure:14433:136: too many decimal points in number
> configure:14433:156: too many decimal points in number
> configure: failed program was:
> #line 14379 "configure"
> #include "confdefs.h"
> 
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <libguppi/guppi-version.h>
> 
> static char*
> my_strdup (char *str)
> {
>   char *new_str;
> 
>   if (str)
>     {
>       new_str = malloc ((strlen (str) + 1) * sizeof(char));
>       strcpy (new_str, str);
>     }
>   else
>     new_str = NULL;
> 
>   return new_str;
> }
> 
> int main ()
> {
>   int major, minor, micro;
>   char *tmp_version;
> 
>   system ("touch conf.libguppitest");
> 
>   /* HP/UX 9 (%@#!) writes to sscanf strings */
>   tmp_version = my_strdup("0.35.1");
>   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
>      printf("%s, bad version string\n", "0.35.1");
>      exit(1);
>    }
> 
>    if ((gnome-libs-1.4.1.7 != guppi_version_major()) ||
>        (gnome-libs-1.4.1.7 != guppi_version_minor()) ||
>        (gnome-libs-1.4.1.7 != guppi_version_micro())) {
>         printf("\n*** 'gnome-config --modversion libguppi' returned
> %d.%d.%d, but the installed\n", gnome-libs-1
>         printf("*** LIBGUPPI reports its own version as %s.\n\n",
> guppi_version());
>         printf("*** This probably means that LIBGUPPI is improperly
> installed.\n");
>         return 1;
>    }
> 
>    if ((gnome-libs-1.4.1.7 > major) ||
>       ((gnome-libs-1.4.1.7 == major) && (gnome-libs-1.4.1.7 > minor)) ||
>       ((gnome-libs-1.4.1.7 == major) && (gnome-libs-1.4.1.7 == minor) &&
> (gnome-libs-1.4.1.7 >= micro)))
>     {
>       return 0;
>     }
>   else
>     {
>       printf("\n*** 'gnome-config --modversion libguppi' returned %d.%d.%d,
> but the minimum version\n", gnome-li
>       printf("*** of libguppi required is %d.%d.%d. If gnome-config is
> correct, then it is\n", major, minor, mic
>       printf("*** best to upgrade to the required version.\n");
>       printf("*** If gnome-config was wrong, set the environment variable
> GNOME_CONFIG\n");
>       printf("*** to point to the correct copy of gnome-config, and remove
> the file\n");
>       printf("*** config.cache before re-running configure\n");
>       return 1;
>     }
> }
> 
> 
> configure:14490: gcc -o conftest -g -O2 -Wall -Wunused  -I/opt/gnome/include
> -I/opt/gnome/include/gtk-1.2 -I/opt
> configure:14483:35: libguppi/guppi-useful.h: No such file or directory
> configure: failed program was:
> #line 14480 "configure"
> #include "confdefs.h"
> 
> #include <stdio.h>
> #include <libguppi/guppi-useful.h>
> 
> int main() {
>  return 0;
> ; return 0; }
> -- 
> Powered by Suse Linux 9.0
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> 


-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list