Sponsored Content
Full Discussion: AutoConf,-Make
Top Forums UNIX for Advanced & Expert Users AutoConf,-Make Post 302948382 by sea on Monday 29th of June 2015 11:38:20 AM
Old 06-29-2015
AutoConf,-Make

Heyas

I'm trying to rewrite the install procedure of TUI, applying the standards of the Autotools.

Inofficial: Official: Which is quite too much to comprehend, without practical (as in: daily usage) knowledge about compiling things, applying to a project that doesnt need compiling.

It feels that the auto-tools dont work properly on a project that doesnt require compiling.

Doing the regular starting steps:
Code:
$ cat gen-autoconf.sh ; sh ./gen-autoconf.sh 
#!/bin/bash
	autoscan
	mv configure.scan configure.ac && vi configure.ac || exit
	[ -f Makefile.in ] || exit 1
	autoconf

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ at /usr/bin/autoscan line 361.
configure.ac: warning: missing AC_PROG_AWK wanted by: build-rpm-tui.sh:54
configure.ac: warning: missing AC_PROG_CC wanted by: stats.sh:41
configure.ac: warning: missing AC_PROG_INSTALL wanted by: my-configure.sh:381
configure.ac: warning: missing AC_PROG_LN_S wanted by: build-rpm-tui.sh:63
configure.ac: warning: missing AC_PROG_MAKE_SET wanted by: docs/samples/old/demo-interface-select-loop.sh:66

(however, these errors are new)
While the generate configure.ac looks like:
Code:
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([build-aux/link-warning.h])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile
                 bin/Makefile
                 conf.etc/Makefile
                 conf.home/Makefile
                 docs/Makefile
                 lists/Makefile
                 man/Makefile
                 templates/Makefile
                 themes/Makefile])
AC_CONFIG_SUBDIRS([tmp])
AC_OUTPUT

Eventhough, the generating of them worked - as in no errors shown, at some earlier time, i cant seem to get it back there.

What remains identical is this:
Code:
make
make: *** No targets specified and no makefile found.  Stop.

Currently only testing with the README.md
Code:
$ find ./ -name Makefile.am

./conf.etc/Makefile.am
./docs/Makefile.am
./templates/Makefile.am
./conf.home/Makefile.am
./tmp/autoconf/Makefile.am
./Makefile.am
./lists/Makefile.am
./man/Makefile.am
./bin/Makefile.am

$ cat Makefile.am 
AUTOMAKE_OPTIONS = foreign
SUBDIRS = docs

compldir = /usr/local/share/bash-completion/completions
compl_DATA = tui_compl.bash

$ cat docs/Makefile.am 
doc_DATA = README.md

Any advices please?
Thank you
 

4 More Discussions You Might Find Interesting

1. Programming

automake/autoconf problem

hi, i'm fairly new with automake and i ran into a problem that i have found no solution for. so i have a setup where i don't want all the output files generated by the compiler and alike in my src directory, instead i created a build/unix folder and i have build/unix/config set for... (0 Replies)
Discussion started by: Akimaki
0 Replies

2. BSD

You have another version of autoconf...

Hi gurus, I'm a FreeBSD noob who has generated an error, searched everywhere for solutions, and has just joined this forum (and searched it) hoping you can help. I really need to get mysql server installed again ASAP, and preferably with Sphinx as a storage engine, or my web app in dev is... (2 Replies)
Discussion started by: userunx
2 Replies

3. Shell Programming and Scripting

using automake and autoconf with C++

hi, I have written the Makefile.am and autoconf.ac files and am looking to build my project by providing the following commands: $autoreconf -f -i -m $./configure both of the above work fine, but when I give the make command, I get the following error: make all-am make: Entering directory... (0 Replies)
Discussion started by: bacpp
0 Replies

4. Programming

Using autoconf and automake. aclocal-1.11: command not found

Hi, I'm trying to make my source "buildable". autoconf and automake tools are used. configure and Makefile.in files are created successfully. configure.ac: AC_INIT() AC_CONFIG_SRCDIR() AC_PROG_CXX AM_INIT_AUTOMAKE(main, 0.1) AC_CHECK_HEADERS()... (0 Replies)
Discussion started by: Vourhey
0 Replies
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy