Alexander K. Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sean Lake wrote:
>> Vital Statistics: OS X 10.5.1, 2 GHz Intel Core 2 Duo iMac, 2 GB
>> RAM
>>
>> fink --version Package manager version: 0.27.9 Distribution
>> version: 0.8.1.rsync i386
>>
>> XCode 3 and Apple X11 installed.
>>
>> I deleted my old /sw tree immediately upon updating and
>> bootstrapped up from the fink-0.27.8 file, immediately selfupdate
>> then update-alled. Then I ran sudo fink install gnucash, choosing
>> to go with the ssl version of everything whenever possible.
>>
>> On the first run through, things came crashing down here:
>>
>> Setting up fink-buildlock-gnome-vfs-ssl-1.0.5-1035
>> (2007.11.22-01.01.31) ... [...] checking for glib-config...
>> /sw/bin/glib-config checking for GLIB - version >= 1.2.6... no ***
>> Could not run GLIB test program, checking why... *** The test
>> program failed to compile or link. See the file config.log for the
>> *** exact error that occured. This usually means GLIB was
>> incorrectly installed *** or that you have moved GLIB since it was
>> installed. In the latter case, you *** may want to edit the
>> glib-config script: /sw/bin/glib-config configure: error: *** GLIB
>> 1.2.0 or better is required. The latest version of GLIB *** is
>> always available from ftp://ftp.gtk.org/. ### execution of
>> ./configure failed, exit code 1 Removing runtime build-lock...
>>
>> I then reran the selfupdate update-all cycle before trying again.
>> The result:
>>
>> checking for Cygwin environment... no checking for mingw32
>> environment... no *** is always available from ftp://ftp.gtk.org/.
>> ### execution of ./configure failed, exit code 1 Removing runtime
>> build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait
>> -r fink-buildlock-gnome-vfs-ssl-1.0.5-1035
>>
>> I tried one more time, because why not?
>>
>> checking whether to build static libraries... yes configure: error:
>> *** GLIB 1.2.0 or better is required. The latest version of GLIB
>> *** is always available from ftp://ftp.gtk.org/. ### execution of
>> ./configure failed, exit code 1 Removing runtime build-lock...
>> Removing build-lock package... /sw/bin/dpkg-lockwait -r
>> fink-buildlock-gnome-vfs-ssl-1.0.5-1035
>>
>> For what it's worth:
>>
>> glib-config --version 1.2.10
>>
>> fink info glib -> glib-1.2.10-51
>>
>> Thanks in advance for any help, Sean
>>
> Did you look at the config.log file in the gnome-vfs-ssl build
> directory, as was suggested?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHRYeFB8UpO3rKjQ8RAkTwAJ4mVkxjidLwtQC8/2lG1YaLIFSGtACfZbhg
> 9dX8EJ48j+ABNHD92jBww3w=
> =0wPH
> -----END PGP SIGNATURE-----
>
Nope, I hadn't. I have now done so, and I pass the results along to
those who might have some idea of what's going on. That said, I'm
switching over to Gnucash2, which has its own problems - I had forgotten
about that distinction. If need be I'll continue to try to get this to work.
Sean
End of config.log follows:
configure:6072: checking for GLIB - version >= 1.2.6
configure:6171: gcc -o conftest.dSYM -g -O2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -D_REENTRANT -I/sw/include conftest.c -L/sw/lib
-lgmodule -lgthread -lglib -lpthread -L/sw/lib 1>&5
error: Not a directory - unable to create 'conftest.dSYM/Contents'
bundle directory.
configure: failed program was:
#line 6095 "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 ([EMAIL PROTECTED]) writes to sscanf strings */
tmp_version = g_strdup("1.2.6");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
printf("%s, bad version string\n", "1.2.6");
exit(1);
}
if ((glib_major_version != 1) ||
(glib_minor_version != 2) ||
(glib_micro_version != 10))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB
(%d.%d.%d)\n",
1, 2, 10,
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 fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment
variable, or by editing\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_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and
remove the file 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 version 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, this 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 old 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 /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at
run-time))\n");
}
}
return 1;
}
configure:6215: gcc -o conftest.dSYM -g -O2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -D_REENTRANT -I/sw/include conftest.c -L/sw/lib
-L/sw/lib -lgmodule -lgthread -lglib -lpthread 1>&5
error: Not a directory - unable to create 'conftest.dSYM/Contents'
bundle directory.
configure: failed program was:
#line 6205 "configure"
#include "confdefs.h"
#include <glib.h>
#include <stdio.h>
int main() {
return ((glib_major_version) || (glib_minor_version) ||
(glib_micro_version));
; return 0; }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users