bug-gnulib
[Top][All Lists]
Advanced

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

Re: Stupid newbie question/ramble: Install?


From: Eric Blake
Subject: Re: Stupid newbie question/ramble: Install?
Date: Wed, 14 Nov 2007 19:51:33 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jay Levitt on 11/14/2007 7:30 PM:
> I'm caught in a bit of a dependency loop where I tried
> upgrading bison, which needs m4, which (1.4.10) doesn't build properly
> at the moment (but 1.4.0 built at one point), so I started patching it
> but of course autoreconf doesn't like old m4... etc.
> 
> The root of the m4 problem seems to be fseeko, which VOS doesn't
> support.  m4 pulls that in from gnulib, but gives a very odd error:

OK, so we need to port the fseeko module to VOS.  And since you are the
first person that seems to be porting to this platform, you will have to
do much of the legwork.

But in the meantime, install m4 1.4.9, which did not use fseeko.  Your
dependency loop can go as old as m4 1.4.5 while still supporting modern
autoconf.

> 
> I HAVE ABSOLUTELY NO IDEA HOW TO INSTALL THIS THING.

gnulib doesn't need to be installed, merely checked out.  If you have the
gnulib directory accessible from your VOS machine, you're done;
optionally, you can add that directory to PATH to use gnulib-tool without
a path prefix.

> Second, slightly more intelligent question:  What sort of
> interdependencies are there in running the tests?  That is, do they
> expect gnulib-tool itself or the repository to be installed?  Can I just
> copy the whole fseeko directory from cygwin over to my VOS machine and
> expect it to run there?

Once the gnulib directory is accessible, you can do the following to test
just fseeko and its dependencies:

./gnulib-tool --with-tests --test fseeko

gnulib-tool also has the --create-testdir option to create a smaller
directory that tests just fseeko, without having to copy all of gnulib
across OS boundaries.  But I'm not as familiar with that mode of usage.

It would be helpful if you posted the config.log of such a test, so we can
see why fseeko.m4 didn't detect that fseeko was missing on your platform.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHO7Q184KuGfSFAYARAmNJAJ9aYNy5lJCIOhpOEJmLCkw/yfeL2ACeP2dr
AMpGb98mDO/TedHXteoG1EM=
=Tmum
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]