Date: Thu, 03 May 2001 10:34:10 -0400 From: "Richard E. Hawkins" <dochawk@psu.edu> To: freebsd-questions@FreeBSD.ORG Subject: can't build vim6 Message-ID: <200105031434.f43EYBx07811@fac13.ds.psu.edu>
index | next in thread | raw e-mail
WIth both vim6 and vim6+ruby, I fail on build.
The offending output seems to
be:
configure:4330: glib.h: No such file or directory
configure: In function `main':
configure:4343: warning: implicit declaration of function `g_strdup'
configure:4343: warning: assignment makes pointer from integer without a cast
configure:4349: `glib_major_version' undeclared (first use in this function)
configure:4349: (Each undeclared identifier is reported only once
configure:4349: for each function it appears in.)
configure:4349: syntax error before `)'
configure:4350: `glib_minor_version' undeclared (first use in this function)
configure:4350: syntax error before `)'
configure:4351: `glib_micro_version' undeclared (first use in this function)
configure:4351: syntax error before `)'
configure:4354: syntax error before `,'
configure:4365: `GLIB_MAJOR_VERSION' undeclared (first use in this function)
configure:4366: `GLIB_MINOR_VERSION' undeclared (first use in this function)
configure:4367: `GLIB_MICRO_VERSION' undeclared (first use in this function)
configure: failed program was:
#line 4328 "configure"
#include "confdefs.h"
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.glibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("1.2.8");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
printf("%s, bad version string\n", "1.2.8");
exit(1);
}
if ((glib_major_version != ) ||
(glib_minor_version != ) ||
(glib_micro_version != ))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%
d)\n",
, , ,
glib_major_version, glib_minor_version, glib_micro_version);
printf ("*** was found! If glib-config was correct, then it is best\n");
printf ("*** to remove the old version of GLIB. You may also be able to fi
x the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by e
diting\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"
);
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CO
NFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the fi
le config.cache\n");
printf("*** before re-running configure\n");
}
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
(glib_minor_version != GLIB_MINOR_VERSION) ||
(glib_micro_version != GLIB_MICRO_VERSION))
{
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
glib_major_version, glib_minor_version, glib_micro_version);
}
else
{
if ((glib_major_version > major) ||
((glib_major_version == major) && (glib_minor_version > minor)) ||
((glib_major_version == major) && (glib_minor_version == minor) && (glib
_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
glib_major_version, glib_minor_version, glib_micro_version);
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest v
ersion of\n",
major, minor, micro);
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, th
is error\n");
printf("*** probably means that the wrong copy of the glib-config shell
script is\n");
printf("*** being found. The easiest way to fix this is to remove the ol
d version\n");
printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to
point to the\n");
printf("*** correct copy of glib-config. (In this case, you will have to
\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /et
c/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
configure:4448: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/in
clude conftest.c -L/usr/local/lib -lintl -lxpg4 1>&5
configure:4440: glib.h: No such file or directory
configure: In function `main':
configure:4444: `glib_major_version' undeclared (first use in this function)
configure:4444: (Each undeclared identifier is reported only once
configure:4444: for each function it appears in.)
configure:4444: `glib_minor_version' undeclared (first use in this function)
configure:4444: `glib_micro_version' undeclared (first use in this function)
configure: failed program was:
#line 4438 "configure"
#include "confdefs.h"
#include <glib.h>
#include <stdio.h>
int main() {
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
; return 0; }
(end of "config.log")
*** Error code 1
Stop in /usr/ports/x11-toolkits/gtk12.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105031434.f43EYBx07811>
