This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to run automake/conf?


Anders Lindgren wrote:
Anyone want to share a clue with an autotools newbie?

[0] /usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of AM_PATH_PSTOEDIT [...]
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSMI
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPUNIT


[1] Makefile.am: required file `../../../../compile' not found


The "compile not found" is due to an inane check IMO that the newer autotools added. The file can be added by running automake with --add-missing. Why this isn't simply internalized or handled silently, I have no idea.


You should have the following two files in your newlib/libc/sys/xxxx directory: configure.in and Makefile.am. Copy them from a local sys/yyyy sibling and alter them appropriately according to the files inside your sys directory. If configure.in is doing fancy stuff, consider picking another sibling.

Now, cd to newlib/libc/sys/xxxx. There do:

  aclocal -I ../../..
  autoconf
  automake --cygnus --add-missing Makefile

You should have autoconf 2.59 and automake 1.9.6 installed or available via your path. I personally have autoconf-2.59-12 and automake-1.9.6-2.1 installed on my system.

If that still doesn't work, send me your sys/xxxx directory tarred up (no proprietary code) and I'll see if there is something wrong with the files.

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]