Make impossible sous Mandriva Free 2007

gti130 -  
bob031 Messages postés 8228 Statut Membre -
Bonjour,
Je suis débutant sous linux (malgré d'excellent cours) et j'ai un petit problème.
Sous Mandriva Free 2007, quand je veux faire make j'obtiens :
[
root@localhost maxima-5.9.3.99rc1]# make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.

Et ce quel que soit le logiciel que je cherche à installer...
Quelqu'un à une idée ???
Merci !
Configuration: Linux Mandriva
Firefox 2.0.0.3

19 réponses

  1. ctiti60 Messages postés 1022 Statut Membre 70
     
    Salut,

    Et est-ce qu'il y a un makefile dans le répertoire où tu lances make ? Et si oui, est-ce qu'il y a des règles dans ce Makefile ?
    0
  2. gti130
     
    Oui, bien sûr !

    Il y a Makefile.am qui contient
    SUBDIRS = src lisp-utils tests doc interfaces share demo plotting
    EXTRA_DIST = common.mk README.lisps maxima.iss.in README.rpms README.i18n INSTALL.win32 configure.lisp INSTALL.lisp maxima-local.in xmaxima-local.in README.external ChangeLog-5.9.2 ChangeLog-5.9.3
    
    include common.mk
    
    extradocinstall:
    	test -d "$(docdir)" || mkdir -p "$(docdir)"
    	for file in AUTHORS COPYING INSTALL README README.lisps ; \
                do \
                $(INSTALL_DATA) $$file "$(docdir)" ; \
                done
    
    $(distdir).tar.gz: Makefile.am
    	$(MAKE) dist
    
    iss: extradocinstall
    	$(MAKE) -C interfaces/xmaxima/win32 gcccopy install
    
    # Build the Maxima rpms. Optionally, use
    #     make rpm SUDO=sudo
    # to use sudo to wrap the commands. The user must have sudo permissions
    # for rpm and cp.
    rpm: $(distdir).tar.gz
    	$(SUDO) cp $(distdir).tar.gz /usr/src/redhat/SOURCES && \
    	$(SUDO) rpmbuild -ba maxima.spec


    et Makefile.in qui contient :
    # Makefile.in generated by automake 1.8.3 from Makefile.am.
    # @configure_input@
    
    # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    # 2003, 2004  Free Software Foundation, Inc.
    # This Makefile.in is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    # PARTICULAR PURPOSE.
    
    @SET_MAKE@
    
    # versioned installation directories
    srcdir = @srcdir@
    top_srcdir = @top_srcdir@
    VPATH = @srcdir@
    pkgdatadir = $(datadir)/@PACKAGE@
    pkglibdir = $(libdir)/@PACKAGE@
    pkgincludedir = $(includedir)/@PACKAGE@
    top_builddir = .
    am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    INSTALL = @INSTALL@
    install_sh_DATA = $(install_sh) -c -m 644
    install_sh_PROGRAM = $(install_sh) -c
    install_sh_SCRIPT = $(install_sh) -c
    INSTALL_HEADER = $(INSTALL_DATA)
    transform = $(program_transform_name)
    NORMAL_INSTALL = :
    PRE_INSTALL = :
    POST_INSTALL = :
    NORMAL_UNINSTALL = :
    PRE_UNINSTALL = :
    POST_UNINSTALL = :
    host_triplet = @host@
    DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
    	$(srcdir)/Makefile.in $(srcdir)/common.mk \
    	$(srcdir)/maxima-lang-es.iss.in \
    	$(srcdir)/maxima-lang-pt.iss.in $(srcdir)/maxima-local.in \
    	$(srcdir)/maxima.iss.in $(srcdir)/maxima.spec.in \
    	$(srcdir)/xmaxima-local.in $(top_srcdir)/configure \
    	$(top_srcdir)/interfaces/xmaxima/Tkmaxima/Header.tcl.in \
    	$(top_srcdir)/interfaces/xmaxima/win32/Makefile.in AUTHORS \
    	COPYING ChangeLog INSTALL NEWS config.guess config.sub \
    	install-sh missing
    subdir = .
    ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    am__aclocal_m4_deps = $(top_srcdir)/configure.in
    am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    	$(ACLOCAL_M4)
    am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     configure.lineno configure.status.lineno
    mkinstalldirs = $(mkdir_p)
    CONFIG_CLEAN_FILES = maxima-local xmaxima-local maxima.spec maxima.iss \
    	maxima-lang-es.iss maxima-lang-pt.iss \
    	interfaces/xmaxima/Tkmaxima/Header.tcl \
    	interfaces/xmaxima/win32/Makefile
    SOURCES =
    DIST_SOURCES =
    RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    	html-recursive info-recursive install-data-recursive \
    	install-exec-recursive install-info-recursive \
    	install-recursive installcheck-recursive installdirs-recursive \
    	pdf-recursive ps-recursive uninstall-info-recursive \
    	uninstall-recursive
    ETAGS = etags
    CTAGS = ctags
    DIST_SUBDIRS = $(SUBDIRS)
    DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    distdir = $(PACKAGE)-$(VERSION)
    top_distdir = $(distdir)
    am__remove_distdir = \
      { test ! -d $(distdir) \
        || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
             && rm -fr $(distdir); }; }
    DIST_ARCHIVES = $(distdir).tar.gz
    GZIP_ENV = --best
    distuninstallcheck_listfiles = find . -type f -print
    distcleancheck_listfiles = find . -type f -print
    ACLOCAL = @ACLOCAL@
    ACL_FALSE = @ACL_FALSE@
    ACL_NAME = @ACL_NAME@
    ACL_TRUE = @ACL_TRUE@
    AMTAR = @AMTAR@
    AUTOCONF = @AUTOCONF@
    AUTOHEADER = @AUTOHEADER@
    AUTOMAKE = @AUTOMAKE@
    AWK = @AWK@
    CLISP_FALSE = @CLISP_FALSE@
    CLISP_NAME = @CLISP_NAME@
    CLISP_RUNTIME = @CLISP_RUNTIME@
    CLISP_RUNTIME_PATH = @CLISP_RUNTIME_PATH@
    CLISP_TRUE = @CLISP_TRUE@
    CMUCL_FALSE = @CMUCL_FALSE@
    CMUCL_NAME = @CMUCL_NAME@
    CMUCL_RUNTIME = @CMUCL_RUNTIME@
    CMUCL_RUNTIME_PATH = @CMUCL_RUNTIME_PATH@
    CMUCL_TRUE = @CMUCL_TRUE@
    CYGPATH_W = @CYGPATH_W@
    DEFAULTLISP = @DEFAULTLISP@
    DEFS = @DEFS@
    ECHO_C = @ECHO_C@
    ECHO_N = @ECHO_N@
    ECHO_T = @ECHO_T@
    GCL_ALT_LINK_FALSE = @GCL_ALT_LINK_FALSE@
    GCL_ALT_LINK_TRUE = @GCL_ALT_LINK_TRUE@
    GCL_FALSE = @GCL_FALSE@
    GCL_NAME = @GCL_NAME@
    GCL_TRUE = @GCL_TRUE@
    INSTALL_DATA = @INSTALL_DATA@
    INSTALL_PROGRAM = @INSTALL_PROGRAM@
    INSTALL_SCRIPT = @INSTALL_SCRIPT@
    INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    LANG_ES_FALSE = @LANG_ES_FALSE@
    LANG_ES_TRUE = @LANG_ES_TRUE@
    LANG_ES_UTF8_FALSE = @LANG_ES_UTF8_FALSE@
    LANG_ES_UTF8_TRUE = @LANG_ES_UTF8_TRUE@
    LANG_PT_FALSE = @LANG_PT_FALSE@
    LANG_PT_TRUE = @LANG_PT_TRUE@
    LANG_PT_UTF8_FALSE = @LANG_PT_UTF8_FALSE@
    LANG_PT_UTF8_TRUE = @LANG_PT_UTF8_TRUE@
    LIBOBJS = @LIBOBJS@
    LIBS = @LIBS@
    LTLIBOBJS = @LTLIBOBJS@
    MAKEINFO = @MAKEINFO@
    OPENMCL_FALSE = @OPENMCL_FALSE@
    OPENMCL_NAME = @OPENMCL_NAME@
    OPENMCL_TRUE = @OPENMCL_TRUE@
    PACKAGE = @PACKAGE@
    PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    PACKAGE_NAME = @PACKAGE_NAME@
    PACKAGE_STRING = @PACKAGE_STRING@
    PACKAGE_TARNAME = @PACKAGE_TARNAME@
    PACKAGE_VERSION = @PACKAGE_VERSION@
    PATH_SEPARATOR = @PATH_SEPARATOR@
    POSIX_SHELL = @POSIX_SHELL@
    SBCL_FALSE = @SBCL_FALSE@
    SBCL_NAME = @SBCL_NAME@
    SBCL_TRUE = @SBCL_TRUE@
    SCL_FALSE = @SCL_FALSE@
    SCL_NAME = @SCL_NAME@
    SCL_RUNTIME = @SCL_RUNTIME@
    SCL_RUNTIME_PATH = @SCL_RUNTIME_PATH@
    SCL_TRUE = @SCL_TRUE@
    SET_MAKE = @SET_MAKE@
    SHELL = @SHELL@
    STRIP = @STRIP@
    USE_RECODE_FALSE = @USE_RECODE_FALSE@
    USE_RECODE_TRUE = @USE_RECODE_TRUE@
    VERSION = @VERSION@
    WIN32_FALSE = @WIN32_FALSE@
    WIN32_TRUE = @WIN32_TRUE@
    WISH = @WISH@
    ac_ct_STRIP = @ac_ct_STRIP@
    acl_found = @acl_found@
    am__leading_dot = @am__leading_dot@
    bindir = @bindir@
    build = @build@
    build_alias = @build_alias@
    build_cpu = @build_cpu@
    build_os = @build_os@
    build_vendor = @build_vendor@
    clisp_found = @clisp_found@
    cmucl_found = @cmucl_found@
    datadir = @datadir@
    default_layout_autotools = @default_layout_autotools@
    exec_prefix = @exec_prefix@
    expanded_datadir = @expanded_datadir@
    expanded_exec_prefix = @expanded_exec_prefix@
    expanded_infodir = @expanded_infodir@
    expanded_libdir = @expanded_libdir@
    expanded_libexecdir = @expanded_libexecdir@
    expanded_top_srcdir = @expanded_top_srcdir@
    gcl_found = @gcl_found@
    host = @host@
    host_alias = @host_alias@
    host_cpu = @host_cpu@
    host_os = @host_os@
    host_vendor = @host_vendor@
    iconv_found = @iconv_found@
    includedir = @includedir@
    infodir = @infodir@
    install_sh = @install_sh@
    libdir = @libdir@
    libexecdir = @libexecdir@
    localstatedir = @localstatedir@
    mandir = @mandir@
    mkdir_p = @mkdir_p@
    oldincludedir = @oldincludedir@
    openmcl_found = @openmcl_found@
    prefix = @prefix@
    program_transform_name = @program_transform_name@
    recode_found = @recode_found@
    sbcl_found = @sbcl_found@
    sbindir = @sbindir@
    scl_found = @scl_found@
    sharedstatedir = @sharedstatedir@
    sysconfdir = @sysconfdir@
    target_alias = @target_alias@
    win32 = @win32@
    SUBDIRS = src lisp-utils tests doc interfaces share demo plotting
    EXTRA_DIST = common.mk README.lisps maxima.iss.in README.rpms README.i18n INSTALL.win32 configure.lisp INSTALL.lisp maxima-local.in xmaxima-local.in README.external ChangeLog-5.9.2 ChangeLog-5.9.3
    verpkglibdir = $(pkglibdir)/@VERSION@
    verpkglibexecdir = $(libexecdir)/@PACKAGE@/@VERSION@
    verpkgdatadir = $(pkgdatadir)/@VERSION@
    docdir = $(verpkgdatadir)/doc
    dochtmldir = $(docdir)/html
    docsharedir = $(docdir)/share
    demodir = $(verpkgdatadir)/demo
    emacsdir = $(verpkgdatadir)/emacs
    sharedir = $(verpkgdatadir)/share
    instsrcdir = $(verpkgdatadir)/src
    xmaximadir = $(verpkgdatadir)/xmaxima
    insttestsdir = $(verpkgdatadir)/tests
    all: all-recursive
    
    .SUFFIXES:
    am--refresh:
    	@:
    $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/common.mk $(am__configure_deps)
    	@for dep in $?; do \
    	  case '$(am__configure_deps)' in \
    	    *$$dep*) \
    	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
    	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
    		&& exit 0; \
    	      exit 1;; \
    	  esac; \
    	done; \
    	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
    	cd $(top_srcdir) && \
    	  $(AUTOMAKE) --gnu  Makefile
    .PRECIOUS: Makefile
    Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    	@case '$?' in \
    	  *config.status*) \
    	    echo ' $(SHELL) ./config.status'; \
    	    $(SHELL) ./config.status;; \
    	  *) \
    	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    	esac;
    
    $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    	$(SHELL) ./config.status --recheck
    
    $(top_srcdir)/configure:  $(am__configure_deps)
    	cd $(srcdir) && $(AUTOCONF)
    $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    maxima-local: $(top_builddir)/config.status $(srcdir)/maxima-local.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    xmaxima-local: $(top_builddir)/config.status $(srcdir)/xmaxima-local.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    maxima.spec: $(top_builddir)/config.status $(srcdir)/maxima.spec.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    maxima.iss: $(top_builddir)/config.status $(srcdir)/maxima.iss.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    maxima-lang-es.iss: $(top_builddir)/config.status $(srcdir)/maxima-lang-es.iss.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    maxima-lang-pt.iss: $(top_builddir)/config.status $(srcdir)/maxima-lang-pt.iss.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    interfaces/xmaxima/Tkmaxima/Header.tcl: $(top_builddir)/config.status $(top_srcdir)/interfaces/xmaxima/Tkmaxima/Header.tcl.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    interfaces/xmaxima/win32/Makefile: $(top_builddir)/config.status $(top_srcdir)/interfaces/xmaxima/win32/Makefile.in
    	cd $(top_builddir) && $(SHELL) ./config.status $@
    uninstall-info-am:
    
    # This directory's subdirectories are mostly independent; you can cd
    # into them and run `make' without going through this Makefile.
    # To change the values of `make' variables: instead of editing Makefiles,
    # (1) if the variable is set in `config.status', edit `config.status'
    #     (which will cause the Makefiles to be regenerated when you run `make');
    # (2) otherwise, pass the desired values on the `make' command line.
    $(RECURSIVE_TARGETS):
    	@set fnord $$MAKEFLAGS; amf=$$2; \
    	dot_seen=no; \
    	target=`echo $@ | sed s/-recursive//`; \
    	list='$(SUBDIRS)'; for subdir in $$list; do \
    	  echo "Making $$target in $$subdir"; \
    	  if test "$$subdir" = "."; then \
    	    dot_seen=yes; \
    	    local_target="$$target-am"; \
    	  else \
    	    local_target="$$target"; \
    	  fi; \
    	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    	done; \
    	if test "$$dot_seen" = "no"; then \
    	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
    	fi; test -z "$$fail"
    
    mostlyclean-recursive clean-recursive distclean-recursive \
    maintainer-clean-recursive:
    	@set fnord $$MAKEFLAGS; amf=$$2; \
    	dot_seen=no; \
    	case "$@" in \
    	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
    	  *) list='$(SUBDIRS)' ;; \
    	esac; \
    	rev=''; for subdir in $$list; do \
    	  if test "$$subdir" = "."; then :; else \
    	    rev="$$subdir $$rev"; \
    	  fi; \
    	done; \
    	rev="$$rev ."; \
    	target=`echo $@ | sed s/-recursive//`; \
    	for subdir in $$rev; do \
    	  echo "Making $$target in $$subdir"; \
    	  if test "$$subdir" = "."; then \
    	    local_target="$$target-am"; \
    	  else \
    	    local_target="$$target"; \
    	  fi; \
    	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    	done && test -z "$$fail"
    tags-recursive:
    	list='$(SUBDIRS)'; for subdir in $$list; do \
    	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
    	done
    ctags-recursive:
    	list='$(SUBDIRS)'; for subdir in $$list; do \
    	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
    	done
    
    ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    	unique=`for i in $$list; do \
    	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    	  done | \
    	  $(AWK) '    { files[$$0] = 1; } \
    	       END { for (i in files) print i; }'`; \
    	mkid -fID $$unique
    tags: TAGS
    
    TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    		$(TAGS_FILES) $(LISP)
    	tags=; \
    	here=`pwd`; \
    	if (etags --etags-include --version) >/dev/null 2>&1; then \
    	  include_option=--etags-include; \
    	else \
    	  include_option=--include; \
    	fi; \
    	list='$(SUBDIRS)'; for subdir in $$list; do \
    	  if test "$$subdir" = .; then :; else \
    	    test -f $$subdir/TAGS && \
    	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    	  fi; \
    	done; \
    	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    	unique=`for i in $$list; do \
    	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    	  done | \
    	  $(AWK) '    { files[$$0] = 1; } \
    	       END { for (i in files) print i; }'`; \
    	test -z "$(ETAGS_ARGS)$$tags$$unique" \
    	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    	     $$tags $$unique
    ctags: CTAGS
    CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    		$(TAGS_FILES) $(LISP)
    	tags=; \
    	here=`pwd`; \
    	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    	unique=`for i in $$list; do \
    	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    	  done | \
    	  $(AWK) '    { files[$$0] = 1; } \
    	       END { for (i in files) print i; }'`; \
    	test -z "$(CTAGS_ARGS)$$tags$$unique" \
    	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    	     $$tags $$unique
    
    GTAGS:
    	here=`$(am__cd) $(top_builddir) && pwd` \
    	  && cd $(top_srcdir) \
    	  && gtags -i $(GTAGS_ARGS) $$here
    
    distclean-tags:
    	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    
    distdir: $(DISTFILES)
    	$(am__remove_distdir)
    	mkdir $(distdir)
    	$(mkdir_p) $(distdir)/. $(distdir)/doc/man $(distdir)/interfaces/xmaxima $(distdir)/interfaces/xmaxima/Tkmaxima $(distdir)/interfaces/xmaxima/win32 $(distdir)/plotting $(distdir)/src
    	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
    	list='$(DISTFILES)'; for file in $$list; do \
    	  case $$file in \
    	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
    	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
    	  esac; \
    	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
    	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    	    dir="/$$dir"; \
    	    $(mkdir_p) "$(distdir)$$dir"; \
    	  else \
    	    dir=''; \
    	  fi; \
    	  if test -d $$d/$$file; then \
    	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
    	    fi; \
    	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
    	  else \
    	    test -f $(distdir)/$$file \
    	    || cp -p $$d/$$file $(distdir)/$$file \
    	    || exit 1; \
    	  fi; \
    	done
    	list='$(SUBDIRS)'; for subdir in $$list; do \
    	  if test "$$subdir" = .; then :; else \
    	    test -d "$(distdir)/$$subdir" \
    	    || mkdir "$(distdir)/$$subdir" \
    	    || exit 1; \
    	    (cd $$subdir && \
    	      $(MAKE) $(AM_MAKEFLAGS) \
    	        top_distdir="../$(top_distdir)" \
    	        distdir="../$(distdir)/$$subdir" \
    	        distdir) \
    	      || exit 1; \
    	  fi; \
    	done
    	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -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 $(SHELL) $(install_sh) -c -m a+r {} {} \; \
    	|| chmod -R a+r $(distdir)
    dist-gzip: distdir
    	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    	$(am__remove_distdir)
    
    dist-bzip2: distdir
    	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
    	$(am__remove_distdir)
    
    dist-tarZ: distdir
    	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
    	$(am__remove_distdir)
    
    dist-shar: distdir
    	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    	$(am__remove_distdir)
    
    dist-zip: distdir
    	-rm -f $(distdir).zip
    	zip -rq $(distdir).zip $(distdir)
    	$(am__remove_distdir)
    
    dist dist-all: distdir
    	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    	$(am__remove_distdir)
    
    # This target untars the dist file and tries a VPATH configuration.  Then
    # it guarantees that the distribution is self-contained by making another
    # tarfile.
    distcheck: dist
    	case '$(DIST_ARCHIVES)' in \
    	*.tar.gz*) \
    	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
    	*.tar.bz2*) \
    	  bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
    	*.tar.Z*) \
    	  uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
    	*.shar.gz*) \
    	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
    	*.zip*) \
    	  unzip $(distdir).zip ;;\
    	esac
    	chmod -R a-w $(distdir); chmod a+w $(distdir)
    	mkdir $(distdir)/_build
    	mkdir $(distdir)/_inst
    	chmod a-w $(distdir)
    	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
    	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
    	  && cd $(distdir)/_build \
    	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
    	    $(DISTCHECK_CONFIGURE_FLAGS) \
    	  && $(MAKE) $(AM_MAKEFLAGS) \
    	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
    	  && $(MAKE) $(AM_MAKEFLAGS) check \
    	  && $(MAKE) $(AM_MAKEFLAGS) install \
    	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
    	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
    	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
    	        distuninstallcheck \
    	  && chmod -R a-w "$$dc_install_base" \
    	  && ({ \
    	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
    	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
    	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
    	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
    	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
    	  && rm -rf "$$dc_destdir" \
    	  && $(MAKE) $(AM_MAKEFLAGS) dist \
    	  && rm -rf $(DIST_ARCHIVES) \
    	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    	$(am__remove_distdir)
    	@(echo "$(distdir) archives ready for distribution: "; \
    	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
    	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
    distuninstallcheck:
    	@cd $(distuninstallcheck_dir) \
    	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
    	   || { echo "ERROR: files left after uninstall:" ; \
    	        if test -n "$(DESTDIR)"; then \
    	          echo "  (check DESTDIR support)"; \
    	        fi ; \
    	        $(distuninstallcheck_listfiles) ; \
    	        exit 1; } >&2
    distcleancheck: distclean
    	@if test '$(srcdir)' = . ; then \
    	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
    	  exit 1 ; \
    	fi
    	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
    	  || { echo "ERROR: files left in build directory after distclean:" ; \
    	       $(distcleancheck_listfiles) ; \
    	       exit 1; } >&2
    check-am: all-am
    check: check-recursive
    all-am: Makefile
    installdirs: installdirs-recursive
    installdirs-am:
    install: install-recursive
    install-exec: install-exec-recursive
    install-data: install-data-recursive
    uninstall: uninstall-recursive
    
    install-am: all-am
    	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    
    installcheck: installcheck-recursive
    install-strip:
    	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    	  `test -z '$(STRIP)' || \
    	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
    mostlyclean-generic:
    
    clean-generic:
    
    distclean-generic:
    	-rm -f $(CONFIG_CLEAN_FILES)
    
    maintainer-clean-generic:
    	@echo "This command is intended for maintainers to use"
    	@echo "it deletes files that may require special tools to rebuild."
    clean: clean-recursive
    
    clean-am: clean-generic mostlyclean-am
    
    distclean: distclean-recursive
    	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
    	-rm -f Makefile
    distclean-am: clean-am distclean-generic distclean-tags
    
    dvi: dvi-recursive
    
    dvi-am:
    
    html: html-recursive
    
    info: info-recursive
    
    info-am:
    
    install-data-am: install-data-local
    
    install-exec-am:
    
    install-info: install-info-recursive
    
    install-man:
    
    installcheck-am:
    
    maintainer-clean: maintainer-clean-recursive
    	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
    	-rm -rf $(top_srcdir)/autom4te.cache
    	-rm -f Makefile
    maintainer-clean-am: distclean-am maintainer-clean-generic
    
    mostlyclean: mostlyclean-recursive
    
    mostlyclean-am: mostlyclean-generic
    
    pdf: pdf-recursive
    
    pdf-am:
    
    ps: ps-recursive
    
    ps-am:
    
    uninstall-am: uninstall-info-am uninstall-local
    
    uninstall-info: uninstall-info-recursive
    
    .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
    	check-am clean clean-generic clean-recursive ctags \
    	ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
    	dist-tarZ dist-zip distcheck distclean distclean-generic \
    	distclean-recursive distclean-tags distcleancheck distdir \
    	distuninstallcheck dvi dvi-am html html-am info info-am \
    	install install-am install-data install-data-am \
    	install-data-local install-exec install-exec-am install-info \
    	install-info-am install-man install-strip installcheck \
    	installcheck-am installdirs installdirs-am maintainer-clean \
    	maintainer-clean-generic maintainer-clean-recursive \
    	mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
    	pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
    	uninstall-info-am uninstall-local
    
    
    # Support for installation of DATA files in a generic directory
    # with subdirectories.
    # To use, set genericdir to point to the installation directory.
    # Set genericdirDATA to hold the list of files to install.
    # genericdirDATA may contain subdirectories. Subdirectories will
    # be created if necessary.
    
    install-data-local: install-datafiles
    install-datafiles: $(genericdirDATA)
    	@$(NORMAL_INSTALL)
    	$(mkinstalldirs) $(DESTDIR)$(genericdir)
    	@list='$(genericdirDATA)'; for p in $$list; do \
    	  if test -f $(srcdir)/$$p; then \
                if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
                  $(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
                fi; \
    	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p"; \
    	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p; \
    	  else if test -f $$p; then \
                if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
                  $(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
                fi; \
    	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p"; \
    	    $(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p; \
    	  fi; fi; \
    	done
    
    uninstall-local: uninstall-datafiles
    uninstall-datafiles:
    	@$(NORMAL_UNINSTALL)
    	list='$(genericdirDATA)'; for p in $$list; do \
    	  rm -f $(DESTDIR)$(genericdir)/$$p; \
    	done
    
    extradocinstall:
    	test -d "$(docdir)" || mkdir -p "$(docdir)"
    	for file in AUTHORS COPYING INSTALL README README.lisps ; \
                do \
                $(INSTALL_DATA) $$file "$(docdir)" ; \
                done
    
    $(distdir).tar.gz: Makefile.am
    	$(MAKE) dist
    
    iss: extradocinstall
    	$(MAKE) -C interfaces/xmaxima/win32 gcccopy install
    
    # Build the Maxima rpms. Optionally, use
    #     make rpm SUDO=sudo
    # to use sudo to wrap the commands. The user must have sudo permissions
    # for rpm and cp.
    rpm: $(distdir).tar.gz
    	$(SUDO) cp $(distdir).tar.gz /usr/src/redhat/SOURCES && \
    	$(SUDO) rpmbuild -ba maxima.spec
    # Tell versions [3.59,3.63) of GNU make to not export all variables.
    # Otherwise a system limit (for SysV at least) may be exceeded.
    .NOEXPORT:
    0
  3. ctiti60 Messages postés 1022 Statut Membre 70
     
    Et si tu lances:
    make -f Makefile.am
    ou
    make -f Makefile.am install ?
    0
  4. ctiti60 Messages postés 1022 Statut Membre 70
     
    Norlament, tu devrais avoir un système permettant de générer un Makefile (sans extension) en fonction de tes besoins et de ton OS.
    Par ailleurs, le test était à faire sur le Makefile.in et non .am, désolé.
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. gti130
     
    je sais pas, moi j'ai que ces deux makefile.
    Quand je fais make -f Makefile.in ça me donne:

    [gti130@localhost maxima-5.9.3.99rc1]$ make -f Makefile.in
    Makefile.in:15: *** séparateur manquant . Arrêt.
    0
  7. ctiti60 Messages postés 1022 Statut Membre 70
     
    Souvent tu as un LISEZMOI ou un fichier dans le genre qui explique très bien les manipulations. Ton fichier makefile est générique et il faut remplacer toutes les valeurs @PARAM@ par leur valeur.
    0
  8. gti130
     
    J'ai lu le fichier lisez moi. Il me dit de taper :

    ./configure
    make
    make check
    make install


    ce que je fais malheuresement je reste bloqué au niveau de make.

    Ou vois tu des @PARAM@ ???
    0
  9. ctiti60 Messages postés 1022 Statut Membre 70
     
    Normalement, le ./configure permet de créer un Makefile correspondant à tes besoins. Il y a un truc qui se passe mal à ce niveau ou alors il le copie ailleurs.
    0
  10. bob031 Messages postés 8228 Statut Membre 473
     
    Bonjour,

    tutoriel ici :

    http://michel.gosse.free.fr/installation/index.html

    :-))

    0
  11. bob031 Messages postés 8228 Statut Membre 473
     
    urpmi gcl

    puis

    [bob 32] maxima-5.9.3.99rc1 >./configure

    puis

    [bob 33] maxima-5.9.3.99rc1 > make

    chez moi ça passe !

    :-))
    0
  12. gti130
     
    Merci pour tous ces conseils mais même avec ça ça refuse de me l'installer...
    Et en plus, le problème ne se pose pas que pour maxima. Quel que soit le logiciel que je cherche à installer, impossible de faire make...
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      que donne les 3 commandes suivantes :
      whereis make
      which make
      uname -r

      :-))
      0
  13. gti130
     
    ça me donne ça :
    whereis make
    [gti130@localhost maxima-5.9.3.99rc1]$ whereis make
    make: /usr/bin/make /usr/share/man/man1/make.1.bz2 /usr/share/man/man1p/make.1p.bz2

    which make
    [
    gti130@localhost maxima-5.9.3.99rc1]$ which make
    /usr/bin/make

    uname -r
    gti130@localhost maxima-5.9.3.99rc1]$ uname -r
    2.6.17-13mdv
    [

    mais au fait, qu'indiquent ces commande ? elles vérifient la présence des packages ?
    0
  14. bob031 Messages postés 8228 Statut Membre 473
     
    les deux premières commandes oui !
    la troisième connaître la version de ton noyau

    et la suivante à tester :
    [bob 38] maxima-5.9.3.99rc1 > make -v
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    Ceci est un logiciel libre ; voir le source pour les conditions de copie.
    Il n'y a PAS de garantie ; tant pour une utilisation COMMERCIALE que pour
    RÉPONDRE À UN BESOIN PARTICULIER.

    Ce logiciel est construit pour i586-mandriva-linux-gnu
    [20:02 0.80]
    [bob 39] maxima-5.9.3.99rc1 > whereis gmake
    gmake: /usr/bin/gmake
    [20:02 0.83]
    [bob 40] maxima-5.9.3.99rc1 >

    tu peux essayer avec gmake pour voir !
    au fait : je pense à un truc : c'était ton premier essai pour l'install ?

    :-))
    0
  15. gti130
     
    Make -v et whereis gmake me donnent les même choses que pour toi mais par contre, quand je fais gmake ça me donne :

    [gti130@localhost maxima-5.9.3.99rc1]$ gmake
    gmake: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
    


    Que veux tu dire par mon premier essai ? tu veux parler du premier programme que j'ai essayé d'installer ? il s'agissait de Imwheel.
    0
  16. bob031 Messages postés 8228 Statut Membre 473
     
    j'ai l'impression qu'il faut voir du côté de la source du logiciel !

    ou as-tu récupéré la fichier tar.gz ?

    d'un autre côté je trouve bizarre que la commande make ne fonctionne pas et ce quel que soit le logiciel que je cherche à installer...

    :-))
    0
  17. zidan2003 Messages postés 171 Statut Membre 4
     
    un grand merci pour toi bob031
    merci pour l'aide
    le kernel est le suivant:
    2.6.22.9 desktop586-1mdv
    0
  18. gti130 Messages postés 16 Statut Membre 2
     
    J'ai résupéré la source sur un site qui expliquait comment configurait les boutons de la souris mais il y a d'autres logiciels que j'ai aussi éssayé d'installer et qui ont foiré...
    peut-être que ça vient de ma distrib, non ?
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       

      avant tout autre chose il serait bon de donner ici ce qu'indique en message dans la console la commande ./configure car tout pourrait venir de là !

      moi je l'ai récupéré ici : https://www.toucharger.com/fiches/linux/maxima/16649.htm en choisissant
      "Lien n°1 - Serveur de Toocharger.com"

      avant j'ai téléchargé et installé le paquetage gcl via urpmi

      et la commande make fonctionne chez moi !


      autre option désinstaller et réinstaller make

      pour voir les paquetages dont le nom contient le mot "make" installés sur sa machine :
      [bob 1] ~ > rpm -qa | grep make
      makedev-4.4-2mdv2007.1
      automake1.8-1.9.6-4mdv2007.1
      make-3.81-1mdv2007.0
      automake1.4-1.4.0.p6-1mdv2007.1
      [21:23 2.11]
      [bob 2] ~ >

      peut-être un paquetage manquant ?

      :-))
      0
  19. gti130 Messages postés 16 Statut Membre 2
     
    J'ai réinstallé des paquetages dans le gestionnaire et mnt j'arrive à faire le make pour maxima... je comprends pas trop pourquoi...
    J'espère que ça marchera aussi pour d'autre logiciels...
    0
  20. bob031 Messages postés 8228 Statut Membre 473
     
    et mnt j'arrive à faire le make pour maxima
    bon ben parfait alors.

    J'espère que ça marchera aussi pour d'autre logiciels...
    ça devrait marcher sans problème puisque la commande make fonctionne maintenant.

    :-))

    0