automake
[Top][All Lists]
Advanced

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

Re: configure can't find doc/Makefile.in


From: Adrienne Thompson
Subject: Re: configure can't find doc/Makefile.in
Date: Fri, 17 Dec 2010 17:00:29 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

Stefano and friends:

I built an earlier version of this program some time ago on my old RedHat 8.0 system and had no problem with the doc directory as the installation resulted in the creation of an info directory with the relevant info file produced from cgraph.texi.

I suspect something's missing from this Debian Lenny system. Googling suggested libfconfg-dev, but I installed that to no avail.

Which versions exactly?  I assume autoconf 2.68 and automake 1.11.1,
but it would help you were explicit about this.

automake 1.11.1
autoconf 2.68
m4 1.4.15
libtool 2.4


- What is the content of you configure.ac and of your Makefile.am files?
- What is the list of files in your source tree (or a relevant excerpt
   thereof)?
- What is the *whole* output you obtained from "make distcheck"?


configure.ac
============

#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.68])
AC_INIT([C-Graph], [2.0], address@hidden)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror])

# Checks for programs.
AC_CONFIG_SRCDIR([src/cgraph.F90])
AC_PROG_FC(g95 gfortran)
FCFLAGS="-O0 -g"

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile
                 src/Makefile
                 doc/Makefile
                 logo/Makefile])
AC_OUTPUT


Makefile.am
============
SUBDIRS=src logo

nobase_dist_pkgdata_DATA = COPYING cgraph-license.txt README

#dist_doc_DATA = cgraph-manual



src/Makefile.am
===============

bin_PROGRAMS = cgraph
cgraph_SOURCES = fftmod.f90 cgraph.F90

cgraph_CPPFLAGS=-DPKGDATADIR="\"$(pkgdatadir)\"" -DLOGODIR="\"$(pkgdatadir)/logo\""


#clean-local:
#       -rm -f *.mod *.o



doc/Makefile.am
===============
info_TEXINFOS = cgraph.texi
cgraph_TEXINFOS = fdl.texi



logo/Makefile.am
================
#display logo
logodir = $(pkgdatadir)/logo
dist_logo_DATA = cgraph.jpg



Relevant list of files:
=======================
build directory: files(configure.ac, Makefile.am, AUTHORS, ChangeLog, NEWS, COPYING, README, cgraph-licence.txt); directories (src, doc, logo).

src directory: cgraph.F90, fftmod.f90, Makefile.am

doc directory: cgraph.texi, fdl.texi, Makefile.am

logo directory: cgraph.jpg, Makefile.am



Output from make distcheck
==========================

{ test ! -d "c-graph-2.0" || { find "c-graph-2.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "c-graph-2.0"; }; }
test -d "c-graph-2.0" || mkdir "c-graph-2.0"
 (cd src && make  top_distdir=../c-graph-2.0 distdir=../c-graph-2.0/src \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `/home/galactica/cgraph/cgraph/cgraph-build/src'
make[1]: Leaving directory `/home/galactica/cgraph/cgraph/cgraph-build/src'
 (cd logo && make  top_distdir=../c-graph-2.0 distdir=../c-graph-2.0/logo \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[1]: Entering directory `/home/galactica/cgraph/cgraph/cgraph-build/logo'
make[1]: Leaving directory `/home/galactica/cgraph/cgraph/cgraph-build/logo'
test -n "" \
        || find "c-graph-2.0" -type d ! -perm -755 \
                -exec chmod u+rwx,go+rx {} \; -o \
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/install-sh -c -m a+r {} {} \; \
        || chmod -R a+r "c-graph-2.0"
tardir=c-graph-2.0 && /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >c-graph-2.0.tar.gz { test ! -d "c-graph-2.0" || { find "c-graph-2.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "c-graph-2.0"; }; }
case 'c-graph-2.0.tar.gz' in \
        *.tar.gz*) \
GZIP=--best gzip -dc c-graph-2.0.tar.gz | /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar xf - ;;\
        *.tar.bz2*) \
bzip2 -dc c-graph-2.0.tar.bz2 | /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar xf - ;;\
        *.tar.lzma*) \
lzma -dc c-graph-2.0.tar.lzma | /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar xf - ;;\
        *.tar.xz*) \
xz -dc c-graph-2.0.tar.xz | /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar xf - ;;\
        *.tar.Z*) \
uncompress -c c-graph-2.0.tar.Z | /bin/sh /home/galactica/cgraph/cgraph/cgraph-build/build-aux/missing --run tar xf - ;;\
        *.shar.gz*) \
          GZIP=--best gzip -dc c-graph-2.0.shar.gz | unshar ;;\
        *.zip*) \
          unzip c-graph-2.0.zip ;;\
        esac
chmod -R a-w c-graph-2.0; chmod a+w c-graph-2.0
mkdir c-graph-2.0/_build
mkdir c-graph-2.0/_inst
chmod a-w c-graph-2.0
test -d c-graph-2.0/_build || exit 0; \
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd c-graph-2.0/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
          && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \
          && am__cwd=`pwd` \
          && CDPATH="${ZSH_VERSION+.}:" && cd c-graph-2.0/_build \
          && ../configure --srcdir=.. --prefix="$dc_install_base" \
             \
          && make  \
          && make  dvi \
          && make  check \
          && make  install \
          && make  installcheck \
          && make  uninstall \
          && make  distuninstallcheck_dir="$dc_install_base" \
                distuninstallcheck \
          && chmod -R a-w "$dc_install_base" \
          && ({ \
               (cd ../.. && umask 077 && mkdir "$dc_destdir") \
               && make  DESTDIR="$dc_destdir" install \
               && make  DESTDIR="$dc_destdir" uninstall \
               && make  DESTDIR="$dc_destdir" \
                    distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \
              } || { rm -rf "$dc_destdir"; exit 1; }) \
          && rm -rf "$dc_destdir" \
          && make  dist \
          && rm -rf c-graph-2.0.tar.gz \
          && make  distcleancheck \
          && cd "$am__cwd" \
          || exit 1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g95... g95
checking whether the Fortran compiler works... yes
checking for Fortran compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU Fortran compiler... yes
checking whether g95 accepts -g... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: error: cannot find input file: `doc/Makefile.in'
make: *** [distcheck] Error 1


viper-2

--
Freedom - no pane, all gaiGN!

Code Art Now
http://codeartnow.com
Email: address@hidden



reply via email to

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